/* ============================================
   THE PERFECT BLEND — Stylesheet
   Palette: Midnight Blue (#0A1628) + Mint (#A7F3D0)
   Fonts: Playfair Display (headlines) + Inter (body)
============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #FAFCFB;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0D9488;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0A1628;
    margin-bottom: 1.25rem;
}

.section-title em {
    font-style: italic;
    color: #0D9488;
}

.section-sub {
    font-size: 1.125rem;
    color: #475569;
    max-width: 540px;
    line-height: 1.7;
}

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

.section-header .section-sub {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
    background: #0D9488;
    color: #fff;
}

.btn--primary:hover {
    background: #0f766e;
}

.btn--light {
    background: #fff;
    color: #0A1628;
}

.btn--light:hover {
    background: #f0fdf4;
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.nav__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #A7F3D0;
    color: #0A1628;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 0.8125rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: #fff;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav__cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #A7F3D0;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid rgba(167,243,208,0.4);
    border-radius: 4px;
    margin-left: 0.5rem;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.nav__cta:hover {
    background: rgba(167,243,208,0.1);
    border-color: #A7F3D0;
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 4px;
}

.nav__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) {
    opacity: 0;
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu__link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1rem;
    transition: color 0.2s ease;
}

.mobile-menu__link:hover {
    color: #A7F3D0;
}

.mobile-menu__cta {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #A7F3D0;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid rgba(167,243,208,0.4);
    border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.78) 0%,
        rgba(10, 22, 40, 0.65) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem 1.5rem;
    padding-top: 72px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A7F3D0;
    background: rgba(167,243,208,0.1);
    border: 1px solid rgba(167,243,208,0.25);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero__headline em {
    font-style: italic;
    color: #A7F3D0;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- About ---------- */
.about {
    padding: 7rem 0;
    background: #FAFCFB;
}

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

.about__image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(10, 22, 40, 0.15);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about__text .section-title {
    margin-bottom: 1.5rem;
}

.about__text p {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat__number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0A1628;
}

.stat__label {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

/* ---------- Products ---------- */
.products {
    padding: 7rem 0;
    background: #0A1628;
}

.products .section-label {
    color: #A7F3D0;
}

.products .section-title {
    color: #fff;
}

.products .section-title em {
    color: #A7F3D0;
}

.products .section-sub {
    color: rgba(255,255,255,0.6);
}

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

.product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167,243,208,0.3);
    background: rgba(255,255,255,0.06);
}

.product-card__img {
    overflow: hidden;
    aspect-ratio: 16/11;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__body {
    padding: 1.75rem;
}

.product-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.625rem;
}

.product-card__desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 7rem 0;
    background: #FAFCFB;
}

.gallery .section-title {
    color: #0A1628;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
}

.gallery__item {
    border-radius: 8px;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.03);
}

.gallery__item--wide {
    grid-column: span 7;
}

.gallery__item:nth-child(2) {
    grid-column: span 5;
}

.gallery__item:nth-child(3) {
    grid-column: span 5;
}

.gallery__item:nth-child(4) {
    grid-column: span 6;
}

.gallery__item:nth-child(5) {
    grid-column: span 6;
}

/* ---------- Visit ---------- */
.visit {
    padding: 7rem 0;
    background: #F0FDF4;
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit__info .section-title {
    margin-bottom: 2rem;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.visit__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit__detail svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #0D9488;
}

.visit__detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0A1628;
    margin-bottom: 0.375rem;
}

.visit__detail p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.visit__detail a {
    color: #0D9488;
    transition: color 0.2s ease;
}

.visit__detail a:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Form */
.visit__form-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
    border: 1px solid #e2e8f0;
}

.visit__form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 0.5rem;
}

.visit__form-sub {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #1a1a2e;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: #0D9488;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #166534;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-success svg {
    flex-shrink: 0;
    color: #16a34a;
}

/* ---------- Footer ---------- */
.footer {
    background: #0A1628;
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__brand .nav__logo-mark {
    width: 44px;
    height: 44px;
    font-size: 0.9375rem;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 320px;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__links strong,
.footer__contact strong {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #A7F3D0;
}

.footer__contact p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer__contact a {
    color: #A7F3D0;
    transition: color 0.2s ease;
}

.footer__contact a:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about__grid,
    .visit__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__image {
        max-width: 500px;
    }

    .gallery__item--wide,
    .gallery__item:nth-child(2),
    .gallery__item:nth-child(3),
    .gallery__item:nth-child(4),
    .gallery__item:nth-child(5) {
        grid-column: span 12;
    }

    .gallery__item {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .hero__headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .visit__form-card {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav__inner {
        padding: 0 1.25rem;
    }

    .about,
    .products,
    .gallery,
    .visit {
        padding: 4rem 0;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero__scroll {
        animation: none;
    }
}
