/* Basic Reset and Variables */
:root {
    --color-dark-bg: #111;
    --color-dark-black: #000;
    --color-text-white: #fff;
    --color-accent-gold: #ffebd2; /* Used for headlines and accents */
    --color-button-dark: #222;
    --color-button-border: #888;
    --color-footer-bg: #3c2921; /* Dark brown color for the footer */
    --color-card-bg: #291e1d; /* Darker brown/black for the product cards */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Updated font-family to Poppins from Google Fonts */
    font-family: "Poppins", sans-serif;
    background-color: var(--color-dark-black);
    color: var(--color-text-white);
    line-height: 1.6;
}

/* --- Navigation Bar Styling (Same as before) --- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: var(--color-dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-accent-gold);
}

.nav-links a {
    color: var(--color-text-white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95em;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-accent-gold);
}

.btn-sign-in,
.btn-order-online {
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 4px;
    margin-left: 10px;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.btn-sign-in {
    color: var(--color-text-white);
    border: 1px solid transparent;
}

.btn-order-online {
    background-color: var(--color-accent-gold);
    color: var(--color-dark-black);
    border: 1px solid var(--color-accent-gold);
    font-weight: 600;
}

/* --- Hero Section Styling (Same as before) --- */

.hero-section {
    display: flex;
    min-height: 80vh;
    padding: 100px 50px 50px 50px;
    align-items: center;
}

.content-left {
    flex: 1;
    max-width: 50%;
    padding-right: 50px;
}

.tagline {
    font-size: 1.1em;
    color: var(--color-text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tagline-icon {
    font-size: 1.3em;
    margin-right: 8px;
    color: var(--color-accent-gold);
}

.headline {
    font-size: 4em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}
/* Styling the 'Crafted with Passion' part gold */
.headline span {
    color: var(--color-accent-gold);
}

.description {
    font-size: 1.05em;
    color: #bbb;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons a {
    display: inline-block;
    padding: 12px 25px;
    margin-right: 15px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition:
        opacity 0.2s,
        transform 0.2s;
}

.btn-primary {
    background-color: var(--color-accent-gold);
    color: var(--color-dark-black);
    border: 2px solid var(--color-accent-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-button-border);
}

.cta-buttons a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.content-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(
        circle at 75% 50%,
        rgba(206, 157, 78, 0.1),
        transparent 50%
    );
}

.coffee-visual-placeholder {
    width: 450px;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.cup {
    width: 200px;
    height: 150px;
    background-color: white;
    border-radius: 0 0 40% 40%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.steam {
    position: absolute;
    bottom: 120px;
    width: 100px;
    height: 250px;
    background: linear-gradient(
        to top,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    z-index: 5;
}

/* --- NEW: Blends Section Styling --- */

.blends-section {
    padding: 80px 50px;
    text-align: center;
    background-color: var(--color-dark-bg);
}

.blends-header {
    margin-bottom: 50px;
}

.sub-title {
    color: var(--color-accent-gold);
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5em;
    font-weight: 600;
    margin: 10px 0;
}

.section-description {
    color: #bbb;
    max-width: 700px;
    margin: 0 auto;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 20px;
}

.product-card {
    width: 300px;
    background-color: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    position: relative;
    /* Adjust height to match the image ratio in the design */
    height: 350px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-details {
    padding: 20px;
}

.product-name {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text-white);
}

.product-desc {
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 15px;
    min-height: 40px; /* Ensures consistent height */
}

.product-price {
    font-size: 1.3em;
    color: var(--color-accent-gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.rating {
    color: var(--color-accent-gold); /* Star color */
    font-size: 1.1em;
}

.btn-card-buy {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-accent-gold);
    color: var(--color-dark-black);
    padding: 8px 15px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-card-buy:hover {
    background-color: #a87d40;
}

/* --- NEW: Footer Styling --- */

.main-footer {
    background-color: var(--color-footer-bg);
    color: #f0e6da; /* Lighter text for contrast */
    padding: 50px 50px;
    font-size: 0.95em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    width: 30%;
    margin-right: 30px;
}

.footer-column h3 {
    color: var(--color-accent-gold);
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column p,
.footer-column ul {
    margin-bottom: 15px;
    color: #f0e6da;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li a {
    color: #f0e6da;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column li a:hover {
    color: var(--color-accent-gold);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    filter: brightness(
        0.9
    ); /* Makes the placeholder image look a bit worn/styled */
}

/* Ensure the contact info has no list-style */
.contact p {
    margin-bottom: 5px;
}
