/* Lamhistan - Concert Platform Design System */
/* Dark Concert Theme with Vibrant Neon Accents */

:root {
    /* Dark Concert Theme Color Palette */
    --color-base: #0A0E27;        /* Deep dark blue - main background */
    --color-secondary: #1A1F3A;   /* Slightly lighter dark blue */
    --color-accent: #FF006E;      /* Hot pink/magenta - primary CTA */
    --color-accent-2: #8338EC;    /* Purple - secondary accent */
    --color-accent-3: #3A86FF;    /* Electric blue - tertiary accent */
    --color-soft: #15192E;        /* Dark card background */
    
    /* Text Colors */
    --color-text: #E8E9F3;        /* Light text for readability */
    --color-text-light: #9BA3BC;  /* Muted light text */
    --color-text-dark: #0A0E27;   /* Dark text for light backgrounds */
    --color-border: #2A2F4A;      /* Subtle borders */
    --color-shadow: rgba(255, 0, 110, 0.3); /* Pink glow shadows */
    
    /* Gradient overlays */
    --gradient-primary: linear-gradient(135deg, #FF006E 0%, #8338EC 100%);
    --gradient-secondary: linear-gradient(135deg, #8338EC 0%, #3A86FF 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 14, 39, 0.9) 0%, rgba(10, 14, 39, 0.7) 100%);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --container-max-width: 1200px;
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-base);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(131, 56, 236, 0.1) 0%, transparent 50%);
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Container & Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 110, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



main{
    margin-top: 80px !important;
    padding-top: 0;
}

/* Modern Hero Section */
.modern-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 2rem 4rem;
    background: var(--color-base);
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.modern-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(131, 56, 236, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--color-shadow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px var(--color-shadow); }
    50% { box-shadow: 0 4px 30px rgba(255, 0, 110, 0.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.accent-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 700;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.modern-page-hero .hero-actions {
    justify-content: center;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--color-shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 0, 110, 0.5);
}

.cta-secondary {
    background: transparent;
    color: var(--color-text);
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-secondary:hover::before {
    width: 100%;
}

.cta-secondary:hover {
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--color-accent);
}

.coffee-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 0, 110, 0.4);
}

.hero-coffee-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) saturate(1.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), transparent 50%, rgba(131, 56, 236, 0.2));
    pointer-events: none;
}

.floating-element {
    position: absolute;
    top: -20px;
    right: -30px;
    background: var(--gradient-primary);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.5);
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(8deg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(8deg) translateY(0px); }
    50% { transform: rotate(8deg) translateY(-10px); }
}

/* Mobile Navigation Styles */
@media (max-width: 968px) {
    .nav-left, .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 0, 110, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-nav-link {
        color: var(--color-text);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link:hover {
        color: var(--color-accent);
        background: rgba(255, 0, 110, 0.1);
    }
}

/* Responsive Design for Modern Hero */
@media (max-width: 968px) {
    .modern-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 2rem 1rem 2rem;
        min-height: 90vh;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .coffee-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-coffee-image {
        height: 350px;
    }
    
    .floating-element {
        top: -15px;
        right: -15px;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }

    /* Move floating element inside visible hero area on tablet/mobile */
    .floating-element {
        top: 10px; /* push down so header doesn't clip it */
        right: 8px; /* keep inside viewport */
        transform: rotate(4deg) !important;
        font-size: 0.8rem;
        padding: 0.6rem 0.9rem;
    }

    /* Lower the hero image slightly on tablet/mobile so the floating badge sits at the top-right of the image */
    .coffee-image-wrapper {
        transform: translateY(36px) rotate(-2deg);
    }

    .hero-visual {
        overflow: visible; /* ensure the shifted image and floating badge remain visible */
    }

    /* Disable hover animation on touch/smaller screens */
    .coffee-image-wrapper,
    .coffee-image-wrapper:hover {
        transform: translateY(36px) rotate(-2deg) !important;
        transition: none !important;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-coffee-image {
        height: 300px;
    }
}

/* Prevent fixed navbar from overlapping hero on small/mobile screens */
/* Simple, reliable spacing for fixed header on small screens */
@media (max-width: 768px) {
    main {
        margin-top: 80px; /* ensure there's room under the fixed header for hero/content */
    }
}

/* Hero sits before main in the DOM — ensure the hero itself is pushed down on small screens */
@media (max-width: 768px) {
    .modern-hero {
        margin-top: 80px; /* simple reliable spacing so header doesn't overlap the hero */
    }
}

/* Also cover the intermediate tablet range where you reported overlap (769px - 968px) */
@media (min-width: 769px) and (max-width: 968px) {
    .modern-hero,
    main {
        margin-top: 80px;
    }
}

/* Modern Page Hero (for About, Shop, Explore, Connect) */
.modern-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh; /* slightly reduced to tighten the hero area */
    padding: 3rem 2rem 3rem; /* reduced vertical padding */
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-base) 0%, var(--color-soft) 100%);
}

/* Ensure specific page hero variants don't get offset by page-specific CSS */
.connect-hero,
.about-hero,
.explore-hero,
.shop-hero {
    margin: 0;
    padding: 0; /* inherit spacing from .modern-page-hero */
    align-items: center;
}

.modern-page-hero .hero-content {
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.modern-page-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--Color-Accent, var(--color-accent));
}

.modern-page-hero .hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.modern-page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

/* Page-specific hero backgrounds */
.about-bg {
    background: radial-gradient(circle at 30% 70%, rgba(255, 0, 110, 0.3), transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(131, 56, 236, 0.3), transparent 50%);
}

.connect-bg {
    background: conic-gradient(from 45deg, rgba(255, 0, 110, 0.3), rgba(131, 56, 236, 0.3), rgba(58, 134, 255, 0.3), rgba(255, 0, 110, 0.3));
}

.shop-bg {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.3) 0%, rgba(131, 56, 236, 0.3) 50%, rgba(58, 134, 255, 0.3) 100%);
}

/* Responsive design for modern page hero */
@media (max-width: 768px) {
    .modern-page-hero {
        min-height: 60vh; /* reduce on tablet */
        padding: 1.5rem 1rem 2.5rem;
    }
    
    .modern-page-hero .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .modern-page-hero .hero-description {
        font-size: 1.125rem;
    }
}

/* Ensure proper spacing for all page sections */
.story-section,
.timeline-section,
.values-section,
.featured-article,
.blog-section,
.contact-section,
.location-section,
.newsletter-section,
.shop-intro,
.shopify-section,
.shop-benefits {
    margin-top: 0;
    padding-top: var(--section-padding);
}

/* Make sure first sections after hero have proper spacing */
.modern-page-hero + section {
    margin-top: 0;
}

/* Update existing page sections for consistency */
.page-hero {
    display: none; /* Hide old hero styles */
}

/* Ensure all sections work with the new navbar */
section:first-of-type {
    padding-top: 0;
}
.navbar {
    padding: 1.2rem 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left, .nav-right {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 0;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--color-accent);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
}

.header.scrolled .logo h1 {
    font-size: 1.4rem;
    color: var(--color-accent);
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    position: relative;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
    background: rgba(139, 69, 19, 0.05);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-text));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(139, 69, 19, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    padding: 1rem 2rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.3);
}



.page-hero {
    height: 60vh;
    min-height: 500px;
}

.hero-background,
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-background {
    /* simplified background: remove embedded SVG box art for a cleaner hero */
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.45), rgba(139, 69, 19, 0.06));
}

.about-bg {
    /* remove SVG shapes and use a subtle radial highlight */
    background: radial-gradient(circle at 60% 40%, rgba(139,69,19,0.18), transparent 30%),
                linear-gradient(135deg, rgba(44,24,16,0.35), rgba(139,69,19,0.05));
}

.explore-bg {
    /* remove embedded white rectangle SVG to avoid boxed background; retain subtle dark gradient */
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.55), rgba(139, 69, 19, 0.08));
}

.shop-bg {
    /* remove embedded rectangle SVG; keep a warm gradient */
    background: linear-gradient(135deg, rgba(139,69,19,0.28), rgba(44,24,16,0.06));
}

.connect-bg {
    /* simplified connect hero background */
    background: linear-gradient(135deg, rgba(139,69,19,0.32), rgba(44,24,16,0.08));
}


/* Buttons */
.cta-button,
.submit-btn,
.product-btn,
.read-more-btn {
    background: var(--color-accent);
    color: var(--color-base);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--color-shadow);
}

.cta-button:hover,
.submit-btn:hover,
.product-btn:hover,
.read-more-btn:hover {
    background: var(--color-text);
    color: var(--color-base);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-shadow);
}

/* Cards & Grid Layouts */
.highlights {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--color-soft) 0%, var(--color-base) 100%);
    position: relative;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.highlight-card {
    background: var(--color-soft);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 0, 110, 0.2);
    position: relative;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 0, 110, 0.4);
    border-color: var(--color-accent);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.premium-blends {
    background: linear-gradient(rgba(255, 0, 110, 0.5), rgba(131, 56, 236, 0.5)), 
                url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=800&fit=crop');
    background-size: cover;
    background-position: center;
}

.ambience {
    background: linear-gradient(rgba(131, 56, 236, 0.5), rgba(58, 134, 255, 0.5)), 
                url('https://images.unsplash.com/photo-1459749411175-04bf5292ceea?w=800&fit=crop');
    background-size: cover;
    background-position: center;
}

.craftsmanship {
    background: linear-gradient(rgba(58, 134, 255, 0.5), rgba(255, 0, 110, 0.5)), 
                url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=800&fit=crop');
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-base);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.1), transparent);
    border-radius: 50%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--color-soft);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 0, 110, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 110, 0.4);
    border-color: var(--color-accent);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-serif);
    line-height: 1;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--color-text);
}

/* Story Section (About Page) */
.story-section {
    padding: var(--section-padding) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 2rem;
}

.story-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 0, 110, 0.4), rgba(131, 56, 236, 0.4)), 
                url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=800&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: 600;
}

.founder-image {
    background: linear-gradient(rgba(255, 0, 110, 0.3), rgba(131, 56, 236, 0.3)), 
                url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?w=800&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Blog and Article Images */
/* Product images for shop page */
.image-placeholder.product-1 {
    background: url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?w=400&h=300&fit=crop') !important;
    background-size: cover !important;
    background-position: center !important;
}

.image-placeholder.product-2 {
    background: url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?w=400&h=300&fit=crop') !important;
    background-size: cover !important;
    background-position: center !important;
}

.image-placeholder.product-3 {
    background: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=400&h=300&fit=crop') !important;
    background-size: cover !important;
    background-position: center !important;
}

.image-placeholder.product-4 {
    background: url('https://images.unsplash.com/photo-1506157786151-b8491531f063?w=400&h=300&fit=crop') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Additional Blog/Article Images */
.blog-img-1 {
    background-image: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=400&h=300&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-img-2 {
    background-image: url('https://images.unsplash.com/photo-1459749411175-04bf5292ceea?w=400&h=300&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-img-3 {
    background-image: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=400&h=300&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-img-4 {
    background-image: url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?w=400&h=300&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-img-5 {
    background-image: url('https://images.unsplash.com/photo-1506157786151-b8491531f063?w=400&h=300&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-img-6 {
    background-image: url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?w=400&h=300&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Featured image for explore page - Ethiopian Single-Origin Coffee */
.featured-img {
    background-image: url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Timeline */
.timeline-section {
    padding: var(--section-padding) 0;
    background: var(--color-soft);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    background: var(--gradient-primary);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.4);
}

.timeline-content {
    background: var(--color-base);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 110, 0.2);
}

/* Values Grid */
.values-section {
    padding: var(--section-padding) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--color-soft);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.4);
    border-color: var(--color-accent);
}

/* Blog Grid (Explore Page) */
.featured-article {
    padding: var(--section-padding) 0;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--color-base);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 320px;
}

.featured-content {
    padding: 1.25rem;
}

/* Reduce featured section title and subtitle sizes to make the block more compact */
.featured-content h2 {
    font-size: 1.75rem; /* averaged up between global and previous featured size */
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.featured-content p {
    font-size: 0.98rem; /* slightly larger to balance with title */
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .featured-content h2 {
        font-size: 1.5rem;
    }

    .featured-content p {
        font-size: 0.95rem;
    }
}

.article-category {
    background: var(--color-accent);
    color: var(--color-base);
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.65rem; /* slightly reduced gap */
}

@media (max-width: 640px) {
    .article-category {
        margin-bottom: 0.55rem;
        padding: 0.36rem 0.72rem;
        font-size: 0.8rem;
    }
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.blog-grid-section {
    padding: var(--section-padding) 0;
    background: var(--color-soft);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--color-base);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
}

/* Blog image styles moved to dedicated section at end of file */

.blog-content {
    padding: 2rem;
}

/* Slightly reduce fonts in Latest Articles cards to match featured compactness */
.blog-content h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.9rem;
}

@media (max-width: 640px) {
    .blog-content h3 {
        font-size: 1.1rem;
    }

    .blog-content p {
        font-size: 0.95rem;
    }
}

.read-more {
    color: var(--color-accent);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.read-more:hover {
    border-bottom-color: var(--color-accent);
}

/* Themed filled CTA for the Explore more / Show less button */
.explore-more-wrapper .read-more {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-base);
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(44, 24, 16, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.explore-more-wrapper .read-more:hover,
.explore-more-wrapper .read-more:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(44, 24, 16, 0.18);
    outline: none;
}

@media (max-width: 640px) {
    .explore-more-wrapper .read-more {
        padding: 0.55rem 0.9rem;
        font-size: 0.95rem;
    }
}

/* Newsletter */
.newsletter-section {
    padding: var(--section-padding) 0;
    background: var(--color-text);
    color: var(--color-base);
    text-align: center;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--color-accent);
    color: var(--color-base);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* Shop Page */
.shop-intro {
    padding: var(--section-padding) 0;
    text-align: center;
}

.shopify-section {
    padding: var(--section-padding) 0;
    background: var(--color-soft);
}

.shopify-container {
    max-width: 1200px;
    margin: 0 auto;
}

.shopify-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shopify-iframe-wrapper {
    width: 100%;
    height: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.shopify-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--color-base);
}

.shop-fallback {
    display: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-base);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
}

.product-info {
    padding: 2rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    display: block;
    margin: 1rem 0;
}

.shop-benefits {
    padding: var(--section-padding) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    padding: var(--section-padding) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background: var(--color-soft);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 110, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 0, 110, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--color-base);
    color: var(--color-text);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.4);
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.map-section {
    padding: var(--section-padding) 0;
    background: var(--color-soft);
}

.map-wrapper {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
}

.day {
    font-weight: 600;
    color: var(--color-text);
}

.time {
    color: var(--color-text-light);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--color-soft) 0%, var(--color-base) 100%);
    color: var(--color-text);
    padding: 3rem 0 1rem;
    position: relative;
    border-top: 1px solid rgba(255, 0, 110, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 8px rgba(255, 0, 110, 0.6);
    padding-left: 5px;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--color-text);
    border-radius: 50%;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.social-links a:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.5);
}

/* Icon Styling */
.contact-item h3 i,
.card-content h3 i {
    margin-right: 0.5rem;
    color: var(--color-accent);
}

.benefit-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: var(--color-accent);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 110, 0.2);
    color: var(--color-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }
    
    .nav-left,
    .nav-right {
        display: none;
    }
    
    .nav-center {
        flex: 1;
        text-align: center;
    }
    
    .nav-container {
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .page-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .highlights-grid,
    .testimonials-grid,
    .values-grid,
    .blog-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content,
    .featured-card,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .card-content,
    .blog-content,
    .product-info {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-base: #FFFFFF;
        --color-text: #000000;
        --color-accent: #CC4400;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-button,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        height: auto;
        page-break-after: always;
    }
}

/* Interactive Map and Address Styles */
.address-link {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    padding: 0.5rem 0;
}

.address-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: var(--color-base);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directions-btn:hover {
    background: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-text);
    color: var(--color-base);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(62, 39, 35, 0.2);
}

.map-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-shadow);
}

/* Responsive adjustments for map actions */
@media (max-width: 640px) {
    .map-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .map-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .directions-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

.footer .social-links i {
  margin-right: 8px;
  color: white; /* Coffee color */
  transition: color 0.3s ease;
  width: 10px;
  height: 10px
}
.social-links li a{
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .social-links a:hover i {
  color: rgb(191, 183, 183); /* Light coffee tone on hover */
}
