/* ========================================
   My Desserts — Classic & Elegant Design
   Palette: Forest Green + Off-White
   ======================================== */

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

:root {
    --green-900: #0d1f1a;
    --green-800: #1a3c34;
    --green-700: #234d42;
    --green-600: #2d6053;
    --green-500: #3a7a68;
    --green-100: #c8ddd4;
    --green-50:  #e8f2ee;
    
    --cream-50:  #f9f7f3;
    --cream-100: #f5f2eb;
    --cream-200: #ece6d8;
    --cream-300: #ddd3c0;
    
    --text-dark:  #1a1a1a;
    --text-muted: #5c5c5c;
    --text-light: #f5f2eb;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;
    
    --shadow-sm:  0 1px 3px rgba(26, 60, 52, 0.08);
    --shadow-md:  0 4px 16px rgba(26, 60, 52, 0.10);
    --shadow-lg:  0 8px 32px rgba(26, 60, 52, 0.14);
    --shadow-xl:  0 16px 48px rgba(26, 60, 52, 0.16);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--cream-50);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 0.875rem;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 16px;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(245, 242, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

.nav.scrolled .nav__logo {
    color: var(--green-800);
}

.nav.scrolled .nav__link {
    color: var(--text-dark);
}

.nav.scrolled .nav__link:hover {
    color: var(--green-700);
}

.nav.scrolled .nav__link--cta {
    background: var(--green-800);
    color: var(--cream-50);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--cream-50);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.nav__logo-icon {
    display: flex;
    align-items: center;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream-50);
    border-radius: 2px;
    transition: var(--transition);
}

.nav.scrolled .nav__toggle-line {
    background: var(--green-800);
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}
.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__menu { }

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream-50);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.nav__link--cta:hover {
    background: var(--cream-50);
    color: var(--green-800) !important;
}

.nav__link--cta::after { display: none; }

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(13, 31, 26, 0.82) 0%,
        rgba(26, 60, 52, 0.70) 50%,
        rgba(13, 31, 26, 0.78) 100%
    );
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/2067552/pexels-photo-2067552.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center center / cover no-repeat;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-100);
    margin-bottom: 20px;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--cream-50);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__title em {
    font-style: italic;
    color: var(--green-100);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    font-weight: 300;
    color: rgba(245, 242, 235, 0.80);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 242, 235, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: float 2.4s ease-in-out infinite;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-800);
    color: var(--cream-50);
    border-color: var(--green-800);
}

.btn--primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--cream-50);
    border-color: rgba(245, 242, 235, 0.5);
}

.btn--outline:hover {
    background: var(--cream-50);
    color: var(--green-800);
    border-color: var(--cream-50);
    transform: translateY(-2px);
}

/* ── Section Shared ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--green-800);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--green-600);
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-wrap::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--green-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about__content {
    max-width: 520px;
}

.about__content p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__content p:last-of-type {
    margin-bottom: 40px;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
}

.feature h4 {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Offerings ── */
.offerings {
    padding: 120px 0;
    background: var(--green-800);
}

.offerings .section-eyebrow {
    color: var(--green-100);
}

.offerings .section-title {
    color: var(--cream-50);
}

.offerings .section-title em {
    color: var(--green-100);
}

.offerings .section-subtitle {
    color: rgba(245, 242, 235, 0.65);
}

.offerings__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.offering-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.offering-card:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.offering-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 5/4;
}

.offering-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.offering-card__content {
    padding: 28px 28px 32px;
}

.offering-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 10px;
}

.offering-card p {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.65);
    line-height: 1.7;
}

.offerings__cta {
    text-align: center;
    padding: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.offerings__cta p {
    font-size: 1rem;
    color: rgba(245, 242, 235, 0.70);
}

.offerings__cta a {
    color: var(--green-100);
    border-bottom: 1px solid rgba(200, 221, 212, 0.4);
    transition: color var(--transition), border-color var(--transition);
}

.offerings__cta a:hover {
    color: var(--cream-50);
    border-color: var(--cream-50);
}

/* ── Gallery ── */
.gallery {
    padding: 120px 0;
    background: var(--cream-100);
}

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

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

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

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

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 5;
}

/* ── Visit ── */
.visit {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.visit__info {
    max-width: 520px;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0;
}

.detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
}

.detail h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 4px;
}

.detail p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.detail a {
    color: var(--green-600);
    transition: color var(--transition);
}

.detail a:hover {
    color: var(--green-800);
}

.visit__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.visit__actions .btn--outline {
    color: var(--green-800);
    border-color: var(--green-800);
}

.visit__actions .btn--outline:hover {
    background: var(--green-800);
    color: var(--cream-50);
}

.visit__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.visit__map a {
    display: block;
    position: relative;
}

.visit__map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/5;
    display: block;
}

.visit__map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-800);
    color: var(--cream-50);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
}

.visit__map-overlay:hover {
    background: var(--green-700);
}

/* ── Footer ── */
.footer {
    background: var(--green-900);
    color: var(--cream-50);
    padding: 72px 0 32px;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream-50);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.55);
    line-height: 1.7;
    max-width: 280px;
}

.footer__links h4,
.footer__contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 16px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.55);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--cream-50);
}

.footer__contact p {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.55);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer__contact a {
    color: rgba(245, 242, 235, 0.55);
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: var(--cream-50);
}

.footer__bottom {
    padding-top: 28px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 242, 235, 0.35);
    letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about__grid {
        gap: 48px;
    }
    
    .offerings__grid {
        gap: 24px;
    }
    
    .visit__grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--green-800);
        padding: 80px 32px 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
    }
    
    .nav__menu.open {
        right: 0;
    }
    
    .nav__links {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav__link {
        color: var(--cream-50) !important;
        font-size: 1rem;
    }
    
    .nav__link--cta {
        background: rgba(255, 255, 255, 0.12);
        margin-top: 8px;
    }
    
    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav__overlay.active {
        display: block;
    }
    
    .hero {
        min-height: 580px;
    }
    
    .hero__title {
        font-size: clamp(1.875rem, 8vw, 2.75rem);
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about__image-wrap::after {
        display: none;
    }
    
    .offerings {
        padding: 80px 0;
    }
    
    .offerings__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--wide,
    .gallery__item:not(.gallery__item--wide) {
        grid-column: span 1;
    }
    
    .visit {
        padding: 80px 0;
    }
    
    .visit__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit__actions {
        flex-direction: column;
    }
    
    .visit__actions .btn {
        width: 100%;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--wide {
        grid-column: span 1;
    }
}

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