/**
 * Main Styles - Casa din Noua
 * Stiluri de bază și tipografie
 */

/* --- RESETARE ȘI STILURI DE BAZĂ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fdfcfc; /* Alb "coajă de ou" - foaie de hârtie */
    color: #2c3e50; /* Culoare cerneală închisă */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
}

/* --- TIPOGRAFIE (STILOUL) --- */
h1, h2, h3, h4, .logo {
    font-family: 'Cormorant Garamond', serif;
    color: #1a1a1a;
    font-weight: 400;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #4a4a4a;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

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

/* --- SECȚIUNI GENERALE --- */
section {
    padding: 100px 0;
    overflow: hidden;
}

/* --- BUTOANE --- */
.btn {
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}

.btn.btn-primary {
    background-color: #fff;
    color: #1a1a1a;
}

.btn.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.btn.btn-secondary {
    background-color: transparent;
}

.btn.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a1a;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), url('../img/hero.jpg');
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: #f0f0f0;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- DESPRE NOI / PE SCURT --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 10px;
    margin-top: 5px;
    color: #a07d50;
}

#brief {
    background-color: #f9f9f9;
}

.brief-list {
    list-style: none;
    max-width: 800px;
    margin: 30px auto 0 auto;
    text-align: left;
    padding-left: 20px;
}

.brief-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.brief-list i {
    color: #a07d50;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Extinde container-ul pentru facilități */
.facilities-container {
    max-width: 900px !important;
}

/* ============================================
   ACCORDION GLOBAL STYLES (folosit peste tot)
   ============================================ */

/* Container pentru acordeoane */
.accordion-container {
    margin-top: 40px;
}

/* Item individual de accordion */
.accordion-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Header clickabil */
.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-header:active {
    background: #f5f5f5;
}

/* Titlu accordion */
.accordion-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-title i {
    color: #a07d50;
    font-size: 1.1rem;
}

/* Iconița + pentru toggle */
.accordion-toggle {
    color: #a07d50;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

/* Conținut accordion (se deschide/închide) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 600px;
    border-top: 1px solid #dddddd;
}

/* Padding pentru conținut */
.accordion-content-inner {
    padding: 25px 25px 20px 25px;
}

/* ============================================
   BACKWARDS COMPATIBILITY (clase vechi)
   ============================================ */

/* Facilități accordion - același stil ca acordeoane globale */
.facilities-accordion { margin-top: 40px; }

/* Backward compatibility - aplică stilurile noi la clasele vechi */
.facility-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
}

.facility-header {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.facility-header:hover {
    background: #f9f9f9;
}

.facility-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.facility-title i {
    color: #a07d50;
    font-size: 1.1rem;
}

.facility-toggle {
    color: #a07d50;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.facility-item.active .facility-toggle {
    transform: rotate(45deg);
}

.facility-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.facility-item.active .facility-content {
    max-height: 600px;
    border-top: 1px solid #dddddd;
}

.facility-content .brief-list {
    margin: 0;
    padding: 25px 25px 20px 25px;
}

.facility-content .brief-list li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

/* --- REVIEW SECTIONS --- */
.review-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.review-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-content {
    max-width: 800px;
    padding: 40px;
    text-align: center;
    color: white;
}

.review-stars {
    font-size: 2rem;
    margin-bottom: 25px;
    letter-spacing: 5px;
}

.review-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 25px 0;
    color: #ffffff;
    quotes: """ """ "'" "'";
}

.review-text::before {
    content: open-quote;
    font-size: 3rem;
    color: #a07d50;
    margin-right: 10px;
    line-height: 0;
    vertical-align: 0.4em;
}

.review-text::after {
    content: close-quote;
    font-size: 3rem;
    color: #a07d50;
    margin-left: 10px;
    line-height: 0;
    vertical-align: -0.4em;
}

.review-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #a07d50;
    font-weight: 500;
    font-style: normal;
    display: block;
    margin-top: 20px;
}

/* Responsive pentru review sections */
@media (max-width: 768px) {
    .review-section {
        height: 500px;
    }

    .review-content {
        padding: 30px 20px;
    }

    .review-stars {
        font-size: 1.5rem;
    }

    .review-text {
        font-size: 1.4rem;
    }

    .review-author {
        font-size: 0.9rem;
    }
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #888;
}

/* --- RESPONSIVE (MOBIL) --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 60px 0;
    }
}

#contact {
    padding-top: 0;
    background: #f9f9f9;
}