/* 
 * Lapis Kukus Pahlawan Landing Page Styles
 * Premium Theme: Yellow/Gold & Dark Brown 
 */

:root {
    /* Color Palette */
    --primary-color: #F8B400;
    /* Rich Gold/Yellow */
    --primary-dark: #D49600;
    --secondary-color: #4A3B32;
    /* Dark Chocolate Brown */
    --accent-color: #e74c3c;
    /* For urgent CTAs */
    --text-dark: #1F2937;
    --text-light: #F3F4F6;
    --bg-light: #FFFBF0;
    /* Very light cream */
    --bg-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    /* Pillow shape */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(248, 180, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: var(--bg-white);
    height: var(--header-height);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-highlight {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.logo-sub {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}


.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn {
    font-size: 0.9rem;
    padding: 10px 24px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Promo Banner */
.promo-banner {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.banner-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0.95;
}

.banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-logo {
    max-width: 250px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.about-feature-item h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.about-feature-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(248, 180, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Products */
.products {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 280px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-price {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.product-cta {
    text-align: center;
    margin-top: 50px;
}

.product-cta p {
    margin-bottom: 20px;
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFF9EC 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--bg-light);
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: var(--bg-light);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.user-metas {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.user-metas strong {
    font-size: 1.05rem;
}

.user-metas small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.stars {
    color: var(--primary-color);
    margin: 5px 0;
    font-size: 0.9rem;
}

.review-card p {
    line-height: 1.7;
    font-style: italic;
}

/* Location */
.location {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.map-embed {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 20px;
}

.hours-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
}

.hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hours-time {
    text-align: right;
    font-weight: 600;
}

.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    display: block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2C2015 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    text-align: left;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-logo h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 8px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Stats Floating Badge */
.float-rating {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--bg-white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-logo {
        max-width: 180px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }

    .float-rating {
        position: static;
        margin-top: 20px;
        justify-content: center;
    }
}