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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #5E3727;
    background: #FEF9F6;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(254, 249, 246, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(94, 55, 39, 0.12);
    box-shadow: 0 10px 30px rgba(94, 55, 39, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #5E3727;
    line-height: 1;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #4a3126;
    font-weight: 600;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    transition: color 0.25s, background 0.25s, transform 0.25s;
}

.nav-links a:hover {
    color: #5E3727;
    background: rgba(94, 55, 39, 0.08);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.nav-instagram {
    color: #5E3727;
    font-size: 1.3rem;
    text-decoration: none;
    margin-left: 1rem;
    transition: opacity 0.3s;
}

.nav-instagram:hover {
    opacity: 0.75;
}

.nav-gallery {
    position: relative;
}



/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
}

.gallery-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: gallerySlideIn 0.4s ease-out;
}

@keyframes gallerySlideIn {
    from {
        transform: scale(0.8) rotateY(10deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotateY(0);
        opacity: 1;
    }
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.25s;
    font-weight: 300;
}

.gallery-close:hover {
    background: #FEF9F6;
    transform: scale(1.1);
    color: #5E3727;
}

.gallery-flipbook {
    width: 800px;
    height: 600px;
    position: relative;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(45deg, #f8f4f0 0%, #fffaf5 100%);
    border-radius: 20px;
    overflow: hidden;
}

.gallery-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    opacity: 0;
    transition: all 0.6s ease-in-out;
    transform: scale(0.95) rotateY(90deg);
}

.gallery-page.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.page-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: #5E3727;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
}

.gallery-nav {
    background: rgba(94, 55, 39, 0.9);
    color: #FEF9F6;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-indicator {
    font-weight: 700;
    color: #5E3727;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .gallery-flipbook {
        width: 95vw;
        height: 70vh;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 18, 13, 0.62), rgba(30, 18, 13, 0.6)), url('../images/gourmet-chocolate-brownie-stack-rustic-wood-plate-generated-by-ai.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FEF9F6;
    padding: 7rem 1rem 4rem;
}

.hero-content {
    width: min(980px, 95%);
    padding: 2rem 2rem 2.2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.1rem);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.eggless-highlight {
    display: inline-block;
    background: rgba(254, 249, 246, 0.2);
    color: #FEF9F6;
    border: 1px solid rgba(254, 249, 246, 0.72);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: -0.6rem;
    margin-bottom: 1.1rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-intro {
    max-width: 820px;
    margin: 0 auto 1.8rem;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(254, 249, 246, 0.28);
    border-radius: 14px;
    color: #FEF9F6;
    font-size: 0.0875rem;  /* 14px - was 1rem/16px */
    line-height: 1.2;     /* Slightly reduced for better proportion */
    text-align: center;
    animation: fadeInUp 1s ease 0.35s both;
}

.cta-button {
    display: inline-block;
    background: #5E3727;
    color: #FEF9F6;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(94, 55, 39, 0.35);
}

/* Menu Section */
.menu {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #5E3727;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.menu-item {
    background: linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(94, 55, 39, 0.08);
    box-shadow: 0 14px 34px rgba(48, 29, 22, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5E3727, #FEF9F6, #5E3727);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5E3727;
    margin: 1rem 0;
}

/* Order Form Section */
.order-section {
    background: #5E3727;
    color: #FEF9F6;
    padding: 100px 2rem;
}

.order-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.order-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.order-lead {
    color: rgba(254, 249, 246, 0.92);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.order-feature-card {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(254, 249, 246, 0.28);
    border-radius: 16px;
    padding: 1rem 1rem 0.8rem;
    margin-bottom: 1rem;
}

.order-feature-card h3,
.order-steps h3 {
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    color: #FEF9F6;
}

.order-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    color: rgba(254, 249, 246, 0.95);
    font-size: 0.98rem;
}

.order-feature-list i {
    color: #ffd7bf;
}

.order-steps {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(254, 249, 246, 0.22);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(254, 249, 246, 0.95);
    margin-bottom: 0.6rem;
    font-size: 0.97rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FEF9F6;
    color: #5E3727;
    font-weight: 700;
    font-size: 0.82rem;
    flex: 0 0 24px;
}

.order-note {
    margin-top: 0.2rem;
    color: rgba(254, 249, 246, 0.9);
    font-size: 0.95rem;
    line-height: 1.65;
}

.order-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-family: inherit;
    font-size: 1rem;
    transition: background 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.quantity-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quantity-group select {
    flex: 1;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FEF9F6 0%, #fff1e8 100%);
    color: #5E3727;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #5E3727;
    color: #FEF9F6;
    text-align: center;
    padding: 3rem 2rem 1rem;
}

.social-links {
    margin: 2rem 0;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FEF9F6;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .order-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .menu-toggle {
        display: block;
        order: 3;
        margin-left: 0.75rem;
    }

    .nav-instagram {
        order: 2;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FEF9F6;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 6px 16px rgba(94,55,39,0.12);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-intro {
        max-width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.93rem;
        line-height: 1.65;
        margin-bottom: 1.2rem;
    }

    .order-lead {
        font-size: 0.98rem;
    }

    .order-feature-list li,
    .step-item {
        font-size: 0.93rem;
    }

    .order-note {
        font-size: 0.9rem;
    }

    .menu {
        padding: 90px 1rem;
    }

    .order-section {
        padding: 80px 1rem;
    }

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

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

    .order-form {
        padding: 1.5rem;
    }

    .quantity-group {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 44px;
    }

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

    .nav-instagram {
        font-size: 1.15rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

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

    .menu-item {
        padding: 1.5rem;
    }

    .order-content h2 {
        font-size: 2rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 1rem;
    }

    footer {
        padding: 2.2rem 1rem 1rem;
    }
}

