/* -------------------------------------------------------------
   Gezinshuis Meerplaats - Design System & Styling
   ------------------------------------------------------------- */

/* Custom properties & design tokens */
:root {
    /* Color Palette */
    --primary-color: #117cb7;
    --primary-light: #e4f2fa;
    --primary-dark: #0e4a77;
    --secondary-color: #c28b43;
    --secondary-light: #f6ecdc;
    --secondary-dark: #8c6126;
    --text-color: #2b2d2f;
    --text-muted: #666a6d;
    --bg-color: #ffffff;
    --bg-light: #fbfbfa;
    --bg-tint: #f0f7fa;
    --border-color: #e5e8ea;
    
    /* Shadows */
    --shadow-small: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 12px 30px rgba(17, 124, 183, 0.08);
    --shadow-large: 0 20px 48px rgba(0, 0, 0, 0.08);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Border Radius */
    --radius-small: 6px;
    --radius-medium: 12px;
    --radius-large: 24px;
    --radius-round: 50%;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-tint {
    background-color: var(--bg-tint);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.max-w-xl {
    max-width: 750px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-sm { margin-top: 15px; }
.mt-md { margin-top: 30px; }
.mt-lg { margin-top: 50px; }

.accent-text {
    color: var(--primary-color);
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.section-title {
    margin-bottom: 20px;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    margin-bottom: 30px;
}

.accent-bar.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-medium);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 133, 196, 0.2);
}

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

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-small);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-small);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: height var(--transition-normal);
}

.site-header.scrolled .header-container {
    height: 75px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 72px;
    width: auto;
    transition: height var(--transition-normal);
}

.site-header.scrolled .header-logo {
    height: 60px;
}

.logo-text {
    /* Screen reader only - hide visually as text is inside the SVG logo */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
}

.site-header.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.site-header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.btn-nav {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff !important;
    border-radius: var(--radius-small);
    padding: 8px 16px !important;
    transition: all var(--transition-fast);
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff !important;
}

.btn-nav::after {
    display: none;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    z-index: 1010;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 650px;
    position: relative;
    background-image: url('assets/huis_sneeuw-800.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-section {
        background-image: url('assets/huis_sneeuw-1200.webp');
    }
}

@media (min-width: 1200px) {
    .hero-section {
        background-image: url('assets/huis_sneeuw-optimized.webp');
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 74, 119, 0.85) 0%, rgba(19, 133, 196, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 90px;
}

.hero-content {
    max-width: 650px;
}

.hero-tagline {
    display: inline-block;
    color: var(--secondary-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.hero-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

.wave-flip {
    transform: rotate(180deg);
    bottom: auto;
    top: -1px;
}

/* Over Ons */
.image-wrapper {
    position: relative;
    padding-bottom: 30px;
    padding-right: 30px;
}

.rounded-image {
    border-radius: var(--radius-large);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-large);
}

.main-family-img {
    height: 480px;
}

.image-accent-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 24px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-large);
    display: flex;
    flex-direction: column;
}

.accent-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}

.accent-card-sub {
    font-size: 0.85rem;
    opacity: 0.9;
}

.team-meta {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.team-member-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.team-member-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-small);
    border-color: var(--primary-light);
}

.read-more-btn {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 4px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    object-fit: cover;
    object-position: center top;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-small);
}

.team-member-card strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--primary-dark);
}

.team-member-card span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Cards (Missie & Visie) */
.card {
    background-color: #ffffff;
    border-radius: var(--radius-medium);
    padding: 40px;
    box-shadow: var(--shadow-small);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.color-primary {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.color-secondary {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

.color-accent {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.card-icon {
    width: 32px;
    height: 32px;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Panel Row with Dog image */
.rounded-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-small);
}

.panel-content-padding {
    padding: 50px;
}

.panel-content-padding h3 {
    margin-bottom: 20px;
}

.panel-image-wrapper {
    position: relative;
}

.panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkmark-list {
    list-style: none;
    margin-top: 25px;
}

.checkmark-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.checkmark-icon {
    width: 20px;
    height: 20px;
    color: #2e7d32;
    flex-shrink: 0;
}

/* Doelgroep Section */
.doelgroep-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.doelgroep-item {
    display: flex;
    gap: 20px;
}

.item-number {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    background-color: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.item-text h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.item-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.info-card {
    background-color: #ffffff;
    border-radius: var(--radius-medium);
    padding: 40px;
    border-top: 6px solid var(--secondary-color);
}

.info-card h3 {
    margin-bottom: 15px;
}

.criteria-list {
    list-style: none;
    margin-top: 20px;
}

.criteria-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.criteria-list li span {
    line-height: 1.4;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #2e7d32;
    flex-shrink: 0;
}

.cross-icon {
    width: 20px;
    height: 20px;
    color: #c62828;
    flex-shrink: 0;
}

.vacancy-notice {
    background-color: var(--bg-tint);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.vacancy-notice > strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.vacancy-notice p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Galerij Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-small);
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(14, 74, 119, 0.9) 0%, rgba(14, 74, 119, 0) 100%);
    padding: 30px 20px 20px;
    color: #ffffff;
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-caption h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.8;
}

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

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Kwaliteit & Logos */
.logo-grid {
    align-items: stretch;
}

.logo-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-small);
    transition: transform var(--transition-normal);
}

.logo-card:hover {
    transform: translateY(-3px);
}

.logo-img-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.keurmerk-logo-img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.logo-card h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.logo-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Contact Section & Form */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.detail-text a {
    color: var(--text-color);
}

.detail-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 40px;
}

.form-title {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(19, 133, 196, 0.15);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Map Card */
.map-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
}

.map-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info h3 {
    margin-bottom: 15px;
}

.map-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.map-visual-placeholder {
    height: 100%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

/* Footer Styling */
.site-footer {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding-top: 80px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h4,
.footer-contact-info h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 4px;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info a:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    background-color: #0b3758;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
}

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

/* Animations / Scroll Reveal */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer animated classes */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal {
    transform: translateY(30px);
}

.scroll-reveal-left {
    transform: translateX(-40px);
}

.scroll-reveal-right {
    transform: translateX(40px);
}

.scroll-reveal.active,
.scroll-reveal-left.active,
.scroll-reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .grid-2 { gap: 40px; }
    .grid-3 { gap: 20px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .main-family-img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section { padding: 70px 0; }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .rounded-panel {
        grid-template-columns: 1fr;
    }
    
    .panel-image-wrapper {
        height: 260px;
    }
    
    .panel-content-padding {
        padding: 30px;
    }
    
    .map-card {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        padding: 30px;
        order: 2;
    }
    
    .map-visual-placeholder {
        height: 200px;
        order: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }
    
    .footer-links ul {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* Navigation Hamburger Menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 50px 24px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }
    
    .site-header.scrolled .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        color: var(--text-color) !important;
        font-size: 1.25rem;
    }
    .hamburger-bar {
        background-color: var(--text-color);
    }
    
    /* Hamburger Transform to X */
    .menu-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .site-header.menu-open-header {
        background-color: #ffffff !important;
    }
    
    .site-header.menu-open-header .logo-text {
        color: var(--primary-dark) !important;
    }
    
    .site-header.menu-open-header .hamburger-bar {
        background-color: var(--text-color) !important;
    }
    
    .btn-nav {
        border-color: var(--primary-color);
        background-color: var(--primary-color);
        color: #ffffff !important;
        width: 100%;
        text-align: center;
        max-width: 250px;
    }
    
    .image-wrapper {
        padding-right: 0;
        padding-bottom: 0;
    }
    
    .image-accent-card {
        position: relative;
        margin-top: -30px;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Modals / Profile Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 55, 88, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: #ffffff;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
    width: 100%;
    max-width: 680px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 5px;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: start;
}

.modal-image-wrapper {
    width: 180px;
}

.modal-avatar {
    width: 100%;
    height: 240px;
    border-radius: var(--radius-medium);
    object-fit: cover;
    object-position: center top;
    box-shadow: var(--shadow-small);
}

.modal-subtitle {
    display: block;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.modal-text-content h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.modal-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-badge {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.modal-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.modal-paragraph:last-child {
    margin-bottom: 0;
}

/* Responsive styles for modals */
@media (max-width: 640px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .modal-image-wrapper {
        margin: 0 auto;
    }
    
    .modal-avatar {
        height: 180px;
        width: 180px;
        border-radius: var(--radius-round);
    }
    
    .modal-badge-container {
        justify-content: center;
    }
    
    .modal-card {
        padding: 30px 20px;
    }
}
