/*==============================*/
/* RESET */
/*==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html, body{
    min-height:100%;
}

body{
    background:#111;
    font-family:"Cormorant Garamond",serif;
}


/*==============================*/
/* TOP BAR */
/*==============================*/

.topbar{
    width:100%;
    min-height:54px; /* Леко увеличена височина за по-добър баланс */

    position:sticky;
    top:0;
    z-index:100;

    background:
        linear-gradient(rgba(255,255,255,.08),rgba(0,0,0,.15)),
        url("../images/wood.png");

    background-size:cover;
    background-position:center;

    border-bottom:3px solid rgba(0,0,0,.35);

    box-shadow:0 3px 12px rgba(0,0,0,.35);
}

.topbar-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* Максимално разпъване по цялата ширина на екрана */
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* Минимален страничен отстъп за плътно позициониране вдясно */
}


/*==============================*/
/* TOP BAR LEFT (TEMP LINK) */
/*==============================*/

.topbar-left {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
}

.live-temp-link {
    color: #f3dfb1;
    text-decoration: none;
    font-family: "Marcellus SC", serif;
    font-size: 19px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.live-temp-link:hover {
    color: #fff2cf;
    transform: translateY(-1px);
}

.pulse-icon {
    font-size: 22px;
    color: #ddb56b;
    animation: tempPulse 1.8s infinite ease-in-out;
}

.live-temp-link:hover .pulse-icon {
    color: #fff2cf;
}

/* Анимация за пулсиране на термометъра */
@keyframes tempPulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.22);
        color: #ff6b6b;
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(255, 107, 107, 0.7));
    }
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}


/*==============================*/
/* MENU */
/*==============================*/

.menu{
    display:flex;
    gap:45px;
}

.menu a{
    color:#f3dfb1;
    text-decoration:none;
    font-family:"Marcellus SC",serif;
    font-size:21px; /* Увеличен размер на текста на менюто (от 18px на 21px) */
    letter-spacing:1px;
    transition:.3s;
    text-shadow:0 2px 3px rgba(0,0,0,.5);
}

.menu a:hover{
    color:#fff2cf;
}


/*==============================*/
/* TOP BAR CONTACTS & SOCIALS */
/*==============================*/

.topbar-contacts {
    position: absolute;
    right: 15px; /* Максимално вдясно */
    display: flex;
    align-items: center;
    gap: 22px; /* По-голямо разстояние между контактите */
}

.topbar-contacts a {
    color: #f3dfb1;
    text-decoration: none;
    font-size: 18px; /* Увеличен размер на текста на контактите (от 15px на 18px) */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.topbar-contacts a:hover {
    color: #fff2cf;
    transform: translateY(-1px);
}

.topbar-contacts i {
    font-size: 22px; /* Увеличен размер на иконите (от 16px на 22px) */
    color: #ddb56b;
}

.topbar-contacts a:hover i {
    color: #fff2cf;
}


/*==============================*/
/* HERO */
/*==============================*/

.hero{
    width:100%;
    min-height: calc(100vw * 0.5625); 

    background-image:url("../images/background.jpg");
    background-size:100% auto;
    background-position:top center;
    background-repeat:no-repeat;

    position:relative;

    display:flex;
    justify-content:center;
    align-items:flex-start;
}


/*==============================*/

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.30);
}


/*==============================*/

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:white;
    width:min(1200px,90%);
    padding-top:0;
}


/*==============================*/

.logo{
    display:block;
    width:min(680px,75vw);
    margin:-25px auto 15px; 
    filter:drop-shadow(0 18px 25px rgba(0,0,0,.45));
}


/*==============================*/

.hero h1{
    font-size:64px;
    margin-bottom:15px;
    text-shadow:0 4px 12px rgba(0,0,0,.6);
}

.hero p{
    font-size:26px;
    margin-bottom:25px;
}


/*==============================*/

.button{
    display:inline-block;
    padding:16px 40px;
    background:#ddb56b;
    color:#222;
    border-radius:8px;
    text-decoration:none;
    font-size:22px;
    transition:.3s;
}

.button:hover{
    background:#f4ca81;
}


/*==============================*/
/* WOODEN MODAL BOX */
/*==============================*/

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay-close {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
}

.wood-box {
    position: relative;
    z-index: 1001;
    width: min(700px, 90%);
    padding: 40px 45px;
    
    background: 
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4)),
        url("../images/wood.png");
    background-size: cover;
    background-position: center;
    
    border: 4px solid #5a3d1e;
    border-radius: 12px;
    box-shadow: 
        inset 0 0 15px rgba(0, 0, 0, 0.8),
        0 15px 35px rgba(0, 0, 0, 0.7);
    
    color: #f3dfb1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.wood-box h2 {
    font-family: "Marcellus SC", serif;
    font-size: 32px;
    color: #fce8bf;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid rgba(243, 223, 177, 0.3);
    padding-bottom: 10px;
}

.wood-box-body p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.wood-box-body p:last-child {
    margin-bottom: 0;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    color: #f3dfb1;
    font-size: 36px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #fff;
    transform: scale(1.15);
}


/*==============================*/
/* RESPONSIVE */
/*==============================*/

@media(max-width:1300px){
    .topbar-container {
        flex-direction: column;
        padding: 10px 15px;
    }

    .topbar-left {
        position: static;
        margin-bottom: 8px;
    }

    .topbar-contacts {
        position: static;
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media(max-width:900px){
    .menu{
        gap:20px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .menu a{
        font-size:18px;
    }

    .contact-text {
        display: none;
    }

    .topbar-contacts {
        gap: 18px;
    }

    .logo{
        width:95%;
        margin:-15px auto 15px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:22px;
    }

    .wood-box {
        padding: 30px 25px;
    }

    .wood-box h2 {
        font-size: 26px;
    }

    .wood-box-body p {
        font-size: 18px;
    }
}


/*==============================*/
/* CONTACT PAGE STYLES */
/*==============================*/

.contact-hero {
    align-items: flex-start;
    padding: 20px 0 60px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-card {
    width: min(850px, 92%);
    margin-top: 10px;
    animation: fadeIn 0.5s ease-out;
}

.contact-subtitle {
    text-align: center;
    font-size: 20px;
    color: #e5cd9e;
    margin-bottom: 30px;
    font-style: italic;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(0, 0, 0, 0.35);
    padding: 18px 22px;
    border-radius: 8px;
    border: 1px solid rgba(221, 181, 107, 0.25);
    transition: 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(221, 181, 107, 0.6);
    transform: translateY(-2px);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(221, 181, 107, 0.15);
    border: 1px solid #ddb56b;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    font-size: 22px;
    color: #ddb56b;
}

.contact-info h3 {
    font-family: "Marcellus SC", serif;
    font-size: 18px;
    color: #ddb56b;
    margin-bottom: 4px;
    text-align: left;
}

.contact-info p {
    font-size: 20px;
    margin: 0;
    text-align: left;
    color: #f3dfb1;
}

.contact-info a {
    color: #f3dfb1;
    text-decoration: none;
    transition: 0.3s;
}

.contact-info a:hover {
    color: #fff2cf;
    text-decoration: underline;
}

/* Социални бутони */
.social-section {
    border-top: 1px solid rgba(243, 223, 177, 0.2);
    padding-top: 25px;
    text-align: center;
}

.social-section h3 {
    font-family: "Marcellus SC", serif;
    font-size: 20px;
    color: #fce8bf;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(221, 181, 107, 0.15);
    border: 1px solid #ddb56b;
    color: #f3dfb1;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.social-btn:hover {
    background: #ddb56b;
    color: #111;
    font-weight: bold;
}

.social-btn i {
    font-size: 20px;
}

@media(max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/*==============================*/
/* GALLERY PAGE STYLES (DIRECT ON BACKGROUND) */
/*==============================*/

.gallery-hero {
    align-items: flex-start;
    padding: 20px 0 60px 0;
}

.gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.gallery-title {
    font-family: "Marcellus SC", serif;
    font-size: 42px;
    color: #fce8bf;
    margin-top: 10px;
    margin-bottom: 5px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.gallery-subtitle {
    text-align: center;
    font-size: 20px;
    color: #f3dfb1;
    margin-bottom: 35px;
    font-style: italic;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Решетка със снимки разположена директно върху фона */
.gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid rgba(221, 181, 107, 0.6);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    background: #000;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: #f4ca81;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(221, 181, 107, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/*==============================*/
/* LIGHTBOX (МОДАЛЕН ПРОЗОРЕЦ) */
/*==============================*/

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid #ddb56b;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    margin-top: 12px;
    color: #f3dfb1;
    font-size: 18px;
    font-family: "Marcellus SC", serif;
    letter-spacing: 1px;
}

/* Затваряне */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 45px;
    color: #f3dfb1;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
    z-index: 2010;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.15);
}

/* Стрелки */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ddb56b;
    color: #ddb56b;
    font-size: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    z-index: 2010;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #ddb56b;
    color: #111;
}

@media(max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 15px; }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    }
}

/*==============================*/
/* PRICES PAGE STYLES */
/*==============================*/

.prices-hero {
    align-items: flex-start;
    padding: 20px 0 60px 0;
}

.prices-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(900px, 92%);
    margin: 0 auto;
}

.prices-title {
    font-family: "Marcellus SC", serif;
    font-size: 42px;
    color: #fce8bf;
    margin-top: 10px;
    margin-bottom: 5px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.prices-subtitle {
    text-align: center;
    font-size: 22px;
    color: #f3dfb1;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Карта с уикенд цената */
.price-card {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid #ddb56b;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    margin-bottom: 25px;
}

.price-card .badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #ddb56b;
    color: #111;
    font-family: "Marcellus SC", serif;
    font-weight: bold;
    font-size: 15px;
    padding: 5px 20px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.price-card h2 {
    font-family: "Marcellus SC", serif;
    font-size: 28px;
    color: #fce8bf;
    margin-top: 10px;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 52px;
    font-weight: 700;
    color: #f4ca81;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.per-night {
    font-size: 22px;
    color: #f3dfb1;
    font-weight: normal;
}

.price-note {
    font-size: 18px;
    color: #e5cd9e;
}

/* Кутия за персонална оферта */
.custom-offer-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(221, 181, 107, 0.12);
    border: 1px solid rgba(221, 181, 107, 0.4);
    border-radius: 10px;
    padding: 22px 28px;
    margin-bottom: 35px;
    backdrop-filter: blur(4px);
}

.custom-icon {
    font-size: 32px;
    color: #ddb56b;
    flex-shrink: 0;
}

.custom-offer-text h3 {
    font-family: "Marcellus SC", serif;
    font-size: 22px;
    color: #fce8bf;
    margin-bottom: 6px;
    text-align: left;
}

.custom-offer-text p {
    font-size: 20px;
    color: #f3dfb1;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

/* Контакти за резервация */
.booking-contacts {
    width: 100%;
    text-align: center;
}

.booking-contacts h2 {
    font-family: "Marcellus SC", serif;
    font-size: 26px;
    color: #fce8bf;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.price-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #ddb56b;
    border-radius: 8px;
    color: #f3dfb1;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.price-contact-btn i {
    font-size: 22px;
    color: #ddb56b;
    transition: 0.3s ease;
}

.price-contact-btn:hover {
    background: #ddb56b;
    color: #111;
    font-weight: bold;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.price-contact-btn:hover i {
    color: #111;
}

@media(max-width: 768px) {
    .contact-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-offer-box {
        flex-direction: column;
        text-align: center;
    }

    .custom-offer-text h3, .custom-offer-text p {
        text-align: center;
    }
    
    .price-amount {
        font-size: 42px;
    }
}

/*==============================*/
/* CONTACT PAGE REFINED STYLES */
/*==============================*/

.contact-hero {
    align-items: flex-start;
    padding: 20px 0 60px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(900px, 92%);
    margin: 0 auto;
}

.contact-title-main {
    font-family: "Marcellus SC", serif;
    font-size: 42px;
    color: #fce8bf;
    margin-top: 10px;
    margin-bottom: 5px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.contact-subtitle-main {
    text-align: center;
    font-size: 22px;
    color: #f3dfb1;
    margin-bottom: 35px;
    font-style: italic;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Мрежа от интерактивни карти с контакти */
.contact-cards-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.contact-card-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid #ddb56b;
    border-radius: 12px;
    padding: 22px 25px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.contact-card-box:hover {
    background: rgba(221, 181, 107, 0.15);
    border-color: #f4ca81;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(221, 181, 107, 0.3);
}

.contact-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(221, 181, 107, 0.15);
    border: 1px solid #ddb56b;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: 0.3s ease;
}

.contact-card-icon i {
    font-size: 24px;
    color: #ddb56b;
    transition: 0.3s ease;
}

.contact-card-box:hover .contact-card-icon {
    background: #ddb56b;
}

.contact-card-box:hover .contact-card-icon i {
    color: #111;
}

.contact-card-info h3 {
    font-family: "Marcellus SC", serif;
    font-size: 20px;
    color: #ddb56b;
    margin-bottom: 4px;
    text-align: left;
}

.contact-card-info p {
    font-size: 19px;
    color: #f3dfb1;
    margin: 0;
    text-align: left;
    word-break: break-word;
}

/* Социални мрежи кутия */
.social-connect-box {
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(221, 181, 107, 0.3);
    border-radius: 12px;
    padding: 30px 25px;
    backdrop-filter: blur(4px);
}

.social-connect-box h2 {
    font-family: "Marcellus SC", serif;
    font-size: 26px;
    color: #fce8bf;
    margin-bottom: 22px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.social-media-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #ddb56b;
    border-radius: 8px;
    color: #f3dfb1;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-media-btn i {
    font-size: 22px;
    color: #ddb56b;
    transition: 0.3s ease;
}

.social-media-btn:hover {
    background: #ddb56b;
    color: #111;
    font-weight: bold;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.social-media-btn:hover i {
    color: #111;
}

@media(max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .social-buttons-grid {
        grid-template-columns: 1fr;
    }

    .contact-title-main {
        font-size: 34px;
    }
}