/* css/styles.css - Final Comprehensive Design matching coffeeshopderodeleeuw.nl */
:root {
    --primary: #c41e3a; 
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-tan: #c5b0a3; 
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 2000;
    padding: 0.1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.nav-links {
    display: flex;
    gap: 5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
}

.logo-container {
    margin: 0 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 100px; /* Standard fixed height */
    width: auto;
    max-width: 350px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

nav.scrolled .logo-img {
    height: 70px; /* Scaled down slightly when scrolled */
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        padding: 0.5rem;
    }
    .nav-links {
        gap: 1rem;
        font-size: 0.65rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo-container {
        margin: 0.2rem 0;
        order: -1; /* Put the logo at the top on mobile */
    }
    .logo-img {
        height: 100px; /* Sensible max height for mobile phones */
    }
    nav.scrolled .logo-img {
        height: 80px;
    }
}

/* Full Height Sections */
.full-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.section-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.small-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem); 
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-subtext {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog & Gallery Heros */
.hero {
    height: 85vh;
    background: #000;
    position: relative;
    display: flex;
    align-items: flex-end; /* Align towards bottom */
    padding-bottom: 25vh;  /* Pushed up further from the bottom */
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.blog-hero, .gallery-hero {
    height: 85vh; /* Unified height */
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.blog-hero-bg, .gallery-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.btn-black {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: var(--transition);
}

.blog-hero-bg, .gallery-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}
.blog-list-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.blog-item {
    display: flex;
    gap: 4rem;
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.blog-item-image {
    flex: 0 0 450px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
}

/* Gallery Grid - Seamless "No White Space" */
.gallery-section {
    padding: 2rem 0;
}

.gallery-grid {
    column-count: 3;
    column-gap: 0.5rem;
    padding: 0 0.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.gallery-filter-bar {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.filter-chip {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.filter-chip.active {
    color: var(--text-dark);
    border-bottom-color: var(--primary);
}

/* Standardized Site Footer */
.site-footer {
    padding: 6rem 0 4rem;
    background: #111;
    color: #666;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Location Section - Matches Reference */
.location-section {
    background-color: var(--bg-tan);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 2000px;
}

.map-card {
    background: none;
    padding: 0;
    margin: 2rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: rotateY(15deg) rotateX(5deg);
    transition: var(--transition);
}

.map-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.map-card iframe {
    width: 100%;
    height: 500px;
    display: block;
    border: 0;
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #4a3a30;
}

.location-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: block;
}

.location-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2a1a10;
    font-weight: 700;
}

.location-details p {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4a3a30;
}

.location-details p strong {
    color: #2a1a10;
}

/* Sync Footer Styles */
.site-footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
@media(max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.footer-col {
    text-align: center;
}
.footer-col h3 {
    color: #cca660;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.footer-col p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
}
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-item:hover {
    color: #cca660;
}
.social-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.85rem;
}
