/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c1810;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
}

.btn-primary {
    background-color: #8B4513;
    color: white;
    border-color: #8B4513;
}

.btn-primary:hover {
    background-color: #6B3410;
    border-color: #6B3410;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #8B4513;
    border-color: #8B4513;
}

.btn-secondary:hover {
    background-color: #8B4513;
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-logo h1 {
    font-size: 2rem;
    color: #8B4513;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8B4513;
}

.nav-link.active {
    color: #8B4513;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.cart-icon:hover {
    background-color: #f5f5f5;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #8B4513;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 244, 240, 0.9) 0%, rgba(232, 213, 196, 0.8) 100%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: #2c1810;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.coffee-brewing-showcase {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.brewing-animation {
    position: absolute;
    top: 20px;
    right: 20px;
}

.steam-effect {
    width: 30px;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: steam 3s infinite ease-in-out;
}

.coffee-drip {
    width: 3px;
    height: 20px;
    background: #8B4513;
    margin: 5px auto;
    border-radius: 0 0 50% 50%;
    animation: drip 2s infinite;
}

@keyframes steam {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes drip {
    0% { height: 0; }
    50% { height: 20px; }
    100% { height: 0; }
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image-gallery {
    position: relative;
}

.product-image-main {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-main-image {
    transform: scale(1.05);
}

.product-origin-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c1810;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-image-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f8f8;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.1);
    border-color: #8B4513;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c1810;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-attributes {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.attribute {
    background: #f0e6d6;
    color: #8B4513;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 1rem;
}

/* Coffee Quiz */
.coffee-quiz {
    padding: 80px 0;
    background: linear-gradient(45deg, #2c1810 0%, #8B4513 100%);
    color: white;
}

.quiz-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quiz-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.quiz-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.quiz-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coffee-elements {
    position: relative;
    width: 200px;
    height: 200px;
}

.element {
    position: absolute;
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Subscription */
.subscription {
    padding: 80px 0;
    background-color: #f8f4f0;
}

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

.subscription-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-5px);
}

.subscription-card.featured {
    border: 3px solid #8B4513;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.subscription-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c1810;
}

.subscription-price {
    font-size: 2rem;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 1.5rem;
}

.subscription-price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.subscription-features {
    list-style: none;
    margin-bottom: 2rem;
}

.subscription-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.subscription-features li:last-child {
    border-bottom: none;
}

/* Video Testimonials */
.video-testimonials {
    padding: 80px 0;
    background-color: #f8f4f0;
}

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.video-testimonial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.video-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(139, 69, 19, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button::after {
    content: '▶';
    color: white;
    font-size: 1.5rem;
    margin-left: 3px;
}

.play-button:hover {
    background: rgba(139, 69, 19, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-info {
    padding: 1.5rem;
}

.testimonial-info h4 {
    margin-bottom: 0.5rem;
    color: #2c1810;
    font-size: 1.2rem;
}

.testimonial-info p {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.customer-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-name {
    font-weight: 600;
    color: #2c1810;
    display: block;
}

.customer-location {
    font-size: 0.9rem;
    color: #666;
}

/* Brewing Guides */
.brewing-guides {
    padding: 80px 0;
    background-color: #fff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.brewing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.brewing-card:hover {
    transform: translateY(-5px);
}

.brewing-video-container {
    position: relative;
    height: 220px;
}

.brewing-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brewing-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #8B4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.brewing-content {
    padding: 1.5rem;
}

.brewing-content h3 {
    margin-bottom: 1rem;
    color: #2c1810;
    font-size: 1.3rem;
}

.brewing-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.brewing-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

/* Coffee Origins Map */
.coffee-origins {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f4f0 0%, #e8d5c4 100%);
}

.origins-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.origins-map {
    position: relative;
}

.world-map {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.marker {
    position: absolute;
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.3s ease;
}

.marker:hover {
    transform: scale(1.2);
}

.ethiopia-marker {
    top: 30%;
    left: 55%;
}

.colombia-marker {
    top: 45%;
    left: 25%;
}

.guatemala-marker {
    top: 40%;
    left: 20%;
}

.marker-pin {
    width: 20px;
    height: 20px;
    background: #8B4513;
    border: 3px solid white;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.marker-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c1810;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 69, 19, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(139, 69, 19, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 69, 19, 0); }
}

.region-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.region-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    transition: all 0.3s ease;
}

.region-card.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.region-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.region-content {
    padding: 1.5rem;
}

.region-content h3 {
    margin-bottom: 1rem;
    color: #2c1810;
    font-size: 1.3rem;
}

.region-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #666;
}

/* Customer Gallery */
.customer-gallery {
    padding: 80px 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.gallery-overlay span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-cta {
    text-align: center;
}

.gallery-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #666;
}

/* About */
.about {
    padding: 80px 0;
    background-color: #f8f4f0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c1810;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.sustainability-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
}

.badge img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c1810;
}

.about-image {
    position: relative;
}

.about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f8f4f0;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: #2c1810;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Coffee Recipes */
.coffee-recipes {
    padding: 80px 0;
    background-color: #f8f4f0;
}

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

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

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.recipe-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
}

.recipe-difficulty {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #8B4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.recipe-content {
    padding: 2rem;
}

.recipe-content h3 {
    margin-bottom: 1rem;
    color: #2c1810;
    font-size: 1.4rem;
}

.recipe-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #888;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.recipe-ingredients,
.recipe-instructions {
    margin-bottom: 1.5rem;
}

.recipe-ingredients h4,
.recipe-instructions h4 {
    color: #2c1810;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.recipe-ingredients ul,
.recipe-instructions ol {
    margin-left: 1.2rem;
    color: #666;
}

.recipe-ingredients li,
.recipe-instructions li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.recipe-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.recipe-rating .stars {
    color: #FFD700;
    font-size: 1.1rem;
}

/* Blog Preview */
.blog-preview {
    padding: 80px 0;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-date {
    color: #666;
}

.blog-category {
    background: #8B4513;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: #2c1810;
    font-size: 1.3rem;
    line-height: 1.3;
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #6B3410;
}

.blog-cta {
    text-align: center;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c1810 0%, #8B4513 100%);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #E8D5C4;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    color: #333;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #D2691E;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.newsletter-form .btn {
    white-space: nowrap;
    background: #D2691E;
    border-color: #D2691E;
}

.newsletter-form .btn:hover {
    background: #B8541A;
    border-color: #B8541A;
}

.newsletter-privacy {
    font-size: 0.9rem;
    color: #B8A898;
    margin-top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Footer */
.footer {
    background-color: #2c1810;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #D2691E;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #D2691E;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D2691E;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #D2691E;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #D2691E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .coffee-brewing-showcase {
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .video-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .brewing-grid {
        grid-template-columns: 1fr;
    }
    
    .origins-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sustainability-badges {
        justify-content: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .subscription-card.featured {
        transform: none;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .video-testimonial-card,
    .brewing-card {
        margin-bottom: 1rem;
    }
    
    .marker-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .image-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .stat-number,
    .stat-label {
        display: inline;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

.subscription-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B3410;
}
