/* ===================================
   KUE PUKIS KOTA BARU - STYLES
   Modern, Clean, Mobile-First Design
   ================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #57411E;
    background-color: #FDFBF6;
    font-size: 18px;
    overflow-x: hidden;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #A16207;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
}

/* Section Spacing */
section {
    padding: 64px 0;
}

@media (min-width: 768px) {
    section {
        padding: 96px 0;
    }
}

/* ===================================
   HEADER & NAVIGATION
   ================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 251, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E7E2D9;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo h1 {
    font-size: 24px;
    color: #A16207;
    line-height: 1.2;
    margin-bottom: 4px;
}

.logo .tagline {
    font-size: 12px;
    color: #57411E;
    font-weight: 500;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #A16207;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ===================================
   HERO SECTION
   ================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FFC72C 0%, #F59E0B 50%, #D97706 100%);
    opacity: 0.1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23FFC72C" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 251, 246, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    color: #A16207;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(253, 251, 246, 0.8);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #57411E;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    color: #57411E;
    margin-bottom: 32px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
}

/* ===================================
   BUTTONS
   ================================== */

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background: #FFC72C;
    color: #57411E;
    box-shadow: 0px 4px 12px rgba(161, 98, 7, 0.08);
}

.btn-primary:hover {
    background: #EAB308;
    transform: scale(1.03);
    box-shadow: 0px 8px 24px rgba(161, 98, 7, 0.12);
}

.btn-secondary {
    background: transparent;
    color: #57411E;
    border: 1px solid #E7E2D9;
}

.btn-secondary:hover {
    background: #FDFBF6;
    color: #FFC72C;
    border-color: #FFC72C;
}

/* ===================================
   SECTION HEADERS
   ================================== */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #57411E;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

/* ===================================
   ABOUT SECTION
   ================================== */

.about-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 400px;
        gap: 64px;
    }
}

.about-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.about-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 199, 44, 0.1);
    border-radius: 16px;
}

.about-description h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.about-description p {
    color: #57411E;
    opacity: 0.8;
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0px 8px 24px rgba(161, 98, 7, 0.12);
}

/* ===================================
   PRODUCTS SECTION
   ================================== */

.products {
    background: #FFFFFF;
}

.products-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

.product-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0px 4px 12px rgba(161, 98, 7, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 24px rgba(161, 98, 7, 0.12);
}

.product-image {
    margin-bottom: 24px;
}

.product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
}

.product-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #A16207;
}

.product-description {
    color: #57411E;
    opacity: 0.8;
    margin-bottom: 24px;
}

.product-flavors ul {
    list-style: none;
}

.product-flavors li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.product-flavors li:last-child {
    border-bottom: none;
}

.flavor-name {
    font-weight: 500;
    color: #57411E;
}

.price {
    font-weight: 600;
    color: #A16207;
    font-size: 14px;
}

/* ===================================
   LOCATION SECTION
   ================================== */

.location-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .location-content {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.location-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.location-info p {
    margin-bottom: 24px;
    opacity: 0.8;
}

.location-areas {
    margin-bottom: 32px;
}

.location-item {
    padding: 12px 0;
    border-bottom: 1px solid #E7E2D9;
    color: #57411E;
}

.location-item:last-child {
    border-bottom: none;
}

.location-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0px 8px 24px rgba(161, 98, 7, 0.12);
}

/* ===================================
   ORDER SECTION
   ================================== */

.order {
    background: #FFFFFF;
}

.order-methods {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .order-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

.order-method {
    text-align: center;
    padding: 48px 32px;
    background: #FDFBF6;
    border-radius: 16px;
    border: 1px solid #E7E2D9;
}

.order-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.order-method h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.order-method p {
    color: #57411E;
    opacity: 0.8;
    margin-bottom: 32px;
}

/* ===================================
   CONTACT SECTION
   ================================== */

.contact-content {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #A16207;
}

.contact-item p {
    color: #57411E;
    margin-bottom: 0;
}

.contact-form {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0px 4px 12px rgba(161, 98, 7, 0.08);
}

.contact-form h3 {
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #57411E;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #E7E2D9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #FFFFFF;
    transition: border-color 0.2s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFC72C;
    border-width: 2px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   FOOTER
   ================================== */

.footer {
    background: #57411E;
    color: #FDFBF6;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 48px;
    }
}

.footer-brand h3 {
    color: #FFC72C;
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-brand p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-slogan {
    font-style: italic;
    font-weight: 500;
    color: #FFC72C !important;
}

.footer-links {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

.footer-section h4 {
    color: #FFC72C;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #FDFBF6;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #FFC72C;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 199, 44, 0.1);
    border-radius: 8px;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: #FFC72C;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(253, 251, 246, 0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
}

/* ===================================
   UTILITY CLASSES
   ================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   ================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   RESPONSIVE OPTIMIZATIONS
   ================================== */

@media (max-width: 767px) {
    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        min-width: unset;
    }
    
    .product-card,
    .order-method,
    .contact-form {
        padding: 24px;
    }
    
    .about-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .btn-primary {
        border: 2px solid #57411E;
    }
    
    .btn-secondary {
        border: 2px solid #57411E;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}