/* Products section styles */
.products-hero {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 60px 20px 30px 20px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    max-width: 320px;
    padding: 30px 20px;
    text-align: center;
    flex: 1 1 300px;
}

.product-image {
    width: 180px;
    height: auto;
    margin-bottom: 18px;
    border-radius: 8px;
}

.product-card h2 {
    margin: 12px 0 8px 0;
}

.product-card ul {
    list-style: disc inside;
    margin: 12px 0;
    padding: 0;
    text-align: left;
}

.product-card .cta-button {
    margin-top: 15px;
}

/* Responsive design */
@media (max-width: 700px) {
    .hero h1 {
        font-size: 2em;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-right: 0;
    }
    .logo {
        margin-left: 10px;
        height: 40px;
    }
}

/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

header {
    background: #222;
    color: #fff;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 16px;
    margin-left: 40px; /* Add this line for left margin */
}

.logo {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%; /* Makes the logo circular */
    background: #fff;
    border: 2px solid #ff9800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.brand-text {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    transition: color 0.2s;
}

.brand:hover .brand-text {
    color: #ff9800;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 40px;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

nav a:hover {
    color: #ff9800;
}

.hero {
    background: url('images/coffee-bg.jpg') center/cover no-repeat;
    padding: 100px 20px 60px 20px;
    text-align: center;
    color: #fff;
    background-color: #333; /* fallback */
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.cta-button {
    background: #ff9800;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #e65100;
}

.about {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 0.95em;
    margin-top: 40px;
}

nav li {
    position: relative;
}

.dropdown .dropbtn {
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    outline: inherit;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 1;
    right: 0;
    top: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.dropdown-content a {
    color: #222;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}