/* --- GLOBAL RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
body { font-family: 'Montserrat', sans-serif; background: #fff; color: #1a1a1a; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

/* --- HEADER & NAVIGATION --- */
.main-header { display: flex; justify-content: space-between; align-items: center; padding: 30px 60px; width: 100%; z-index: 1000; position: fixed; top: 0; left: 0; background: transparent; transition: background 0.4s ease, box-shadow 0.4s ease; }
.main-header.scrolled { background: #fff; padding: 16px 60px; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.main-header.scrolled .nav-links a,
.main-header.scrolled .dropdown-trigger { color: #1a1a1a; }
.main-header.scrolled .logo-img { filter: none; }
.main-header.scrolled .lang-btn { color: #1a1a1a; }
.logo-img { height: 45px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a, .dropdown-trigger { text-decoration: none; color: #1a1a1a; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: 0.3s; }

/* Language Switcher with Flag Icons */
.lang-switch { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-left: 15px; 
}

.lang-btn { 
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
    display: flex; 
    align-items: center; 
}

.flag-icon { 
    width: 22px; 
    height: auto;
    border-radius: 2px; 
    filter: grayscale(80%); 
    opacity: 0.5;
}

.lang-btn.active .flag-icon {
    filter: grayscale(0%); 
    opacity: 1;
    transform: scale(1.1); 
    border: 1px solid rgba(0,0,0,0.1); 
}

/* Dropdown Menu */
.dropdown { position: relative; }

.dropdown-menu { 
    position: absolute; 
    top: 100%; 
    left: 50%; 
    transform: translateX(-50%) translateY(10px); 
    background: rgba(255, 255, 255, 0.35); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    list-style: none; 
    min-width: 280px; 
    padding: 10px 0; 
    box-shadow: 0 16px 40px rgba(0,0,0,0.12); 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.3s ease; 
}

.dropdown:hover .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(0); 
}

.dropdown-menu li a { 
    color: #1a1a1a !important; 
    padding: 14px 20px; 
    display: block; 
    font-size: 0.7rem; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center; 
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Home Overrides — transparent header over hero */
.home-page .main-header:not(.scrolled) .nav-links a,
.home-page .main-header:not(.scrolled) .dropdown-trigger { color: #fff; }
.home-page .main-header:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.home-page .main-header:not(.scrolled) .hamburger span { background: #fff; }

/* --- HOME HERO SLIDESHOW --- */
.hero-full {
    height: 100vh;
    min-height: 100vh;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow { position: absolute; inset: 0; }
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    z-index: 1;
    will-change: opacity, transform; /* GPU layer for both fade AND Ken Burns */
    backface-visibility: hidden;
    background-size: cover;
    background-position: center;
}
.slide.active { opacity: 1; z-index: 2; }

/* gradient overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.38) 0%,
        rgba(0,0,0,0.10) 45%,
        rgba(0,0,0,0.52) 100%);
    z-index: 3;
    pointer-events: none;
}

/* centred hero content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

/* ── hero logo: enlarged + animated ── */
.hero-logo {
    width: min(600px, 55vw);   /* responsive: 340 px on desktop, 55 vw on small screens */
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 6px 28px rgba(0,0,0,0.45));
    opacity: 0;
    transform: scale(0.65) translateY(24px);
    animation: heroLogoIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
@keyframes heroLogoIn {
    0%   { opacity: 0; transform: scale(0.65) translateY(24px); filter: brightness(0) invert(1) blur(10px) drop-shadow(0 6px 28px rgba(0,0,0,0.45)); }
    55%  { opacity: 1; filter: brightness(0) invert(1) blur(0px) drop-shadow(0 6px 28px rgba(255,255,255,0.12)); }
    78%  { transform: scale(1.05) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0,0,0,0.4)); }
}

.hero-tagline {
    font-size: clamp(0.6rem, 1.5vw, 0.78rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1.6s ease 1s forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* scroll-hint chevron */
.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease 2.4s forwards;
}
.hero-scroll-hint span {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 1px solid rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.7);
    transform: rotate(45deg);
    animation: scrollBounce 1.8s ease-in-out 3s infinite;
}
@keyframes fadeIn  { to { opacity: 0.7; } }
@keyframes scrollBounce {
    0%,100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(7px); }
}

/* ── ABOUT ME ── */
.about-section {
    padding: 110px 60px;
    background: #fff;
    content-visibility: auto;          /* skip off-screen rendering */
    contain-intrinsic-size: 0 700px;   /* reserve space to prevent layout shift */
}
.about-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
}

/* Two-column no-photo variant */
.about-no-photo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0 70px;
    align-items: start;
    flex: none;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}
.about-left-col { padding-right: 10px; }
.about-right-col { padding-left: 10px; }
.about-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, #d4c5a9 20%, #d4c5a9 80%, transparent 100%);
    align-self: stretch;
    min-height: 340px;
    opacity: 0.7;
    flex-shrink: 0;
}
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0 32px;
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-style: italic;
    color: #1a1a1a;
    line-height: 1;
}
.stat-label {
    font-size: 0.58rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #9a8a70;
    font-weight: 400;
}
.about-quote {
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #777;
}

.about-image-col { flex: 1; min-width: 0; }
.about-img-frame { position: relative; }
.about-img-frame::before {
    content: '';
    position: absolute;
    top: -18px; left: -18px; right: 18px; bottom: 18px;
    border: 1px solid #d4c5a9;
    z-index: 0;
}
.about-photo {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 1;
}
.about-text-col { flex: 1; min-width: 0; }
.about-label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #9a8a70;
    margin-bottom: 14px;
}
.about-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.28;
    margin-bottom: 28px;
    color: #1a1a1a;
}
.about-body {
    font-size: 0.9rem;
    line-height: 1.95;
    color: #555;
    margin-bottom: 20px;
    font-weight: 300;
}
.about-cta {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 38px;
    border: 1px solid #1a1a1a;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.3s, color 0.3s;
}
.about-cta:hover { background: #1a1a1a; color: #fff; }


/* ── TESTIMONIALS ── */
.testimonials-home {
    padding: 100px 60px;
    background: #f7f4ef;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}
.testimonials-home-inner { max-width: 1160px; margin: 0 auto; }
.section-eyebrow {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #9a8a70;
    margin-bottom: 12px;
    text-align: center;
}
.section-heading-serif {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-style: italic;
    font-weight: 400;
    text-align: center;
    margin-bottom: 56px;
    color: #1a1a1a;
}
.testimonials-slider {
    overflow: hidden;
    width: 100%;
}
.tgrid {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
}
.tcard {
    flex: 0 0 calc((100% - 66px) / 4);
    background: #fff;
    padding: 36px 28px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    transform: translateZ(0); /* GPU layer — zero-cost hover lift */
}
.tcard:hover { transform: translate3d(0, -6px, 0); box-shadow: 0 18px 48px rgba(0,0,0,0.07); }
.tcard-quote {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    line-height: 1;
    color: #d4c5a9;
    margin-bottom: 14px;
}
.tcard-text {
    font-size: 0.86rem;
    line-height: 1.88;
    color: #555;
    font-style: italic;
    margin-bottom: 26px;
    font-weight: 300;
}
.tcard-author { border-top: 1px solid #ede8df; padding-top: 16px; }
.tcard-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.tcard-role {
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a8a70;
}



/* --- 4. ABOUT SECTION (SPLIT LAYOUT) --- */
.about-split {
    padding: 100px 0;
    background-color: #fff;
    width: 100%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; 
    gap: 80px;
    padding: 0 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 400;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

/* --- 5. PORTFOLIO & GALLERY --- */
.content-section { 
    padding: 80px 60px; 
    max-width: 1400px; 
    margin: 0 auto; 
    width: 100%; 
}

.category-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem; 
    font-style: italic; 
    text-align: center; 
    margin-bottom: 50px; 
}

.masonry-grid { 
    column-count: 3; 
    column-gap: 20px; 
}

.grid-item { 
    margin-bottom: 20px; 
    break-inside: avoid; 
}

.grid-item img { 
    width: 100%; 
    display: block; 
    transition: 0.5s; 
}

.grid-item img:hover { opacity: 0.8; }

/* --- 6. CONTACT PAGE STYLES --- */
.contact-container { 
    display: flex; 
    gap: 80px; 
    margin-bottom: 60px; 
}

.contact-form { flex: 1.5; }
.contact-info { flex: 1; padding-top: 60px; }

.contact-form input, .contact-form textarea { 
    width: 100%; 
    padding: 15px 0; 
    border: none; 
    border-bottom: 1px solid #ccc; 
    margin-bottom: 30px; 
    outline: none; 
    background: transparent; 
    font-family: inherit; 
}

.btn-black { 
    background: #000; 
    color: #fff; 
    padding: 15px 45px; 
    border: none; 
    cursor: pointer; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    font-size: 0.7rem; 
}


/* FAQ & Testimonials */
.faq-section { margin-top: 80px; border-top: 1px solid #eee; }
.faq-question { width: 100%; text-align: left; background: none; border: none; font-size: 1.2rem; cursor: pointer; font-family: 'Playfair Display', serif; display: flex; justify-content: space-between; padding: 25px 0; border-bottom: 1px solid #eee; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease-out; color: #666; font-size: 0.95rem; }
.testimonials-section { margin-top: 60px; background: #fafafa; padding: 80px 40px; text-align: center; }
.quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.6rem; margin-bottom: 10px; }

/* --- 7. FOOTER --- */
/*.main-footer { 
    padding: 40px 0; 
    text-align: center; 
    border-top: 1px solid #f2f2f2; 
    background: #fff; 
}

.footer-icons { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    margin-bottom: 15px; 
}

.footer-icons img { 
    width: 20px; 
    height: 20px; 
    filter: grayscale(100%); 
    transition: 0.3s; 
}

.footer-icons a:hover img { filter: grayscale(0); opacity: 0.7; }
*/
.copyright { 
    font-size: 0.55rem; 
    color: #aaa; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
}

/* --- 8. MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .main-header { padding: 20px; flex-direction: row !important; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    /* hero */
    .hero-full {
        height: 50vh;
        min-height: 350px !important;
    }
    .hero-logo { width: min(220px, 70vw); }
    .hero-dots { display: none !important; }
    /* about — two column collapses to single column */
    .about-section { padding: 70px 24px; }
    .about-inner { flex-direction: column; gap: 40px; }
    .about-photo { height: 340px; }
    .about-no-photo { grid-template-columns: 1fr; gap: 0; }
    .about-divider { width: 60px; height: 1px; min-height: unset; margin: 40px 0; align-self: auto; background: #d4c5a9; }
    .about-left-col, .about-right-col { padding: 0; }
    /* portfolio overlay tiles — retain desktop accordion effect but scale for mobile */
    .pp-stack-wrap {
        height: 400px; /* Shorter for mobile */
        padding: 0;
    }
    .pp-tile {
        border-radius: 8px;
    }
    .pp-tile-bg, .pp-tile-overlay {
        border-radius: 8px;
    }
    .pp-tile-vtext {
        display: flex !important; /* Keep vertical text visible on mobile */
        width: 28px !important; /* Slightly narrower to fit 8 tabs on small screens */
    }
    .pp-tile-vtext span {
        font-size: 0.45rem !important;
        letter-spacing: 2px !important;
    }
    .pp-tile-info {
        left: 28px !important; /* Adjust info box for narrower text bar */
        padding: 15px !important;
        gap: 4px;
    }
    .pp-tile-name {
        font-size: 1rem;
    }
    .pp-tile-num {
        font-size: 0.5rem;
    }
    /* testimonials */
    .testimonials-home { padding: 70px 24px; }
    .tcard { flex: 0 0 calc((100% - 22px) / 2); }
    /* cookie */
    .cookie-banner { padding: 14px 18px; }
    /* existing */
    .contact-container { flex-direction: column; gap: 40px; }
    .masonry-grid { column-count: 1; }
}
@media (max-width: 600px) {
    .tcard { flex: 0 0 100%; }
    .hero-logo { width: 65vw; }
}

/* ================================================================
   GALLERY GRID — uniform thumbnail grid with hover zoom icon
   ================================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.grid-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0ebe3;
}
.grid-item a.lb-trigger {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}
.grid-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.75);
}
.grid-zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.grid-zoom-icon::after {
    content: '';
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(255,255,255,0.85);
    border-radius: 50%;
    background: rgba(0,0,0,0.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") center / 20px no-repeat;
    backdrop-filter: blur(2px);
}
.grid-item:hover .grid-zoom-icon {
    opacity: 1;
}

/* ================================================================
   LIGHTBOX OVERLAY
   ================================================================ */
.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lb-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lb-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-img-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
    box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}
.lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 9010;
    transition: color 0.2s, transform 0.2s;
    padding: 6px 10px;
}
.lb-close:hover { color: #fff; transform: scale(1.15); }
.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9010;
    transition: background 0.25s;
    backdrop-filter: blur(4px);
}
.lb-arrow:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

/* ================================================================
   CONTACT PAGE — redesign
   ================================================================ */
/* Contact Hero */
.contact-hero {
    min-height: 38vh;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
}
.contact-hero-inner { max-width: 720px; margin: 0 auto; }
.contact-eyebrow {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #d4c5a9;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
}
.contact-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 400;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 20px;
}
.contact-hero-sub {
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-weight: 300;
}

/* Contact Body */
.contact-body {
    background: #fff;
    padding: 80px 60px;
}
.contact-body-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0 64px;
    align-items: start;
}
.contact-vert-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, #d4c5a9 20%, #d4c5a9 80%, transparent 100%);
    min-height: 520px;
    align-self: stretch;
    opacity: 0.6;
}
.contact-col-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.contact-col-sub {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 300;
}

/* iframe wrapper */
.contact-iframe-wrap {
    border: 1px solid #f0ebe3;
    overflow: hidden;
}

/* Contact info items */
.contact-info-col { padding-top: 4px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f2f0ec;
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: #d4c5a9;
    width: 28px;
    text-align: center;
}
.contact-info-label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9a8a70;
    margin-bottom: 5px;
    font-weight: 500;
}
.contact-info-value {
    display: block;
    font-size: 0.88rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}
a.contact-info-value:hover { color: #9a8a70; }

/* Social buttons */
.contact-social-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}
.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border: 1px solid #e8e4dc;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}
.contact-social-btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.contact-social-btn:hover .contact-social-icon { filter: brightness(0) invert(1); }
.contact-social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.3s;
}

/* FAQ inside contact */
.contact-faq { margin-top: 8px; }
.contact-faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 16px;
}
.contact-faq .faq-item { border-top: 1px solid #f0ebe3; }
.contact-faq .faq-question {
    font-size: 0.82rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 16px 0;
    letter-spacing: 0.3px;
    color: #1a1a1a;
}
.contact-faq .faq-answer p {
    font-size: 0.82rem;
    color: #666;
    padding-bottom: 16px;
    font-weight: 300;
    line-height: 1.75;
}

/* Testimonial band */
.contact-testimonial {
    background: #f7f4ef;
    padding: 80px 60px;
    text-align: center;
}
.contact-testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    line-height: 1.65;
    color: #1a1a1a;
    max-width: 760px;
    margin: 0 auto 18px;
    font-weight: 400;
}
.contact-testimonial-author {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9a8a70;
    font-style: normal;
    font-family: 'Montserrat', sans-serif;
}

/* Responsive contact */
@media (max-width: 960px) {
    .contact-body { padding: 60px 32px; }
    .contact-body-inner { grid-template-columns: 1fr; gap: 48px; }
    .contact-vert-divider { display: none; }
    
    /* Fix squeezed inline images in contact columns */
    .contact-form-col img:not(.am-image) {
        width: 100% !important;
        height: 450px !important;
        max-height: 450px !important;
        object-fit: cover !important;
    }
}
@media (max-width: 600px) {
    .contact-hero { padding: 100px 24px 60px; }
    .contact-body { padding: 48px 24px; }
    .contact-testimonial { padding: 60px 24px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
    .lb-arrow { width: 40px; height: 40px; font-size: 1rem; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
}

/* ================================================================
   PORTFOLIO FULL — tabs + gallery panels (single page)
   ================================================================ */
.portfolio-full {
    background: #0d0d0d;
    padding: 80px 0 60px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}
.pf-header {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    padding: 0 60px 48px;
}
.pf-header .section-eyebrow { color: #888; }
.pf-header .section-heading-serif { color: #fff; }

/* Tab bar — hidden until a tile is clicked */
.pf-tabs {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;
    padding: 0 40px;
}
.portfolio-full.pf-open .pf-tabs {
    display: flex;
}
.pf-tab-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 18px 22px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
    white-space: nowrap;
}
.pf-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #d4c5a9;
    transition: width 0.3s ease;
}
.pf-tab-btn:hover { color: rgba(255,255,255,0.75); }
.pf-tab-btn.active { color: #d4c5a9; }
.pf-tab-btn.active::after { width: 70%; }

/* Gallery panels — only show when section is open */
.portfolio-panel {
    display: none;
}
.portfolio-full.pf-open .portfolio-panel.active {
    display: block;
}
.portfolio-panel .gallery-grid {
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact section embedded in page */
.contact-section {
    background: #fff;
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}
.contact-section-head {
    background: #0d0d0d;
    text-align: center;
    padding: 80px 40px 60px;
}
.contact-section-head .section-eyebrow { color: #888; }
.contact-section-head .section-heading-serif { color: #fff; }
.contact-section-head .contact-hero-sub {
    color: rgba(255,255,255,0.45);
    margin-top: 12px;
}
.contact-section .contact-body {
    background: #fff;
    padding: 72px 60px;
}

@media (max-width: 960px) {
    .pf-tabs { padding: 0 16px; }
    .pf-tab-btn { padding: 14px 14px; font-size: 0.58rem; letter-spacing: 2px; }
    .portfolio-panel .gallery-grid { padding: 0 24px; }
    .contact-section .contact-body { padding: 60px 32px; }
}
@media (max-width: 600px) {
    .pf-header { padding: 0 24px 36px; }
    .pf-tab-btn { padding: 12px 10px; font-size: 0.55rem; letter-spacing: 1.5px; }
    .portfolio-panel .gallery-grid { padding: 0 16px; }
    .contact-section-head { padding: 60px 24px 40px; }
    .contact-section .contact-body { padding: 40px 24px; }
}

/* ================================================================
   NEW COMPONENTS — Hamburger, Ken Burns, Carousel, Portfolio Grid,
   New Footer
   ================================================================ */

/* ── KEN BURNS slide animations ── */
.slide { background-size: cover; background-position: center; }
.slide.active[data-anim='zoom-in']  { animation: kbZoomIn  8s ease forwards; }
.slide.active[data-anim='zoom-out'] { animation: kbZoomOut 8s ease forwards; }
.slide.active[data-anim='pan-left'] { animation: kbPanLeft 8s linear forwards; }
.slide.active[data-anim='pan-right']{ animation: kbPanRight 8s linear forwards; }
.slide.active[data-anim='drift']    { animation: kbDrift   8s ease-in-out forwards; }
@keyframes kbZoomIn   { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes kbZoomOut  { from { transform: scale(1);    } to { transform: scale(1.12); } }
@keyframes kbPanLeft  { from { transform: scale(1.08) translateX(4%); } to { transform: scale(1.08) translateX(-4%); } }
@keyframes kbPanRight { from { transform: scale(1.08) translateX(-4%); } to { transform: scale(1.08) translateX(4%); } }
@keyframes kbDrift    { from { transform: scale(1.06) translate(-2%, 1%); } to { transform: scale(1.1) translate(2%, -1%); } }

/* ── HERO ARROWS ── */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.35); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* ── HERO DOTS ── */
.hero-dots {
    position: absolute;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hamburger.open span { background: #1a1a1a !important; }

/* ── PORTFOLIO PREVIEW — OVERLAY STACKED TILES ── */
.portfolio-preview,
.portfolio-full .pp-stack-wrap {
    padding: 0;
    background: #0d0d0d;
}
.portfolio-preview {
    padding: 80px 0 0;
    background: #0d0d0d;
}
.pp-tile.pf-tile-link {
    cursor: pointer;
    text-decoration: none;
}
.portfolio-preview .pp-inner {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    padding: 0 60px 60px;
}
.portfolio-preview .section-eyebrow { color: #888; }
.portfolio-preview .section-heading-serif { color: #fff; }

/* stacked tile strip */
.pp-stack-wrap {
    display: flex;
    align-items: stretch;
    height: 560px;
    overflow: hidden;
    contain: layout style;
    isolation: isolate; /* own stacking context — reduces composite work */
}

.pp-tile {
    position: relative;
    flex: 1;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    /* Use ease-out with a shorter duration — simpler math, fewer dropped frames */
    transition: flex 0.42s ease-out;
    border-right: 1px solid rgba(255,255,255,0.06);
    /* Force each tile onto its own GPU compositor layer so flex
       recalculation doesn't trigger a full-page repaint */
    transform: translateZ(0);
    backface-visibility: hidden;
}
.pp-tile:last-child { border-right: none; }

/* expand active tile */
.pp-stack-wrap:hover .pp-tile,
.pp-stack-wrap.has-touch-active .pp-tile { flex: 0.55; }
.pp-stack-wrap:hover .pp-tile:hover,
.pp-stack-wrap.has-touch-active .pp-tile.touch-active { flex: 3.2; }

/* shimmer skeleton while image loads */
@keyframes pp-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

/* photo background */
.pp-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none; /* never needs mouse events — reduces hit-testing */
    /* DECOUPLED transitions:
       - filter:  instant (0.3s), no delay — immediate feedback on hover
       - transform: delayed 0.2s so it starts AFTER flex expansion settles,
                    preventing double-jank from two expensive ops at once */
    transition:
        filter    0.35s ease,
        opacity   0.5s  ease,
        transform 0.45s ease-out 0.18s; /* delay = let flex animate first */
    filter: brightness(0.55) saturate(0.7);
    will-change: transform, filter;
    /* shimmer placeholder while data-bg is still pending */
    background-image:
        linear-gradient(90deg,
            #1a1a1a 25%,
            #2a2a2a 50%,
            #1a1a1a 75%);
    background-size: 800px 100%;
    animation: pp-shimmer 1.4s ease-in-out infinite;
}
.pp-tile-bg.loaded {
    animation: none;
    background-size: cover;
    background-position: center;
}
.pp-tile:hover .pp-tile-bg,
.pp-tile.touch-active .pp-tile-bg {
    transform: scale(1.05); /* reduced from 1.07 — lighter GPU work */
    filter: brightness(0.72) saturate(1);
}

/* hover crossfade background */
.pp-tile-hover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    /* opacity is GPU-composited (cheap), scale is delayed to avoid overlap */
    transition:
        opacity   0.45s ease,
        transform 0.45s ease-out 0.18s;
    filter: brightness(0.72) saturate(1);
    z-index: 1;
}
.pp-tile:hover .pp-tile-hover-bg,
.pp-tile.touch-active .pp-tile-hover-bg {
    transform: scale(1.05);
}
.pp-tile-hover-bg.show {
    opacity: 1;
}

/* dark vignette overlay */
.pp-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.15) 60%,
        rgba(0,0,0,0.4) 100%
    );
    transition: opacity 0.5s ease;
    z-index: 1;
}
.pp-tile:hover .pp-tile-overlay,
.pp-tile.touch-active .pp-tile-overlay { opacity: 0.7; }

/* vertical text on left edge — always visible */
.pp-tile-vtext {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background: rgba(0,0,0,0.35);
    border-right: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}
.pp-tile-vtext span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: rgba(255,255,255,0.7);
    font-size: 0.55rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.4s ease;
}
.pp-tile:hover .pp-tile-vtext span,
.pp-tile.touch-active .pp-tile-vtext span { color: #d4c5a9; }

/* bottom info bar — slides up on hover */
.pp-tile-info {
    position: absolute;
    bottom: 0;
    left: 36px;
    right: 0;
    padding: 28px 28px 32px;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.pp-tile:hover .pp-tile-info,
.pp-tile.touch-active .pp-tile-info {
    transform: translateY(0);
    opacity: 1;
}

.pp-tile-num {
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: #d4c5a9;
    font-weight: 500;
    flex-shrink: 0;
    margin-bottom: 2px;
}
.pp-tile-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.9rem, 1.2vw, 1.3rem);
    font-style: italic;
    color: #fff;
    font-weight: 400;
    flex: 1;
    line-height: 1.2;
}
.pp-tile-arrow {
    color: #d4c5a9;
    font-size: 1.1rem;
    transform: translateX(-8px);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}
.pp-tile:hover .pp-tile-arrow,
.pp-tile.touch-active .pp-tile-arrow { transform: translateX(0); }

/* ── ABOUT ME — two-column no-photo ── */

/* ── NEW FOOTER ── */
.main-footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
    background: #111;
    color: #bbb;
    padding: 0;
    border-top: none;
    margin-top: auto;
    text-align: left;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr 1fr;
    gap: 48px;
    max-width: 1260px;
    margin: 0 auto;
    padding: 72px 60px 56px;
}
.footer-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin-bottom: 18px;
    display: block;
}
.footer-about {
    font-size: 0.78rem;
    line-height: 1.85;
    color: #888;
    margin-bottom: 24px;
    font-weight: 300;
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #888;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.footer-social-link:hover { color: #d4c5a9; }
.footer-social-icon {
    width: 18px;
    height: 18px;
    filter: grayscale(1) invert(1);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}
.footer-social-link:hover .footer-social-icon { filter: grayscale(1) invert(1); opacity: 1; }
.footer-col-title {
    font-size: 0.58rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
    font-weight: 300;
}
.footer-links a:hover { color: #d4c5a9; }
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.75rem;
    color: #888;
    font-weight: 300;
}
.footer-contact-list a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact-list a:hover { color: #d4c5a9; }
.footer-contact-icon {
    color: #d4c5a9;
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 1px;
}
.footer-booking { margin-top: 8px; }
.footer-book-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(212,197,169,0.5);
    color: #d4c5a9;
    text-decoration: none;
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
.footer-book-btn:hover {
    background: #d4c5a9;
    color: #111;
}
.footer-lang-switch {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}
.footer-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #888;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s, color 0.3s;
}
.footer-lang-btn.active,
.footer-lang-btn:hover { border-color: #d4c5a9; color: #d4c5a9; }
.flag-footer { width: 16px; height: auto; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 16px;
}
.footer-bottom .copyright {
    font-size: 0.6rem;
    color: #555;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
}
.footer-tagline {
    font-size: 0.6rem;
    color: #444;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 300;
}

/* ── RESPONSIVE — new components ── */
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
    .footer-col:nth-child(4),
    .footer-col:nth-child(5) { grid-column: span 1; }
    /* overlay tiles already flexbox, no changes needed at 1100 */
}
@media (max-width: 900px) {
    /* show hamburger */
    .hamburger { display: flex; }
    /* hide desktop nav */
    .main-nav {
        position: absolute;
        top: 70px;
        right: 24px;
        width: max(220px, 40vw); /* about 25-40% of screen */
        height: auto;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 12px;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        padding: 15px 20px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    }
    .main-nav.open { 
        transform: translateY(0); 
        opacity: 1;
        visibility: visible;
    }
    .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    .nav-links > li { width: 100%; border-bottom: 1px solid #f0f0f0; }
    .nav-links a, .dropdown-trigger {
        color: #1a1a1a !important;
        display: block;
        padding: 16px 0;
        font-size: 0.75rem;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 4px 0 4px 16px;
        min-width: 0;       /* override desktop's 280px min-width */
        width: 100%;        /* fill the slide-out panel */
        background: rgba(0, 0, 0, 0.04);
        border-radius: 8px;
        margin-top: 5px;
    }
    /* Cancel the desktop hover transform that shifts menu left off-screen */
    .dropdown:hover .dropdown-menu,
    .dropdown.open .dropdown-menu {
        transform: none !important;
        left: auto !important;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    .dropdown-menu li { width: 100%; }
    .dropdown-menu li a {
        text-align: left !important;    /* was center — caused text to overflow left */
        padding: 11px 0 11px 8px !important;
        font-size: 0.68rem !important;
        white-space: normal;            /* allow wrapping on very small screens */
        color: #333 !important;
    }
    .dropdown.open .dropdown-menu { display: block; }
    .lang-switch { flex-direction: row; margin: 20px 0 0; }
    /* header */
    .main-header { padding: 20px 24px; }
    .main-header.scrolled { padding: 14px 24px; }
    /* footer */
    .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 24px 36px; gap: 28px; }
    .footer-col-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 18px 24px; gap: 6px; }
    .portfolio-preview { padding: 60px 0 0; }
    .portfolio-preview .pp-inner { padding: 0 24px 40px; }
}
@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .hero-arrow { width: 38px; height: 38px; font-size: 1rem; }
}

/* ==========================================
   COOKIE CONSENT BANNER (CENTERED OVERLAY)
   ========================================== */

/* The dark overlay that covers the whole screen */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Dark background */
    z-index: 999999; /* Keeps it on top of everything */
    
    /* Centers the box perfectly */
    display: flex; 
    justify-content: center; 
    align-items: center;
    
    /* Hidden by default (logic is controlled by your existing main.js) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* The Visible State (Triggered by your existing main.js) */
.cookie-banner.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Enables clicking */
}

/* The White Box in the center */
.cookie-inner {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    
    /* Gentle slide-up animation */
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

/* Slide up when visible */
.cookie-banner.visible .cookie-inner {
    transform: translateY(0);
}

/* Layout for the buttons */
.cookie-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Adds perfect spacing between the two buttons */
    margin-top: 25px;
}

/* Base style for BOTH buttons */
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    display: block; /* Ensures the button takes up proper space */
}

/* Style for the ACCEPT button (Dark) */
.cookie-accept {
    background-color: #1a1a1a;
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: #333333;
}

/* Style for the DECLINE button (Light Grey) */
.cookie-decline {
    background-color: #e0e0e0;
    color: #333333; /* Dark text so it's readable on the grey background */
}

.cookie-decline:hover {
    background-color: #cccccc;
}

/* ==========================================
   COOKIE BANNER BULLETPROOF TEXT COLORS
   ========================================== */
.cookie-inner .cookie-text,
.cookie-inner .cookie-icon,
.cookie-inner strong {
    color: #333333 !important; 
}

/* Ensure the Accept button text stays white */
.cookie-inner .cookie-accept {
    color: #ffffff !important;
}

/* Ensure the Decline button text stays dark */
.cookie-inner .cookie-decline {
    color: #333333 !important;
}

/* ==========================================
   MOBILE RESPONSIVENESS (SMARTPHONES & TABLETS)
   ========================================== */
@media (max-width: 768px) {

    /* --- 1. HEADER & HAMBURGER MENU --- */
    .main-header { 
        padding: 15px 20px; 
        flex-direction: row !important;
    }
    .main-header.scrolled { 
        padding: 10px 20px; 
    }
    
    /* Show the hamburger icon on mobile */
    .hamburger { 
        display: flex; 
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001; /* Keep it above the sliding menu */
    }
    
    .hamburger span {
        width: 25px;
        height: 2px;
        background-color: #1a1a1a;
        transition: 0.3s;
    }

    /* The sliding mobile menu */
    .main-nav {
        position: absolute;
        top: 70px;
        right: 24px;
        width: max(220px, 40vw);
        height: auto;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 12px;
        padding: 15px 20px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }
    
    /* When JavaScript adds the "open" class, slide it in! */
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Stack the links vertically */
    .nav-links {
        flex-direction: column; 
        align-items: flex-start;
        gap: 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        min-width: 0;          /* kill the 280px desktop min-width */
        width: 100%;           /* fill the sidebar panel */
        background: rgba(0, 0, 0, 0.04);
        border-radius: 8px;
        margin-top: 5px;
        padding: 4px 0 4px 16px;
        display: none;
    }
    /* Cancel the desktop hover transform on mobile too */
    .dropdown:hover .dropdown-menu,
    .dropdown.open .dropdown-menu {
        transform: none !important;
        left: auto !important;
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .dropdown-menu li { width: 100%; }
    .dropdown-menu li a {
        text-align: left !important;
        padding: 10px 0 10px 8px !important;
        white-space: normal;
    }
    
    /* --- 2. HERO SECTIONS & TYPOGRAPHY --- */
    /* Scale down large titles so they don't break out of the screen */
    .pf-hero-title, 
    h1 { 
        font-size: 2.2rem; 
    }
    h2 {
        font-size: 1.8rem;
    }

    /* --- 3. LAYOUT & PADDING --- */
    /* Reduce huge desktop paddings for smaller screens */
    section { 
        padding: 50px 20px !important; 
    }

    /* --- 4. FOOTER STACKING --- */
    .footer-top {
        display: flex;
        flex-direction: column; /* Stacks the 4 columns into 1 vertical column */
        gap: 40px;
        text-align: left; 
    }
    
    .footer-social {
        justify-content: flex-start; 
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* --- 5. COOKIE BANNER OVERRIDE --- */
    /* Ensure the cookie banner fits nicely on small phone screens */
    .cookie-inner {
        padding: 25px 20px;
        width: 95%;
    }
    .cookie-actions {
        flex-direction: column; /* Stack Accept/Decline buttons on mobile */
        gap: 10px;
    }
    .cookie-btn {
        width: 100%; /* Make buttons full-width for easy thumb-tapping */
    }
}

/* ==========================================
   MOBILE MENU FIXES (CLEAN & SPACIOUS)
   ========================================== */
@media (max-width: 992px) {
    
    /* 1. The Sidebar Container */
    .main-nav {
        padding: 15px 20px !important; 
    }

    /* 2. The List Container */
    .nav-links {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important; /* Removes the ugly bullet points */
        width: 100% !important;
    }

    /* 3. The List Items (Horizontal Lines) */
    .nav-links > li {
        width: 100% !important;
        border-bottom: 1px solid #eaeaea !important; /* Soft, clean dividing line */
    }

    /* 4. The Links (Big, readable, and easy to tap) */
    .nav-links a, 
    .dropdown-trigger {
        display: block !important;
        padding: 14px 0 !important; 
        font-size: 0.8rem !important; /* Smaller, normal text size */
        font-weight: 500 !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
    }

    /* 5. Dropdown Sub-menu */
    .dropdown-menu {
        min-width: 0 !important;       /* kill desktop 280px min-width */
        width: 100% !important;
        background: rgba(0, 0, 0, 0.04) !important;
        border-radius: 8px;
        margin-top: 5px;
        padding: 4px 0 4px 20px !important;
    }
    .dropdown-menu a {
        font-size: 0.75rem !important;
        padding: 10px 0 10px 12px !important; /* left pad keeps text fully visible */
        color: #555555 !important;
        text-align: left !important;         /* force left-align, never center */
        white-space: normal !important;      /* wrap long names on tiny screens */
    }

    /* 6. Language Switcher Space */
    .lang-switch {
        margin-top: 30px !important;
    }
    .lang-btn {
        font-size: 1.1rem !important;
    }
}