/* ===================================
   Sweet Scoops — Classic & Elegant
   Plum + Amber Palette
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --plum-deep: #3a1f35;
    --plum-main: #5c3a54;
    --plum-soft: #8b6078;
    --plum-light: #c4a0b0;
    --plum-pale: #f5eef2;
    --plum-bg: #faf6f7;
    --amber-gold: #c8952e;
    --amber-light: #e8c06a;
    --amber-pale: #fdf3e0;
    --cream: #fefcf8;
    --cream-dark: #f8f0e8;
    --text-dark: #2a1a24;
    --text-main: #4a3040;
    --text-muted: #7a6070;
    --text-light: #a08898;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(58, 31, 53, 0.08);
    --shadow-md: 0 4px 20px rgba(58, 31, 53, 0.12);
    --shadow-lg: 0 8px 40px rgba(58, 31, 53, 0.16);
    --shadow-xl: 0 16px 60px rgba(58, 31, 53, 0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    color: var(--text-muted);
}

/* --- Section Tag --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--amber-gold);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--plum-main);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: 2px solid var(--plum-main);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--plum-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    border: 2px solid var(--plum-main);
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: var(--plum-main);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 252, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(92, 58, 84, 0.08);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--plum-deep);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-gold);
}

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

.nav a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-main);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-gold);
    transition: width var(--transition);
}

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

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

.nav .btn-primary {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-deep);
    transition: all var(--transition);
    border-radius: 2px;
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum-main) 50%, #6b4460 100%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/4947415/pexels-photo-4947415.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    opacity: 0.15;
    filter: blur(2px);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(58, 31, 53, 0.9) 0%, rgba(58, 31, 53, 0.7) 60%, rgba(58, 31, 53, 0.85) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: clamp(32px, 5vw, 56px);
}

.tagline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 20px;
    padding: 6px 16px;
    background: rgba(200, 149, 46, 0.15);
    border: 1px solid rgba(200, 149, 46, 0.3);
    border-radius: 50px;
}

.hero-card h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-style: italic;
}

.hero-card h1::first-letter {
    color: var(--amber-light);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 560px;
}

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

.hero-actions .btn-primary {
    background: var(--amber-gold);
    border-color: var(--amber-gold);
    color: var(--plum-deep);
}

.hero-actions .btn-primary:hover {
    background: var(--amber-light);
    border-color: var(--amber-light);
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Floating Stat Cards */
.floating-cards {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 3;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    animation: floatCard 6s ease-in-out infinite;
    min-width: 200px;
}

.stat-card:nth-child(2) { animation-delay: 1s; }
.stat-card:nth-child(3) { animation-delay: 2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 149, 46, 0.2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    color: var(--amber-light);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* --- About Section --- */
.about {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--cream);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--plum-light), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image {
    position: relative;
}

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

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--amber-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: clamp(20px, 3vw, 40px) 0;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content > p {
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--amber-gold);
    flex-shrink: 0;
}

/* --- Menu Section --- */
.menu {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--plum-bg);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--plum-light), transparent);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
}

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

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(92, 58, 84, 0.06);
}

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

.menu-card-image {
    overflow: hidden;
    height: 220px;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

.menu-card-content {
    padding: 28px;
}

.menu-card-content h3 {
    margin-bottom: 10px;
    color: var(--plum-deep);
}

.menu-card-content p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.menu-cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(92, 58, 84, 0.06);
}

.menu-cta p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-style: italic;
}

/* --- Gallery Section --- */
.gallery {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--cream);
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58, 31, 53, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* --- Visit Section --- */
.visit {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--plum-bg);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--plum-light), transparent);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.visit-info h2 {
    margin-bottom: 16px;
}

.visit-info > p {
    font-size: 1.02rem;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--amber-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--plum-main);
    border-bottom: 1px solid rgba(92, 58, 84, 0.2);
}

.contact-item a:hover {
    color: var(--amber-gold);
    border-color: var(--amber-gold);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

/* --- Contact Section --- */
.contact {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--cream);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--plum-light), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-text h2 {
    margin-bottom: 16px;
}

.contact-text > p {
    font-size: 1.02rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(92, 58, 84, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid rgba(92, 58, 84, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--plum-bg);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-main);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(92, 58, 84, 0.08);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    width: 56px;
    height: 56px;
    color: var(--amber-gold);
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--plum-deep);
}

.form-success p {
    font-size: 0.95rem;
    max-width: 320px;
}

/* --- Footer --- */
.footer {
    background: var(--plum-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: clamp(60px, 8vw, 80px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: clamp(32px, 4vw, 60px);
    padding-bottom: 48px;
}

.footer-logo {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.footer-logo-sub {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact a:hover {
    color: var(--amber-light);
    border-color: var(--amber-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .floating-cards {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: clamp(120px, 20vw, 160px) 0 clamp(80px, 12vw, 120px);
    }
}

@media (max-width: 900px) {
    .about-grid,
    .visit-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-height: 400px;
    }
    
    .about-image img {
        height: 100%;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav a {
        font-size: 1rem;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(42, 26, 36, 0.5);
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
