/* CSS Variables & Reset */
:root {
    --primary: #B01E23;
    --primary-dark: #8A171B;
    --secondary: #D4AF37;
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --border: #E0E0E0;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Header Styles */
.main-header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
}

.nav-link {
    padding: 10px 15px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-desc {
    color: #AAA;
    margin-bottom: 25px;
    max-width: 400px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}

.social-link img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
}

.social-link .shopee-img {
    width: 22px !important;
    height: 22px !important;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #AAA;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #AAA;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero_meat_banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 80px;
}

.feature-card {
    background: var(--light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    margin-top: 20px;
}

.btn-white:hover {
    background: var(--light);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Featured Products Home */
.featured-products {
    padding: 80px 0;
    background-color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    background: var(--white);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info .category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.product-info .price {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 40px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(176, 30, 35, 0.2);
}

/* Gallery Slider */
.gallery {
    padding: 80px 0;
    background-color: var(--light);
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.slide {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

.mobile-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .main-header {
        height: 70px;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        display: none;
        padding: 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border);
        z-index: 999;
    }

    .nav-menu.active {
        display: block;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-menu ul li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 20px 30px;
        width: 100%;
        display: block;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark);
        transition: 0.3s;
    }

    .nav-link:hover {
        background-color: var(--light);
        padding-left: 35px;
        color: var(--primary);
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 5px;
        margin-left: 15px;
    }

    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background: var(--dark);
        transition: 0.3s;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .slider {
        gap: 0;
    }
}