/* --- CSS Variables & Reset --- */
:root {
    --bg-color: #fdfbf7;
    --surface-color: #f2eee3;
    --surface-dark: #e0ddd6;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent-color: #a68d71;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    color: var(--text-secondary);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    background: rgba(245, 243, 239, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, padding 0.3s ease;
}

/* Transparent State for Homepage/Hero */
nav.nav-transparent {
    padding: 2rem 3rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

nav.scrolled {
    background: rgba(245, 243, 239, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 1rem 3rem;
    mix-blend-mode: normal;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

nav.scrolled .logo,
nav.scrolled .nav-links a {
    color: var(--text-primary);
}

nav.scrolled .hamburger span {
    background: var(--text-primary);
}

/* Special white text for transparent nav (homepage initial state) */
nav.nav-transparent .logo,
nav.nav-transparent .nav-links a {
    color: #fff;
}

/* But if scrolled, it goes dark/white depending on the scrolled bg */
nav.nav-transparent.scrolled .logo,
nav.nav-transparent.scrolled .nav-links a {
    color: var(--text-primary);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    /* Default for subpages */
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    /* Default for subpages */
}

.nav-links a:hover {
    color: var(--accent-color);
    opacity: 0.7;
}

/* --- Mobile Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 101;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    /* Default dark */
    transition: all 0.3s ease;
}

nav.nav-transparent .hamburger span {
    background: #fff;
    /* White for hero */
}

nav.scrolled .hamburger span {
    background: #fff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(245, 243, 239, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        font-size: 1.2rem;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-primary) !important;
        /* Force dark text in mobile menu */
    }

    nav.scrolled .nav-links {
        background: rgba(245, 243, 239, 0.98);
    }
}

/* --- Featured Hero Section (Single Image) --- */
#featured-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.featured-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.featured-hero-content {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    z-index: 3;
    text-align: left;
    padding: 0;
    animation: fadeInUp 1.5s ease-out;
    max-width: 900px;
}

.featured-hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.2rem;
    display: block;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}

.featured-hero-title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-hero-caption {
    font-size: 1.2rem;
    color: #f9f9f9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.featured-hero-btn {
    display: inline-block;
    border: 1px solid #fff;
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

.featured-hero-btn:hover {
    border-color: #fff;
    color: #000;
    background: #fff;
}

/* --- Hero Section (Slideshow) --- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 1rem;
    animation: fadeInUp 1.5s ease-out;
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    display: block;
    color: var(--accent-color);
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.hero-controls {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
}

.hero-arrow {
    cursor: pointer;
    width: 60px;
    height: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-arrow:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.hero-counter {
    font-size: 1rem;
    letter-spacing: 0.2em;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.hero-arrow svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 0.7;
}

@media (max-width: 768px) {
    .hero-controls {
        right: 0 !important;
        left: 0 !important;
        bottom: 2rem !important;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    .hero-counter {
        font-size: 0.9rem;
        transform: translateY(1px);
    }
}

/* --- Secondary Manual Carousel --- */
#secondary-carousel {
    height: 900px;
    padding: 0;
    overflow: hidden;
    background: var(--bg-color);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background-color: var(--surface-color);
    z-index: 0;
}

.carousel-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 auto;
    height: 550px;
    position: relative;
    transition: all 0.6s ease;
    opacity: 0.5;
    filter: grayscale(100%);
    transform: scale(0.95);
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
    z-index: 10;
}

.carousel-slide img {
    height: 100%;
    width: auto;
    display: block;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.carousel-controls {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

.carousel-arrow {
    cursor: pointer;
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.3s;
}

.carousel-arrow:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.carousel-arrow svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 0.7;
}

.carousel-counter {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-family: var(--font-sans);
}

@media (max-width: 768px) {
    #secondary-carousel {
        height: 700px;
    }

    .carousel-slide {
        height: 400px;
    }

    .carousel-track {
        gap: 1rem;
    }

    .carousel-slide {
        height: 400px;
        /* Center images that are smaller/constrained */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-slide img {
        /* Override global height: 100% to allow aspect ratio scaling */
        height: auto;
        max-height: 100%;
        /* Constrain width to screen to preventing cropping/overflow */
        max-width: 100vw;
        width: auto;
    }
}

/* --- Section Divider --- */
.section-divider {
    text-align: center;
    padding: 3rem 2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.section-divider h2 {
    font-size: 2rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.section-divider p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 1.5rem auto 0;
}

/* --- Promotional Text Section --- */
#promo-text {
    padding: 6rem 2rem;
    background: var(--bg-color);
    text-align: center;
}

.promo-container {
    max-width: 800px;
    margin: 0 auto;
}

.promo-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.promo-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.promo-btn {
    display: inline-block;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

@media (max-width: 768px) {
    .promo-title {
        font-size: 1.8rem;
    }

    .promo-text {
        font-size: 1rem;
    }

    .featured-hero-content {
        bottom: 2rem;
        left: 1.5rem;
        right: 1.5rem;
    }

    .featured-hero-title {
        font-size: 2.5rem;
    }
}

/* --- Categories Section --- */
#categories {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.category-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85) contrast(1.1);
}

.category-card:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
    transform: translateY(0);
}

.category-title {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
}

/* --- About Section (Overlay Style) --- */
#about {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background-color: var(--bg-color);
}

.about-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-overlay-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-overlay-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.about-content-overlay {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 4rem 6rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-content-overlay h2 {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    line-height: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-content-overlay p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f2f2f2;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.about-content-overlay p strong {
    font-weight: 500;
    color: #fff;
}

.about-btn-overlay {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 1rem 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    text-shadow: none;
    margin-top: 1rem;
}

.about-btn-overlay:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 900px) {
    .about-content-overlay h2 {
        font-size: 3rem;
    }

    #about {
        height: auto;
        min-height: 80vh;
        padding: 4rem 1rem;
    }
}

/* --- Contact Section --- */
#contact {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--bg-color);
}

#contact h2 {
    color: var(--text-primary);
}

#contact>p {
    color: var(--text-secondary);
}

.contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 0.8rem 0;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* --- Footer --- */
footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--surface-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Additional Component: Subpage Header --- */
.page-header {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: var(--surface-color);
}

.page-title {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* --- Additional Component: Masonry Gallery --- */
.gallery-container {
    padding: 3rem 2rem 6rem;
    max-width: 1600px;
    margin: 0 auto;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    cursor: pointer;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.3s;
}

.masonry-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 1200px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .masonry-grid {
        column-count: 1;
    }
}

/* --- Component: Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    display: none;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    opacity: 1;
}

.lightbox-image-container {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    position: relative;
}

.lightbox-content {
    max-width: calc(100vw - 3rem);
    max-height: calc(100vh - 3rem);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: none;
}

.close-lightbox {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.3s, transform 0.3s;
    z-index: 1005;
}

.close-lightbox:hover {
    color: #fff;
    transform: scale(1.1);
}

.lightbox-caption {
    grid-row: 1;
    grid-column: 1;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    z-index: 1003;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .lightbox.active:hover .lightbox-caption {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (hover: none) and (pointer: coarse) {
    .lightbox-caption.mobile-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.lightbox-caption-text {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lightbox-caption:empty,
.lightbox-caption-text:empty {
    display: none;
}

.lightbox-controls {
    position: fixed;
    top: auto;
    left: 50%;
    right: auto;
    bottom: 2rem;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 160px;
    padding: 0;
    pointer-events: none;
    z-index: 1004;
    background: none;
}

.lightbox-nav {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
    color: #fff;
    width: 60px;
    height: 20px;
}

.lightbox-nav:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-nav:focus,
.close-lightbox:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.lightbox-nav svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 0.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.9));
}

.lightbox-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.3em;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 0.2em;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    pointer-events: auto;
    z-index: 1004;
}

.lightbox-counter .current {
    font-size: 1rem;
    color: #fff;
}

nav.lightbox-active {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .lightbox-controls {
        padding: 0;
        bottom: 1.5rem;
        gap: 110px;
    }

    .lightbox-nav svg {
        width: 50px;
        height: 16px;
    }

    .lightbox-counter {
        bottom: 1.5rem;
        font-size: 0.8rem;
    }

    .close-lightbox {
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }

    .lightbox-caption {
        padding: 1.5rem 2rem;
    }

    .lightbox-image-container {
        padding: 1rem;
    }

    .lightbox-content {
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
    }
}

/* --- Component: Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



/* --- About Page Specifics --- */
.about-hero {
    padding-top: 80px;
    min-height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.about-hero-image {
    height: 100%;
    min-height: 500px;
    background: url('../../web/Cats/DSC03021-Enhanced-NR.webp') center/cover no-repeat;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6rem;
    background: var(--surface-color);
}

.about-intro {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-title {
    font-size: 3.5rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-quote {
    background: var(--surface-color);
    padding: 5rem 2rem;
    text-align: center;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

.quote-attribution {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    font-weight: 500;
}

.about-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-color);
}

.cta-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-image {
        min-height: 400px;
    }

    .about-hero-content {
        padding: 3rem 2rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}