/* =========================
   RESET & BAZĂ
   ========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    background: white url('fundal.jpg') center/cover no-repeat fixed;
}


/* =========================
   HEADER / LOGO / MENIU
   ========================= */

.site-header {
    text-align: center;
    padding-top: 20px;
}

.logo {
    width: 130px;
    height: auto;
    display: inline-block;
}

.menu-line {
    width: 100%;
    height: 1px;
    background: grey;
    margin: 16px 0 10px;
}

.navbar {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 8px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.nav-list a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: grey;
    text-decoration: none;
    letter-spacing: .2px;
    transition: color .25s ease;
    font-size: 18px;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #ffd369;
    transition: width .25s ease;
}

.nav-list a:hover {
    color: #fdc84e;
}

.nav-list a:hover::after {
    width: 100%;
}


/* butonul gri de meniu – ascuns complet */

.navigation .menu-toggle {
    display: none !important;
}


/* Hamburger mobil */

.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid grey;
    border-radius: 10px;
    margin: 0 auto 8px;
    cursor: pointer;
    user-select: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: gold;
    margin: 7px auto;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle:checked+.hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle:checked+.hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked+.hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* =========================
   HERO (Index)
   ========================= */

.hero {
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 24px;
    text-align: center;
    background: none;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #FFD369, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.hero p {
    font-size: clamp(16px, 2.2vw, 22px);
    opacity: .92;
    background: linear-gradient(90deg, #FFD369, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}


/* =========================
   CAROUSEL PRINCIPAL (Index) – poze verticale tip card
   ========================= */

.carousel.cards {
    position: relative;
    max-width: 1200px;
    margin: 10px auto 60px;
    padding: 0 56px;
}

.cards__viewport {
    overflow: visible;
}

.cards__track {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform .5s ease;
    will-change: transform;
    padding: 14px 0;
}

.carousel.cards .cards__track>.card {
    flex: 0 0 clamp(260px, 26vw, 400px);
    aspect-ratio: 2/3;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
    transform: scale(.92);
    opacity: .85;
    transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease;
}

.carousel.cards .cards__track>.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel.cards .cards__track>.card.is-center {
    transform: scale(1.12);
    opacity: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .40);
}


/* Săgeți carousel Index */

.carousel {
    position: relative;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel__btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel__btn.prev {
    left: 10px;
}

.carousel__btn.next {
    right: 10px;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 28px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    z-index: 2;
}

.carousel__btn:hover {
    background: rgba(0, 0, 0, .55);
    transform: translateY(-50%) scale(1.05);
}

.carousel__btn.prev {
    left: 6px;
}

.carousel__btn.next {
    right: 6px;
}


/* Dots carousel Index */

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.carousel__dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.carousel__dots button.is-active {
    background: #ffd369;
    transform: scale(1.25);
}


/* =========================
   TESTIMONIALE (Index)
   ========================= */

.testimoniale {
    padding: 40px 0;
    text-align: center;
    background: white;
}

.testimoniale h2 {
    font-size: clamp(24px, 4vw, 36px);
    color: grey;
    margin-bottom: 20px;
}

.testimoniale-carousel .cards__track>.card {
    flex: 0 0 clamp(160px, 20vw, 240px);
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transform: scale(.95);
    opacity: .85;
    transition: transform .3s ease, opacity .3s ease;
}

.testimoniale-carousel .cards__track>.card.is-center {
    transform: scale(1.05);
    opacity: 1;
}

.testimoniale-carousel .cards__track>.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: #fff;
    padding: 20px 40px;
    font-size: 14px;
    flex-wrap: wrap;
}

.site-footer a {
    color: #ffd369;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    min-width: 200px;
}

.footer-left p {
    margin-bottom: 6px;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-right a {
    display: inline-block;
    margin-left: 12px;
    font-size: 22px;
    transition: transform .2s ease, color .2s ease;
}

.footer-right a:hover {
    transform: scale(1.2);
    color: #fdc84e;
}


/* =========================
   PAGINA CAMERE
   ========================= */

.rooms-hero {
    text-align: center;
    padding: 32px 16px 12px;
}

.rooms-hero h1 {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 800;
    margin-bottom: 6px;
    color: #111;
}

.rooms-hero p {
    color: #475569;
}

.rooms-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 14px 16px 24px;
    flex-wrap: wrap;
}

.chip {
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.chip:hover {
    background: #f8fafc;
}

.chip.is-active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.rooms-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 40px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(12, 1fr);
}


/* Card cameră */

.room-card {
    grid-column: span 12;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .07);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    gap: 0;
}

.room-media {
    position: relative;
    background: none;
    padding: 0;
    display: flex;
    align-items: stretch;
}


/* ===== SLIDER în card (Camere) =====
   1 imagine = 100% din viewportul sliderului, fără spații/margini, săgeți deasupra */

.room-slider {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

.room-slider .slides {
    display: flex;
    gap: 0;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.room-slider .slides::-webkit-scrollbar {
    display: none;
}

.room-slider .slides img {
    flex: 0 0 100%;
    /* fiecare poză ocupă 100% din lățimea sliderului */
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: center;
    display: block;
    background: none;
}


/* Butoane slider (peste poze) */

.sbtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 3;
}

.sbtn:focus {
    outline: none;
}

.sbtn.prev {
    left: 12px;
}

.sbtn.next {
    right: 12px;
}


/* Detalii cameră */

.room-body {
    padding: 18px;
    color: #0f172a;
}

.room-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.room-meta,
.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 12px 0;
    color: #334155;
    font-size: 14px;
}

.room-meta li,
.room-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-cta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.room-cta .price {
    color: #0f172a;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    background: #0f172a;
    color: #fff;
}

.btn.primary:hover {
    background: #1f2937;
}

.btn.outline {
    border: 1px solid #cbd5e1;
    color: #0f172a;
    background: #fff;
}

.btn.outline:hover {
    border-color: #0f172a;
}

.room-details summary {
    cursor: pointer;
    color: #334155;
    margin-top: 8px;
}

.note {
    text-align: center;
    color: #64748b;
    margin: 8px 0 32px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .nav-list {
        gap: 28px;
    }
    .carousel.cards {
        padding: 0 46px;
    }
    .carousel.cards .cards__track>.card {
        flex-basis: clamp(240px, 40vw, 360px);
    }
}

@media (max-width: 720px) {
    .hamburger {
        display: block;
    }
    .nav-list {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        background: rgba(12, 18, 30, .9);
        border: 1px solid grey;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
        display: grid;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height .28s ease;
    }
    .nav-toggle:checked~.nav-list {
        max-height: 300px;
    }
}

@media (max-width: 640px) {
    .carousel.cards {
        padding: 0 40px;
    }
    .cards__track {
        gap: 18px;
    }
    .carousel.cards .cards__track>.card {
        flex-basis: 78vw;
    }
    .rooms-grid {
        gap: 16px;
    }
    .room-card {
        grid-template-columns: 1fr;
    }
    .room-slider {
        height: 260px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .room-card {
        grid-template-columns: 1fr;
    }
    .room-slider {
        height: 360px;
    }
}


/* ===== Despre noi ===== */


/* container comun */


/* Hero */

.about-hero {
    position: relative;
    min-height: 46vh;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--about-hero, none) center/cover no-repeat;
    filter: brightness(.65);
}

.about-hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 48px 16px;
}

.about-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 8px;
}

.about-hero p {
    font-size: clamp(16px, 2.2vw, 20px);
    opacity: .95;
}


/* Grid poveste */

.about-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    padding: 40px 16px;
}

.about-grid__text h2 {
    color: #111;
    font-size: clamp(22px, 3.6vw, 32px);
    margin-bottom: 10px;
}

.about-grid__text p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-grid__media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.about-photo {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Features */

.about-features {
    padding: 10px 16px 34px;
}

.about-features h2 {
    text-align: center;
    color: #111;
    font-size: clamp(22px, 3.6vw, 32px);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    color: #334155;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.feature i {
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature h3 {
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 6px;
}

.feature p {
    font-size: 14px;
    line-height: 1.6;
}


/* CTA */

.about-cta {
    text-align: center;
    padding: 34px 16px 48px;
}

.about-cta h2 {
    font-size: clamp(22px, 3.6vw, 32px);
    color: #111;
    margin-bottom: 8px;
}

.about-cta p {
    color: #475569;
    margin-bottom: 14px;
}

.about-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-section {
    display: flex;
    gap: 30px;
    /* spațiu între text și video */
    align-items: flex-start;
    margin: 40px 0;
}

.about-text {
    flex: 1;
    /* textul ocupă jumătate din lățime */
}

.about-video {
    flex: 1;
    /* video ocupă jumătate din lățime */
    position: relative;
    padding-bottom: 56.25%;
    /* raport 16:9 */
    height: 0;
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Pe mobil: textul deasupra, video dedesubt */

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }
}


/* Responsive */

@media (max-width: 1000px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.about-video {
    text-align: center;
    padding: 40px 16px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* raport 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.section-img {
    display: block;
    max-width: 600px;
    /* lățimea maximă */
    width: 100%;
    /* să se adapteze la ecran */
    height: auto;
    /* păstrează proporțiile */
    margin: 20px auto;
    /* spațiu și centrare pe pagină */
    border-radius: 8px;
    /* colțuri rotunjite (opțional) */
}


/* ===== Container comun (pentru sectiunile cu .container) ===== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 16px;
}


/* ===== Iframe-uri YouTube responsive ===== */

.about-grid__text iframe {
    width: 100% !important;
    /* ignoră width="560" din HTML */
    height: auto !important;
    aspect-ratio: 16 / 9;
    /* păstrează raportul 16:9 */
    display: block;
    margin: 12px auto;
    border: 0;
}


/* ===== Imagini din sectiunea Despre noi ===== */

.section-img {
    display: block;
    width: 100%;
    max-width: 600px;
    /* „mărime medie” pe desktop */
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}


/* Pe ecrane mici poți lăsa imaginea să ocupe toată lățimea containerului */

@media (max-width: 640px) {
    .section-img {
        max-width: 100%;
    }
}


/* Grid-ul textului devine o coloană pe ecrane mai înguste (ai și tu ceva similar,
   dar las și aici pentru siguranță) */

@media (max-width: 1000px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}


/* Base */

.navbar {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 8px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.nav-list a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: grey;
    text-decoration: none;
}


/* Controller is hidden visually but clickable via label */

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}


/* Hamburger */

.hamburger {
    display: none;
    /* shown only on mobile */
    width: 44px;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    display: none;
    /* default hidden on desktop */
    position: absolute;
    left: 16px;
    top: -6px;
    z-index: 30;
    /* on top so it's clickable */
    background: #fff;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #FFC107;
    margin: 8px auto;
    transition: transform .25s ease, opacity .25s ease;
}


/* X animation */

.nav-toggle:checked+.hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle:checked+.hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked+.hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


/* Mobile menu */

@media (max-width: 720px) {
    .hamburger {
        display: block;
    }
    .nav-list {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 44px;
        background: #0b1220;
        border: 1px solid #334155;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
        display: grid;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height .28s ease;
        z-index: 20;
    }
    .nav-list a {
        color: #fff;
        padding: 12px 16px;
    }
    /* OPEN state: checkbox checked -> expand list */
    .nav-toggle:checked~.nav-list {
        max-height: 320px;
    }
}


/* Optional: keep desktop spacing */

@media (min-width: 721px) {
    .nav-list {
        display: flex;
        gap: 48px;
        position: static;
        max-height: none;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}


/* ===== Formular de contact ===== */

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0f172a;
    outline: none;
    box-shadow: 0 0 6px rgba(15, 23, 42, 0.25);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #0f172a;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.contact-form button:hover {
    background-color: #334155;
    transform: translateY(-2px);
}

.contact-form button:active {
    transform: translateY(0);
}