/* ==================== */
/* CSS Variables        */
/* ==================== */
:root {
    --dark-brown: #3E2723;
    --medium-brown: #6F4E37;
    --light-brown: #A67B5B;
    --cream: #FFF8E7;
    --white: #FFFFFF;
    --shadow: rgba(62, 39, 35, 0.15);
    --shadow-hover: rgba(62, 39, 35, 0.25);
}

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

body {
    font-family: 'Karla', sans-serif;
    color: var(--dark-brown);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== */
/* Typography           */
/* ==================== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.hero-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-brown);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--cream);
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-brown);
}

/* ==================== */
/* Layout               */
/* ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== */
/* Hero Section         */
/* ==================== */
.hero {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(166, 123, 91, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(166, 123, 91, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ==================== */
/* Animations           */
/* ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

/* ==================== */
/* Menu Highlights      */
/* ==================== */
.menu-highlights {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.menu-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.menu-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.menu-card-title {
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 0.75rem;
}

.menu-card-description {
    font-size: 1rem;
    color: var(--medium-brown);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.menu-card-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--medium-brown);
}

/* ==================== */
/* Location & Hours     */
/* ==================== */
.location-hours {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--medium-brown) 100%);
    color: var(--cream);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-card {
    text-align: center;
}

.info-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.info-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-text strong {
    color: var(--white);
    font-weight: 600;
}

/* ==================== */
/* Loyalty Section      */
/* ==================== */
.loyalty-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.loyalty-content {
    max-width: 600px;
    margin: 0 auto;
}

.loyalty-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--medium-brown);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ==================== */
/* Form Styles          */
/* ==================== */
.loyalty-form {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px var(--shadow);
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-brown);
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Karla', sans-serif;
    border: 2px solid var(--light-brown);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--dark-brown);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--medium-brown);
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

.form-input::placeholder {
    color: var(--light-brown);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Karla', sans-serif;
    color: var(--cream);
    background: linear-gradient(135deg, var(--medium-brown) 0%, var(--dark-brown) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== */
/* Form Messages        */
/* ==================== */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 2px solid rgba(244, 67, 54, 0.3);
}

/* ==================== */
/* Footer               */
/* ==================== */
.footer {
    background-color: var(--dark-brown);
    color: var(--cream);
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.heart {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--light-brown);
}

/* ==================== */
/* Responsive Design    */
/* ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

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

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

    .loyalty-form {
        padding: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .menu-card-title {
        font-size: 1.25rem;
    }

    .info-title {
        font-size: 1.5rem;
    }
}