:root {
    --bg-main: #FDF8F3;
    --text-dark: #3C2314;
    --text-muted: #6B5448;
    --brand-primary: #D96C36;
    --brand-hover: #BF5722;
    --brand-secondary: #F2E3DB;
    --card-bg: #FFFFFF;
    --wa-green: #25D366;
    --wa-green-hover: #1EBE57;
    --border-light: #F0E3D8;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: 'Playfair Display', serif;
}

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--text-dark);
    color: var(--brand-secondary);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
}

.announcement-bar span {
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Hero Section */
.hero {
    background-color: #F8EBE1; /* Warm biscuit color */
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--border-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: #FDF8F3;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1.2;
    max-width: 650px;
}

.tagline {
    display: inline-block;
    background-color: #FFFFFF;
    color: var(--brand-primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(217, 108, 54, 0.15);
    border: 1px solid rgba(217, 108, 54, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero p strong {
    color: var(--brand-primary);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-shop {
    background-color: var(--brand-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(217, 108, 54, 0.35);
}

.btn-shop .arrow {
    transition: transform 0.3s ease;
}

.btn-shop:hover {
    background-color: var(--brand-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 108, 54, 0.45);
}

.btn-shop:hover .arrow {
    transform: translateY(3px);
}

/* Social proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #F8EBE1;
    margin-left: -15px;
    object-fit: cover;
}

.avatar:first-child { margin-left: 0; }

.avatar-more {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #F8EBE1;
    margin-left: -15px;
    background-color: var(--brand-secondary);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 1;
}

.proof-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.proof-text strong {
    color: var(--text-dark);
    display: block;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    padding: 15px;
    background-color: #FFFFFF;
    box-shadow: 0 30px 60px rgba(60, 35, 20, 0.12);
    transform: rotate(2deg) translateY(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-wrapper:hover {
    transform: rotate(0deg) translateY(-10px);
}

.decorative-blob {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--brand-primary);
    border-radius: 50px 50px 0 50px;
    z-index: -1;
    opacity: 0.2;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.badge-floating {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: white;
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
    border: 1px solid var(--border-light);
}

.badge-icon {
    font-size: 2rem;
}

.badge-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.badge-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(-3deg); }
}

/* Trust Features */
.trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -40px;
    position: relative;
    z-index: 5;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(60, 35, 20, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(60, 35, 20, 0.1);
}

.f-icon {
    font-size: 2.5rem;
    background: var(--brand-secondary);
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-text h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.f-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Main Products */
#koleksi {
    padding: 40px 0 100px;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.product-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(60, 35, 20, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 108, 54, 0.12);
    border-color: rgba(217, 108, 54, 0.3);
}

.card-image-box {
    position: relative;
    overflow: hidden;
    background-color: #F9F2EC;
    padding: 15px 15px 0; /* Creates a nice framing effect */
}

.card-image-box img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.6s ease;
    display: block;
}

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

.card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badge-fire { background: #FF4742; color: white; }
.badge-warning { background: #FFB020; color: #5A3A00; }
.badge-sweet { background: #E782A9; color: white; }
.badge-chocolate { background: #5A2C22; color: white; }
.badge-classic { background: var(--brand-secondary); color: var(--brand-primary); }

.card-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.price {
    font-family: 'Poppins', sans-serif;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1rem;
    background: var(--brand-secondary);
    padding: 4px 12px;
    border-radius: 8px;
    text-align: center;
}

.description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wa-green);
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    width: 100%;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
    background-color: var(--wa-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

.btn-wa svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Featured Card Layout */
@media(min-width: 900px) {
    .featured-card {
        grid-column: span 1 / -1; /* spans full width but limited by grid */
        flex-direction: row;
        align-items: center;
    }
    
    .featured-card .card-image-box {
        width: 45%;
        padding: 20px 0 20px 20px;
        background: transparent;
    }
    
    .featured-card .card-image-box img {
        height: 380px;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }
    
    .featured-card .card-badge {
        top: 35px;
        right: auto;
        left: 40px;
    }
    
    .featured-card .card-info {
        width: 55%;
        padding: 50px;
    }
    
    .featured-card .card-header {
        display: block;
        margin-bottom: 16px;
    }
    
    .featured-card .card-header h3 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .featured-card .price {
        display: inline-block;
        font-size: 1.2rem;
    }
    
    .featured-card .description {
        font-size: 1.15rem;
        margin-bottom: 40px;
    }
}

/* Bottom CTA */
.bottom-cta {
    background-color: var(--brand-primary);
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
}

.bottom-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.bottom-cta p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-outline-white {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

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

.footer-content .brand {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 20px;
}

.footer-content p {
    color: #A08C82;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.footer-content .copyright {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-bottom: 0;
}

/* Responsive Styles */
@media(max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .hero::before {
        display: none;
    }
    .trust-features {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    .featured-card {
        flex-direction: column !important;
    }
    .featured-card .card-image-box,
    .featured-card .card-info {
        width: 100% !important;
    }
    .featured-card .card-image-box {
        padding: 15px 15px 0 !important;
    }
    .featured-card .card-image-box img {
        height: 280px !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: none !important;
    }
    .featured-card .card-badge {
        top: 25px !important;
        left: auto !important;
        right: 25px !important;
    }
    .featured-card .card-info {
        padding: 30px !important;
    }
    .featured-card .card-header {
        display: flex !important;
    }
    .featured-card .card-header h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
    }
}

@media(max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .badge-floating {
        bottom: -20px;
        left: 10px;
        padding: 10px 15px;
    }
    .badge-icon {
        font-size: 1.5rem;
    }
    .badge-text strong {
        font-size: 0.95rem;
    }
    .bottom-cta h2 {
        font-size: 2.2rem;
    }
}
