/* Base Styles */
:root {
    --primary: #004080;
    --secondary: #00cc66;
    --accent: #e67e22;
    --light: #f8f9fa;
    --dark: #212529;
    --text: #333;
    --white: #ffffff;
    --dropdown-bg: #004080;
    --dropdown-hover: #003366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0 5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Header with logo at extreme left and larger size */
header {
    background: linear-gradient(to right, var(--white) 27%, var(--primary) 37%, var(--secondary) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    height: 95px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    position: relative;
    z-index: 10;
    padding-left: 0;
}

.logo-img {
    height: 82px;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    font-weight: 600;
    color: var(--white);
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 5px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--dropdown-hover);
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 20px;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    margin: 5px;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-tab.active, .category-tab:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

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

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

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

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    padding: 15px 0;
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.5s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none;
        display: none;
        background: var(--dropdown-hover);
        border-radius: 0;
    }
    
    .dropdown-menu a {
        color: var(--white);
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .logo-img {
        height: 55px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 5px 0;
        height: 70px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    footer {
        height: auto;
        padding: 10px 0;
    }
    
    .footer-content p {
        font-size: 0.8rem;
    }
}

/* Add to your existing header styles */
.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bakery-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* For mobile view */
@media (max-width: 768px) {
    .bakery-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .bakery-name {
        display: none; /* Hide on very small screens */
    }
}