/* home.css - Sunset Resort (Clona Originala 1:1) */

/* ==========================================
   1. Hero Section
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aliniat la stanga */
    text-align: left; /* Aliniat la stanga */
    background-image: url('https://sunsetresort.ro/wp-content/uploads/2025/07/20250729_1602_Ultra-Realistic-Oasis_remix_01k1b45sfhf4jvvhe3vf3ttbcr-1.webp');
    background-size: cover;
    background-position: center 0px; /* Preia JS-ul de aici */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 50px;
    padding-left: 10%; /* Spatiere de la marginea stanga */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-stars {
    color: var(--accent-color);
    font-family: var(--font-bold);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0px;
    gap: 0px;
}

.hero-stars svg {
    fill: var(--accent-color);
}

.hero-title {
    font-family: var(--font-cursive);
    color: #BF8C4C; /* Extras din site-ul original */
    font-size: clamp(5rem, 12vw, 170px); /* 170px pe Desktop */
    font-weight: 700; /* Font weight 700 pt Allura */
    line-height: 1;
    word-spacing: 10px;
    margin-bottom: 0px;
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.3); /* Shadow fin exact ca pe original */
}

.hero-subtitle {
    font-family: var(--font-serif-variable);
    color: #F6F3EF; /* Culoare extrasa din CSS original */
    font-size: clamp(1rem, 2vw, 20px); /* 20px max pe desktop */
    font-style: italic;
    font-weight: 100; /* Functioneaza datorita fontului variabil incarcat local */
    text-shadow: none; /* Originalul nu are umbra la subtitlu */
}

/* ==========================================
   2. Descoperă Sunset (Text + 5 Poze)
   ========================================== */
.discover-section {
    padding: 100px 0;
    background-color: var(--bg-color-light);
    position: relative;
}

.discover-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.discover-content {
    background-color: var(--bg-color-alt);
    padding: 60px;
    position: relative;
    border-radius: 4px;
}

.discover-wheat {
    position: absolute;
    bottom: -30px;
    left: -40px;
    opacity: 0.3;
    max-width: 150px;
    pointer-events: none;
}

.discover-content h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.discover-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.discover-content .discover-strong {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0;
}

/* 5 Poze asimetrice */
.discover-images {
    display: flex;
    gap: 20px;
}

.col-left, .col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.col-right {
    justify-content: center;
}

.discover-images img {
    width: 100%;
    border-radius: 12px; /* Mai rotunjit confom originalului */
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.discover-images img:hover {
    transform: scale(1.03);
}

/* Clasa comuna pentru Animatii de Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   3. De ce Sunset? (3 Coloane)
   ========================================== */
.why-sunset {
    position: relative;
    padding: 80px 0;
    background-color: #f9f4ec; /* Beige-ul din screenshot */
}

.why-sunset .section-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #5e7c5b; /* Verdele original */
    margin-bottom: 50px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    text-align: left;
}

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

.feature-box {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-base);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 20px;
}

/* Culori distincte pentru iconite */
.feature-box:nth-child(1) .feature-icon {
    background-color: var(--accent-color);
    color: #fff;
}
.feature-box:nth-child(2) .feature-icon {
    background-color: #4a90e2; /* Albastru pt barca */
    color: #fff;
}
.feature-box:nth-child(3) .feature-icon {
    background-color: #27ae60; /* Verde pt eco */
    color: #fff;
}

.feature-box h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-box p {
    color: #555; /* Text mai intunecat pt lizibilitate */
    line-height: 1.6;
    font-size: 1rem;
    font-family: var(--font-sans);
}

/* ==========================================
   4. Experiența Sunset Resort (2 Coloane)
   ========================================== */
.experience-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.exp-layout {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

/* Coloana stanga */
.exp-left {
    flex: 1;
    position: relative;
    padding-right: 40px;
    border-right: 1px solid #eaeaea;
}

.exp-blob-bg {
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 300px;
    height: 300px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.exp-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.exp-title {
    font-family: var(--font-serif-variable);
    font-style: italic;
    font-weight: 100;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #111;
    margin-bottom: 30px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.exp-description {
    position: relative;
    z-index: 1;
}

.exp-description p {
    font-family: var(--font-serif);
    font-style: italic;
    color: #C19A6B; /* Auriu/Maro deschis */
    font-size: 1.25rem;
    line-height: 1.7;
}

.dropcap {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: #C19A6B;
    float: left;
    line-height: 0.8;
    margin-right: 15px;
    margin-top: 5px;
    font-style: italic;
}

/* Coloana dreapta */
.exp-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.exp-divider {
    height: 1px;
    background-color: #eaeaea;
    width: 100%;
}

.exp-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    gap: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    cursor: pointer;
}

.exp-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #eaddc4;
    font-style: italic;
    font-weight: 300;
    transition: all 0.5s ease;
    width: 60px;
}

.exp-icon {
    width: 45px;
    height: 45px;
    color: #eaddc4;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.exp-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exp-text h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 5px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.exp-more {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Interactiunea de Hover ceruta (Grill-Me A3) */
.exp-item:hover .exp-num {
    color: #111; /* Cifrele devin negre */
}

.exp-item:hover .exp-icon {
    color: #111;
    transform: rotateY(180deg); /* Iconitele se rasucesc 180 grade pe orizontala */
}

.exp-item:hover .exp-more {
    color: var(--accent-color); /* Textul devine auriu */
    padding-left: 10px; /* Deplasare subtila */
}

@media (max-width: 992px) {
    .exp-layout {
        flex-direction: column;
    }
    .exp-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 40px;
    }
    .exp-right {
        padding-left: 0;
    }
}

/* ==========================================
   5. Facilități Extra Grid (6 coloane cu iconite rotunde)
   ========================================== */
.extra-facilities {
    padding: 80px 0;
    background-color: #F8F6F2; /* Culoare calda, fundalul din original */
}

.extra-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
}

.extra-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    cursor: pointer;
}

.extra-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #D4BD9E; /* Culoarea aurie a cercului din original */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.extra-item h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
    max-width: 150px;
    margin: 0 auto;
    transition: color 0.4s ease;
}

.extra-item:hover .extra-icon {
    transform: translateY(-5px);
    background-color: #C19A6B; /* Culoare mai inchisa la hover */
}

@media (max-width: 992px) {
    .extra-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    .extra-item {
        flex: 0 0 calc(33.333% - 40px);
    }
}
@media (max-width: 576px) {
    .extra-item {
        flex: 0 0 calc(50% - 40px);
    }
}
/* ==========================================
   6. Cazare (Split Layout)
   ========================================== */
.apartments-teaser {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.cazare-slider {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
}

.cazare-slider .swiper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    padding-bottom: 0; /* Remove default padding that caused white space */
    flex: 1;
}

.cazare-slider .swiper-slide {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    height: auto; /* Swiper handles height when container stretches */
    display: flex;
    align-items: stretch;
}

.cazare-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cazare-slider {
    --swiper-navigation-color: #fff;
    --swiper-navigation-size: 20px;
}

/* Stilizare sageti pentru caruselul Cazare (folosind FontAwesome) */
.cazare-slider .swiper-button-next,
.cazare-slider .swiper-button-prev {
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cazare-slider .swiper-button-next::after,
.cazare-slider .swiper-button-prev::after {
    display: none; /* Ascundem sageata default de la Swiper */
}

.cazare-slider .swiper-button-next i,
.cazare-slider .swiper-button-prev i {
    color: #fff;
    font-size: 1.2rem;
}

.cazare-info {
    flex: 1;
    background-color: #F8F6F2;
    padding: 60px 50px;
    border-radius: 4px;
}

.cazare-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    color: #C19A6B; /* Auriu */
    margin-bottom: 25px;
    line-height: 1.2;
}

.cazare-info p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-cazare {
    display: inline-block;
    font-family: var(--font-sans);
    background-color: #D4BD9E;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-cazare:hover {
    background-color: #C19A6B;
}

@media (max-width: 992px) {
    .apartments-teaser .exp-layout {
        flex-direction: column;
    }
    .cazare-info {
        padding: 40px 30px;
    }
}

/* ==========================================
   7. Sectiune Decorativa (Privește. Simte)
   ========================================== */
.carousel-section {
    padding: 100px 0;
    overflow: hidden;
}

.carousel-section .title-wrapper {
    position: relative;
    text-align: center;
    padding: 60px 0;
}

.carousel-section h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 3rem;
    color: #DDA77B; /* Peach-gold */
    position: relative;
    z-index: 2;
    margin: 0;
    text-shadow: 
        1px 1px 0px rgba(255, 255, 255, 0.7),
        -1px -1px 0px rgba(255, 255, 255, 0.7),
        1px -1px 0px rgba(255, 255, 255, 0.7),
        -1px 1px 0px rgba(255, 255, 255, 0.7);
}

.parallax-boat-bg {
    position: relative;
    background-image: url('../images/boat_sunset.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2); /* 20% transparenta ceruta */
    z-index: 1;
}

.star-1 {
    position: absolute;
    top: 20px;
    left: 20%;
    color: #DDA77B;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: transform 0.1s ease-out;
}

.star-2 {
    position: absolute;
    bottom: 20px;
    right: 20%;
    color: #DDA77B;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: transform 0.1s ease-out;
}

.swiper {
    width: 100%;
    height: 400px;
    padding-bottom: 50px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   8. Excursii
   ========================================== */
.excursions-teaser {
    padding: 100px 0;
    background-color: var(--bg-green-dark);
    color: #fff;
    text-align: center;
}

.excursions-teaser h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

/* ==========================================
   9. Green Luxury / Starea Proiectului
   ========================================== */
.project-status {
    padding: 100px 0;
    background-color: #fff;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.progress-item {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-color);
    width: 0; /* Animat via JS in observer */
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================
   10. Responsive
   ========================================== */
@media (max-width: 992px) {
    .discover-grid, .exp-row, .status-grid {
        grid-template-columns: 1fr;
    }
    
    .exp-row:nth-child(even) .exp-content {
        order: 0;
    }
    
    .features-grid, .extra-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .features-grid, .extra-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}
