/* ===== DESIGN SYSTEM ===== */
:root {
    /* Typography */
    --font-serif: 'Crimson Text', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'VIC', serif;
    --font-signature: 'OneSignature', cursive;
    
    /* Enhanced Color Palette with Rose Gold */
    --color-white: #fefefe;
    --color-off-white: #faf9f7;
    --color-warm-gray: #f5f4f2;
    --color-mid-gray: #e8e6e3;
    --color-text-light: #8b8680;
    --color-text: #2c2a26;
    --color-text-dark: #3a3a3a; /* Changed from black to dark grey */
    --color-charcoal: #2c2c2c; /* New dark grey for primary dark elements */
    --color-blush: #f2ede9;
    --color-blush-accent: #e8ddd5;
    --color-navy: #2d3748;
    --color-navy-light: #4a5568;
    
    /* Rose Gold Color Palette */
    --color-rose-gold: rgba(162,110,97,1); /* #A26E61 */
    --color-rose-gold-light: rgba(182,140,127,1); /* #B68C7F - lighter version */
    --color-rose-gold-dark: rgba(142,90,77,1); /* #8E5A4D - darker version */
    --color-rose-gold-accent: rgba(122,80,67,1); /* #7A5043 - accent version */
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    --space-xxxl: 6rem;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1.25rem;
    
    /* Enhanced Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-charcoal);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.philosophy-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 65ch;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Smooth scroll offset for fixed nav - increased for larger mobile header */
section {
    scroll-margin-top: 7rem;
}

/* ===== MICRO-ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fix for project cards inside animated containers */
.projects-grid.animate-on-scroll .project-card {
    opacity: 0 !important;
    transform: translateY(30px);
    transition: all var(--transition-smooth);
}

.projects-grid.animate-on-scroll.visible .project-card {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Alternative approach - remove animation from individual cards */
.featured-projects .project-card {
    opacity: 1 !important;
    transform: none !important;
    transition: all var(--transition-smooth);
}

/* Ensure project cards are always visible - override any conflicting styles */
.project-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Force refresh indicator - update version number to force cache clear */
/* v2.7 - Fixed gallery modal rose gold colors and removed thumbnail scrollbar */

/* Stagger animation for project cards */
.projects-grid.visible .project-card:nth-child(1) { transition-delay: 0.1s; }
.projects-grid.visible .project-card:nth-child(2) { transition-delay: 0.2s; }
.projects-grid.visible .project-card:nth-child(3) { transition-delay: 0.3s; }
.projects-grid.visible .project-card:nth-child(4) { transition-delay: 0.4s; }
.projects-grid.visible .project-card:nth-child(5) { transition-delay: 0.5s; }
.projects-grid.visible .project-card:nth-child(6) { transition-delay: 0.6s; }

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for lists */
.animate-fade-up:nth-child(1) { transition-delay: 0.1s; }
.animate-fade-up:nth-child(2) { transition-delay: 0.2s; }
.animate-fade-up:nth-child(3) { transition-delay: 0.3s; }
.animate-fade-up:nth-child(4) { transition-delay: 0.4s; }
.animate-fade-up:nth-child(5) { transition-delay: 0.5s; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(48,48,48,1); /* Updated to dark gray background */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Light border for dark theme */
    transition: all var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(48,48,48,1); /* Keep same dark background when scrolled */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); /* Darker shadow for better contrast */
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7rem; /* Increased height for even larger logo */
    position: relative; /* Add relative positioning for proper burger menu alignment */
}

/* Reduce margin on wider screens for better header layout */
@media (min-width: 1200px) {
    .nav-container {
        margin: 0 auto; /* Keep centered */
        max-width: calc(100% - 16rem); /* Double the breathing room */
        padding: 0 4rem; /* Double the padding for better spacing */
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 6.5rem; 
    width: auto;
    transition: var(--transition-fast);
    object-position: left center; /* Move the D more to the left */
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--space-xl);
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-white); /* Changed to white for dark background */
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--color-off-white); /* Light gray on hover */
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-rose-gold), var(--color-rose-gold-dark));
    transition: width var(--transition-smooth);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1rem !important;
    border: 1px solid var(--color-rose-gold) !important;
    border-radius: 2px;
    font-weight: 600 !important;
    transition: all var(--transition-fast) !important;
    background: var(--color-rose-gold) !important;
    color: var(--color-white) !important; /* Changed from charcoal to white */
}

.nav-cta:hover {
    background: var(--color-rose-gold-dark) !important;
    color: var(--color-white) !important; /* Keep white text on hover */
    transform: translateY(-2px);
    box-shadow: none !important; /* Remove shadow from nav CTA as well */
}

/* Mobile menu toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem; /* Increased padding */
    margin-right: 0; /* Reset margin to prevent cutoff */
    transition: var(--transition-fast);
    position: relative;
    z-index: 1001; /* Ensure burger menu is above mobile menu */
    min-width: 44px; /* Ensure minimum touch target */
    align-items: center;
    justify-content: center;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--color-white); /* Changed to white for dark background */
    transition: all var(--transition-smooth);
    border-radius: 1px;
}

/* Desktop navigation */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
}

/* ===== HERO SECTION WITH SLIDESHOW ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--color-charcoal); /* Fallback color in case images fail to load */
    /* Enable touch interactions */
    touch-action: manipulation;
    cursor: grab;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.hero-slideshow:active {
    cursor: grabbing;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Removed Ken Burns zoom effect - now just clean opacity transitions */
    /* Enable touch interactions */
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none; /* Prevent image from interfering with touch events */
    /* Mobile optimization for crisp images */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
}


.hero-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.hero-nav-dot:hover,
.hero-nav-dot.active {
    background: var(--color-rose-gold);
    border-color: var(--color-rose-gold);
    transform: scale(1.2);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy {
    padding: var(--space-xxxl) 0;
    background: var(--color-off-white);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Section header styling - applied to all main section headers */
.section-header {
    font-style: italic;
    margin-bottom: var(--space-xl);
    position: relative;
    text-align: center;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--color-rose-gold);
}

/* Keep specific philosophy styling for backward compatibility */
.philosophy h2 {
    font-style: italic;
    margin-bottom: var(--space-xl);
    position: relative;
}

.philosophy h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--color-rose-gold);
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
    padding: var(--space-xxxl) 0;
}

.featured-projects h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.project-card {
    transition: all var(--transition-smooth);
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--color-rose-gold) 0%,
        var(--color-rose-gold-dark) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-smooth);
}

.project-view {
    color: var(--color-white);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-view {
    transform: translateY(0);
}

.project-card:hover .project-image img {
    transform: none;
}

.project-info {
    padding: var(--space-lg);
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.project-card:hover .project-info h3 {
    color: var(--color-rose-gold-dark);
}

.project-info p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--space-xxxl) 0;
    background: var(--color-warm-gray);
}

.team-intro {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}


.about-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--space-xxl);
    font-style: italic;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.team-member {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    border-color: var(--color-rose-gold-light);
    box-shadow: 0 8px 30px var(--color-rose-gold-light);
}

.team-member.primary {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    align-items: start;
    background: var(--color-rose-gold-light);
    border-color: var(--color-rose-gold-light);
}

.team-photo {
    width: 200px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--space-md);
    margin-left: auto;
    margin-right: auto;
}

.team-member.primary .team-photo {
    margin-bottom: 0;
    width: 280px;
    height: 350px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* Removed grayscale to ensure images are visible */
    transition: filter var(--transition-smooth);
}

.team-member:hover .team-photo img {
    filter: none; /* Keep normal on hover as well */
}

.placeholder-photo {
    width: 100%;
    height: 100%;
    background: var(--color-mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
}

.team-role {
    font-size: 0.95rem;
    color: var(--color-rose-gold-dark);
    font-weight: 500;
    margin-bottom: var(--space-sm) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.team-member.primary .team-bio {
    font-size: 1.125rem;
    line-height: 1.7;
}



/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--space-xxxl) 0;
    background: var(--color-rose-gold-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-content {
    margin-bottom: var(--space-lg);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    margin: 0;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-rose-gold);
    position: absolute;
    top: -15px;
    left: -20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    border-top: 1px solid rgba(162, 110, 97, 0.2);
    padding-top: var(--space-sm);
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 var(--space-xs) 0;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
    display: block;
}

.testimonial-date {
    color: var(--color-rose-gold);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

/* Testimonials Load More */
.testimonials-load-more {
    text-align: center;
    margin-top: var(--space-xl);
}

.load-more-btn {
    background: var(--color-rose-gold);
    color: var(--color-white);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 4px 15px rgba(162, 110, 97, 0.3);
}

.load-more-btn:hover {
    background: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(162, 110, 97, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-icon {
    transition: transform var(--transition-smooth);
    font-size: 1.2rem;
}

.load-more-btn.expanded .load-more-icon {
    transform: rotate(180deg);
}

.testimonials-all-reviews {
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-warm-gray) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-light-gray);
}

.reviews-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.reviews-cta p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-rose-gold);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviews-btn:hover {
    background: var(--color-rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.reviews-btn svg {
    transition: transform var(--transition-smooth);
}

.reviews-btn:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 767px) {
    .testimonials-all-reviews {
        margin-top: var(--space-lg);
        padding: var(--space-lg) var(--space-md);
    }
    
    .reviews-cta h3 {
        font-size: 1.25rem;
    }
    
    .reviews-cta p {
        font-size: 0.9rem;
        margin-bottom: var(--space-md);
    }
    
    .reviews-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
}

/* Hide testimonials on mobile by default */
@media (max-width: 767px) {
    .testimonial-hidden {
        display: none;
    }
    
    .testimonials-load-more {
        display: block;
    }
}

/* Show all testimonials on desktop */
@media (min-width: 768px) {
    .testimonial-hidden {
        display: block;
    }
    
    .testimonials-load-more {
        display: none;
    }
    
}

/* ===== WORKING TOGETHER SECTION ===== */
.working-together {
    padding: var(--space-xxxl) 0;
}

.working-together h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.services-content {
    display: grid;
    gap: var(--space-xxxl);
}

/* What We Offer */
.what-we-offer h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-item {
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
}

.service-item:hover {
    background: var(--color-white);
    transform: translateY(-6px);
    border-color: var(--color-rose-gold-light);
    box-shadow: 0 10px 40px rgba(232, 180, 184, 0.15);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-bounce);
}

.service-item:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-item h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.service-item p {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-warm-gray) 100%);
    padding: var(--space-xxl);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-rose-gold), transparent);
}

.process-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-rose-gold), transparent);
    opacity: 0.3;
}

.process-step {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all var(--transition-smooth);
    border: none;
    position: relative;
    margin-left: 4rem;
}

.process-step:hover {
    transform: none;
    box-shadow: none;
}

.step-header {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    margin-bottom: var(--space-md);
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background: var(--color-white);
    color: var(--color-rose-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--color-rose-gold);
    position: absolute;
    left: -5rem;
    top: 0;
}

.step-info {
    flex: 1;
}

.step-info h4 {
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
    font-size: 1.375rem;
    font-weight: 600;
}

.step-info p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 var(--space-sm) 0;
}

.read-more-btn {
    background: var(--color-rose-gold);
    color: var(--color-white);
    border: none;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-smooth);
    margin-top: var(--space-sm);
}

.read-more-btn:hover {
    background: var(--color-rose-gold-dark);
    transform: translateY(-1px);
}

.read-more-btn.expanded {
    background: var(--color-charcoal);
}

.step-details {
    background: transparent;
    border-radius: 0;
    padding: var(--space-md) 0;
    border-left: none;
    border-top: 1px solid rgba(162, 110, 97, 0.2);
    margin-top: var(--space-md);
    display: none;
    animation: slideDown 0.3s ease-out;
}

.step-details.expanded {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-details p {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.step-details ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.step-details li {
    margin-bottom: var(--space-xs);
    color: var(--color-text);
    line-height: 1.5;
}









/* FAQ */
.faq h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.faq-item {
    padding: var(--space-lg);
    background: var(--color-warm-gray);
    border-radius: 8px;
    transition: all var(--transition-smooth);
    border-left: 4px solid transparent;
}

.faq-item:hover {
    background: var(--color-white);
    border-left-color: var(--color-rose-gold);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(232, 180, 184, 0.15);
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin: 0;
}

/* ===== INQUIRE SECTION ===== */
.inquire-section {
    padding: var(--space-xxxl) 0;
    background: var(--color-off-white);
}

.inquire-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.inquire-section h2 {
    margin-bottom: var(--space-xl);
}

.inquire-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xxl);
}

.inquire-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: start;
    text-align: left;
}

.inquire-form-container {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.inquire-form {
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-lg);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--color-mid-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition-smooth);
}

.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--color-mid-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    /* No transition for select to remove dropdown animation */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-rose-gold);
    box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.2);
    transform: translateY(-1px);
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-rose-gold);
    box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.2);
    /* No transform for select focus */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox group styling */
.checkbox-group {
    display: flex;
    gap: var(--space-md);
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 3px;
    position: relative;
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--color-rose-gold);
    border-color: var(--color-rose-gold);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkmark {
    border-color: var(--color-rose-gold);
}

/* Mobile responsive for checkbox group */
@media (max-width: 767px) {
    .checkbox-group {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}

.inquire-form .submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-rose-gold);
    color: var(--color-white) !important; /* Force white font */
    border: 2px solid var(--color-rose-gold);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: none; /* Remove any shadows */
    margin-top: 0; /* Remove any top margin */
}

.inquire-form .submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color var(--transition-smooth);
}

.inquire-form .submit-button:hover::before {
    border-color: var(--color-rose-gold-dark);
}

.inquire-form .submit-button:hover {
    background: transparent !important;
    color: var(--color-rose-gold-dark) !important;
    border-color: var(--color-rose-gold-dark);
    transform: translateY(-1px);
    box-shadow: none !important; /* Force no shadow */
}

.inquire-form .submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.inquire-form .submit-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Form Messages */
.form-message {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

.form-message.success {
    background: rgba(74, 222, 128, 0.1);
    color: #059669;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Google Places Autocomplete Styling */
.pac-container {
    background: var(--color-white);
    border: 1px solid var(--color-rose-gold);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    font-family: var(--font-body);
    z-index: 1000;
}

.pac-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-warm-gray);
    cursor: pointer;
    transition: background-color var(--transition-smooth);
}

.pac-item:last-child {
    border-bottom: none;
}

.pac-item:hover,
.pac-item-selected {
    background-color: var(--color-rose-gold-light);
}

.pac-item-query {
    font-weight: 500;
    color: var(--color-charcoal);
}

.pac-matched {
    font-weight: 600;
    color: var(--color-rose-gold);
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Modern Google Place Picker Styling */
gmpx-place-picker {
    display: block;
    width: 100%;
}

gmpx-place-picker::part(input) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-warm-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-charcoal);
    transition: all var(--transition-smooth);
}

gmpx-place-picker::part(input):focus {
    outline: none;
    border-color: var(--color-rose-gold);
    box-shadow: 0 0 0 3px rgba(196, 164, 132, 0.1);
}

gmpx-place-picker::part(input)::placeholder {
    color: var(--color-text-light);
}

/* Legacy PlaceAutocompleteElement Styling (fallback) */
gmp-place-autocomplete-element {
    display: block;
    width: 100%;
}

gmp-place-autocomplete-element input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-warm-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-charcoal);
    transition: all var(--transition-smooth);
}

gmp-place-autocomplete-element input:focus {
    outline: none;
    border-color: var(--color-rose-gold);
    box-shadow: 0 0 0 3px rgba(196, 164, 132, 0.1);
}

gmp-place-autocomplete-element input::placeholder {
    color: var(--color-text-light);
}

/* Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-details {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-details h3 {
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
    text-align: center;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

.contact-info a {
    color: var(--color-rose-gold-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info a:hover {
    color: var(--color-rose-gold);
    text-decoration: underline;
}

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.map-container a {
    display: block;
    text-decoration: none;
}

.map-container iframe {
    transition: all var(--transition-smooth);
}

.map-container:hover iframe {
    filter: brightness(1.05);
}

/* Reviews Section */
.reviews-section {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.reviews-section h3 {
    color: var(--color-charcoal);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.reviews-grid {
    display: grid;
    gap: var(--space-md);
}

.review-card {
    padding: var(--space-md);
    background: var(--color-rose-gold-light);
    border-radius: 6px;
    border-left: 4px solid var(--color-rose-gold);
    transition: all var(--transition-fast);
}

.review-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(232, 180, 184, 0.3);
}

.review-stars {
    color: var(--color-rose-gold-dark);
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    font-style: italic;
}

.review-author {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Navigation CTA Button Update */
.nav-cta {
    padding: 0.5rem 1rem !important;
    border: 1px solid var(--color-rose-gold) !important;
    border-radius: 2px;
    font-weight: 600 !important;
    transition: all var(--transition-fast) !important;
    background: var(--color-rose-gold) !important;
    color: var(--color-white) !important; /* Changed from charcoal to white */
}

.nav-cta:hover {
    background: var(--color-rose-gold-dark) !important;
    color: var(--color-white) !important; /* Keep white text on hover */
    transform: translateY(-2px);
    box-shadow: none !important; /* Remove shadow from nav CTA as well */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .inquire-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .team-member.primary {
        grid-column: span 1;
        grid-template-columns: 250px 1fr;
    }
    
    .team-member.primary .team-photo {
        width: 250px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    :root {
        --container-padding: 1.25rem; /* Reduced from 1.5rem to prevent cutoff issues */
        --space-xxxl: 4rem;
        --space-xxl: 3rem;
    }
    
    .nav-container {
        height: 6.5rem; /* Slightly adjusted for better proportions */
        padding: 0 1.25rem; /* Consistent with container padding */
    }
    
    .logo-image {
        height: 4rem; /* Slightly reduced to prevent any cutoff */
    }
    
    /* Ensure sections have enough top margin for mobile header */
    section {
        scroll-margin-top: 8rem; /* Increased from 7rem */
        padding-top: calc(var(--space-xxl) + 1.5rem); /* Increased extra padding */
    }
    
    /* Hero section special case - no extra padding needed */
    .hero {
        padding-top: 0;
        scroll-margin-top: 0;
        margin-top: 0;
    }
    
    /* Philosophy section should have proper spacing */
    .philosophy {
        padding: calc(var(--space-xxl) + 2rem) 0 var(--space-xxl);
    }
    
    /* About section should have proper spacing */
    .about-section {
        padding: calc(var(--space-xxl) + 2rem) 0 var(--space-xxl);
    }
    
    /* All main sections proper spacing */
    .featured-projects,
    .testimonials,
    .working-together,
    .inquire-section {
        padding: calc(var(--space-xxl) + 2rem) 0 var(--space-xxl);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .team-member.primary {
        grid-column: 1;
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        text-align: center;
    }
    
    .team-member.primary .team-photo {
        width: 220px;
        height: 275px;
        margin: 0 auto var(--space-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .inquire-form-container,
    .contact-details,
    .reviews-section {
        padding: var(--space-lg);
    }
    
    .reviews-grid {
        gap: var(--space-sm);
    }
    
    /* Ensure nav toggle doesn't get cut off */
    .nav-toggle {
        margin-right: -0.25rem; /* Minimal negative margin */
    }
    
    /* Social media responsive adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .social-links {
        gap: var(--space-sm);
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--space-xxl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-info h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.footer-info p,
.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Social Media Links */
.footer-social {
    text-align: center;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--color-rose-gold);
    border-color: var(--color-rose-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(162, 110, 97, 0.3);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.social-links a:hover svg {
    transform: scale(1.1);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 767px) {
    :root {
        --container-padding: 1.25rem; /* Reduced from 1.5rem to prevent cutoff issues */
        --space-xxxl: 4rem;
        --space-xxl: 3rem;
    }
    
    .nav-container {
        height: 6.5rem; /* Slightly adjusted for better proportions */
        padding: 0 1.25rem; /* Consistent with container padding */
    }
    
    .logo-image {
        height: 4rem; /* Slightly reduced to prevent any cutoff */
    }
    
    .hero-tagline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tagline-accent {
        font-size: 0.8em;
    }
    
    .philosophy,
    .featured-projects,
    .about-section,
    .testimonials,
    .working-together,
    .inquire-section {
        padding: var(--space-xxl) 0;
    }
    
    .projects-grid,
    .services-grid,
    .process-timeline,
    .faq-items {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .testimonial {
        padding: var(--space-md);
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonial-content p::before {
        font-size: 2rem;
        top: -10px;
        left: -15px;
    }
    
    .testimonial-author h4 {
        font-size: 0.9rem;
    }
    
    .testimonial-author span {
        font-size: 0.8rem;
    }
    
    .testimonial-date {
        font-size: 0.75rem;
    }
    
    .philosophy-text {
        font-size: 1.125rem;
    }
}

/* Extra small mobile screens - single column for very small devices */
@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .testimonial {
        padding: var(--space-sm);
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .testimonial-content p::before {
        font-size: 1.8rem;
        top: -8px;
        left: -12px;
    }
    
    .testimonial-author h4 {
        font-size: 0.85rem;
    }
    
    .testimonial-author span {
        font-size: 0.75rem;
    }
    
    .testimonial-date {
        font-size: 0.7rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .how-it-works {
        padding: var(--space-md);
        padding-bottom: var(--space-lg);
    }
    
    .process-step {
        padding: var(--space-md);
    }
    
    .step-header {
        flex-direction: column;
        text-align: left;
        gap: var(--space-sm);
        margin-left: 0;
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
        position: static;
        margin: 0 0 var(--space-sm) 0;
        align-self: flex-start;
    }
    
    .process-step {
        margin-left: 0;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .step-info h4 {
        font-size: 1.25rem;
    }
    
    
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-slide img {
        transition: none;
        /* Mobile-specific image optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-rose-gold);
    outline-offset: 2px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.hero-slide img {
    content-visibility: auto;
}

.project-image img,
.about-image img {
    loading: lazy;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text-light: #000;
        --color-mid-gray: #000;
    }
}

/* ===== PROJECT MODAL ===== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.project-modal-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transform: translateY(50px);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
    max-height: 100vh;
}

.project-modal.active .project-modal-content {
    transform: translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-rose-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all var(--transition-fast);
}

.project-modal-close:hover {
    background: var(--color-rose-gold-dark);
    transform: scale(1.1);
}

.project-modal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
}

.project-modal-header h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.project-modal-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.project-modal-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-height: 0;
    overflow: visible;
}

.project-modal-main-image {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    max-height: 60vh;
}

.project-modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: zoom-in;
}

.project-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--color-rose-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.project-nav-btn:hover {
    background: var(--color-rose-gold-dark);
    transform: translateY(-50%) scale(1.1);
}

.project-nav-prev {
    left: 1rem;
}

.project-nav-next {
    right: 1rem;
}

.project-maximize-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-rose-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.project-maximize-btn:hover {
    background: var(--color-rose-gold-dark);
    transform: scale(1.1);
}

.project-modal-thumbnails {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0 var(--space-lg) 0; /* Extra bottom padding */
    justify-content: center;
    flex-wrap: wrap;
    max-height: none; /* Remove height constraint */
    overflow: visible; /* Remove scrollbar */
    flex-shrink: 0; /* Prevent shrinking */
    min-height: 80px; /* Ensure minimum height */
}

.project-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.project-thumbnail:hover,
.project-thumbnail.active {
    border-color: var(--color-rose-gold);
    transform: scale(1.05);
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.project-thumbnail:hover img {
    transform: scale(1.1);
}

/* ===== FULLSCREEN MODAL ===== */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.fullscreen-modal.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.fullscreen-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-rose-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20001;
    transition: all var(--transition-fast);
}

.fullscreen-close:hover {
    background: var(--color-rose-gold-dark);
    transform: scale(1.1);
}

#fullscreen-image {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

/* Mobile optimizations for fullscreen modal */
@media (max-width: 767px) {
    .fullscreen-content {
        padding: 1rem;
        align-items: flex-start;
        justify-content: center;
        padding-top: 4rem; /* Space for close button */
    }
    
    #fullscreen-image {
        max-width: 100%;
        max-height: calc(100vh - 6rem); /* Account for close button and padding */
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
    }
    
    .fullscreen-close {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
    
    .fullscreen-nav-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .fullscreen-nav-prev {
        left: 0.5rem;
    }
    
    .fullscreen-nav-next {
        right: 0.5rem;
    }
    
    /* Ensure fullscreen modal takes full viewport on mobile */
    .fullscreen-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 20000;
    }
    
    /* Optimize overlay for mobile */
    .fullscreen-overlay {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(5px);
    }
    
    /* Additional mobile fullscreen optimizations */
    .fullscreen-modal.mobile-fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for better mobile support */
    }
    
    .fullscreen-modal.mobile-fullscreen .fullscreen-content {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height */
        padding: 0.5rem;
        padding-top: 3.5rem;
    }
    
    .fullscreen-modal.mobile-fullscreen #fullscreen-image {
        max-height: calc(100vh - 4rem);
        max-height: calc(100dvh - 4rem); /* Dynamic viewport height */
        max-width: 100%;
    }
}

.fullscreen-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    background: var(--color-rose-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20001;
}

.fullscreen-nav-btn:hover {
    background: var(--color-rose-gold-dark);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-nav-prev {
    left: 2rem;
}

.fullscreen-nav-next {
    right: 2rem;
}

/* Loading state for modal images */
.project-modal-main-image.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(162, 110, 97, 0.3); /* Use correct rose gold */
    border-top: 3px solid var(--color-rose-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .project-modal-content {
        padding: 1rem;
    }
    
    .project-modal-header {
        margin-bottom: var(--space-lg);
        padding-top: var(--space-md);
    }
    
    .project-modal-main-image {
        min-height: 300px;
    }
    
    .project-nav-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .project-nav-prev {
        left: 0.5rem;
    }
    
    .project-nav-next {
        right: 0.5rem;
    }
    
    .project-modal-thumbnails {
        gap: var(--space-xs); /* Smaller gap on mobile */
        padding: var(--space-sm) 0 var(--space-lg) 0; /* Extra bottom padding on mobile */
        overflow: visible; /* Remove scrollbar on mobile too */
        max-height: none; /* Remove height constraint on mobile */
    }
    
    .project-modal-content {
        padding: 1rem;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .project-modal-main-image {
        min-height: 300px;
        max-height: 50vh;
    }
    
    .project-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .project-meta {
        gap: var(--space-md);
    }
    
    .project-meta span {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
}

/* High contrast mode support for modal */
@media (prefers-contrast: high) {
    .project-modal-overlay {
        background: rgba(0, 0, 0, 0.98);
    }
    
    .project-modal-header h2,
    .project-details h3 {
        color: #fff;
    }
} 