/* --- 1. GLOBAL RESET AND VARIABLES --- */
:root {
    /* Color Palette */
    --color-white: #FFFFFF;
    --color-charcoal: #222222;
    --color-soft-grey: #F8F8F8;
    --color-muted-gold: #B89C6F; 
    --color-dark-overlay: rgba(34, 34, 34, 0.7);
    /* Darker overlay for better contrast */

    /* Typography */
    --font-playfair: 'Playfair Display', serif;
    --font-montserrat: 'Montserrat', sans-serif;
    
    /* Variable for Navbar Height */
    --navbar-height: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- 1. GLOBAL RESET AND VARIABLES (UPDATED body rule) --- */
body {
    font-family: var(--font-montserrat) !important;
    font-size: 16px !important;
    color: var(--color-charcoal) !important;
    background-color: var(--color-white) !important; /* Fallback/Base */
    line-height: 1.6 !important;
    scroll-behavior: smooth !important;

    /* REQUIRED for pseudo-element positioning to work correctly */
    position: relative; 
    z-index: 1;
    /* Ensures body content is above the watermark */
}

/* === NEW: Global Fixed Watermark Image Layer === */
body::before {
    content: '';
    position: fixed; /* Ensures the background stays put on scroll (Parallax effect) */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Use one of your interior design images as a background */
    /* Add your background-image URL here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Filter to make it a subtle, non-distracting watermark */
    filter: grayscale(100%) blur(1.5px);
    opacity: 0.15; /* Subtly visible */
    
    /* Ensure this layer is behind all content */
    z-index: -1;
}


/* Global Link Styling */
a {
    text-decoration: none;
    color: var(--color-charcoal);
    transition: color 0.3s ease;
}

/* Global Heading Styling */
h1, h2, h3 {
    font-family: var(--font-playfair);
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* --- 2. NAVIGATION BAR & HEADER --- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px ; 
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-white); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrolled state: Dark background */
.navbar.scrolled {
   
    color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px; /* space between logo image and text */
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-white); 
    transition: color 0.4s ease;
}
.logo-text {
    font-family: var(--font-playfair);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    white-space: nowrap;
}


/* NEW: LOGO IMAGE SIZING */
.logo img {
    max-height: 70px; /* Adjust this to your preference */
    width: auto;     /* Ensures the aspect ratio is maintained */
    max-width: 100%;
    display: block;
}

.navbar.scrolled .logo,
.navbar.scrolled nav a {
    color: var(--color-white);
}

.navbar a {
    color: var(--color-white);
    font-weight: 500;
    margin-left: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    overflow: hidden;
}

.navbar a:hover {
    color: var(--color-muted-gold);
}

/* Golden Slide-In Underline */
.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.navbar a:hover::after {
    transform: translateX(0);
}

.menu-toggle {
    display: none; /* Hide on desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-white);
}


/* --- 3. HERO SECTION (INDEX.HTML) --- */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Subtle Zoom-in Effect */
    transform: scale(1.03); 
    transition: transform 0.1s linear;
    /* Fast transition for parallax effect */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-overlay); /* Dark Overlay for Contrast */
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 5%;
    z-index: 3;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Above blur, below content */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay stays below everything */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-overlay);
    /* e.g., rgba(34, 34, 34, 0.7) */
    z-index: 2;
    /* Raise this above the images */
    pointer-events: none;
}


/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 5;
    /* Above slider and blur */
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.left-arrow {
    left: 1rem;
}

.right-arrow {
    right: 1rem;
}
.hero-slider {
    z-index: 1;
    /* Below the overlay */
}

.hero-slide {
    z-index: 1;
}




/* --- 4. CALL TO ACTION BUTTONS (MODERN COOL EFFECT) --- */

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--color-muted-gold);
    color: var(--color-muted-gold);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(184, 156, 111, 0);
    border-radius: 4px;
    /* MODERN: Added subtle rounding */
}

.cta-button:hover {
    background-color: var(--color-muted-gold);
    color: var(--color-white);
    /* Luxe Button Lift Effect */
    box-shadow: 0 6px 18px rgba(184, 156, 111, 0.5);
    /* Enhanced shadow lift */
    transform: translateY(-3px); /* Enhanced lift */
}

.primary-button {
    background-color: var(--color-muted-gold);
    color: var(--color-white);
    border: none; /* No border needed if background is solid */
}

.primary-button:hover {
    background-color: var(--color-charcoal);
    border-color: var(--color-charcoal);
    box-shadow: 0 6px 18px rgba(34, 34, 34, 0.5);
}

.secondary-button {
    background-color: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

.secondary-button:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(34, 34, 34, 0.5);
}

.link-text {
    font-weight: 500;
    color: var(--color-muted-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--color-muted-gold);
    transition: all 0.3s ease; /* Ensure hover transition is smooth */
}

.link-text:hover {
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

/* --- 5. SECTION BASE STYLING & UTILITIES (CLEANED) --- */

section {
    padding: 6rem 5%;
    text-align: center;
    position: relative; 
}

/* NEW UTILITY: For consistently centered intro text (moved from inline styles) */
.section-intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* UPDATED: Translucent soft-grey background to show the watermark */
.secondary-bg {
    background-color: rgba(255, 255, 255, 0.9);
    /* soft-grey: #F8F8F8 with 90% opacity */
    padding: 5rem 5%;
    text-align: center;
}

/* CLEANED: Translucent white background to show the watermark */
.white-bg-translucent {
    background-color: rgba(255, 255, 255, 0.95);
    /* white with 95% opacity for better legibility */
}

.heading-playfair {
    font-family: var(--font-playfair);
    margin-bottom: 1rem;
}

/* --- 6. INDEX.HTML SECTION STYLES --- */

/* About Section on Index Page */
.about-section {
    padding: 5rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact CTA Section on Index Page */
.contact-cta-section {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.contact-cta-section .cta-button {
    border-color: var(--color-white);
    color: var(--color-white);
    margin-top: 1rem;
}

.contact-cta-section .cta-button:hover {
    background-color: var(--color-muted-gold);
    border-color: var(--color-muted-gold);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(184, 156, 111, 0.5);
}

/* --- 7. WORK.HTML (PORTFOLIO) STYLES (MODERN COOL EFFECT) --- */

.work-section { 
    padding-top: calc(var(--navbar-height) + 4rem);
    padding-bottom: 6rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* START: UPDATED PROJECT-TILE FOR 3D EFFECT, SLIDE-UP TEXT, AND BORDER RADIUS */
.project-tile {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    
    /* NEW: Border Radius on the container */
    border-radius: 5px;
    /* 1. INITIAL 3D BASE & TRANSITION */
   box-shadow: 0 1px 3px rgba(0, 0, 0, -10.88), 0 1px 15px rgba(0, 0, 0, 9.24);
    /* Transition for the shadow only (3D transform moves to image) */
    transition: box-shadow 0.4s ease;
    /* CRITICAL: Set the 3D viewing space here */
    perspective: 1000px;
}

.project-tile img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: grayscale(0%);
    /* NEW: Border Radius on the image (to match the container) */
    border-radius: 5px;
    /* CRITICAL: Image gets the 3D tilt and filter transitions */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.project-tile:hover {
    /* 2. ENHANCED SHADOW & LIFT ON HOVER */
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4), /* Stronger dark shadow for depth */
        0 0 0 3px rgba(0, 0, 0, 0);
    /* Thin, soft golden outline for luxe feel */
}

.project-tile:hover img {
    /* 3. 3D TRANSFORM ON IMAGE */
    transform: 
        scale(1.05) /* Zoom in slightly (original scale) */
        rotateX(2deg) /* Tilt top edge back */
        rotateY(-2deg);
        
    /* Maintain color effect */
    filter: grayscale(50%) brightness(0.8);
}
/* END: UPDATED PROJECT-TILE FOR 3D EFFECT, SLIDE-UP TEXT, AND BORDER RADIUS */

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: var(--color-white);
    text-align: left;
    /* The sliding effect base */
    transform: translateY(100%);
    /* MODERN: Enhanced transition for smooth reveal */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Ensure info panel corners are rounded at the bottom */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.project-tile:hover .project-info {
    /* This now works again to slide the text up */
    transform: translateY(0);
}

.project-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.project-info p {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0;
}

/* --- Video Tile Specific Styles for Portrait Aspect Ratio (9:16) --- */

.video-tile {
    /* Ensure the tile height is determined by the content and aspect ratio */
    height: auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* This creates the 9:16 height */
    overflow: hidden;
    border-radius: 8px;
    /* Match tile border radius */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the container without stretching */
    display: block;
    /* Optional: Remove common video controls/borders */
    border: none;
}

/* Ensure the hover effect works properly on the video tile by adjusting the info box transform */
.video-tile .project-info {
    /* The video tile's info box should cover the bottom, just like the image tiles */
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.video-tile:hover .project-info {
    transform: translateY(0);
}

/* Also, remove the image scaling hover effect for the video tile */
.video-tile:hover img {
    transform: none;
    /* Override the image scaling hover */
}

/* --- 8. SERVICES.HTML STYLES (MODERN COOL EFFECT) --- */

.services-list-section {
    padding-top: calc(var(--navbar-height) + 4rem);
    padding-bottom: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    padding: 2rem;
    border-top: 3px solid var(--color-muted-gold);
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    /* MODERN: Added transition for the hover effect */
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    /* Deeper shadow on lift */
    border-top-width: 5px;
    /* Subtle change to border */
}

.service-card h3 {
    font-family: var(--font-playfair);
    font-size: 1.8rem;
    margin-top: 0;
}
/* --- WORK PAGE TABS (FILTER UI) --- */
.portfolio-tabs {
  display: inline-flex;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255,255,255,0.85);
  border-radius: 6px;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(4px);
}

.portfolio-tabs .tab-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 1rem;
  font-family: var(--font-montserrat);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  color: var(--color-charcoal);
  transition: all 0.25s ease;
}

.portfolio-tabs .tab-btn:hover {
  color: var(--color-muted-gold);
}

.portfolio-tabs .tab-btn.active {
  background: var(--color-muted-gold);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(184, 156, 111, 0.45);
}
/* --- 9. ABOUT.HTML STYLES (Consolidated into CSS) --- */
.bio-section {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 4rem auto;
    text-align: left;
    padding-top: calc(var(--navbar-height) + 4rem); 
}

.bio-image-container {
    flex: 0 0 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,20); /* Subtle shadow for depth */
    border-radius: 20px;
}

.bio-image-container img {
    width: 100%;
    height: auto;
    display: block;
     border-radius: 20px;
}

.bio-text-content {
    flex: 1;
    padding-top: 1rem;
}
/* === Overlay Text on Image Bottom === */
.image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px; /* matches your existing style */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgb(0, 0, 0), rgba(0,0,0,0));
    color: var(--color-white);
    text-align: center;
    font-family: var(--font-montserrat);
    z-index: 2;
}

.overlay-text h3 {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.overlay-text p {
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
}
.image-wrapper:hover img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}
.vision-highlight {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background-color: #1a3d2f;
    /* Deep green tone */
    color: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-family: var(--font-montserrat);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeSlideIn 0.8s ease-out forwards;
    opacity: 0;
}

.vision-highlight .fa {
    font-size: 1.5rem;
    color: var(--color-muted-gold);
}

.vision-text {
    flex: 1;
    line-height: 1.5;
}
/* === Vision & Mission Slider with Smooth Animation === */
.statement-slider {
    margin-top: 2rem;
    position: relative;
    height: auto;
    background-color: #025173;
    color: var(--color-white);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    font-family: var(--font-montserrat);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    min-height: 100px;
}

.statement {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.statement.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.statement i {
    font-size: 1.5rem;
    color: var(--color-muted-gold);
}


/* Animation */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- 10. CONTACT.HTML STYLES (UPDATED FOR 2-COLUMN LAYOUT) --- */

.contact-section {
    padding-top: calc(var(--navbar-height) + 4rem);
    padding-bottom: 6rem;
}

.contact-content {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    gap: 2%; /* Gap between the two columns */
}

/* MODIFIED: Map container (flex: 1, ~50% width) - Left Column */
.contact-map {
    flex: 1; 
    text-align: left;
    padding: 2rem;
    background-color: var(--color-soft-grey);
    border: 1px solid var(--color-soft-grey);
}

/* NEW: Contact Details Wrapper - Right Column (Holds Form and Info) */
.contact-details-wrapper {
    flex: 1; /* Takes 50% */
    text-align: left;
    /* Apply common styling for the entire right panel */
    padding: 2rem;
    background-color: var(--color-soft-grey);
    border: 1px solid var(--color-soft-grey);
}

/* NEW: Separator between Form and Info */
.contact-separator {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 3rem 0; /* Clear vertical space */
}

/* MODIFIED: Inquiry Form (Remove flex and padding/border since it's on the wrapper) */
.inquiry-form {
    flex: none; /* Remove previous flex property */
    padding: 0; /* Remove padding */
    border: none; /* Remove border */
    text-align: left;
}

.inquiry-form h2 {
    text-align: left;
    font-size: 2rem;
    margin-top: 1.5rem;
}
.form-submit-button {
  display: block;
  margin: 2rem auto 0; /* top auto bottom spacing */
}
.inquiry-form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="tel"],
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-white); /* Use white for form inputs */
}

.inquiry-form textarea {
    min-height: 120px;
    resize: vertical;
}

.inquiry-form .cta-button {
    margin-top: 2rem;

    border-radius: 4px;
    
}

/* MODIFIED: Contact Info (Remove flex and background/padding) */
.contact-info {
    flex: none; /* Remove previous flex property */
    padding: 0; /* Remove padding */
    background-color: transparent; /* Remove background */
    text-align: left;
}

.contact-info h3 {
    border-bottom: 2px solid var(--color-muted-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-info i {
    color: var(--color-muted-gold);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* --- 11. FOOTER STYLES --- */

footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 4rem 5% 1.5rem;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-column {
    flex: 1;
    max-width: 300px;
}

.footer-column .logo {
    color: var(--color-muted-gold);
    margin-bottom: 1rem;
}

footer h4 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-muted-gold);
    padding-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-muted-gold);
}

.footer-social .social-links a {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social .social-links a:hover {
    color: var(--color-muted-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.fa {
  padding: 8px;
  font-size: 30px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.footer-location {
    margin-top: 1.5rem;
}

.footer-location h4 {
    font-family: var(--font-montserrat);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-muted-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: var(--color-white);
}

.location-link i {
    font-size: 1.2rem;
}

/* --- 12. MEDIA QUERIES (RESPONSIVENESS) --- */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    h1 {
        font-size: 3rem;
    }

    /* The two columns now stack vertically on mobile */
    .contact-content,
    .bio-section {
        flex-direction: column;
        gap: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .bio-section {
        padding-top: calc(var(--navbar-height) + 2rem);
        margin: 2rem auto;
        padding-left: 0;
        padding-right: 0;
    }
    .bio-image-container {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        flex: auto;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .footer-column h4 {
        border-bottom: none;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-social {
        text-align: center;
    }
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    /* --- MOBILE NAV --- */
    .navbar {
        height: 3.5rem;
        /* Shorter navbar on mobile */
        padding: 0 5%;
        background-color: var(--color-charcoal);
        /* Always solid dark on mobile */
    }

    .navbar.scrolled {
        background-color: var(--color-charcoal);
        color: var(--color-white);
    }

    .menu-toggle {
        display: block;
        /* Show menu toggle button */
        color: var(--color-white);
    }

    .navbar #main-nav {
        display: none;
    }
    
    .navbar.menu-active #main-nav {
        display: flex;
        flex-direction: column; 
        position: absolute;
        top: 3.5rem;
        left: 0;
        width: 100%;
        background-color: var(--color-charcoal); 
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
    }

    .navbar nav a {
        display: block;
        margin: 0;
        padding: 0.75rem 5%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar a::after {
        display: none;
        /* Hide underline on mobile menu */
    }

    /* --- ABOUT PAGE MOBILE --- */
    .bio-section {
        padding-top: calc(3.5rem + 2rem);
        /* Adjusted for new mobile navbar height */
    }
    
    /* --- PORTFOLIO GRID MOBILE --- */
    .portfolio-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        text-align: center;
    }
    .service-card h3 {
        text-align: center;
    }
}

/* === Admin Upload Form: Vertical Stack Layout === */
.admin-upload-card form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.admin-upload-card label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.admin-upload-card input[type="text"],
.admin-upload-card select,
.admin-upload-card input[type="file"] {
  width: 100%;
  max-width: 100%;
  height: 30px;
}

/* Admin upload button: compact + centered */
.admin-upload-card .cta-button {
  width: auto;            /* stop full-width */
  display: inline-block; /* button-sized */
  align-self: center;    /* center inside grid/flex */
  margin: 1.5rem auto 0; /* center for safety */
  padding: 0.6rem 1.4rem;/* slightly smaller than CTA */
}
/* Admin form spacing fix */
.admin-upload-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Admin alerts */
.admin-alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.admin-alert.error {
  background: rgba(176, 0, 32, 0.08);
  color: #b00020;
  border: 1px solid rgba(176, 0, 32, 0.25);
}

.admin-alert.success {
  background: rgba(34, 139, 34, 0.1);
  color: #1f7a1f;
  border: 1px solid rgba(34, 139, 34, 0.25);
}   
/* Small header logout button */
.admin-logout-btn {
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  border: 1px solid var(--color-muted-gold);
  color: var(--color-muted-gold);
  border-radius: 999px;
  transition: all 0.2s ease;
  margin-left: 1rem;
}

.admin-logout-btn:hover {
  background: var(--color-muted-gold);
  color: #fff;
}
/* === Admin Login Form Layout === */
.admin-login-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.admin-login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-login-btn {
  width: auto;            /* compact button */
  align-self: center;    /* center align */
  margin-top: 1.2rem;
  padding: 0.6rem 1.6rem;
}

/* Philosophy card tweaks */
.philosophy-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;            /* matches your section vibe */
  padding: 2.5rem 3rem;          /* slightly roomier than service cards */
}

.philosophy-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
/* === Reviews 3-Card Slider (Auto + Manual) === */
.reviews-slider-section {
  padding: 4rem 5% 2rem;
}

.reviews-title {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-track-wrapper {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s ease;
}

.review-card {
  flex: 0 0 33.3333%; /* 3 cards visible */
  padding: 0 0.75rem;
}

.review-card img {
  height: 220px;
  object-fit: cover;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Arrows */
.reviews-arrow {
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reviews-arrow:hover {
  background: rgba(0,0,0,0.8);
}

/* Mobile: show 1 card */
/* ===========================
   REVIEWS MOBILE OPTIMIZATION
=========================== */
@media (max-width: 768px) {

  .reviews-slider-section {
    padding: 3rem 5% 2rem;
  }

  .reviews-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .reviews-accent-line {
    width: 60px;
    height: 3px;
    margin-top: 8px;
  }

  .reviews-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .reviews-slider {
    gap: 0;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 0;
  }

  .review-card img {
    height: 380px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  /* Hide arrows on mobile */
  .reviews-arrow {
    display: none;
  }

  /* Better dots spacing */
  .reviews-dots {
    margin-top: 1rem;
  }

  .reviews-dot {
    width: 8px;
    height: 8px;
  }

}
/* === Reviews Slider Enhancements === */
.reviews-accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-muted-gold);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0.75rem auto 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 999px;
  background: rgba(184, 156, 111, 0.12);
  color: var(--color-muted-gold);
}

.reviews-badge .star {
  color: var(--color-muted-gold);
  font-size: 1rem;
}

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reviews-dot.active {
  background: var(--color-muted-gold);
  transform: scale(1.2);
}

/* Pause on hover */
#reviewsSlider:hover .reviews-track {
  animation-play-state: paused;
}
.reviews-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 0 10px;
}
/* ===========================
   PERFECT MOBILE REVIEWS FIX
=========================== */
@media (max-width: 768px) {

  .reviews-track {
    display: flex;
  }

  .review-card {
    flex: 0 0 100% !important;
    max-width: 100%;
    padding: 0 12px;
  }

  .review-card img {
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 24px;
  }

  .reviews-arrow {
    display: none !important;
  }

  .reviews-dots {
    margin-top: 1.2rem;
  }

}
/* REVIEWS MOBILE FIX */
.reviews-track {
  display: flex;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 100%;   /* 👈 FULL width on mobile */
  max-width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.review-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Desktop */
@media (min-width: 768px) {
  .review-card {
    flex: 0 0 33.33%;  /* 👈 3 cards on desktop */
  }
}
.reviews-track-wrapper {
  overflow: hidden;
  width: 100%;
}
@media (max-width: 768px) {
  .reviews-arrow {
    display: none;
  }
}
/* FIX CONSISTENT HEIGHT */
.review-card {
  height: 320px;              /* 👈 adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
}

/* Make image fit nicely */
.review-card img {
  width: 100%;
  height: 70%;
  object-fit: contain;        /* 👈 IMPORTANT */
}