/* ==========================================
   MONA TANNOUS PHARAON - LUXURY FASHION PORTFOLIO
   High-contrast editorial style
   ========================================== */

/* CSS Variables */
:root {
    --color-black: #0a0a0a;
    --color-white: #fafafa;
    --color-cream: #f5f3ef;
    --color-gold: #c9a962;
    --color-gold-light: #d4b978;
    --color-gray: #888;
    --color-gray-light: #bbb;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
    touch-action: pan-y pinch-zoom;
    -webkit-text-size-adjust: 100%;
    min-width: 320px;
}

/* Ensure inputs don't zoom on focus */
input, textarea, select {
    font-size: 16px !important;
}

/* Touch-friendly tap targets */
a, button {
    min-width: 44px;
    min-height: 44px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 5vw;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link {
    color: var(--color-black);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-white);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

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

.navbar.scrolled .nav-link::after {
    background: var(--color-black);
}

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

.nav-toggle span {
    width: 25px;
    height: 1px;
    background: var(--color-white);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-black);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    background: var(--color-black);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5vw;
    position: relative;
}

.hero-content {
    padding-right: 5vw;
}

.hero-label {
    font-family: var(--font-sans);
font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-gray-light);
    margin-bottom: 3rem;
}

.hero-image {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 5vw;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--color-gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.5; transform: scaleX(0.7); }
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    background: var(--color-cream);
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-black);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray);
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-tag {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
}

/* ==========================================
   MODERN GALLERY - About Section
   ========================================== */
.modern-gallery {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-frame {
    position: relative;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.3),
        0 0 0 1px rgba(201, 169, 98, 0.1);
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-overlay-zoom {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(0,0,0,0.4) 100%
    );
    pointer-events: none;
}

/* Navigation Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-arrow:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-prev {
    left: 16px;
}

.gallery-arrow-next {
    right: 16px;
}

/* Image Counter */
.gallery-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-gray-light);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.gallery-counter span {
    color: var(--color-gold);
    font-weight: 500;
}

/* Thumbnails - Matching Family & Legacy gallery */
.gallery-thumbs {
    margin-top: 16px;
    padding: 0 4px;
}

.thumbs-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 8px 4px;
    justify-content: flex-start;
}

.thumbs-track::-webkit-scrollbar {
    display: none;
}

.gallery-thumbs .thumb {
    width: 70px;
    height: 55px;
    min-width: 70px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    filter: grayscale(40%);
}

.gallery-thumbs .thumb:hover {
    filter: grayscale(0%);
    border-color: rgba(201, 169, 98, 0.5);
    transform: translateY(-2px);
}

.gallery-thumbs .thumb.active {
    filter: grayscale(0%);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(201, 169, 98, 0.8), 0 0 30px rgba(201, 169, 98, 0.4);
}

/* Mobile Responsive Gallery - Match Family section */
@media (max-width: 768px) {
    .modern-gallery {
        max-width: 100%;
        padding: 0;
    }
    
    .gallery-frame {
        border-radius: 8px;
    }
    
    .gallery-main {
        aspect-ratio: 3/4;
    }
    
    .gallery-arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .gallery-arrow-prev {
        left: 8px;
    }
    
    .gallery-arrow-next {
        right: 8px;
    }
    
    .gallery-thumbs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-thumbs .thumb {
        width: 70px;
        height: 55px;
        min-width: 70px;
        flex-shrink: 0;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .gallery-thumbs {
        margin-top: 12px;
        gap: 6px;
        padding: 4px 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-thumbs .thumb {
        width: 70px;
        height: 55px;
        min-width: 70px;
        flex-shrink: 0;
        border-radius: 4px;
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background: var(--color-black);
    color: var(--color-white);
}

.about-section .section-tag {
    color: var(--color-gold);
}

.about-section .section-title {
    color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    height: auto;
    overflow: visible;
    /* FIX: Ensure image is responsive */
    max-width: 100%;
    width: 100%;
}

.about-image > img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    filter: grayscale(30%);
    /* FIX: Ensure images don't overflow */
    max-width: 100%;
}

/* Old slider styles - keeping for family section compatibility */
/* About section now uses modern-gallery styles */

.about-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}

.about-thumbs::-webkit-scrollbar {
    display: none;
}

.about-thumbs .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    filter: grayscale(50%);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 4px;
}

.about-thumbs .thumb:hover {
    filter: grayscale(0%);
    border-color: var(--color-gold);
}

.about-thumbs .thumb.active {
    filter: grayscale(0%);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(201, 169, 98, 0.8), 0 0 30px rgba(201, 169, 98, 0.4);
}

.lead-text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--color-white);
    /* FIX: Ensure text wraps properly */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.about-content {
    /* FIX: Ensure content container doesn't overflow */
    max-width: 100%;
    overflow: hidden;
}

.about-content p {
    color: var(--color-gray-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    /* FIX: Ensure paragraph text wraps and doesn't get cut off */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    line-height: 1.7;
}

.bio-chapter {
    /* FIX: Ensure bio chapters don't overflow */
    max-width: 100%;
    overflow: visible;
}

.chapter-title {
    /* FIX: Ensure headings wrap properly */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.signature span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
}

/* ==========================================
   COMMUNITY SECTION - SINGLE PARAGRAPH
   ========================================== */
.community-section .initiative-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
}

.community-section .initiative-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.community-section .initiative-item p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.community-section .initiative-item p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   PHILANTHROPY SECTION
   ========================================== */
.philanthropy-section {
    background: var(--color-white);
}

.philanthropy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.initiative-item {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.initiative-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.initiative-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.initiative-role {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.initiative-item p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.8;
}

.card-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: 1.5rem;
}

.services-list {
    list-style: none;
}

.services-list li {
    font-size: 0.85rem;
    color: var(--color-gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.initiatives-list h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.initiatives-tags {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* ==========================================
   FAMILY SECTION
   ========================================== */
.family-section {
    background: var(--color-black);
    color: var(--color-white);
}

.family-section .section-tag {
    color: var(--color-gold);
}

.family-section .section-title {
    color: var(--color-white);
}

/* ==========================================
   FAMILY TREE SECTION
   ========================================== */
.family-section {
    background: var(--color-black);
    color: var(--color-white);
}

.family-section .section-tag {
    color: var(--color-gold);
}

.family-section .section-title {
    color: var(--color-white);
}

.family-tree {
    max-width: 1000px;
    margin: 0 auto;
}

.tree-root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
}

.tree-root .member-photo {
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    background: #1a1a1a;
}

.tree-root .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tree-root h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.tree-root .role {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
}

.tree-connector {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.connector-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

/* Siblings Section - Single Image with Info Below */
.tree-siblings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.siblings-photo {
    width: 400px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--color-gold);
}

.siblings-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.siblings-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.sibling-item {
    text-align: center;
    min-width: 150px;
}

.sibling-item h5 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.sibling-item .spouse {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.sibling-item .grandchildren-list {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gc-item {
    font-size: 0.75rem;
    color: var(--color-gray-light);
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
}

.legacy-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.legacy-quote blockquote p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gray-light);
    line-height: 1.6;
}

/* ==========================================
   MARQUEE SECTION
   ========================================== */
.marquee-section {
    background: var(--color-cream);
    padding: 4rem 0;
    overflow: hidden;
}

.marquee-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gray);
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
}

.marquee {
    display: flex;
    align-items: center;
    animation: marquee 30s linear infinite;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    white-space: nowrap;
    padding: 0 2rem;
    color: var(--color-black);
}

.marquee .dot {
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    padding: 0;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-section {
    background: var(--color-black);
}

.gallery-section .section-tag {
    color: var(--color-gold);
}

.gallery-section .section-title {
    color: var(--color-white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.filter-btn {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: none;
    border: none;
    color: var(--color-gray);
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition-fast);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transform: translateX(-50%);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-white);
}

.filter-btn.active::after {
    width: 100%;
}

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

.gallery-item {
    height: 350px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    height: 500px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
}

/* ==========================================
   CAROUSEL SECTION
   ========================================== */
.carousel-section {
    background: var(--color-white);
    padding: 8rem 0;
    overflow: hidden;
}

.carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    padding: 0 5vw;
    width: max-content;
}

.carousel-item {
    width: 400px;
    flex-shrink: 0;
    padding: 3rem;
    background: var(--color-cream);
    border-left: 2px solid var(--color-gold);
}

.carousel-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.carousel-item p {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: var(--color-black);
    color: var(--color-white);
}

.contact-section .section-tag {
    color: var(--color-gold);
}

.contact-section .section-title {
    color: var(--color-white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    color: var(--color-gray-light);
    margin-bottom: 3rem;
}

.contact-email {
    margin-bottom: 1.5rem;
}

.contact-email a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.contact-email a:hover {
    color: var(--color-gold-light);
}

.contact-instagram {
    margin-top: 1rem;
}

.contact-instagram a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-light);
    transition: var(--transition-fast);
}

.contact-instagram a:hover {
    color: var(--color-gold);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--color-gold);
    border: none;
    color: var(--color-black);
    cursor: pointer;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    background: var(--color-gold-light);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-black);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-quote {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-nav a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray);
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-gold);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-gray);
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   ENHANCED MOBILE RESPONSIVE
   ========================================== */

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    .nav-toggle {
        padding: 12px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .nav-btn, .slider-btn, .filter-btn {
        min-width: 48px;
        min-height: 48px;
    }
    
    .gallery-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(201, 169, 98, 0.2);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        padding-top: 8rem;
    }
    
    .hero-image {
        height: 50vh;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        height: auto;
        min-height: auto;
    }
    
    .about-image > img {
        height: auto;
        min-height: 300px;
    }
    
    .about-thumbs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-thumbs .thumb {
        width: 120px;
        height: 120px;
    }
    
    .family-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 1;
        height: 350px;
    }
}

@media (max-width: 768px) {
    /* BASE: Ensure minimum touch targets and text sizes */
    html {
        font-size: 15px;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        min-width: 320px;
    }
    
    /* Ensure inputs don't zoom on focus */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 2rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        min-height: 48px;
        color: var(--color-white);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        min-width: 48px;
        min-height: 48px;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255,255,255,0.05);
    }
    
    .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(5px, -5px);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philanthropy-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item,
    .gallery-item.large {
        height: 300px;
    }
    
    .carousel-item {
        width: 300px;
        min-width: 280px;
        padding: 2rem;
        flex-shrink: 0;
    }
    
    /* Flexible widths for fixed elements */
    .slider-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .slider-main {
        height: 350px;
        width: 100%;
    }
    
    .slider-thumbs .thumb {
        width: 70px;
        height: 55px;
        flex-shrink: 0;
    }
    
    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .siblings-slider .slider-main {
        height: 280px;
    }
    
    /* About Section - 768px tablet styles */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        width: 100%;
    }
    
    .about-image,
    .about-slider {
        width: 100%;
        max-width: 100%;
    }
    
    .about-slider .slider-main {
        height: 320px;
        width: 100%;
    }
    
    .about-slider .slider-thumbs {
        overflow-x: auto;
        display: flex;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .about-slider .slider-thumbs::-webkit-scrollbar {
        display: none;
    }
    
    .about-slider .thumb {
        width: 40px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .about-content {
        width: 100%;
        padding: 0 4vw;
    }
    
    .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        display: grid;
    }
    
    .family-gallery-grid img {
        height: auto;
        min-height: 120px;
        width: 100%;
    }
    
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slider-main {
        height: 400px;
    }
    
    .siblings-slider .slider-main {
        height: 300px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
    
    .footer-nav a {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
    
    /* Siblings info */
    .siblings-info {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .sibling-item {
        text-align: center;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    /* Base Mobile - Enhanced */
    html {
        font-size: 15px;
    }
    
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }
    
    .container {
        padding: 0 4vw;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 0 0 4rem;
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 6rem 4vw 2rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-label {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .hero-quote {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-intro {
        font-size: 0.85rem;
        line-height: 1.65;
    }
    
    .hero-image {
        height: 35vh;
        width: 100%;
    }
    
    .hero-image img {
        object-position: center center;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Navigation Mobile - Enhanced */
    .navbar {
        padding: 0.8rem 4vw;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-logo {
        font-size: 0.7rem;
        max-width: 55%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 2rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    
    .nav-toggle {
        display: flex;
        min-width: 48px;
        min-height: 48px;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255,255,255,0.05);
    }
    
    .nav-toggle:active {
        background: rgba(255,255,255,0.1);
    }
    
    /* Sections Mobile */
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-tag {
        font-size: 0.55rem;
        letter-spacing: 0.2em;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* About Section Mobile - Comprehensive Fix */
    .about-section {
        padding: 4rem 0;
        overflow-x: hidden;
        /* FIX: Ensure section doesn't cause horizontal scroll */
        width: 100%;
        max-width: 100vw;
    }
    
    .about-section .container {
        padding: 0 16px;
        /* FIX: Add horizontal padding to prevent text touching screen edges */
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        /* FIX: Stack content into single column on mobile */
        flex-wrap: wrap;
    }
    
    .about-image {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        /* FIX: Ensure image container doesn't overflow */
        overflow: hidden;
    }
    
    .about-slider,
    .about-image {
        width: 100%;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .about-slider {
        overflow: visible;
        flex-shrink: 0;
    }
    
    .about-slider .slider-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .about-slider .slider-main {
        height: 350px;
        width: 100%;
        max-width: 100%;
        /* FIX: Ensure main image fits and doesn't overflow */
        overflow: hidden;
    }
    
    .about-slider .slider-main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* FIX: Ensure image is responsive and doesn't stretch */
        max-width: 100%;
    }
    
    .about-slider .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    .about-slider .slider-thumbs {
        gap: 6px;
        padding: 8px 16px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
        box-sizing: border-box;
        width: 100%;
        /* FIX: Ensure thumbnails don't overflow */
        max-width: 100%;
    }
    
    .about-slider .slider-thumbs::-webkit-scrollbar {
        display: none;
    }
    
    .about-slider .thumb {
        width: 40px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .about-content {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        max-width: 100%;
        /* FIX: Allow content to be visible without clipping */
        overflow: visible;
    }
    
    .lead-text {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        /* FIX: Ensure white-space is normal, not nowrap */
        white-space: normal;
        /* FIX: Remove any fixed height that might clip content */
        min-height: auto;
        height: auto;
        max-width: 100%;
    }
    
    .about-content p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        /* FIX: Ensure text doesn't get clipped */
        white-space: normal;
        text-align: left;
        max-width: 100%;
        /* FIX: Ensure no overflow hidden that clips text */
        overflow: visible;
    }
    
    .bio-chapter {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        max-width: 100%;
        /* FIX: Allow bio chapters to be visible */
        overflow: visible;
    }
    
    .bio-chapter:last-child {
        border-bottom: none;
    }
    
    .chapter-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        color: var(--color-gold);
        /* FIX: Ensure chapter titles wrap properly on mobile */
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }
    
    .signature {
        margin-top: 2rem;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .signature span {
        font-size: 1.2rem;
        /* FIX: Ensure signature text wraps properly */
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    /* Family Tree Mobile */
    .tree-root .member-photo {
        width: 150px;
        height: 150px;
    }
    
    .tree-root h4 {
        font-size: 1rem;
    }
    
    .tree-root .role {
        font-size: 0.6rem;
    }
    
    .connector-line {
        height: 35px;
    }
    
    /* Siblings Mobile - Enhanced */
    .siblings-slider {
        width: 100%;
        padding: 0 4vw;
    }
    
    .siblings-slider .slider-main {
        height: 250px;
        max-width: 100%;
        margin: 0 auto 1rem;
    }
    
    .siblings-slider .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 8px;
    }
    
    .siblings-slider .slider-thumbs {
        gap: 6px;
        padding: 8px 4px;
    }
    
    .siblings-slider .thumb {
        width: 70px;
        height: 55px;
    }
    
    .siblings-info {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .sibling-item {
        text-align: center;
        width: 100%;
    }
    
    .sibling-item h5 {
        font-size: 0.95rem;
    }
    
    .sibling-item .spouse {
        font-size: 0.6rem;
    }
    
    .sibling-item .child-role {
        font-size: 0.75rem;
    }
    
    .grandchildren-list {
        justify-content: center;
    }
    
    .gc-item {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    /* Legacy Mobile */
    .legacy-quote {
        padding: 2rem 0;
    }
    
    .legacy-quote blockquote p {
        font-size: 0.95rem;
        line-height: 1.45;
        padding: 0 0.5rem;
    }
    
    .legacy-statement {
        padding: 0 0.5rem;
    }
    
    .legacy-statement p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Family Slider Mobile - Enhanced */
    .family-slider {
        margin: 2rem 0 0;
        padding: 0 4vw;
        width: 100%;
    }
    
    .slider-wrapper {
        padding: 0;
        max-width: 100%;
    }
    
    .slider-main {
        height: 280px;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .slider-nav {
        justify-content: space-between;
        padding: 0 8px;
    }
    
    .slider-nav .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 8px;
        background: rgba(0,0,0,0.7);
    }
    
    .slider-thumbs {
        gap: 6px;
        padding: 10px 4px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .slider-thumbs::-webkit-scrollbar {
        display: none;
    }
    
    .slider-thumbs .thumb {
        width: 70px;
        height: 55px;
        flex-shrink: 0;
    }
    
    /* Boucheron Section Mobile */
    .boucheron-section-large {
        margin: 2rem auto 1rem;
        padding: 0 0.5rem;
    }
    
    .boucheron-badge {
        font-size: 0.5rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 1rem;
    }
    
    .boucheron-main-image {
        max-width: 100%;
        border-radius: 6px;
        margin-bottom: 1rem;
    }
    
    .boucheron-main-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .boucheron-main-text p {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    
    /* Gallery Mobile */
    .gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-filter {
        gap: 0.75rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        font-size: 0.6rem;
        padding: 0.35rem 0.6rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .gallery-item,
    .gallery-item.large {
        height: 220px;
        grid-column: span 1;
    }
    
    /* Press/Carousel Mobile */
    .press-section {
        padding: 4rem 0;
    }
    
    .carousel-track {
        gap: 1rem;
        padding: 0 4vw;
    }
    
    .carousel-item {
        width: 260px;
        padding: 1.25rem;
        min-height: 180px;
    }
    
    .carousel-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-item p {
        font-size: 0.8rem;
        line-height: 1.55;
    }
    
    .press-gallery {
        padding: 0 4vw;
        margin-top: 1.5rem;
    }
    
    .press-gallery .gallery-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .family-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .family-gallery-grid img {
        height: 120px;
        border-radius: 4px;
    }
    
    .family-gallery-grid {
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        display: flex;
        gap: 8px;
        padding-bottom: 10px;
    }
    
    .family-gallery-grid img {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: calc(50% - 4px);
    }
    
    /* Community/Philanthropy Mobile */
    .community-section {
        padding: 4rem 0;
    }
    
    .philanthropy-content {
        padding: 0 0.5rem;
    }
    
    .initiative-item {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .initiative-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .initiative-role {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .initiative-item p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Contact Mobile */
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-content > p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .contact-email a {
        font-size: 1.1rem;
    }
    
    /* Footer Mobile - Enhanced */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-logo {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-quote {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-nav a {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
        padding: 0 1rem;
    }
    
    /* Lightbox Mobile - Enhanced */
    .lightbox {
        padding: 1rem;
        flex-direction: column;
    }
    
    .lightbox-content {
        max-width: 100%;
        max-height: 70vh;
        width: 100%;
        object-fit: contain;
    }
    
    .lightbox-close {
        position: absolute;
        top: 12px;
        right: 12px;
        font-size: 32px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        padding: 0;
    }
    
    #lightbox-caption {
        font-size: 0.85rem;
        margin-top: 12px;
        text-align: center;
    }
    
    /* Add Safe Area Support for notched devices */
    @supports (padding: max(0px)) {
        .navbar {
            padding-left: max(4vw, env(safe-area-inset-left));
            padding-right: max(4vw, env(safe-area-inset-right));
            padding-top: max(0.8rem, env(safe-area-inset-top));
        }
        
        .section {
            padding-left: max(0, env(safe-area-inset-left));
            padding-right: max(0, env(safe-area-inset-right));
        }
        
        .footer {
            padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
        }
    }
}

/* Family Image Slider */
.family-slider {
    max-width: 100%;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-main {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a1a;
}

.slider-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.8);
    border: 2px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    padding: 0;
    line-height: 1;
}

.nav-btn:hover {
    background: #d4af37;
    color: #000;
}

.slider-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}

.slider-thumbs .thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.slider-thumbs .thumb:hover {
    opacity: 0.8;
}

.slider-thumbs .thumb.active {
    opacity: 1;
    border-color: #d4af37;
}

@media (max-width: 768px) {
    .slider-main {
        height: 350px;
    }
    .slider-thumbs .thumb {
        width: 70px;
        height: 55px;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.slider-btn i {
    font-size: 1rem;
}

/* Family Photo Gallery */
.family-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.family-gallery .gallery-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.family-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.family-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-gallery-grid img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 10;
    position: relative;
}

@media (max-width: 992px) {
    .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .family-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .family-gallery-grid img {
        height: 150px;
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #d4af37;
}

#lightbox-caption {
    margin-top: 15px;
    color: #ccc;
    font-size: 1rem;
}

/* Large Boucheron Section for Family & Legacy */
.boucheron-section-large {
    max-width: 900px;
    margin: 5rem auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.boucheron-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-black);
    background: var(--color-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.boucheron-main-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.boucheron-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.boucheron-main-text {
    max-width: 700px;
    margin: 0 auto;
}

.boucheron-main-text h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.boucheron-main-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: 1.5rem;
}

/* Boucheron Award Section */
.boucheron-section {
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.boucheron-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.boucheron-image {
    flex: 1;
    max-width: 400px;
}

.boucheron-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.boucheron-text {
    flex: 1.2;
}

.boucheron-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1rem;
}

.boucheron-text h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.boucheron-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .boucheron-content {
        flex-direction: column;
        gap: 2rem;
    }
    .boucheron-image {
        max-width: 100%;
    }
    .boucheron-text h3 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   ABOUT SECTION - MOBILE RESPONSIVE FIXES
   ========================================== */

/* Ensure text containers don't cut off */
.about-content,
.bio-chapter,
.chapter-title,
.lead-text,
.about-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: visible;
    height: auto;
    min-height: auto;
    line-height: 1.6;
}

/* Ensure images are fully responsive */
.about-slider img,
.slider-main img,
.slider-thumbs img,
.slider-thumbs .thumb {
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
}

/* Slider container - prevent overflow */
.about-slider .slider-wrapper,
.slider-wrapper {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
}

/* Slider main image container */
.about-slider .slider-main,
.slider-main {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    box-sizing: border-box;
}

/* Thumbnail container - prevent overflow */
.about-slider .slider-thumbs,
.slider-thumbs {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    box-sizing: border-box;
    scrollbar-width: none;
}

.about-slider .slider-thumbs::-webkit-scrollbar,
.slider-thumbs::-webkit-scrollbar {
    display: none;
}

.about-slider .slider-thumbs .thumb,
.slider-thumbs .thumb {
    flex-shrink: 0;
    max-width: 100%;
    width: 80px;
    height: 60px;
    object-fit: cover;
}

/* ==========================================
   ABOUT SECTION - SLIDER STYLES
   ========================================== */

.about-slider {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.about-slider .slider-wrapper {
    position: relative;
    max-width: 100%;
    /* FIX: Ensure wrapper doesn't overflow */
    overflow: hidden;
}

.about-slider .slider-main {
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a1a;
    box-sizing: border-box;
}

.about-slider .slider-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    max-width: 100%;
    height: auto;
}

.about-slider .slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.about-slider .nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.7);
    border: 2px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    font-size: 1.3rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    padding: 0;
    line-height: 1;
}

.about-slider .nav-btn:hover {
    background: #d4af37;
    color: #000;
}

.about-slider .slider-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}

.about-slider .slider-thumbs::-webkit-scrollbar {
    display: none;
}

.about-slider .thumb {
    width: 45px;
    height: 35px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.about-slider .thumb:hover {
    opacity: 0.8;
}

.about-slider .thumb.active {
    opacity: 1;
    border-color: #d4af37;
}

/* Mona Family Tree Slider */
.mona-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mona-slider-main {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-gold);
    background: #1a1a1a;
    margin-bottom: 1.5rem;
}

.mona-slider-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.mona-slider-main .slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 5;
}

.mona-slider-main .nav-btn {
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.8);
    border: 2px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    font-size: 1rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mona-slider-main .nav-btn:hover {
    background: #d4af37;
    color: #000;
}

.tree-root h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-align: center;
}

.tree-root .role {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    text-align: center;
}

.mona-slider-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.mona-slider-thumbs .thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mona-slider-thumbs .thumb:hover {
    opacity: 0.8;
}

.mona-slider-thumbs .thumb.active {
    opacity: 1;
    border-color: #d4af37;
}

/* Siblings/Children Slider */
.siblings-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.siblings-slider .slider-main {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    background: #1a1a1a;
    margin: 0 auto 1.5rem;
}

.siblings-slider .slider-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.siblings-slider .slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 5;
}

.siblings-slider .nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.7);
    border: 2px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.siblings-slider .nav-btn:hover {
    background: #d4af37;
    color: #000;
}

.siblings-slider .slider-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.siblings-slider .thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.siblings-slider .thumb:hover {
    opacity: 0.8;
}

.siblings-slider .thumb.active {
    opacity: 1;
    border-color: #d4af37;
}

/* Press Gallery - Same styling as family-gallery */
.press-gallery {
    margin-top: 3rem;
    padding: 0 5vw;
}

.press-gallery .gallery-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.press-gallery .family-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.press-gallery .family-gallery-grid img,
.press-gallery .family-gallery-grid a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.press-gallery .family-gallery-grid img:hover,
.press-gallery .family-gallery-grid a img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
}

.press-gallery .gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.press-gallery .gallery-item img {
    border-radius: 8px;
}

@media (max-width: 992px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .press-gallery .family-gallery-grid img,
    .press-gallery .family-gallery-grid a img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .press-gallery .family-gallery-grid img,
    .press-gallery .family-gallery-grid a img {
        height: 120px;
    }
}

/* Responsive Press Gallery Grid - 2 cols mobile, 3 tablet, 4 desktop */
.press-gallery .family-gallery-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 769px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Clickable press gallery items */
.press-gallery .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.press-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   MOBILE FIXES - PREVENT SIDE SCROLLING
   ========================================== */

/* Global overflow prevention */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Ensure all elements respect viewport width */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden;
    touch-action: pan-y pinch-zoom;
    -webkit-text-size-adjust: 100%;
    min-width: 320px;
}

/* Images and containers never exceed viewport */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Ensure containers don't cause horizontal scroll */
.container, section, div, article, aside, main, header, footer, nav {
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile-friendly tap targets (minimum 44x44px) */
a, button, input, textarea, select, label, [role="button"] {
    min-height: 44px;
    min-width: 44px;
}

/* ==========================================
   ABOUT MONA SECTION - COMPREHENSIVE FIXES
   ========================================== */

.about-mona,
#about {
    word-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

.about-mona *,
#about * {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.about-mona p,
#about p,
.bio-chapter p,
.lead-text {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    height: auto;
    min-height: auto;
    max-width: 100%;
    overflow: visible;
}

/* Responsive images in About section */
.about-mona img,
#about img,
.about-image img,
.about-slider img,
.slider-main img,
.about-slider .slider-main img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobile: Force single column with horizontal padding */
@media (max-width: 768px) {
    .about-mona,
    #about {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }
    
    .about-mona .about-grid,
    #about .about-grid {
        display: flex;
        flex-direction: column;
        /* Image above text */
        flex-wrap: wrap;
    }
    
    .about-mona .about-image,
    #about .about-image,
    .about-mona .about-slider,
    #about .about-slider {
        width: 100%;
        max-width: 100%;
        padding: 0;
        order: -1; /* Image first */
    }
    
    .about-mona .about-content,
    #about .about-content {
        width: 100%;
        padding: 0;
    }
}

/* Ensure no fixed heights that cut off text */
.bio-chapter,
.chapter-title,
.lead-text,
.about-content p,
.signature {
    height: auto;
    min-height: auto;
    max-height: none;
}

/* ==========================================
   ENHANCED MOBILE MEDIA QUERIES
   ========================================== */

/* Tablet breakpoint (768px) */
@media (max-width: 768px) {
    /* Stack columns, increase font sizes */
    .about-grid,
    .family-grid,
    .philanthropy-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    /* Ensure tap targets are at least 44x44px */
    .nav-toggle,
    .nav-btn,
    .filter-btn,
    .slider-btn,
    button,
    .submit-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Increase base font size for readability */
    body {
        font-size: 16px;
    }
    
    p, li {
        font-size: 1rem;
    }
}

/* Mobile breakpoint (480px) */
@media (max-width: 480px) {
    /* Further stack elements */
    .about-grid,
    .family-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Increase touch targets */
    a, button {
        min-height: 48px;
        min-width: 48px;
        padding: 0.75rem 1rem;
    }
    
    /* Larger text on small screens */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    
    p, li, span {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ==========================================
   PRESS GALLERY - RESPONSIVE GRID
   ========================================== */
.press-gallery {
    padding: 0 5vw;
    margin-top: 3rem;
}

.press-gallery .gallery-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.press-gallery .family-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.press-gallery .family-gallery-grid .gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-gallery .family-gallery-grid .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.press-gallery .family-gallery-grid .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.press-gallery .family-gallery-grid .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.press-gallery .family-gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Press Gallery Grid */
@media (max-width: 1024px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .press-gallery .family-gallery-grid .gallery-item img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .press-gallery {
        padding: 0 4vw;
    }
    
    .press-gallery .family-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .press-gallery .family-gallery-grid .gallery-item img {
        height: 120px;
        border-radius: 6px;
    }
    
    .press-gallery .family-gallery-grid .gallery-item {
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
}

/* About Mona images responsive */
.about-mona img,
.about-section img {
    max-width: 100%;
    height: auto;
}

/* About Mona section single column on mobile */
@media (max-width: 768px) {
    .about-mona .about-grid,
    #about .about-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .about-mona .about-image,
    #about .about-image {
        order: -1;
        margin-bottom: 1.5rem;
    }
}

/* Press Gallery Grid */
.press-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 5vw;
}

.press-gallery-grid .gallery-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    line-height: 0;
    font-size: 0;
}

.press-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
    display: block;
}

.press-gallery-grid .gallery-item:hover img {
    transform: scale(1.03);
}

.press-gallery-grid .gallery-overlay {
    display: none;
}

/* Lightbox - Enlarge without full screen */
#lightbox {
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

#lightbox .lightbox-content {
    max-width: 60vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

#lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
}

.lightbox-close {
    color: #fff;
    top: 15px;
    right: 20px;
}

/* Mobile press gallery */
@media (max-width: 768px) {
    .press-gallery-grid .gallery-item {
        border-radius: 8px;
    }
    
    .press-gallery-grid .gallery-item img {
        border-radius: 8px;
    }
    
    #lightbox .lightbox-content {
        max-width: 85vw;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .press-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 350px;
    }

    .press-gallery-grid .gallery-item {
        border-radius: 6px;
    }

    .press-gallery-grid .gallery-item img {
        border-radius: 6px;
    }

    #lightbox .lightbox-content {
        max-width: 92vw;
        max-height: 55vh;
        border-radius: 8px;
    }
}

/* ==========================================
   MODERN PRESS GALLERY & LIGHTBOX
   ========================================== */

/* Modern Press Gallery Grid */
.press-modern-gallery {
    padding: 2rem 5vw;
    margin-top: 2rem;
}

.press-modern-gallery .gallery-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.press-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.press-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
}

.press-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.press-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Modern Lightbox */
.modern-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: lightboxFadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: imageZoomIn 0.3s ease;
}

@keyframes imageZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    font-family: var(--font-sans);
    max-width: 80%;
}

/* Responsive Press Gallery */
@media (max-width: 1024px) {
    .press-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .press-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .press-gallery-item {
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
    
    .lightbox-close-btn {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .press-modern-gallery {
        padding: 1rem 4vw;
    }
    
    .press-modern-gallery .gallery-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .press-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .press-gallery-item {
        aspect-ratio: 1 / 1;
        border-radius: 6px;
    }
    
    .lightbox-close-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-image {
        max-width: 95vw;
        max-height: 70vh;
        border-radius: 4px;
    }
}

/* ==========================================
   MICHEL GALLERY - NO DARK BORDER
   ========================================== */
#mona-michel .gallery-frame {
    background: transparent;
    border: none;
    padding: 0;
}

#mona-michel .gallery-main {
    background: transparent;
    border: none;
    box-shadow: none;
}

#mona-michel .gallery-main img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    filter: none;
    border-radius: 4px;
}

#mona-michel .gallery-thumbs {
    background: transparent;
    padding: 10px 0;
}

#mona-michel .gallery-thumbs .thumb {
    border: 2px solid transparent;
    filter: grayscale(20%);
}

#mona-michel .gallery-thumbs .thumb:hover,
#mona-michel .gallery-thumbs .thumb.active {
    border-color: var(--color-gold);
    filter: grayscale(0%);
}

#mona-michel .gallery-arrow {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    border: none;
}

#mona-michel .gallery-arrow:hover {
    background: rgba(255,255,255,0.2);
}

#mona-michel .gallery-counter {
    background: rgba(0,0,0,0.5);
    color: var(--color-white);
    font-size: 0.75rem;
}

/* ==========================================
   FAMILY SLIDER - SHOW FULL ASPECT RATIO
   ========================================== */
#family .family-slider .slider-wrapper {
    background: transparent;
}

#family .family-slider .slider-main {
    background: transparent;
    border: none;
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#family .family-slider .slider-main img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    filter: none;
    border-radius: 4px;
}

#family .family-slider .slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 5;
}

#family .family-slider .nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(201, 169, 98, 0.3);
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#family .family-slider .nav-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--color-gold);
}

#family .family-slider .slider-thumbs {
    background: transparent;
    padding: 16px 4px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex;
    flex-wrap: nowrap;
}

#family .family-slider .slider-thumbs::-webkit-scrollbar {
    display: none;
}

#family .family-slider .slider-thumbs .thumb {
    width: 70px;
    height: 55px;
    min-width: 70px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

#family .family-slider .slider-thumbs .thumb:hover,
#family .family-slider .slider-thumbs .thumb.active {
    filter: grayscale(0%);
    border-color: var(--color-gold);
}

/* ==========================================
   FAMILY PHOTOS GALLERY - Static Image
   ========================================== */
#family .family-photos-gallery {
    margin: 2rem auto;
    max-width: 500px;
    padding: 0 5vw;
}

#family .family-photos-gallery .static-family-photo {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 4px;
}

/* Golden Line Separator */
#family .family-separator-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    margin: 2.5rem auto;
}
