/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #5f7821;
    --secondary-color: #acc164;
    --accent-color: #c2c6e3;
    --dark-color: #2c3e14;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    min-width: 320px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 120, 33, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 12px 30px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-size: 1rem;
    padding: 8px 16px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 Q300,60 600,30 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

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

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    animation: fadeInUp 1.2s ease;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeIn 1.5s ease;
}

.hero-image {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.05) rotate(2deg);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.overlap-content {
    position: relative;
}

.overlap-content .col-lg-7 {
    z-index: 2;
    position: relative;
}

.overlap-content .about-content,
.overlap-content .workshop-info,
.overlap-content .offer-list {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-left: -3rem;
}

/* ===== ABOUT SECTION ===== */
.about-image-box {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 1rem;
}

/* ===== WORKSHOP CARDS ===== */
.workshop-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid var(--accent-color);
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    border-top-color: var(--primary-color);
}

.workshop-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.workshop-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* ===== ADVANTAGES ===== */
.advantage-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.advantage-box:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ===== TRUST BADGES ===== */
.trust-badge {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trust-badge h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ===== WORKSHOP DETAIL ===== */
.workshop-detail {
    margin-bottom: 4rem;
}

.workshop-badge {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.workshop-features ul {
    list-style: none;
    padding: 0;
}

.workshop-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.workshop-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.workshop-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.detail-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* ===== ACCORDION ===== */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ===== EVENT TYPE CARDS ===== */
.event-type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.event-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.event-type-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.event-type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ===== OFFER LIST ===== */
.offer-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.offer-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.offer-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ===== PROCESS STEPS ===== */
.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ===== PACKAGES ===== */
.package-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.package-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.package-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* ===== TEAM MEMBERS ===== */
.team-member {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #ddd;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding: 0 1.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.team-member p {
    padding: 0 1.5rem 1rem;
}

.team-specialties {
    padding: 0 1.5rem 1.5rem;
}

.specialty-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 3px;
}

/* ===== VALUES & STATS ===== */
.value-card,
.stat-box {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(95, 120, 33, 0.15);
}

.contact-info-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: var(--white);
    opacity: 0.95;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

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

.footer i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.border-top {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    margin-right: 2rem;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===== SUCCESS PAGE ===== */
.success-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    font-size: 3rem;
    color: var(--white);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

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

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .overlap-content .about-content,
    .overlap-content .workshop-info,
    .overlap-content .offer-list {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

/* Mobile devices (576px - 767px) */
@media (max-width: 767px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
        min-height: 500px;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .workshop-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
}

/* Small mobile devices (320px - 575px) */
@media (max-width: 575px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .about-content,
    .workshop-info {
        padding: 2rem 1.5rem;
    }
    
    .workshop-card,
    .event-type-card,
    .package-card {
        padding: 1.5rem;
    }
    
    .team-photo {
        height: 250px;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Extra small devices (320px) */
@media (max-width: 320px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons .me-3 {
        margin-right: 0 !important;
    }
}
