/* ENSŌ Rural Glassmorphism Design System */

/* ===================================
   TYPOGRAPHY
   =================================== */

/* Headlines gebruik Tenor Sans */
h1, h2, h3,
.h1, .h2, .h3 {
    font-family: 'Tenor Sans', serif;
    letter-spacing: 0.5px;
    color: var(--clay-brown);
}

h4, h5, h6, .subheadline,
.h4, .h5, .h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--clay-brown);
}

/* Body text gebruik Raleway ExtraLight */
body {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    color: #000000;
    background-color: var(--soft-cream);
}

p, .lead {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    color: #000000;
}

.quote {
    font-family: 'Brittany', cursive;
    font-style: italic;
}

/* ===================================
   GLASSMORPHISM CARDS
   =================================== */

.glass-card {
    background: rgba(244, 242, 238, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(58, 42, 33, 0.1);
}

.card {
    border-radius: 1.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(58, 42, 33, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(58, 42, 33, 0.12);
}

/* Space cards met glassmorphism */
.space-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(110, 127, 101, 0.1);
}

.space-card img {
    border-radius: 1.5rem 1.5rem 0 0;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Tenor Sans', serif;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--deep-forest);
    color: white;
    box-shadow: 0 4px 12px rgba(63, 78, 65, 0.3);
}

.btn-primary:hover {
    background-color: var(--clay-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(58, 42, 33, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--deep-forest);
    color: var(--deep-forest);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--deep-forest);
    color: white;
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--clay-brown);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* ===================================
   FORMS & INPUTS
   =================================== */

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(110, 127, 101, 0.2);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--clay-brown);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--earthy-sage);
    box-shadow: 0 0 0 0.25rem rgba(110, 127, 101, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: rgba(58, 42, 33, 0.5);
    font-weight: 200;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, var(--warm-sand) 0%, var(--soft-cream) 100%);
    padding: 4rem 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-glass-overlay {
    background: rgba(244, 242, 238, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(58, 42, 33, 0.1);
}

/* ===================================
   SEARCH MODULE
   =================================== */

#search-form .card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(58, 42, 33, 0.15);
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background: rgba(244, 242, 238, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(110, 127, 101, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar-brand,
.nav-link {
    color: var(--clay-brown) !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--earthy-sage) !important;
}

/* ===================================
   FOOTER
   =================================== */

footer.footer {
    background-color: var(--clay-brown) !important;
    color: var(--soft-cream) !important;
}

footer.footer h6 {
    color: var(--warm-sand) !important;
    font-weight: 600;
}

footer.footer a {
    color: var(--soft-cream) !important;
    transition: color 0.3s ease;
}

footer.footer a:hover {
    color: var(--warm-sand) !important;
}

/* Override text-muted for footer */
footer.footer .text-muted {
    color: rgba(244, 242, 238, 0.8) !important;
}

footer.footer p {
    color: var(--soft-cream) !important;
}

footer.footer .small {
    color: rgba(244, 242, 238, 0.9) !important;
}

/* ===================================
   FEATURE CARDS
   =================================== */

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(110, 127, 101, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(58, 42, 33, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--earthy-sage), var(--deep-forest));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* ===================================
   ICON CIRCLE
   =================================== */

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--earthy-sage), var(--deep-forest));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--earthy-sage) 0%, var(--deep-forest) 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 0;
}

.cta-section h2 {
    color: white;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   ALERTS
   =================================== */

.alert {
    border-radius: 1rem;
    border: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.alert-success {
    background: rgba(110, 127, 101, 0.15);
    color: var(--deep-forest);
}

.alert-info {
    background: rgba(221, 210, 193, 0.3);
    color: var(--clay-brown);
}

.alert-warning {
    background: rgba(221, 210, 193, 0.4);
    color: var(--clay-brown);
}

/* ===================================
   MODAL
   =================================== */

.modal-content {
    background: rgba(244, 242, 238, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-header {
    border-bottom: 1px solid rgba(110, 127, 101, 0.1);
    border-radius: 2rem 2rem 0 0;
}

.modal-footer {
    border-top: 1px solid rgba(110, 127, 101, 0.1);
    border-radius: 0 0 2rem 2rem;
}

/* ===================================
   BADGES
   =================================== */

.badge {
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-weight: 300;
    font-family: 'Raleway', sans-serif;
}

.badge.bg-light {
    background-color: var(--warm-sand) !important;
    color: var(--clay-brown) !important;
}

/* ===================================
   SHADOWS & HOVER EFFECTS
   =================================== */

.shadow-sm {
    box-shadow: 0 2px 8px rgba(58, 42, 33, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(58, 42, 33, 0.12) !important;
}

.shadow-lg {
    box-shadow: 0 8px 32px rgba(58, 42, 33, 0.16) !important;
}

/* ===================================
   UTILITIES
   =================================== */

.bg-light {
    background-color: var(--soft-cream) !important;
}

.text-muted {
    color: rgba(58, 42, 33, 0.6) !important;
}

.text-primary {
    color: var(--earthy-sage) !important;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .hero-glass-overlay {
        padding: 2rem;
        border-radius: 1.5rem;
    }
    
    .glass-card {
        border-radius: 1rem;
    }
}
