/* --- DESIGN SYSTEM --- */
:root {
    --pri: #FAF5F5;
    --sec: #D4A5A5;
    --acc: #B07878;
    --dark: #5C4040;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Mulish', sans-serif;
}

/* --- GLOBAL STYLES & RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark);
    color: var(--pri);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--pri);
    line-height: 1.2;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.25rem; }

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

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--sec);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background-color: var(--sec);
    color: var(--dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--pri);
    border: 2px solid var(--acc);
}

.btn-secondary:hover {
    background-color: var(--acc);
    color: var(--pri);
}

/* --- CARDS --- */
.card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    height: 40px;
    margin-bottom: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: absolute;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}

header.header-sticky {
    position: fixed;
    background-color: rgba(92, 64, 64, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
}

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

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pri);
}

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

.nav-menu a {
    color: var(--pri);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sec);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--pri);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- HERO SPLIT --- */
.hero-split {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    color: var(--sec);
}

.hero-image-container {
    text-align: right;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

/* --- PARTNERS SECTION --- */
.partners-section {
    background-color: rgba(0,0,0,0.1);
}

.partners-title {
    text-align: center;
    font-weight: 600;
    color: var(--sec);
    margin-bottom: 30px;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logos img {
    max-height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logos img:hover {
    opacity: 1;
}

/* --- CTA SPLIT SECTION --- */
.cta-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.cta-split-container.reverse {
    grid-template-columns: 1fr 1fr;
}
.cta-split-container.reverse .cta-split-image { order: 2; }
.cta-split-container.reverse .cta-split-content { order: 1; }

.cta-split-image img {
    width: 100%;
    border-radius: 8px;
}

.cta-split-content h3 {
    color: var(--sec);
    margin-bottom: 1rem;
}

.cta-split-content p {
    margin-bottom: 2rem;
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- FOOTER --- */
.footer {
    background-color: rgba(0,0,0,0.2);
    padding-top: 60px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4, .footer-col h5 {
    margin-bottom: 15px;
    color: var(--pri);
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--sec);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(250, 245, 245, 0.1);
    color: var(--sec);
}

/* --- PAGE-SPECIFIC STYLES --- */

/* Generic Page Header */
.page-header {
    text-align: center;
    padding: 140px 0 60px;
    background-color: rgba(0,0,0,0.1);
}

.page-header p {
    color: var(--sec);
}

/* About Page */
.text-columns-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.text-column-image img { width: 100%; border-radius: 8px; }
.quote-section blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid var(--acc);
    padding-left: 30px;
}
.quote-section footer { font-family: var(--font-body); font-size: 1rem; color: var(--sec); margin-top: 1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.team-card { text-align: center; }
.team-card img { width: 100%; border-radius: 50%; margin-bottom: 15px; aspect-ratio: 1/1; object-fit: cover; }
.stats-section { background-color: rgba(0,0,0,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 3rem; color: var(--sec); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

/* FAQ Page */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: rgba(255, 255, 255, 0.05); border-radius: 8px; margin-bottom: 15px; }
.faq-item summary { font-size: 1.2rem; font-weight: 600; padding: 20px; cursor: pointer; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; font-size: 1.5rem; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 20px; color: var(--sec); }

/* Contact Page */
.contact-container { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group-full { grid-column: 1 / -1; }
.contact-form label { margin-bottom: 5px; font-size: 0.9rem; color: var(--sec); }
.contact-form input, .contact-form select, .contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--acc);
    border-radius: 8px;
    padding: 12px;
    color: var(--pri);
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.contact-form button { grid-column: 1 / -1; }
.contact-info-item { margin-bottom: 30px; }
.contact-info-item h4 { margin-bottom: 5px; }

/* Legal Pages */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin: 40px 0 15px; }
.legal-content ul { padding-left: 20px; margin-bottom: 15px; }
.legal-content li { margin-bottom: 10px; }

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    border-top: 1px solid var(--acc);
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner div {
    display: flex;
    gap: 10px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }

    .hero-split-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-image-container { text-align: center; margin-top: 30px; }

    .cta-split-container, .cta-split-container.reverse {
        grid-template-columns: 1fr;
    }
    .cta-split-container.reverse .cta-split-image { order: 1; }
    .cta-split-container .cta-split-content { text-align: center; }

    .text-columns-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { 
        position: fixed; 
        top: 0; 
        right: -100%;
        width: 70%; 
        height: 100vh; 
        background-color: var(--dark);
        flex-direction: column; 
        padding: 100px 30px; 
        transition: right 0.4s ease-in-out;
        gap: 20px;
        align-items: center;
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: block; z-index: 1001; }
    nav .btn-secondary { display: none; }

    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form-wrapper { min-width: 0; }
    .contact-section .container { width: 90%; padding: 0; }
    .contact-form button { width: 100%; }

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

    .cookie-banner { flex-direction: column; text-align: center; }
}

/* --- SUCCESS MODAL (Contact) --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: var(--dark);
    border: 2px solid var(--sec);
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.modal-open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--pri);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: rgba(212, 165, 165, 0.2);
    border: 3px solid var(--sec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--sec);
}

.modal-content h3 {
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--sec);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-content .modal-ok {
    min-width: 120px;
}
