/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fffcf2;
    color: #5E3A27;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background-color: #fffcf2;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(94, 58, 39, 0.1);
}

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

.nav-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    text-decoration: none;
    color: #5E3A27;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #BC503A;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #5E3A27;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-section {
    text-align: center;
}

.hero-logo-main {
    max-width: 420px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #5E3A27;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}


.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #BC503A;
    color: white;
}

.btn-primary:hover {
    background-color: #A0442F;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #5E3A27;
    border: 2px solid #5E3A27;
}

.btn-secondary:hover {
    background-color: #5E3A27;
    color: #F8F6F0;
}


/* Baking Instructions Section */
.baking-instructions {
    padding: 80px 0;
    background-color: white;
}

.baking-instructions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #5E3A27;
}

.instructions-content {
    max-width: 800px;
    margin: 0 auto;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #fffcf2;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(94, 58, 39, 0.1);
    transition: transform 0.3s ease;
}

.instruction-step:hover {
    transform: translateY(-2px);
}

.step-number {
    background-color: #BC503A;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #5E3A27;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #5E3A27;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: #fffcf2;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #5E3A27;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(94, 58, 39, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.product-cookie-image {
    max-height: 234px;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.cookie-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #5E3A27;
}

.chocolate-chip {
    background-color: #D19C66;
    position: relative;
}

.chocolate-chip::before,
.chocolate-chip::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #5E3A27;
    border-radius: 50%;
}

.chocolate-chip::before {
    top: 20px;
    left: 15px;
}

.chocolate-chip::after {
    bottom: 20px;
    right: 15px;
}

.double-chocolate {
    background-color: #8B4513;
}

.oatmeal-raisin {
    background-color: #DEB887;
}

.sugar-cookie {
    background-color: #FFF8DC;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #5E3A27;
}

.product-card p {
    margin-bottom: 1rem;
    color: #5E3A27;
    opacity: 0.8;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #BC503A;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #5E3A27;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #5E3A27;
    opacity: 0.8;
}

.features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature h4 {
    color: #BC503A;
    margin-bottom: 0.5rem;
}

.feature p {
    margin: 0;
    font-size: 1rem;
}

.about-cookie-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(94, 58, 39, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fffcf2;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #5E3A27;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #5E3A27;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: #BC503A;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #5E3A27;
    opacity: 0.8;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(94, 58, 39, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #5E3A27;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #BC503A;
}

/* Footer */
.footer {
    background-color: #5E3A27;
    color: #F8F6F0;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 300px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #BC503A;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #F8F6F0;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 246, 240, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #F8F6F0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(94, 58, 39, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-logo-main {
        max-width: 280px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .instruction-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-logo-main {
        max-width: 210px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }
    
    .nav-logo-img {
        height: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}
