/* 
 * PROMO PAGE STYLES
 * File CSS standalone untuk halaman promo
 * Edit file ini untuk mengubah tampilan halaman promo
 */

@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    
    }

/* Hero Section */
.hero-promo {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Promo Section */
.promo-section {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
    margin-bottom:-50px;
}

.promo-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: #ecf0f1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Ubah menjadi 2 kolom tetap */
    gap: 30px;
    margin-top: 40px;
}

/* Media query untuk tampilan mobile */
@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr; /* 1 kolom pada tampilan mobile */
    }
}

/* Promo Cards */
.promo-card {
    background: #2c2c2c;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.promo-card.featured {
    border-color: #f39c12;
}

.promo-card.hot {
    border-color: #e74c3c;
}

.promo-card.new {
    border-color: #27ae60;
}

/* Promo Badges */
.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
}

.featured .promo-badge {
    background: #f39c12;
    color: white;
}

.hot .promo-badge {
    background: #e74c3c;
    color: white;
}

.new .promo-badge {
    background: #27ae60;
    color: white;
}

/* Promo Images */
.promo-image {
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.promo-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Promo Content */
.promo-content {
    padding: 25px;
}

.promo-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #f39c12;
}

.promo-discount {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.promo-description {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Promo Pricing */
.promo-price {
    margin-bottom: 20px;
}

.price-original {
    text-decoration: line-through;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.price-promo {
    color: #f39c12;
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 10px;
}

/* Promo Features */
.promo-features {
    margin-bottom: 20px;
}

.promo-features h4 {
    color: #ecf0f1;
    margin-bottom: 10px;
    font-size: 1rem;
}

.promo-features ul {
    list-style: none;
    padding: 0;
}

.promo-features li {
    color: #bdc3c7;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.promo-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Promo Period */
.promo-period {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* Contact Button */
.btn-contact {
    display: block;
    width: 100%;
    background: #f39c12;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-contact:hover {
    background: #e67e22;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-content {
        padding: 20px;
    }
    
    /* Mobile image sizing - sama seperti product.php */
    .promo-image {
        height: 150px !important;
    }
    
    .promo-image img {
        width: 150px !important;
        height: 150px !important;
    }
    
    .hero-promo {
        height: 50vh;
        min-height: 300px;
    }
    
    .promo-section {
        padding: 60px 0;
    }
    
    .promo-intro {
        margin-bottom: 40px;
    }
}
