/* Ateliers d'Écriture - Modern Airbnb-Inspired Styles CSS */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Figtree:ital,wght@0,300..900;1,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Raleway:ital,wght@0,100..900;1,100..900&family=Sanchez:ital@0;1&display=swap');


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

:root {
    /* Color Palette - Green base with modern neutrals, inspired by Airbnb's clean, vibrant yet subtle aesthetic */
    --primary-color: #4E8053;    /* Base green */
    --secondary-color: #6B9B73;  /* Lighter green for accents */
    --accent-color: #A8D5BA;     /* Soft green tint */
    --success-color: #4E8053;    /* Reuse primary for success */
    --warning-color: #F4A261;    /* Warm orange for warnings */
    --error-color: #E76F51;      /* Soft red for errors */
    
    --text-primary: #1F2937;     /* Dark gray for primary text */
    --text-secondary: #6B7280;   /* Medium gray for secondary */
    --text-muted: #9CA3AF;       /* Light gray for muted */
    
    --bg-primary: #FFFFFF;       /* Clean white background */
    --bg-secondary: #F9FAFB;     /* Very light gray for secondary */
    --bg-card: #FFFFFF;          /* White cards */
    
    --border-color: #E5E7EB;     /* Light border */
    --border-radius: 12px;       /* Softer, larger radius like Airbnb */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* Subtle shadow */
    --shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Hover shadow */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Larger for heroes */
    
    /* Typography - Sans-serif for modern feel */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    --line-height-tight: 1.25;
    --line-height-base: 1.5;
    --line-height-loose: 1.75;
    
    /* Spacing - Generous whitespace like Airbnb */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
}

/* Admin-specific styles */
.stat {
    font-size: var(--font-size-4xl);
    font-weight: 700;
}

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

.flex {
    display: flex;
}

.gap-4 {
    gap: var(--space-4);
}

.gap-8 {
    gap: var(--space-8);
}

.space-y-4 > * + * {
    margin-top: var(--space-4);
}

.w-full {
    width: 100%;
}

/* Admin inscriptions enhancements */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-xl { font-size: var(--font-size-xl); }
.text-sm { font-size: var(--font-size-sm); }
.font-bold { font-weight: 700; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success-color); }
.text-left { text-align: left; }
.w-full { width: 100%; }
.max-w-xs { max-width: 20rem; }
.max-h-16 { max-height: 4rem; }
.overflow-y-auto { overflow-y: auto; }
.leading-tight { line-height: 1.25; }
.hover\:bg-gray-50:hover { background-color: var(--bg-secondary); }
.transition-colors { transition: background-color 0.2s ease; }
.inline-block { display: inline-block; }
.block { display: block; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.overflow-x-auto { overflow-x: auto; }
.table-container { background: var(--bg-card); border-radius: var(--border-radius); box-shadow: var(--shadow); }
.table th { background-color: var(--bg-secondary); font-weight: 600; color: var(--text-primary); }
.table td { border-bottom: 1px solid var(--border-color); }
.status-select { padding: var(--space-2); border: 1px solid var(--border-color); border-radius: var(--border-radius); background: white; cursor: pointer; }
.status-select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(78, 128, 83, 0.1); }
.comment-preview { font-size: var(--font-size-sm); }
@media (max-width: 768px) {
    .flex { flex-direction: column; }
    .gap-2, .gap-3, .gap-4 { gap: var(--space-2); }
    .grid-2 { grid-template-columns: 1fr; }
    .table { font-size: 0.875rem; }
    .table th, .table td { padding: var(--space-2); }
}
@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Typography - Bold headings with better hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

a:hover {
    color: var(--secondary-color);
}

/* Container - Centered with more padding */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Header - Sticky, clean nav like Airbnb */
.header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 300;
    box-shadow: var(--shadow);
}

.nav {
    padding: var(--space-4) 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: var(--font-size-2xl);
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 400;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--space-8);
}
/* Base nav link styling */
.nav-link {
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* Hover effect: underline animation + subtle bg fade */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; /* slightly above the padding bottom */
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05); /* subtle highlight */
}

.nav-link:hover::after {
    width: 60%; /* underline expands on hover */
}

/* Optional: smooth background transition */
.nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}


.admin-link {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: var(--border-radius);
    padding: var(--space-2) var(--space-4);
}

.admin-link:hover {
    background-color: var(--secondary-color);
}
/* Dropdown - Subtle and modern */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 101;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
}

/* Mobile Navigation - Hamburger with smooth animation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--space-1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: var(--space-4);
    }
}


.special-event-section {
    width: 100%;
    position: relative;
    margin-bottom: 4rem;
    border-radius: 1rem;

}

.special-event-swiper {
    width: 100%;
    height: 90vh;
    border-radius: 1rem;
}

.special-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
    position: relative;
}

.special-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.special-event-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 4rem;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 1rem 0 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.special-event-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.special-event-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* --- Swiper Pagination --- */
.special-event-swiper .swiper-pagination {
    bottom: 30px !important;
    text-align: center;
}

.special-event-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.special-event-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

/* --- Swiper Navigation Buttons --- */
.special-event-swiper .swiper-button-prev,
.special-event-swiper .swiper-button-next {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.special-event-swiper .swiper-button-prev:hover,
.special-event-swiper .swiper-button-next:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* Positioning - centered vertically */
.special-event-swiper .swiper-button-prev {
    left: 20px;
}

.special-event-swiper .swiper-button-next {
    right: 20px;
}

/* Make arrows larger & smoother */
.special-event-swiper .swiper-button-prev::after,
.special-event-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .special-event-swiper .swiper-button-prev,
    .special-event-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.25);
    }

    .special-event-swiper .swiper-pagination {
        bottom: 20px !important;
    }
}

/* Main Content - More breathing room */
.main {
    min-height: calc(100vh - 200px);
}


.atelier-ecriture{
    margin-bottom: 4rem;
}/* Hero Section - Full-width, immersive like Airbnb search */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%);
    color: white;
    padding: var(--space-24) 0;
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
    overflow: hidden;
    height: 90vh;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/book.avif') center/cover no-repeat;
    opacity: 0.9; /* slightly darker for readability */
    filter: brightness(0.6); /* darkens image for text contrast */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-4);
}

.hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, var(--font-size-5xl)); /* responsive font */
    margin-bottom: var(--space-6);
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* subtle shadow for readability */
}

.hero p {
    font-size: clamp(1rem, 2.5vw, var(--font-size-xl));
    margin-bottom: var(--space-8);
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero a.btn {
    font-size: var(--font-size-lg);
    padding: var(--space-3) var(--space-6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
/* Fade-in from top animation */
@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-4);
    animation: fadeInTop 1s ease-out forwards;
    opacity: 0; /* start hidden, fadeInTop will show it */
}

/* Optional: stagger child elements for smoother effect */
.hero-container h1,
.hero-container p,
.hero-container a.btn {
    opacity: 0;
    animation: fadeInTop 1s ease-out forwards;
}

.hero-container h1 {
    animation-delay: 0.3s;
}

.hero-container p:nth-of-type(1) {
    animation-delay: 0.6s;
}

.hero-container p:nth-of-type(2) {
    animation-delay: 0.9s;
}

.hero-container a.btn {
    animation-delay: 1.2s;
}

.quote-section {
    position: relative;
    background: url('./img/hero.avif') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-16) 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.363);
    /* dark overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.quote-section p{
    z-index: 2;
    color: white;
    font-size: var(--font-size-2xl);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: "Cormorant Garamond", serif;

}

.quote-section  p::before,
.quote-section  p::after {
    content: '"';
    font-size: 2em;
    margin: 0 0.1em;
}
/* Buttons - Rounded, elevated on hover like Airbnb CTAs */
.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: var(--font-size-base);
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-error {
    background-color: var(--error-color);
    color: white;
}

/* Cards - Prominent, with generous padding and subtle hover lift */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 250px; /* Taller for better visual */
    object-fit: cover;
}

.card-content {
    padding: var(--space-8);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.card-meta {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

/* Badges - Pill-shaped, colorful accents */
.badge {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    border-radius: 9999px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bg-green-100 { background-color: rgba(78, 128, 83, 0.1); color: var(--primary-color); }
.bg-blue-100 { background-color: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.bg-purple-100 { background-color: rgba(147, 51, 234, 0.1); color: #9333EA; }
.bg-red-100 { background-color: rgba(239, 68, 68, 0.1); color: #EF4444; }
.bg-gray-100 { background-color: rgba(156, 163, 175, 0.1); color: var(--text-secondary); }

/* Grid - Responsive, Airbnb-like masonry feel */
.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Forms - Clean inputs with focus states */
.form-group {
    margin-bottom: var(--space-8);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: all 0.2s ease;
    background-color: var(--bg-card);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 128, 83, 0.1);
    transform: translateY(-1px);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.form-check input {
    margin: 0;
    accent-color: var(--primary-color);
}

/* Modal - Full-screen overlay like Airbnb modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto;
    padding: var(--space-8);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.close {
    color: var(--text-muted);
    font-size: var(--font-size-3xl);
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    border: none;
    background: none;
}

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

/* Flash Messages - Toast-like, positioned top */
.flash-message {
    padding: var(--space-4);
    margin: var(--space-6) auto var(--space-8);
    max-width: 1280px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.flash-success {
    background-color: rgba(78, 128, 83, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(78, 128, 83, 0.2);
}

.flash-error {
    background-color: rgba(231, 111, 81, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(231, 111, 81, 0.2);
}

.flash-warning {
    background-color: rgba(244, 162, 97, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(244, 162, 97, 0.2);
}

/* Tables - Clean, striped subtly */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.table tr:hover {
    background-color: rgba(78, 128, 83, 0.05);
}

/* Bio Section - Flex with better image handling */
.bio {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
}

.bio-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.bio-content{
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.bio-content p {
    text-align: justify;
}

.bio-content h1 {
    margin-bottom: var(--space-6);
    font-family: "Cormorant Garamond", serif;
    color: #4E8053;
}

.bio-milestones {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bio-milestones ul {
    list-style: none;
    padding-left: 0;
}
.bio-milestones h3{
    font-family: "Cormorant Garamond", serif;    
    color: #4E8053;


}
.bio-milestones li {
    padding: var(--space-3) 0;
    border-left: 3px solid var(--primary-color);
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    text-align: justify;

}
.bio-content-p{
    align-self: flex-start;
}
@media (max-width: 768px) {
    .bio {
        flex-direction: column;
        text-align: center;
        gap: var(--space-8);
    }
    
    .bio-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Workshop Detail - Hero image with overlay */
.workshop-header {
    position: relative;
    height: 500px; /* Taller for immersion */
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--space-12);
}

.workshop-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: var(--space-12);
}

.workshop-info {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-12);
}

.workshop-content {
    background: var(--bg-card);
    padding: var(--space-12);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.workshop-sidebar {
    background: var(--bg-card);
    padding: var(--space-8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .workshop-info {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .workshop-sidebar {
        position: static;
        order: -1;
    }
}

/* Map iframe - Embedded cleanly */
.map-container {
    margin: var(--space-8) 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px; /* Taller map */
    border: none;
}

/* Footer - Darker, more structured like Airbnb footer */
.footer {
    background-color: #111827; /* Dark gray */
    color: white;
    padding: var(--space-16) 0 var(--space-8);
    margin-top: var(--space-24);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--space-6);
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.social-icon {
    font-size: var(--font-size-xl);
    opacity: 0.7;
    transition: opacity 0.2s ease;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

.footer-social a:hover .social-icon {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: var(--space-2) 0;
    color: inherit;
}

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

.footer-bottom a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

/* Utility Classes - Enhanced for flexibility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-12 { padding: var(--space-12); }

.sticky-bottom {
    position: sticky;
    bottom: var(--space-4);
    z-index: 50;
}

.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;
}
/* Additional classes for homepage enhancements */

.text-lg {
    font-size: var(--font-size-lg);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-2xl {
    font-size: var(--font-size-2xl);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

/* Feature section - Subtle background with rounded corners */
.feature-section {
    background: var(--bg-secondary);
    padding: var(--space-12);
    border-radius: var(--border-radius);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Feature icons - Larger, centered with subtle shadow */
.feature-icon {
    font-size: var(--font-size-5xl);
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    border-radius: 50%;
    background: rgba(78, 128, 83, 0.1);
    color: var(--primary-color);
    box-shadow: var(--shadow);
    margin: 0 auto;
}

/* CTA buttons - Flex layout for responsive wrapping */
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .feature-section {
        padding: var(--space-8);
    }

    .grid-3 {
        gap: var(--space-6);
    }
}