/* =========================
   ОСНОВНИ НАСТРОЙКИ
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f4f1e9;
    color: #26352d;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   НАВИГАЦИЯ
========================= */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 6%;
    color: white;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    letter-spacing: 5px;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.navbar nav a:hover {
    opacity: 0.6;
}

.nav-button {
    border: 1px solid rgba(255,255,255,0.7);
    padding: 12px 22px;

    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: 0.3s;
}

.nav-button:hover {
    background: white;
    color: #26352d;
}


/* =========================
   HERO
========================= */

.hero {
    height: 100vh;
    min-height: 700px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

   background:
    linear-gradient(
        rgba(25, 37, 30, 0.35),
        rgba(25, 37, 30, 0.65)
    ),
    url("images/hero.jpg") center / cover no-repeat;
    

    animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
    from {
        background-size: 100%;
    }

    to {
        background-size: 108%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: auto;
    padding: 0 6%;

    color: white;

    animation: heroReveal 1.4s ease forwards;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.small-title,
.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 500;
}

.small-title {
    margin-bottom: 25px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(65px, 8vw, 115px);
    font-weight: 400;
    line-height: 0.85;

    margin-bottom: 35px;
}

.hero h1 span {
    font-style: italic;
}

.hero-text {
    max-width: 500px;

    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;

    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


.hero-buttons .button {
    width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}


.button {
    display: inline-block;

    padding: 17px 28px;

    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: 0.4s;
}

.primary {
    background: #d6b58a;
    color: #26352d;
}

.primary:hover {
    background: white;
    transform: translateY(-3px);
}

.secondary {
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
}

.secondary:hover {
    background: white;
    color: #26352d;
}

.scroll-down {
    position: absolute;
    bottom: 35px;
    right: 6%;

    display: flex;
    align-items: center;
    gap: 15px;

    color: white;

    font-size: 9px;
    letter-spacing: 3px;
}

.scroll-down .line {
    width: 55px;
    height: 1px;
    background: white;
}


/* =========================
   ABOUT
========================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 750px;
}

.about-image {
    position: relative;
    padding: 90px 40px 90px 6%;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 570px;

    object-fit: cover;
    display: block;

    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.025);
}

.image-caption {
    position: absolute;

    bottom: 125px;
    left: 9%;

    display: flex;
    align-items: center;
    gap: 15px;

    color: white;

    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 2px;
}

.image-caption span {
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
}

.image-caption p {
    margin: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px 12% 90px 8%;
}

.about-content .section-label {
    margin-bottom: 25px;
}

h2 {
    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(48px, 5vw, 75px);
    line-height: 0.95;

    font-weight: 400;
}

h2 em {
    font-style: italic;
}

.about-content h2 {
    margin-bottom: 35px;
}

.about-content p:not(.section-label) {
    max-width: 520px;

    font-size: 14px;
    line-height: 1.9;

    color: #68736d;

    margin-bottom: 18px;
}

.about-details {
    display: flex;
    gap: 45px;

    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #d8d4c8;
}

.about-details div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.about-details strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
}

.about-details span {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7b847e;
}

.text-link {
    margin-top: 20px;

    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;

    width: fit-content;

    border-bottom: 1px solid #26352d;
    padding-bottom: 7px;
}


/* =========================
   AMENITIES
========================= */

.amenities {
    padding: 120px 6%;

    background: #26352d;
    color: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.section-heading .section-label {
    margin-bottom: 25px;
    color: #d6b58a;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    max-width: 1300px;
    margin: auto;
}

.amenity {
    padding: 20px 35px;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,0.12);
}

.amenity:last-child {
    border-right: none;
}

.amenity-icon {
    font-size: 30px;
    margin-bottom: 25px;
}

.amenity h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-weight: 500;

    margin-bottom: 15px;
}

.amenity p {
    color: #c2c9c4;

    font-size: 12px;
    line-height: 1.8;
}


/* =========================
   GALLERY
========================= */

.gallery {
    background: #f4f2ec;
    padding: 120px 6%;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 60px;
}

.gallery-header h2 {
    margin: 0;
}

.gallery-header > p {
    max-width: 360px;

    font-size: 13px;
    line-height: 1.8;
    color: #68736d;

    margin: 0 0 5px;
}



.gallery-grid {
    display: block;
    columns: 3;
    column-gap: 12px;
}



.gallery-grid .gallery-item {
    display: inline-block;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    break-inside: avoid;
    overflow: hidden;  
    border-radius: 8px;

}




.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}



@media (max-width: 768px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        columns: 1;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
   height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease;
}

.gallery-item video {
    width: 100%; 
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* Вертикални видеа в галерията */
.gallery-item:has(video:not(.landscape)) {
    grid-row: span 2;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}


.gallery-item:hover img {
    transform: scale(1.025);
}


.gallery-item.large {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}


/* =========================
   BOOKING
========================= */

.booking {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;

    padding: 120px 6%;

    background: #e9e6dd;
}

.booking-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-content h2 {
    margin-bottom: 30px;
}

.booking-content > p:not(.section-label) {
    max-width: 450px;

    font-size: 14px;
    line-height: 1.9;

    color: #68736d;
}

.booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    padding: 120px 6%;

    background: #e9e6dd;
}

.booking-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-content h2 {
    margin-bottom: 30px;
}

.booking-content > p:not(.section-label) {
    max-width: 450px;

    font-size: 14px;
    line-height: 1.9;

    color: #68736d;
}

.booking-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 60px;

    background: #f4f2ec;
}

.booking-contact > span {
    margin-bottom: 20px;

    font-size: 9px;
    letter-spacing: 2px;

    color: #7b847e;
}

.booking-phone {
    width: fit-content;

    margin-bottom: 20px;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 400;

    color: #26352d;

    text-decoration: none;

    transition: opacity 0.3s ease;
}

.booking-phone:hover {
    opacity: 0.6;
}

.booking-contact p {
    max-width: 420px;

    margin-bottom: 30px;

    font-size: 13px;
    line-height: 1.8;

    color: #68736d;
}

.booking-contact .button {
    width: fit-content;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #1f2c25;
    color: white;
    padding: 80px 6% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 80px;

    padding-bottom: 60px;

    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-main {
    max-width: 400px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.footer-main p {
    max-width: 350px;

    font-size: 12px;
    line-height: 1.8;

    color: rgba(255,255,255,0.65);
}

.footer-info {
    display: flex;
    gap: 80px;
}

.footer-info span {
    display: block;

    margin-bottom: 15px;

    font-size: 9px;
    letter-spacing: 2px;

    color: rgba(255,255,255,0.45);

    .footer-info a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.footer-info a:hover {
    opacity: 0.6;
}
}

.footer-info p {
    margin: 0;

    font-size: 12px;
    line-height: 1.8;

    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 25px;

    font-size: 9px;
    letter-spacing: 1px;

    color: rgba(255,255,255,0.4);
}

/* =========================
   МОБИЛНА ВЕРСИЯ
========================= */

@media (max-width: 900px) {
    
    .footer-content {
    flex-direction: column;
    gap: 50px;
}

.footer-info {
    gap: 50px;
}

    .navbar nav {
        display: none;
    }

    .navbar {
        padding: 25px;
    }

    .hero {
    height: 100svh;
    min-height: 600px;
    background-position: center;
}

.hero-content {
    padding: 80px 25px 40px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.05;
}

    .about {
        grid-template-columns: 1fr;
    }

   .about-image {
    padding: 50px 0 0;
    width: 100%;
}

.about-image img {
    width: 100%;
    max-width: none;
}

    .image-caption {
   bottom: 25px;
    left: 40px;
}

    .about-content {
        padding: 70px 25px;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amenity {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

   .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px 250px;
}

.gallery-item.large {
    grid-row: span 1;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-header {
    align-items: flex-start;
    gap: 30px;
}

.gallery-header > p {
    max-width: 300px;
}

.booking {
    grid-template-columns: 1fr;
    gap: 50px;
}

.booking-form {
    padding: 30px;
}
}


@media (max-width: 550px) {

    .footer-info {
    flex-direction: column;
    gap: 30px;
}

.footer-bottom {
    flex-direction: column;
    gap: 10px;
}

    .nav-button {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenity {
        border-right: none;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
    }

    .gallery-item {
        height: 260px;
    }

    .form-row {
    grid-template-columns: 1fr;
}
}
/* =========================
   SCROLL ANIMATIONS
========================= */

.about-content,
.amenity,
.gallery-item,
.booking-content {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* ДОПЪЛНИТЕЛНИ АНИМАЦИИ */

.button {
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.navbar nav a {
    position: relative;
}

.navbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.3s ease;
}

.navbar nav a:hover::after {
    width: 100%;
}

.amenity {
    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.amenity:hover {
    transform: translateY(-6px);
}

.gallery-item {
    cursor: pointer;
}

.footer-info p {
    transition: opacity 0.3s ease;
}

.footer-info p:hover {
    opacity: 0.7;
}

.location {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    min-height: 600px;

    background: #f4f2ec;
}

.location-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px 10%;
}

.location-content h2 {
    margin-bottom: 30px;
}

.location-content > p:not(.section-label) {
    max-width: 430px;

    font-size: 14px;
    line-height: 1.9;

    color: #68736d;

    margin-bottom: 30px;
}

.location-details {
    display: flex;
    gap: 55px;

    margin-bottom: 35px;
}

.location-details div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-details span {
    font-size: 9px;
    letter-spacing: 2px;

    color: #7b847e;
}

.location-details strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
}

.location-content .button {
    width: fit-content;
}

.location-map {
    min-height: 600px;
}

.location-map iframe {
    width: 100%;
    height: 100%;

    min-height: 600px;

    border: none;

    display: block;
}

@media (max-width: 900px) {

    .location {
        grid-template-columns: 1fr;
    }

    .location-content {
        padding: 70px 25px;
    }

    .location-map,
    .location-map iframe {
        min-height: 450px;
    }

    .location-details {
        gap: 35px;
    }
}

.booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    padding: 120px 6%;

    background: #e9e6dd;
}

.booking-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-content h2 {
    margin-bottom: 30px;
}

.booking-content > p:not(.section-label) {
    max-width: 450px;

    font-size: 14px;
    line-height: 1.9;

    color: #68736d;
}

.booking-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 60px;

    background: #f4f2ec;
}

.booking-contact > span {
    margin-bottom: 20px;

    font-size: 9px;
    letter-spacing: 2px;

    color: #7b847e;
}

.booking-phones {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-bottom: 25px;
}

.booking-call {
    display: flex;
    align-items: center;

    width: fit-content;

    padding: 14px 22px;

    border: 1px solid #c9c6bd;

    color: #26352d;
    text-decoration: none;

    font-size: 13px;
    letter-spacing: 1px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.booking-call:hover {
    background: #26352d;
    color: white;

    transform: translateX(5px);
}

.booking-phone {
    width: fit-content;

    margin-bottom: 20px;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 400;

    color: #26352d;

    text-decoration: none;

    transition: opacity 0.3s ease;
}

.booking-phone:hover {
    opacity: 0.6;
}

.booking-contact p {
    max-width: 420px;

    margin-bottom: 30px;

    font-size: 13px;
    line-height: 1.8;

    color: #68736d;
}

.booking-contact .button {
    width: fit-content;
}

/* =========================
   REVIEWS
========================= */

.reviews {
      background: #DED4C3;
    padding: 120px 6%;
}

.reviews-header {
    max-width: 650px;
    margin-bottom: 60px;
}

.reviews-header h2 {
    margin-bottom: 25px;
}

.reviews-header > p:not(.section-label) {
    max-width: 400px;
    font-size: 13px;
    line-height: 1.8;
    color: #3c4340;
}


/* FORM */

.review-form {
    max-width: 600px;
    padding: 35px 40px;
     background: #F3EDE1;
}

.review-form h3 {
    margin: 0 0 10px;

    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
}

.review-form-text {
    margin-bottom: 30px;

    font-size: 13px;
    line-height: 1.7;
    color: #5c6661;
}


/* INPUTS */

.review-form input,
.review-form textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 16px 0;

    border: none;
    border-bottom: 1px solid #c9c6bd;

    background: transparent;

    outline: none;

    font-family: inherit;
    font-size: 13px;

    color: #26352d;
}

.review-form input {
    margin-bottom: 25px;
}

.review-form textarea {
    min-height: 100px;
    resize: vertical;
    margin-bottom: 30px;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
    color: #8a908b;
}


/* STARS */

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.star-rating span {
    font-size: 25px;
    color: #c9c6bd;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.star-rating span:hover {
    transform: scale(1.1);
}

.star-rating span.active {
    color: #9a927b;
}


/* BUTTON */

.review-form .button:hover {
    background: #ffffff;
    color: #8A6742;
}
.menu-toggle {
    display: none;
}

/* MOBILE */

@media (max-width: 900px) {

    .reviews {
        padding: 80px 25px;
    }

    .review-form {
        padding: 35px 25px;
    }
}

/* Картички за одобрените отзиви */
.reviews-list {
    display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
   justify-content: start;
    gap: 24px;
    margin: 40px 0 50px;
}


.review-card {
    background: #F3EEE4;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(120, 90, 60, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}


.review-stars {
    font-size: 20px;
    letter-spacing: 3px;
    color: #c99a5b;
    margin-bottom: 15px;
}

.review-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.review-name {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

/* Форма вляво, отзиви вдясно */
.reviews-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Формата да е вляво */
.review-form {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* Отзивите да са вдясно */
.reviews-list {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}

/* На телефон - едно под друго */
@media (max-width: 768px) {
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .review-form,
    .reviews-list {
        grid-column: 1;
    }

    .review-form {
        grid-row: 1;
    }

    .reviews-list {
        grid-row: 2;
    }
}
.reviews-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.review-form {
    width: 50%;
    max-width: none;
    box-sizing: border-box;
    order: 1;
}

.reviews-list {
    width: 50%;
    max-width: none;
    margin: 0;
    order: 2;
}

@media (max-width: 768px) {
    .reviews-layout {
        flex-direction: column;
    }

    .review-form,
    .reviews-list {
        width: 100%;
    }
}
.reviews-list {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    width: 50% !important;
    visibility: visible !important;
    opacity: 1 !important;
}
@media (max-width: 768px) {
    .reviews-layout {
        flex-direction: column;
        gap: 30px;
    }

    .review-form,
    .reviews-list {
        width: 100% !important;
    }

    .review-form {
        padding: 30px 25px;
    }
}
.read-more {
    background: none;
    border: none;
    padding: 0;
    margin: 8px 0 14px;
    color: #243c32;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.read-more:hover {
    opacity: 0.65;
}
.show-more-reviews {
    display: block;
    margin: 35px auto 0;
    padding: 15px 30px;
    background-color: #d8b27c;
    color: #243c32;
    border: none;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}

.show-more-reviews:hover {
    background-color: #243c32;
    color: #ffffff;
}
@media (max-width: 900px) {

}

.hero {
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        url("images/villa2.jpg"),
        url("images/hero.jpg"),
        url("images/villa3.jpg");

    background-size:
        100% 33.34%,
        100% 33.34%,
        100% 33.34%;

    background-position:
        center top,
        center center,
        center bottom;

    background-repeat: no-repeat;
}

/* Три снимки с плавно преливане */

.hero {
    isolation: isolate;
    background: #26352d;
}

.hero::before {
    display: none;
}

.hero-photos {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    left: 0;
    width: 100%;
    height: 40%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.photo-top {
    top: 0;
    background-image: url("images/villa2.jpg");
}

.photo-middle {
    top: 30%;
    background-image: url("images/hero.jpg");
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
}

.photo-bottom {
    bottom: 0;
    background-image: url("images/villa3.jpg");

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 15%,
        black 40%,
        black 100%
    );

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 15%,
        black 40%,
        black 100%
    );
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 25, 20, 0.35);
    pointer-events: none;
} 
.hero-content {
    position: relative;
    z-index: 2;
}

/* КОМПЮТЪР — оригиналната снимка */
@media (min-width: 769px) {
    .hero {
        background:
            linear-gradient(
                rgba(25, 37, 30, 0.35),
                rgba(25, 37, 30, 0.65)
            ),
            url("images/hero.jpg") center / cover no-repeat;
    }

    .hero-photos {
        display: none;
    }

    .hero::before,
    .hero::after {
        display: none;
    }
}

/* ТЕЛЕФОН — трите снимки */
@media (max-width: 768px) {
    .hero {
        background: #26352d;
    }

    .hero-photos {
        display: block;
    }
}


/* ВИДЕО ГАЛЕРИЯ */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 950px;
    margin: 50px auto;
    align-items: start;
}

/* Вертикални видеа */
.video-gallery video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #1c2722;
    border-radius: 14px;
    display: block;
}

/* Хоризонтално видео */
.video-gallery video.landscape {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

/* Мобилна версия */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 12px;
    }

    .video-gallery video.landscape {
        grid-column: span 2;
    }
}

/* Мобилна версия */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 15px;
    }
}




/* МОБИЛНА ВЕРСИЯ */

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .video-gallery video {
    height: 280px;
}
    }

    
/* Нова подредба на видео галерията */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 950px;
    margin: 50px auto;
    align-items: start;
}

.video-gallery video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #1c2722;
    border-radius: 16px;
    display: block;
}

/* Хоризонталното видео на отделен ред */
.video-gallery video.landscape {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 16 / 9;
    justify-self: center;
}

/* За телефон */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 12px;
    }

    .video-gallery video.landscape {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}


/* Ефекти за видео галерията */

.video-gallery video {
    transition: transform 0.5s ease,
                box-shadow 0.5s ease;
}

.video-gallery video:hover {
    transform: scale(1.035);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 2;
}

/* Плавно появяване */
.video-gallery video {
    opacity: 0;
    transform: translateY(35px);
}

.video-gallery video.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-gallery video.visible:hover {
    transform: scale(1.035);
}

/* Без увеличаване при докосване на телефон */
@media (hover: none) {
    .video-gallery video.visible:hover {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-gallery video {
        transition: none;
    }
}


/* Видео галерия на телефон */

@media (max-width: 768px) {
    .video-gallery video {
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
        background: transparent;
    }

    .video-gallery video.landscape {
        aspect-ratio: auto;
        height: auto;
    }
}

/* Галерия за телефон */
@media (max-width: 768px) {
    .gallery-grid {
        display: block;
        columns: 1;
        column-gap: 0;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        margin-bottom: 12px;
        break-inside: avoid;
    }

    .gallery-item img,
    .gallery-item video {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

/* КАЛЕНДАР ЗА РЕЗЕРВАЦИИ */

.availability {
    padding: 70px 20px;
    background: #f4f1e9;
    text-align: center;
}

.availability-header {
    margin-bottom: 35px;
}

.availability-header h2 {
    font-size: 32px;
    color: #493629;
    margin: 12px 0;
}

.availability-header p {
    color: #786859;
}

/* По-красиво начало на мобилната версия */
@media (max-width: 768px) {
    .hero-content {
        padding: 100px 25px 40px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.1;
        max-width: 100%;
    }

    .hero-content p {
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .hero {
        width: 100%;
        overflow: hidden;
    }

    .hero-photos {
        width: 100%;
        left: 0;
        right: 0;
    }
}

@media (max-width: 768px) {

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
        text-align: center;
        padding: 16px 12px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero-content p {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-photos {
        z-index: 0;
        width: 100%;
        height: 100%;
    }

    .hero-overlay {
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gallery-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .gallery-header > p {
        max-width: 100%;
        width: 100%;
    }

    .gallery-header h2 {
        max-width: 100%;
    }
}



@media (max-width: 768px) {
    .booking {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 60px 20px;
    }

    .booking-content,
    .booking-contact {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .booking-contact {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .about {
        display: flex;
        flex-direction: column;
    }

    .about-content {
        display: contents;
    }

    .about-heading {
        order: 1;
       padding: 25px 6% 10px;
    }

    .about-image {
        order: 2;
    }

    .about-content > :not(.about-heading) {
        order: 3;
    }

    .about-heading-title {
        font-size: 42px;
        line-height: 1;
    }

    .about-heading {
    padding: 25px 6% 10px;
    margin: 0;
}

.about-heading-title {
    margin: 0;
}
.about-image {
    padding-top: 0;
    margin-top: 0;
    }
}

@media (max-width: 768px) {
    .about-content > p {
        padding: 0 6%;
        box-sizing: border-box;
    }

    .about-content > p:first-of-type {
        padding-top: 25px;
    }
}

@media (max-width: 768px) {
    .about .location-highlight {
        font-weight: 600;
        margin-left: 6%;
        margin-right: 6%;
        font-size: 12px;
        white-space: nowrap;
        letter-spacing: 0;
    }
}

@media (max-width: 768px) {
    .about-details {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 12px 6% 20px;
        box-sizing: border-box;
        width: 100%;
    }

    .about-details > div {
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    .about-details strong {
        font-size: 25px;
    }

    .about-details span {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}
@media (max-width: 768px) {
    .scroll-down {
        display: none;
    }
}

.booking-contact a,
.footer-info a {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}