:root {
    --primary-bg: #FAF9F6;
    /* Off-white luxury */
    --text-main: #1A2421;
    /* Rich dark green */
    --text-light: #5A6359;
    --accent: #C5A880;
    /* Premium gold */
    --accent-hover: #DBC4A1;
    --white: #FFFFFF;
    --border-radius: 16px;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Typography & Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.6s ease;
}

.reveal.active .section-title::after {
    width: 100px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    z-index: 100;
    display: flex;
    justify-content: center;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--text-main);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.nav-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-color: #2C362A;
}

.hero-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.15);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    animation: slowZoom 25s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: translate(-50%, -50%) scale(1.15);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.25);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 36, 33, 0.7), rgba(26, 36, 33, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
    color: var(--secondary-bg);
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.hero-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-decoration: none;
    animation: bounce 2s infinite;
    z-index: 2;
    opacity: 0;
    /* Animated in via JS/CSS */
}

.scroll-down-btn svg {
    width: 32px;
    height: 32px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* About Section */
.about-section {
    padding: 8rem 0 4rem;
    background-color: var(--primary-bg);
}

.about-container {
    max-width: 900px;
}

.about-content {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.about-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.drop-cap::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    padding-top: 12px;
    padding-right: 12px;
    padding-left: 3px;
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    font-weight: 600;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--white);
    overflow: hidden;
}

.category-block {
    margin-bottom: 5rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    color: var(--text-main);
}

.gallery-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.scroll-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn svg {
    width: 24px;
    height: 24px;
}

.scroll-btn.left-action {
    left: -25px;
}

.scroll-btn.right-action {
    right: -25px;
}

.gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    width: 100%;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 450px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 3 / 2;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #000;
    scroll-snap-align: start;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
    filter: saturate(1.15) contrast(1.05) brightness(1.02);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: saturate(1.3) contrast(1.15) brightness(1.05);
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 20, 15, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.close-lightbox:hover {
    color: var(--accent);
}

/* Footer & Map Section */
.footer-section {
    position: relative;
    background-color: var(--text-main);
    color: var(--white);
    padding: 6rem 0 0 0;
}

.footer-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 6rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-info p {
    font-size: 1.1rem;
    color: #e0e5df;
    margin-bottom: 2rem;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.phone-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-main);
    transform: translateY(-3px);
}

.phone-link:hover svg {
    stroke: var(--text-main);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 900px) {

    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .gallery-item {
        flex: 0 0 100%;
    }

    .scroll-btn {
        display: flex;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
    }

    .scroll-btn.left-action {
        left: -10px;
    }

    .scroll-btn.right-action {
        right: -10px;
    }

    .gallery-section {
        padding: 4rem 0;
    }

    .about-content {
        padding: 2.5rem 1.5rem;
    }

    .about-text {
        font-size: 1.05rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-phone .phone-text {
        display: none;
    }

    .nav-phone {
        padding: 0.6rem;
        border-radius: 50%;
    }
}