:root {
    --cream: #F8EFE0;
    --caramel: #C88A4A;
    --cocoa: #4A2C20;
    --espresso: #2B1810;
    --berry: #7B1E3D;
    
    --font-heading: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--cocoa);
    background-color: var(--cream);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, .logo h1, .footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--berry);
    color: var(--cream);
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--cream);
    border-bottom: 1px solid rgba(74, 44, 32, 0.1);
}

.main-header nav a {
    text-decoration: none;
    color: var(--cocoa);
    font-weight: 600;
    font-size: 14px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.logo h1 {
    font-size: 32px;
    color: var(--berry); /* using berry to pop like the Cravie logo */
    font-style: italic; /* exception for logo as per brand */
}

/* Hero Section */
.hero-section {
    background-color: var(--cream);
    padding: 40px 5% 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-text-block {
    flex: 1;
    background-color: var(--berry);
    color: var(--cream);
    padding: 60px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
}

.hero-text-block h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text-block p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--cream);
    color: var(--berry);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    align-self: flex-start;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #fff;
}

.hero-image-block {
    flex: 1;
    position: relative;
    height: 600px;
}

.hero-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background-color: var(--caramel);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate 15s linear infinite;
}

.badge svg {
    width: 100%;
    height: 100%;
    position: absolute;
}

.badge text {
    font-size: 12px;
    fill: var(--espresso);
    font-weight: bold;
    letter-spacing: 2px;
}

.badge-center {
    font-size: 20px;
    color: var(--espresso);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-ticker {
    background-color: var(--espresso);
    color: var(--cream);
    padding: 15px 0;
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Hook Section */
.hook-section {
    background-color: var(--cream);
    padding: 80px 20px;
    text-align: center;
}

.hook-content {
    max-width: 800px;
    margin: 0 auto;
}

.hook-content h2 {
    color: var(--berry);
    font-size: 36px;
    margin-bottom: 20px;
}

.hook-content p {
    font-size: 18px;
}

/* Recipes Section */
.recipes-section {
    background-color: var(--cream);
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--berry);
}

.recipes-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.recipe-card {
    background-color: rgba(200, 138, 74, 0.1); /* light caramel */
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.recipe-card h3 {
    color: var(--berry);
    font-size: 24px;
    margin-bottom: 10px;
}

.recipe-center-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid var(--cream);
    box-shadow: 0 20px 40px rgba(43, 24, 16, 0.1);
}

.recipe-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
    background-color: rgba(123, 30, 61, 0.05); /* light berry */
}

/* Included Section */
.included-section {
    background-color: rgba(200, 138, 74, 0.1);
    padding: 80px 20px;
}

.included-container {
    max-width: 800px;
    margin: 0 auto;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 18px;
    background: var(--cream);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-icon {
    color: var(--berry);
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
}

/* Payment Section */
.payment-section {
    background-color: var(--espresso);
    color: var(--cream);
    padding: 80px 5%;
}

.payment-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

.payment-details h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.payment-features {
    list-style: inside circle;
    font-size: 18px;
    margin-bottom: 30px;
}

.payment-features li {
    margin-bottom: 10px;
}

.payment-action {
    background-color: var(--cream);
    padding: 40px;
    border-radius: 20px;
    color: var(--cocoa);
    flex: 1;
}

.qr-container {
    text-align: center;
    margin-bottom: 30px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 2px dashed var(--caramel);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    border-radius: 10px;
}

.qr-instruction {
    font-weight: 600;
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
}

.phone-input {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.phone-input .country-code {
    background-color: #f0f0f0;
    padding: 12px 15px;
    border-right: 1px solid #ccc;
    font-weight: 500;
}

.phone-input input {
    border: none;
    border-radius: 0;
}

.submit-button {
    width: 100%;
    background-color: var(--berry);
    color: var(--cream);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #5a152c;
}

.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 14px;
}

.hidden {
    display: none;
}

/* FAQ Section */
.faq-section {
    background-color: var(--cream);
    padding: 80px 5%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(74, 44, 32, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--cocoa);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: rgba(74, 44, 32, 0.8);
}

/* Footer */
.main-footer {
    background-color: var(--espresso);
    color: var(--cream);
    text-align: center;
    padding: 60px 20px;
}

.footer-logo {
    font-size: 32px;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 10px;
}

.tagline {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links a {
    color: var(--caramel);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 40px;
    font-size: 12px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-container, .payment-container {
        flex-direction: column;
    }
    
    .hero-text-block {
        border-radius: 20px;
        min-height: 400px;
    }
    
    .hero-image-block {
        height: 400px;
        width: 100%;
    }
    
    .hero-image-block img {
        border-radius: 20px;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-center-image img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }
}

@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-text-block h1 {
        font-size: 36px;
    }
    
    .hero-ticker {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .section-title {
        font-size: 32px;
    }
}
