/* assets/css/style.css */
:root {
    --cream: #ffffff;
    --beige: #e8b4b8;
    --brown: #8b6b4c;
    --gold: #c9a96e;
    --dark-brown: #5d4037;
    --light-brown: #a1887f;
    --white: #ffffff;
    --text: #4e342e;
    --shadow: rgba(93, 64, 55, 0.1);
    --dusty-rose: #e8b4b8;
}

.dark-mode {
    --cream: #2d2424;
    --beige: #3a2e2e;
    --brown: #a1887f;
    --gold: #c9a96e;
    --dark-brown: #d7ccc8;
    --light-brown: #8d6e63;
    --white: #3a2e2e;
    --text: #efebe9;
    --shadow: rgba(0, 0, 0, 0.3);
    --dusty-rose: #8d6e63;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-brown);
}

.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5 {
    color: var(--dark-brown);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== STYLING UNTUK FITUR UPLOAD GAMBAR ===== */

/* STYLING UNTUK GAMBAR YANG DIUPLOAD */
.uploaded-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Product Images */
.product-img, .all-menu-product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--cream);
    border-radius: 8px;
}

.all-menu-product-img {
    height: 100px;
}

/* Promo Images */
.promo-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    background-color: var(--cream);
}

.promo-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Preview Images */
.preview-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--cream);
}

/* Image Previews di Form Admin */
#image-preview, #edit-image-preview, #current-image-preview {
    margin-top: 10px;
    text-align: center;
}

#preview-img, #edit-preview-img, #current-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid var(--gold);
    object-fit: cover;
}

/* Form Styles untuk Upload */
.form-control[type="file"] {
    padding: 8px;
    border: 1px solid var(--light-brown);
    border-radius: 5px;
    background-color: var(--white);
}

.form-control[type="file"]:focus {
    outline: none;
    border-color: var(--gold);
}

.text-muted {
    font-size: 0.85rem;
    color: var(--light-brown);
    margin-top: 5px;
    display: block;
}

/* Loading State untuk Upload */
.upload-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

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

/* Error States */
.upload-error {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: 5px;
    padding: 5px;
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 4px;
    border-left: 3px solid #f44336;
}

/* Success States */
.upload-success {
    color: #4caf50;
    font-size: 0.9rem;
    margin-top: 5px;
    padding: 5px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    border-left: 3px solid #4caf50;
}

/* Thumbnail Styles untuk List */
.thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-container:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-actions {
    display: flex;
    gap: 10px;
}

/* Responsive Images */
@media (max-width: 768px) {
    .product-img {
        height: 180px;
    }
    
    .all-menu-product-img {
        height: 90px;
    }
    
    .promo-card img {
        height: 120px;
    }
    
    .preview-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product-img {
        height: 160px;
    }
    
    .all-menu-product-img {
        height: 80px;
    }
    
    .promo-card img {
        height: 100px;
    }
    
    .preview-image {
        height: 150px;
    }
    
    #preview-img, #edit-preview-img, #current-image {
        max-height: 150px;
    }
}

/* Fallback untuk gambar yang gagal load */
.image-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--dusty-rose) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 2rem;
}

/* Admin Image Management */
.admin-image-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-image-action {
    padding: 5px 10px;
    font-size: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-change {
    background-color: var(--gold);
    color: var(--white);
}

.btn-remove {
    background-color: var(--light-brown);
    color: var(--white);
}

.btn-image-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px var(--shadow);
}

/* ===== CSS LAMA YANG SUDAH ADA ===== */

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-scrolled .header-container {
    padding: 8px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--brown);
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo i {
    margin-right: 12px;
    color: var(--gold);
    font-size: 32px;
}

nav {
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-size: 16px;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.nav-actions button {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--brown);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.nav-actions button:hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--brown);
    cursor: pointer;
    padding: 5px;
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--white);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px var(--shadow);
    border-left: 2px solid var(--dusty-rose);
    min-width: 108px;
    width: auto;
}

.store-hours-widget, .clock-widget {
    min-width: auto;
}

.store-hours-widget h3, .clock-widget h3 {
    font-size: 0.7rem;
    margin-bottom: 4px;
    color: var(--dark-brown);
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
}

.store-hours-widget h3 i, .clock-widget h3 i {
    color: var(--gold);
    font-size: 0.75rem;
}

.store-hours-widget p {
    font-size: 0.65rem;
    text-align: right;
    margin-bottom: 3px;
}

.store-status {
    font-weight: 600;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 2px;
    display: inline-block;
    float: right;
    clear: both;
}

.status-open {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-closed {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.current-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-brown);
    text-align: right;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-cart-btn, .whatsapp-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.floating-cart-btn {
    background-color: var(--gold);
    color: var(--white);
}

.floating-cart-btn:hover {
    transform: translateY(-5px);
    background-color: var(--brown);
}

.whatsapp-bubble {
    background-color: #25D366;
    color: var(--white);
}

.whatsapp-bubble:hover {
    transform: translateY(-5px);
    background-color: #128C7E;
}

.floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--dusty-rose);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Image Slider Styles */
.image-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    margin-top: 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    width: 25%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.4), rgba(101, 67, 33, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 600px;
}

.slide-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-btn i {
    font-size: 1.2rem;
    color: var(--dark-brown);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .image-slider {
        height: 50vh;
        min-height: 400px;
        margin-top: 70px;
    }
    
    .slide-content h3 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .image-slider {
        height: 40vh;
        min-height: 300px;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Hero Section */
.hero {
    background-color: var(--white);
    color: var(--text);
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark-brown);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--brown);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--brown);
    color: var(--brown);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--brown);
    color: var(--white);
}

/* Features Banner */
.features {
    background-color: var(--dusty-rose);
    padding: 40px 0;
    margin-bottom: 80px;
    width: 100%;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: start;
    gap: 60px;
    width: 100%;
}

.feature-item {
    text-align: center;
    max-width: 200px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
}

/* Products Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* All Menu Grid */
.all-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 80px;
}

.all-menu-product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    transition: transform 0.3s;
    position: relative;
    cursor: pointer;
}

.all-menu-product-card:hover {
    transform: translateY(-3px);
}

.all-menu-product-info {
    padding: 8px;
}

.all-menu-product-title {
    font-size: 0.8rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.all-menu-product-price {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
}

.all-menu-product-stock {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.all-menu-product-actions {
    display: flex;
    justify-content: flex-end;
}

.add-to-cart-all {
    padding: 5px 6px;
    font-size: 0.7rem;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-all:hover {
    background-color: var(--brown);
}

.all-menu-best-seller-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: var(--gold);
    color: var(--white);
    padding: 2px 5px;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 600;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.best-seller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--gold);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 25px 20px;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.product-description {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-stock {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.stock-available {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.stock-low {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stock-out {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    margin-bottom: 80px;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Testimonials */
.testimonials {
    background-color: var(--dusty-rose);
    padding: 80px 0;
    margin-bottom: 80px;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px 10px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--light-brown);
}

.testimonial-rating {
    color: var(--gold);
}

.testimonial-form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-top: 40px;
}

.form-title {
    text-align: center;
    margin-bottom: 25px;
}

/* Rating System */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 20px;
    gap: 5px;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 1.5rem;
    color: var(--light-brown);
    cursor: pointer;
    transition: color 0.3s;
}

.rating input:checked ~ label {
    color: var(--light-brown);
}

.rating label:hover,
.rating label:hover ~ label {
    color: var(--gold);
}

.rating input:checked + label {
    color: var(--gold);
}

/* QR Code Section */
.qrcode-section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--white);
    margin-bottom: 80px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.qrcode-container {
    display: inline-block;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.qrcode-container img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--dark-brown);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-col p, .footer-col a {
    color: var(--beige);
    margin-bottom: 12px;
    display: block;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--beige);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    animation: modalFadeIn 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-brown);
}

.modal-title {
    margin-bottom: 20px;
    text-align: center;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-brown);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--text);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.order-summary {
    background-color: var(--dusty-rose);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Order Modal */
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.order-item-info {
    flex-grow: 1;
}

.order-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--light-brown);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.quantity-value {
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--dusty-rose);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
}

.remove-item:hover {
    color: var(--brown);
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--light-brown);
}

/* Admin Login */
.admin-login-modal {
    display: none;
}

.admin-login-modal.active {
    display: flex;
}

/* Admin Panel */
.admin-panel {
    display: none;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 60px;
}

.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-brown);
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.admin-tab.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.admin-product-card {
    background-color: var(--dusty-rose);
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.best-seller-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--gold);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Order History */
.order-history {
    margin-top: 30px;
}

.order-card {
    background-color: var(--dusty-rose);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px var(--shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-brown);
}

.order-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ff9800;
}

.status-completed {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status-cancelled {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Promo Popup */
.promo-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.promo-popup.active {
    display: flex;
}

.promo-content {
    background-color: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
    position: relative;
    animation: popupFadeIn 0.5s;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.promo-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .promo-slider {
        height: 220px;
    }
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.promo-slide.active {
    opacity: 1;
}

.promo-slider-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.promo-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.promo-slider-dot.active {
    background-color: var(--white);
}

.promo-details {
    padding: 18px;
    text-align: center;
}

.promo-details h2 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: var(--dark-brown);
}

.promo-details p {
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text);
}

.promo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark-brown);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Product Preview Modal */
.product-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-preview-modal.active {
    display: flex;
}

.product-preview-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s;
}

.preview-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-brown);
    background-color: var(--white);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.preview-details {
    padding: 18px;
}

.preview-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-brown);
}

.preview-price {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.preview-description {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.preview-stock {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.preview-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Admin Promo Dashboard */
.promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.promo-card {
    background-color: var(--dusty-rose);
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.promo-card h4 {
    margin-bottom: 5px;
}

.promo-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.promo-actions {
    display: flex;
    gap: 10px;
}

.promo-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-active {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status-inactive {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Admin Testimonials */
.testimonial-list {
    margin-top: 20px;
}

.admin-testimonial-card {
    background-color: var(--dusty-rose);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
}

.admin-testimonial-card .testimonial-text {
    margin-bottom: 15px;
}

.admin-testimonial-card .testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    color: white;
    font-weight: 500;
}

.notification.success {
    background: #4caf50;
}

.notification.error {
    background: #f44336;
}

.notification.info {
    background: #2196f3;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Logo Section Styles */
.logo-section {
    background-color: var(--dusty-rose);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20vh;
}

.logo-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo Frame dengan Animasi Kue */
.logo-frame {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 3;
    border: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

/* Animasi Cake Frame */
.cake-animation {
    position: absolute;
    width: 240px;
    height: 240px;
    animation: rotateCake 8s linear infinite;
    z-index: 1;
}

.cake-layer {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.1;
}

.layer-1 {
    width: 240px;
    height: 240px;
    top: 0;
    left: 0;
    animation: pulse 3s ease-in-out infinite;
}

.layer-2 {
    width: 200px;
    height: 200px;
    top: 20px;
    left: 20px;
    background: var(--brown);
    opacity: 0.08;
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.layer-3 {
    width: 160px;
    height: 160px;
    top: 40px;
    left: 40px;
    background: var(--dusty-rose);
    opacity: 0.06;
    animation: pulse 3s ease-in-out infinite 1s;
}

.cake-topping {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    top: 90px;
    left: 90px;
    opacity: 0.15;
    animation: bounce 2s ease-in-out infinite;
}

/* Animations */
@keyframes rotateCake {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.15; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark-brown);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.logo-description {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.nav-admin-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--brown);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
}

.nav-admin-btn:hover {
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .features {
        flex-wrap: wrap;
        gap: 40px;
    }

    nav ul {
        gap: 20px;
    }

    .company-slider {
        height: 350px;
    }

    .floating-widgets {
        right: 15px;
        top: 95px;
        min-width: 100px;
        padding: 7px;
    }

    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }

    .all-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px var(--shadow);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 60px 20px 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }

    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .company-slider {
        height: 300px;
    }

    .floating-widgets {
        display: flex;
        right: 10px;
        top: 85px;
        z-index: 1001;
        background-color: var(--white);
        padding: 6px;
        border-radius: 5px;
        box-shadow: 0 1px 4px var(--shadow);
        min-width: 90px;
    }

    .store-hours-widget h3, .clock-widget h3 {
        font-size: 0.65rem;
        gap: 3px;
    }

    .store-hours-widget p {
        font-size: 0.6rem;
    }

    .current-time {
        font-size: 0.7rem;
    }

    .store-status {
        font-size: 0.55rem;
        padding: 1px 3px;
    }

    .floating-cart-btn, .whatsapp-bubble {
        width: 45px;
        height: 45px;
    }

    .floating-cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .nav-actions {
        display: flex;
        gap: 6px;
        margin-right: 10px;
    }

    .nav-actions button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .logo {
        margin-left: 10px;
        font-size: 24px;
    }

    .logo i {
        font-size: 28px;
        margin-right: 8px;
    }

    .promo-content {
        width: 95%;
    }

    .features {
        flex-wrap: wrap;
        gap: 30px;
        padding: 30px 0;
    }

    .feature-item {
        max-width: 150px;
    }

    .feature-item i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .all-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }

    .modal-content {
        padding: 20px;
    }

    .features {
        gap: 20px;
    }

    .feature-item {
        max-width: 120px;
    }

    .feature-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .feature-item h3 {
        font-size: 0.9rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }

    .company-slider {
        height: 250px;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .logo {
        font-size: 22px;
    }

    .logo i {
        font-size: 26px;
        margin-right: 6px;
    }

    .floating-widgets {
        top: 80px;
        right: 5px;
        padding: 5px;
        min-width: 80px;
        gap: 6px;
    }

    .store-hours-widget h3, .clock-widget h3 {
        font-size: 0.6rem;
    }

    .store-hours-widget p {
        font-size: 0.55rem;
    }

    .current-time {
        font-size: 0.65rem;
    }

    .store-status {
        font-size: 0.5rem;
    }

    .promo-slider {
        height: 160px;
    }

    .nav-actions {
        gap: 4px;
        margin-right: 5px;
    }

    .nav-actions button {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .all-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .all-menu-product-img {
        height: 80px;
    }
    
    .all-menu-product-info {
        padding: 6px;
    }
    
    .all-menu-product-title {
        font-size: 0.75rem;
    }
    
    .all-menu-product-price {
        font-size: 0.7rem;
    }
    
    .logo-section {
        padding: 40px 0;
        min-height: 40vh;
    }
    
    .section-logo {
        width: 120px;
        height: 120px;
    }
    
    .cake-animation {
        width: 160px;
        height: 160px;
    }
    
    .layer-1 {
        width: 160px;
        height: 160px;
    }
    
    .layer-2 {
        width: 130px;
        height: 130px;
        top: 15px;
        left: 15px;
    }
    
    .layer-3 {
        width: 100px;
        height: 100px;
        top: 30px;
        left: 30px;
    }
    
    .cake-topping {
        width: 40px;
        height: 40px;
        top: 60px;
        left: 60px;
    }
    
    .logo-tagline {
        font-size: 1.5rem;
    }
    
    .logo-description {
        font-size: 0.9rem;
    }
}

/* SOLUSI JIKA MASIH DI KIRI - Force center */
.features {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    background-color: var(--dusty-rose);
    padding: 40px 0;
    margin-bottom: 80px;
    text-align: center;
}

.features .container {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    gap: 60px;
    margin: 0 auto;
}