:root {
    --primary-color: #8B4513;
    --secondary-color: #CD853F;
    --accent-color: #DEB887;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --white: #FFFFFF;
    --cream: #FFF8E1;
    --light-brown: #EFEBE9;
    --gradient-warm: linear-gradient(135deg, #8B4513 0%, #CD853F 50%, #DEB887 100%);
    --gradient-soft: linear-gradient(135deg, #FFF8E1 0%, #EFEBE9 100%);
    --shadow-light: 0 4px 20px rgba(139, 69, 19, 0.1);
    --shadow-medium: 0 8px 30px rgba(139, 69, 19, 0.15);
    --shadow-heavy: 0 12px 40px rgba(139, 69, 19, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Hero Section Ultra Modern */
.hero-modern {
    min-height: 100vh;
    background: black;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/banner/banner.png') center/cover;
    opacity: 0.80;
    z-index: 1;
}

.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    transform: skewY(-2deg);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-warm);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-hero:hover::before {
    left: 0;
}

.btn-hero:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Products Grid Modern */
.products-modern {
    padding: 6rem 0;
    background: var(--gradient-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card-modern {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    group: hover;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-modern:hover .product-image-container img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.product-card-modern:hover .action-btn {
    transform: translateY(0);
    opacity: 1;
}

.product-card-modern:hover .action-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card-modern:hover .action-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.product-card-modern:hover .action-btn:nth-child(3) {
    transition-delay: 0.3s;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-price .old-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-warm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--light-brown);
    transform: skewY(-2deg);
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 2.5rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--cream);
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title-modern {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}
