/* ============================================
   SilverHue Studios - Final Refined Stylesheet
   Navy + Cream + Slate Blue + Brown
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --color-primary: #1E3A5F;        /* Deep navy blue */
    --color-primary-dark: #141E30;   /* Almost black navy */
    --color-secondary: #5B7C99;      /* Slate blue */
    --color-accent: #8B7355;         /* Rich brown */
    --color-accent-hover: #6B5843;   /* Darker brown */
    
    /* Backgrounds & Neutrals */
    --color-cream: #F5F1E8;          /* Warm cream */
    --color-light: #FAF8F3;          /* Very light cream */
    --color-dark: #1F2937;           /* Charcoal */
    --color-text: #374151;           /* Dark gray text */
    --color-text-light: #6B7280;     /* Lighter gray text */
    --color-bg: #FFFFFF;             /* Pure white */
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Layout */
    --max-width: 1400px;
    --border-radius: 6px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 300;
    margin-bottom: 3rem;
}

.section-subtitle.centered {
    text-align: center;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--border-radius);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-secondary);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-cream {
    background: var(--color-secondary);
    color: white;
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
}

.btn-cream:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 115, 85, 0.3);
}

.btn-cta-light {
    background: transparent;
    color: white;
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-cta-light:hover {
    background: white;
    color: var(--color-primary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   What We Offer Section
   ============================================ */

.what-we-offer {
    padding: 4rem 0 3rem;
    background: white;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.offering-card {
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-50px);
    background: white;
}

.offering-card[data-animate="right"] {
    transform: translateX(50px);
}

.offering-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.offering-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 124, 153, 0.2);
}

.offering-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--color-secondary);
}

.offering-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.offering-card p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   Philosophy Section - Navy Overlay Style
   ============================================ */

.philosophy-parallax {
    position: relative;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.philosophy-box-overlay {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-text {
    color: white;
}

.philosophy-image {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.philosophy-image img {
    width: 100%;
    height: auto;
}

.philosophy-box-overlay .section-title {
    color: white;
    margin-bottom: 1rem;
}

.philosophy-box-overlay .lead {
    color: rgba(255, 255, 255, 0.95);
}

.philosophy-box-overlay p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Services Preview
   ============================================ */

.services-preview {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(30, 58, 95, 0.15);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.2);
    border-color: var(--color-secondary);
}

.service-card.featured {
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.25);
}

.service-card.premium {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03) 0%, white 100%);
    border: 2px solid var(--color-secondary);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--color-primary);
}

.service-description {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.service-price {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.service-card .btn {
    width: 100%;
}

/* ============================================
   Featured Work
   ============================================ */

.featured-work {
    padding: var(--spacing-xl) 0;
    background: white;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: var(--color-light);
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.work-title {
    font-size: 1.125rem;
    margin: 0;
    color: white;
}

/* ============================================
   Process Section with Flow
   ============================================ */

.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.process-section .section-title {
    color: var(--color-primary);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-secondary);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.process-step-box h3 {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.process-step-box p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.95rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: bold;
}

/* ============================================
   Image Showcase Overlay
   ============================================ */

.image-showcase-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.image-showcase-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.image-showcase-overlay p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* ============================================
   Nexus Workshops Section
   ============================================ */

.nexus-workshops-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #005b96 0%, #003f6b 100%);
    position: relative;
    overflow: hidden;
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    box-shadow: 
        inset 0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

/* Subtle pattern overlay */
.nexus-workshops-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(255, 255, 255, 0.02) 60px,
            rgba(255, 255, 255, 0.02) 61px
        );
    pointer-events: none;
}

.nexus-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nexus-text {
    color: white;
}

.nexus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nexus-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: white;
}

.nexus-text .lead {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.nexus-text strong {
    color: white;
    font-weight: 600;
}

.nexus-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.nexus-feature {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.nexus-feature svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.nexus-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: white;
    font-weight: 600;
}

.nexus-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.btn-nexus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #005b96;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid white;
}

.btn-nexus:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.nexus-visual {
    position: relative;
}

.nexus-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.nexus-card-header {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nexus-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.nexus-card-body {
    padding: 2rem 1.5rem;
}

.nexus-card-body p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.nexus-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-final {
    padding: var(--spacing-xl) 0;
    color: white;
    text-align: center;
    position: relative;
}

.cta-final h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--color-accent);
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 93px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-box-overlay {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .philosophy-image {
        order: -1;
    }
    
    .nexus-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .nexus-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
    }
}

/* Nexus Section Link Styling */
.nexus-card-body a {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nexus-card-body a:hover {
    color: #F5F1E8;
    text-decoration-color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}