/* CSS Variables for Brand Colors */
:root {
    --primary-color: #661414; /* Dark Burgundy */
    --secondary-color: #aa1715; /* Bright Red */
    --white: #ffffff;
    --black: #000000;
    --light-bg: #f9f9f9;
    --dark-bg: #111111;
    --text-color: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--black);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

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

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

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

.text-white {
    color: var(--white) !important;
}

.text-light {
    color: #cccccc;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 20, 20, 0.3);
}

.btn-primary-small {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-primary-small:hover {
    background-color: var(--secondary-color);
}

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

.btn-social {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-social:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-social i {
    margin-right: 8px;
}

/* Header */
#main-header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--black);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/images/maison-bg.jpg'); /* Fallback / General Spa img */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(102, 20, 20, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    font-style: italic;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.values-list li {
    background: var(--light-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Activities Section */
.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.pillar-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-10px);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(102, 20, 20, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pillar-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-block {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.bg-sothys { background-image: url('assets/images/sothys-bg.jpg'); background-size: cover; background-position: center; }
.bg-perron { background-image: url('assets/images/perron-bg.jpg'); background-size: cover; background-position: center; }
.bg-school { background-image: url('assets/images/school-bg.jpg'); background-size: cover; background-position: center; }
.bg-maison { background-image: url('assets/images/maison-bg.jpg'); background-size: cover; background-position: center; }

.block-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    transition: var(--transition);
}

.detail-block:hover .block-overlay {
    background: linear-gradient(to top, rgba(102, 20, 20, 0.9), rgba(0,0,0,0.3));
}

.block-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
}

.block-content h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.view-more {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.detail-block:hover .view-more {
    opacity: 1;
    transform: translateY(0);
}

/* Why Join Us Section */
.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.process-wrapper {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-text h4 {
    margin-bottom: 5px;
}

/* Contact Section */
.contact-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 20, 20, 0.1);
}

/* Footer */
footer {
    background: #0a0a0a;
    color: #888;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.modal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.modal-header h2 {
    color: var(--white);
    margin: 0;
}

.modal-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-body {
    padding: 0;
}

.modal-text {
    padding: 40px;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.subtitle-highlight {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 20px;
}

.partner-list {
    columns: 2;
    column-gap: 40px;
    margin-top: 20px;
}

.partner-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    break-inside: avoid;
}

.partner-social-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.partner-link {
    display: block;
    background: var(--light-bg);
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 500;
}

.partner-link i {
    color: #1877F2; /* Facebook Blue */
    margin-right: 10px;
}

.partner-link:hover {
    background: var(--primary-color);
    color: var(--white);
}
.partner-link:hover i {
    color: var(--white);
}

.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Logos */
.logo-link {
    display: flex;
    align-items: center;
}
.header-logo {
    height: 40px;
    margin-right: 12px;
}
.entity-logo-grid {
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}
.modal-entity-logo {
    height: 60px;
    object-fit: contain;
}

/* Partner Cards Wrapper */
.partner-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.partner-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.region-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(102, 20, 20, 0.1);
    padding-bottom: 10px;
}

.partner-card-list {
    list-style: none;
    padding: 0;
}

.partner-card-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.partner-card-list li span {
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .join-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .burger-menu {
        display: block;
    }
    
    .pillars-grid, .blocks-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-list, .partner-social-list {
        columns: 1;
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
