* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    background: #fdfaf6;
    color: #2c2c2c;
}
img {
    max-width: 100%;
    display: block;
}
:root {
  --coffee: #6f4e37;
  --cream: #f4eee0;
  --accent: #c47f5f;
  --dark: #2c2c2c;
  --hover: #b36b50;
}
header {
    background: var(--cream);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--coffee);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
}
nav a:hover {
    color: var(--hover);
}
.hero {
    background: linear-gradient(to bottom, #6f4e37, #2c2c2c);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero button {
    background: var(--accent);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}
.hero button:hover {
    background: var(--hover);
}
.featured-coffee {
    padding: 4rem 2rem;
    text-align: center;
}
.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.coffee-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 1rem;
}
.coffee-card h3 {
    color: var(--coffee);
    margin: 1rem 0 0.5rem;
}
.coffee-card p{
  font-size: 0.9rem;
  color: #555;
}
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: var(--cream);
}
.about img {
    flex: 1;
    border-radius: 10px;
}
.about-text {
    flex: 1;
    max-width: 500px;
}
.about-text h2 {
    color: var(--coffee);
    margin-bottom: 1rem;
}
.newsletter {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--coffee);
    color: white;
}
.newsletter input[type="email"] {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    margin-right: 1rem;
    width: 250px;
}
.newsletter button {
    background: var(--accent);
    padding: 0.75rem 1.5rem;
    border: none;
    color: white;
    border-radius: 5px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 127, 95, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(196, 127, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 127, 95, 0); }
}
footer {
    background: var(--dark);
    color: white;
    padding: 2rem;
    text-align: center;
}
footer a {
    color: var(--accent);
    text-decoration: none;
}
footer a:hover {
    color: var(--hover);
}
/*Mobile Responsive Section */

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .about {
        flex-direction: column;
    }
    .hero h1{
        font-size: 2rem;
    }
    .coffee-grid {
        grid-template-columns: 1fr;
    }
}