* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #faf3e0;
    color: #3e2c1f;
    line-height: 1.6;
}

header {
    background-color: #4a3729;
    color: #f9f1e6;
    padding: 1.2rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e8c39e;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #f9f1e6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e8c39e;
    border-bottom: 2px solid #e8c39e;
    padding-bottom: 0.3rem;
}

.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&h=500&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    background-color: #e8c39e;
    color: #3e2c1f;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: inline-block;
}

.btn:hover {
    background-color: #d6a87f;
    transform: scale(1.05);
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4a3729;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e8c39e;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 3rem;
}

#searchInput {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e8c39e;
    border-radius: 50px;
    font-size: 1.1rem;
    background-color: white;
}

#searchInput:focus {
    outline: none;
    border-color: #4a3729;
    box-shadow: 0 0 10px rgba(74,55,41,0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #e8c39e;
    font-size: 1.2rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #6b4f3a;
    background-color: white;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

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

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

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

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.coffee1 { background-image: url('https://images.unsplash.com/photo-1559525838-3d2aa37d7b9e?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&h=300&q=80'); }
.coffee2 { background-image: url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&h=300&q=80'); }
.coffee3 { background-image: url('https://images.unsplash.com/photo-1541167760496-1628856ab772?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&h=300&q=80'); }
.coffee4 { background-image: url('https://images.unsplash.com/photo-1511920170033-f8396924c348?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&h=300&q=80'); }

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #4a3729;
}

.product-info p {
    color: #6b4f3a;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8b5a2b;
    display: block;
    margin-bottom: 1rem;
}

.order-btn {
    background-color: #4a3729;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: #6b4f3a;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4a3729;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1442512595331-e89e73853f31?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&h=400&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4a3729;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: #e8c39e;
    width: 25px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

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

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.notification {
    background-color: #4a3729;
    color: #e8c39e;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    display: none;
}

footer {
    background-color: #4a3729;
    color: #f9f1e6;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: #f9f1e6;
    margin: 0 0.8rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e8c39e;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}