/* Jelita Main Styles */
:root {
    --primary-color: #103a3a;
    --secondary-color: #1a5555;
    --accent-color: #2a6565;
    --light-green: #e8f5f5;
    --dark-color: #0d2f2f;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === NAVBAR STYLES === */
.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 8px;
    border-radius: 50%;
}

/* === BUTTON STYLES === */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 58, 58, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* === SECTION TITLES === */
.section-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* === PRODUCT CARDS === */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    background: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-image.lg {
    height: 280px;
}

.product-image i {
    font-size: 4rem;
    color: var(--primary-color);
}

.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.badge-discount {
    background: linear-gradient(135deg, #ff4757, #ff6b9d);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.badge-new {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.badge-trending {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 58, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.product-brand {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-rating {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.8rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.price-original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
}

/* === PAGINATION === */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin: 0 5px;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* === HOMEPAGE SPECIFIC === */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    margin-top: 76px;
}

.hero-section.page {
    padding: 80px 0 60px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section.compact {
    padding: 60px 0 40px;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-section::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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 58, 58, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 58, 58, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.category-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.testimonial-section {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    height: 100%;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 60px 0;
    color: white;
}

.newsletter-input {
    border-radius: 25px;
    border: none;
    padding: 15px 25px;
}

.newsletter-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.page-header::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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* === CATEGORY SPECIFIC === */
.filter-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.category-stats {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* === PRODUCTS PAGE SPECIFIC === */
.search-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.filter-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filter-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-green);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* === FORM ELEMENTS === */
.form-select-auto {
    width: auto !important;
}

.result-info {
    background: var(--light-green);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

/* === ABOUT PAGE SPECIFIC === */
.hero-section.about {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 0;
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, var(--dark-color), #34495e);
    color: white;
    padding: 60px 0 20px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .filter-sidebar {
        margin-bottom: 30px;
        position: static;
    }

    .search-section {
        margin-top: -20px;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .filter-buttons {
        justify-content: center;
    }

    .product-card {
        margin-bottom: 20px;
    }
}

/* === FILTER BUTTONS === */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* === SEARCH BOX === */
.search-box {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
}

.search-box .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 25px;
}

.search-box .btn {
    border-radius: 25px;
}

/* === SELECT STYLES === */
.form-select-auto {
    width: auto !important;
}

.form-select-sm.form-select-auto {
    width: auto !important;
    min-width: 150px;
}
