/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER & NAVIGATION ========== */
.navbar {
    background-color: #D32F2F; /* Red background like Hardees */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
}

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes logo white */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFD700;
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFD700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #FFD700;
    border-radius: 2px;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* SIMPLE Cart Icon Styles - No background, just the image */
.cart-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-img {
    width: 40px; /* Larger size */
    height: 40px;
    transition: transform 0.3s ease;
}

.cart-icon-img:hover {
    transform: scale(1.1) rotate(-10deg);
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #FFD700;
    color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: 0.3s;
    border-radius: 2px;
}

/* ... rest of your existing CSS remains the same ... */

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 3%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .highlight {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .highlight {
        font-size: 3rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #D32F2F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 20px;
        display: block;
        font-size: 16px;
    }
    
    .nav-link.active::after {
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .btn-primary, .btn-secondary {
        padding: 16px 30px;
        font-size: 15px;
        min-width: 180px;
    }
    
    /* Fixed for mobile: Ensure cart icon doesn't interfere */
    .cart-icon-img {
        width: 36px;
        height: 36px;
    }
    
    .cart-count-badge {
        width: 22px;
        height: 22px;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
    }
    
    .hero {
        margin-top: 70px;
        height: calc(100vh - 70px);
    }
    
    .logo-img {
        height: 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .highlight {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    /* More space for mobile menu */
    .nav-menu {
        top: 70px;
    }
    
    .cart-icon-img {
        width: 34px;
        height: 34px;
    }
    
    .cart-count-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
        top: -5px;
        right: -5px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .highlight {
        font-size: 2rem;
    }
    
    /* Ensure cart icon is properly sized */
    .cart-icon-img {
        width: 32px;
        height: 32px;
    }
    
    .cart-count-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
    
    /* Adjust spacing for mobile */
    .nav-actions {
        gap: 15px;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(211, 47, 47, 0.3)), 
                url('https://images.unsplash.com/photo-1559620192-032c64bc86af?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.highlight {
    color: #FFD700;
    display: block;
    font-size: 4rem;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFC107);
    color: #333;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFC107, #FFA000);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFD700;
    color: #FFD700;
}

/* ========== FEATURED PRODUCTS ========== */
.featured {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #222;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #D32F2F, #FFD700);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card h3 {
    margin: 25px 0 12px;
    color: #222;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 20px;
}

.product-card p {
    color: #666;
    padding: 0 25px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 70px;
}

.price {
    font-size: 1.8rem;
    color: #D32F2F;
    font-weight: 800;
    display: block;
    margin: 15px 0;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #B71C1C, #9A1A1A);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.3);
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 100px 0;
    background-color: white;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    position: relative;
    padding-bottom: 20px;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #D32F2F, #FFD700);
    border-radius: 2px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    padding: 30px;
    background: #f8f8f8;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 3.5rem;
    color: #D32F2F;
    margin-bottom: 25px;
    background: rgba(211, 47, 47, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
    font-weight: 700;
}

.feature p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #222;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #FFD700;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo span {
    display: block;
    font-size: 1rem;
    color: #aaa;
    font-weight: 600;
    margin-top: 5px;
}

.footer p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-links h3, .footer-contact h3 {
    color: #FFD700;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #D32F2F;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: #D32F2F;
    font-size: 1.2rem;
    margin-top: 3px;
    min-width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #D32F2F;
    color: white;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

.copyright a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: #D32F2F;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 3%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .highlight {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .highlight {
        font-size: 3rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #D32F2F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 20px;
        display: block;
        font-size: 16px;
    }
    
    .nav-link.active::after {
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .btn-primary, .btn-secondary {
        padding: 16px 30px;
        font-size: 15px;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
    }
    
    .hero {
        margin-top: 70px;
        height: calc(100vh - 70px);
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-primary {
        font-size: 24px;
    }
    
    .logo-secondary {
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .highlight {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        display: none; /* Hide text logo on very small screens */
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .highlight {
        font-size: 2rem;
    }
    
    .order-btn span {
        display: none; /* Hide text, show only icon on mobile */
    }
    
    .order-btn {
        width: 45px;
        height: 45px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}