/* ===== CSS Custom Properties ===== */
:root {
    --plum-50: #fdf2f8;
    --plum-100: #fce7f3;
    --plum-200: #fbcfe8;
    --plum-300: #f9a8d4;
    --plum-400: #f472b6;
    --plum-500: #7B2D8B;
    --plum-600: #6b2478;
    --plum-700: #581c63;
    --plum-800: #3b1242;
    --plum-900: #2a0d30;
    --plum-950: #1a0720;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #D4A017;
    --amber-600: #b8860b;
    --amber-700: #92600a;
    --amber-800: #704809;
    --amber-900: #543608;
    --amber-950: #3a2406;

    --cream: #faf8f5;
    --warm-white: #f5f0eb;
    --warm-gray: #6b6560;
    --dark-text: #2a2520;
    --light-text: #f5f0eb;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;

    --shadow-sm: 0 1px 3px rgba(42, 13, 48, 0.08);
    --shadow-md: 0 4px 16px rgba(42, 13, 48, 0.1);
    --shadow-lg: 0 8px 32px rgba(42, 13, 48, 0.12);
    --shadow-xl: 0 16px 48px rgba(42, 13, 48, 0.15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 139, 0.08);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--plum-700);
}

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

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

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

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--dark-text);
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber-500);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--plum-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    font-weight: 600;
    color: var(--plum-600) !important;
    padding: 8px 16px;
    border: 1.5px solid var(--plum-300);
    border-radius: var(--radius-xl);
    transition: all 0.25s ease !important;
}

.nav-phone:hover {
    background: var(--plum-50);
    border-color: var(--plum-500);
}

.nav-phone::after {
    display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--plum-700);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(
        135deg,
        var(--plum-900) 0%,
        var(--plum-700) 25%,
        var(--plum-600) 40%,
        var(--amber-700) 65%,
        var(--amber-500) 85%,
        var(--amber-300) 100%
    );
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(123, 45, 139, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 160, 23, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(42, 13, 48, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--amber-300);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--plum-950);
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ===== Section Labels ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--plum-800);
    margin-bottom: 20px;
}

.section-title--center {
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--warm-gray);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

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

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

.about-image {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--amber-400);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: 16px 0;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(123, 45, 139, 0.12);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--plum-600);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--warm-gray);
    letter-spacing: 0.05em;
}

/* ===== Menu ===== */
.menu {
    padding: 120px 0;
    background: var(--warm-white);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px 24px;
    border: 1.5px solid var(--plum-200);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--plum-700);
    cursor: pointer;
    transition: all 0.25s ease;
}

.menu-tab:hover {
    border-color: var(--plum-400);
    background: var(--plum-50);
}

.menu-tab.active {
    background: var(--plum-600);
    border-color: var(--plum-600);
    color: #ffffff;
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.menu-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.menu-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.menu-item-image {
    height: 140px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.08);
}

.menu-item-content {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--plum-800);
    margin-bottom: 6px;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 5/4;
    cursor: pointer;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 13, 48, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item-overlay span {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 120px 0;
    background: var(--plum-900);
}

.testimonials .section-label {
    color: var(--amber-400);
}

.testimonials .section-title {
    color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 16px;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--amber-400);
}

/* ===== Visit ===== */
.visit {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.visit-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 32px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

.visit-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--plum-800);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--plum-600);
    transition: color 0.2s ease;
}

.visit-detail a:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ===== Footer ===== */
.footer {
    background: var(--plum-950);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-logo:hover {
    color: var(--amber-400);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

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

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

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--amber-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--amber-300);
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(123, 45, 139, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-height: 400px;
    }

    .about-stats {
        gap: 24px;
    }

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

    .menu-item {
        grid-template-columns: 120px 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

    .visit-map {
        min-height: 300px;
    }

    .visit-map iframe {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .about,
    .menu,
    .gallery,
    .testimonials,
    .visit {
        padding: 80px 0;
    }

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

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    .menu-item {
        grid-template-columns: 1fr;
    }

    .menu-item-image {
        height: 180px;
    }

    .menu-item-content {
        padding: 12px 16px 16px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        flex: 1;
        min-width: 80px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-scroll svg {
        animation: none;
    }

    .menu-panel {
        animation: none;
    }

    .menu-item,
    .testimonial-card,
    .gallery-item img {
        transition: none;
    }

    .menu-item:hover,
    .testimonial-card:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }
}
