/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #120f0a;
    overflow-x: hidden;
}

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --primary: #6b4423;
    --primary-dark: #4a2c14;
    --primary-light: #8b5e3c;
    --secondary: #c49a6c;
    --dark: #2c1810;
    --light: #fff9f5;
    --gray: #666;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #120f0a;
    box-shadow: var(--shadow);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
    color: var(--light);
}

.logo h3 {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.logo span {
    color: var(--light);
}

.navbar {
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: var(--transition);
}

.navbar a:hover {
    color: var(--primary);
}

.icons {
    display: flex;
    gap: 20px;
}

.icons div {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--light);
    transition: var(--transition);
    position: relative;
}

.icons div:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu-btn {
    display: none;
}

/* Search Form */
.search-form {
    position: absolute;
    top: 100%;
    right: 7%;
    width: 300px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    padding: 5px 15px;
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.search-form.active {
    transform: scaleY(1);
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.search-form label {
    cursor: pointer;
    color: var(--primary);
}

/* Cart Container */
.cart-items-container {
    position: absolute;
    top: 100%;
    right: 7%;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
    z-index: 100;
}

.cart-items-container.active {
    transform: scaleY(1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cart-header .close-cart {
    cursor: pointer;
    color: #999;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item .remove-item {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #ff4444;
    font-size: 0.8rem;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item .content h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item .content .price {
    color: var(--primary);
    font-weight: 600;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-weight: 600;
    border-top: 2px solid #eee;
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   HOME SECTION
   ============================================ */
.home {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-section.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.home .content {
    max-width: 700px;
    padding: 20px;
    z-index: 1;
}

.home .content h3 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.home .content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 50px;
}

.heading span {
    color: var(--light);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 80px 7%;
}

.about .row {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about .image {
    flex: 1;
}

.about .image img {
    width: 100%;
    border-radius: 20px;
}

.about .text-about {
    flex: 1;
}

.about .text-about h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.about .text-about p {
    color: rgb(134, 131, 131);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu, .products, .review, .blogs {
    padding: 80px 7%;
    background: #120f0a;
}
.title{
    text-decoration: none;
    color: #8b5e3c;
    font-weight: bold;
}
.content span{
    color: #fff;
}
.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.box {
    background:#321f18;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.box:hover {
    transform: translateY(-10px);
}

.box img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.box p {
    color: rgb(134, 131, 131);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.box .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.box .price span {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

/* ============================================
   REVIEW SECTION
   ============================================ */
.review .box {
    text-align: center;
}

.review .box .quote {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.5;
    margin-bottom: 15px;
}
.review .box p{
    color: rgb(134, 131, 131);
}
.review .box .user {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 15px auto;
}
.stars {
    color: #ffc107;
    margin: 10px 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 70px 7%;
    background:#120f0a;
}

.contact .row {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact .image1 {
    flex: 1;
}

.contact .image1 img {
    width: 100%;
    border-radius: 20px;
}

.contact form {
    flex: 1;
    background: #321f18;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact form h3 {
    padding-top: 20px;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.inputBox {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #2c1810;
}

.inputBox span {
    color: var(--primary);
}

.inputBox input, .inputBox textarea {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    background: #2c1810;
    color: #fff;
}

.inputBox textarea {
    resize: none;
    background: #2c1810;
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer {
    background: #24120b;
    color: white;
    padding: 50px 7% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-logo span span {
    color: var(--secondary);
}

.footer-about p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
}

.footer-links h3, .footer-hours h3, .footer-newsletter h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul, .footer-hours ul {
    list-style: none;
}

.footer-links li, .footer-hours li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-hours li span {
    font-weight: 600;
}

.footer-newsletter form {
    display: flex;
    margin-top: 15px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
}

.footer-newsletter button {
    padding: 12px 18px;
    background: var(--secondary);
    border: none;
    border-radius: 0 50px 50px 0;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright, .credit {
    color: #aaa;
    font-size: 0.8rem;
}

.credit i {
    color: #ff4444;
}
.footer-crafted {
    text-decoration: none;
    color: #8b5e3c;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .header-container {
        padding: 15px 5%;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: scaleY(0);
        transform-origin: top;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
     .navbar a{
        color: #120f0a;
    }
    
    
    .navbar.active {
        transform: scaleY(1);
    }
    
    #menu-btn {
        display: block;
    }
    
    .home .content h3 {
        font-size: 2.5rem;
    }
    
    .heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about .row {
        flex-direction: column;
        text-align: center;
    }
     .navbar a{
        color: #120f0a;
    }
    
    
    .contact .row {
        flex-direction: column;
    }
    
    .cart-items-container {
        width: 90%;
        right: 5%;
    }
    
    .search-form {
        width: 90%;
        right: 5%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home .content h3 {
        font-size: 1.8rem;
    }
    .navbar a{
        color: #120f0a;
    }
    
    .heading {
        font-size: 1.5rem;
    }
    
    .box-container {
        grid-template-columns: 1fr;
    }
    
    .contact form {
        padding: 20px;
    }
}
