:root{
    --coffee-dark:#3e2723;
    --coffee-medium:#6f4e37;
    --coffee-light:#c4a484;
    --coffee-accent:#d2b48c;
    --coffee-cream:#f5f5dc;
    --coffee-gold:#d4af37;
    --text-dark:#2c2416;
    --text-light:#f3f3f3;



}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--coffee-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #161515;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    color: var(--coffee-gold);
    font-size: 28px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--coffee-medium);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--coffee-gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--coffee-medium);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coffee-gold);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--coffee-medium);
    color: white;
}

.btn-primary:hover {
    background: var(--coffee-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--coffee-medium);
    border: 2px solid var(--coffee-medium);
}

.btn-secondary:hover {
    background: rgba(111, 78, 55, 0.05);
    transform: translateY(-3px);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b0705 0%, #010000 50%);
    z-index: -1;
}

.hero-content {
    width: 750px;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
}

.hero .container {
    display: flex;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--coffee-accent);
    margin-top: 20px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-subtitle::before {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--coffee-gold);
}

.hero-title {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.hero-title span {
    color: var(--coffee-gold);
    position: relative;
}

.hero-text {
    font-size: 16px;
    margin-bottom: 120px;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.products {
    padding: 120px 0;
    position: relative;
    background-color: #161515;
    border-top: 4px solid var(--coffee-gold);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-subtitle {
    font-size: 42px;
    color: var(--coffee-gold);
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    color: var(--coffee-gold);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
    width: 80px;
    height: 3px;
    background: var(--coffee-gold);
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .hero-content {
        width: 100%;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn {
        font-size: 14px;
        padding: 6px 15px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 24px;
    }
}




/* 1rst maunal div card where i have to add item on html page */

/* .product-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.product-card{
    background: var(--coffee-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    top:0;

}

.product-card:hover{
    transform: translateY(-15px);
    border: 2px solid var(--coffee-gold);
}
.product-img{
    height: 280px;
   overflow: hidden;
}

.product-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img{
    transform: scale(1.05);
}

.product-info{
    padding: 25px;
    position: relative;
} */
/* 
.product-tag{
    position: absolute;
    top: -20px;
    right: 25px;
    background: var(--coffee-gold);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;

}

.product-title{
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-desc{
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;

}

.product-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price{
    font-size: 24px;
    font-weight: 700;
    color: var(--coffee-gold);
}
.rating{
    color:var(--coffee-gold);
    font-size: 16px;
}
h1,h2,h3,h4{
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}
 */

/* new */
 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
   
        
        h1 {
            text-align: center;
            color: #6F4E37;
            margin-bottom: 2rem;
            font-size: 2.5rem;
        }
         .coffee-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .coffee-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .coffee-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        .coffee-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
        }
        
        .coffee-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .coffee-title {
            font-size: 1.4rem;
            color: #3e2723;
            margin-bottom: 0.5rem;
        }
        
        .coffee-price {
            font-weight: bold;
            color: #6F4E37;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
         .coffee-desc {
            color: #555;
            margin-bottom: 1.5rem;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .like-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #f9f9f9;
            padding: 0.8rem;
            border-radius: 5px;
            margin-top: auto;
        }
        
        .like-count {
            font-weight: bold;
            color: #6F4E37;
            min-width: 20px;
            text-align: center;
        }
        


/* footer */

footer {
    background: var(--coffee-medium); /* Background color */
    color: var(--text-light); /* Text color */
    position: fixed; /* Fixed position */
    bottom: 0; /* Align to the bottom */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    padding: 20px 0; /* Padding */
    z-index: 1000; /* Ensure it appears above other content */
}

.footer-container {
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Space between items */
    align-items: center; /* Center items vertically */
    width: 90%; /* Width of the container */
    max-width: 1200px; /* Max width */
    margin: 0 auto; /* Center the container */
}

footer nav ul {
    display: flex; /* Flexbox for navigation links */
    list-style: none; /* Remove bullet points */
    gap: 20px; /* Space between links */
}

footer nav a {
    text-decoration: none; /* Remove underline */
    color: var(--text-light); /* Text color */
    font-weight: 600; /* Font weight */
    transition: color 0.3s ease; /* Transition for hover effect */
}

footer nav a:hover {
    color: var(--coffee-gold); /* Change color on hover */
}

.footer-socials {
    display: flex; /* Flexbox for social icons */
    gap: 15px; /* Space between icons */
}

.social-icon {
    color: var(--text-light); /* Icon color */
    font-size: 20px; /* Icon size */
    transition: color 0.3s ease; /* Transition for hover effect */
}

.social-icon:hover {
    color: var(--coffee-gold); /* Change color on hover */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    footer nav ul {
        flex-direction: column; /* Stack links vertically on small screens */
        gap: 10px; /* Space between links */
    }
}


/* contact */


form {
    max-width: 600px;
    margin: auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    width: 100%;
    background-color: #5d3a00;
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
}

button[type="submit"]:hover {
    background-color: #7a4a00;
}
