* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fefefe;
    padding-top: 70px;
}

/* Навигация (Командно меню) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1b5e20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar .logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
}

.bansko-logo {
    height: 35px; /* Регулирайте височината спрямо менюто */
    width: auto;
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #81c784;
}

.nav-btn {
    background-color: #2e7d32;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #81c784;
}

/* Hero секция */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('head.jpg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: #2e7d32;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1b5e20;
}

/* Общи за секции */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1b5e20;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Оферти (4 Снимки на началната страница) */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.offer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.offer-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.offer-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1b5e20;
}

.offer-card-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.offer-price {
    font-weight: bold;
    color: #2e7d32;
    font-size: 1.1rem;
}

/* Секция Удобства */
.amenities {
    background-color: #f9f9f9;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.amenity-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.amenity-card i {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 15px;
}

/* Отзиви */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.review-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #2e7d32;
}

.review-card p {
    font-style: italic;
    margin-bottom: 10px;
}

.review-card span {
    font-weight: bold;
    color: #1b5e20;
}

/* Контактна секция и форма */
.contact-section {
    background-color: #f4f6f4;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Форма и CAPTCHA */
.booking-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
}

.captcha-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 4px;
    background: #fff;
    padding: 5px 12px;
    border: 1px dashed #2e7d32;
    user-select: none;
}

.btn-refresh {
    background: none;
    border: none;
    color: #2e7d32;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Галерия (Страница gallery.html) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 180px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-wrapper iframe {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    border: none;
}

/* Плаващ бутон за WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Адаптивност */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .contact-container, .form-row {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* Локации и Гугъл Карти */
.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.location-info h3 {
    color: #1b5e20;
    margin-bottom: 15px;
}

.location-info p {
    margin-bottom: 10px;
}

.map-wrapper iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
}

.register-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

/* Lightbox стилове */
.gallery-item img {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .location-card {
        grid-template-columns: 1fr;
    }
}

/* Lightbox със Слайдър */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transition: src 0.3s ease-in-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #81c784;
}

/* Бутони Напред/Назад */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 2001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background: #2e7d32;
}

/* Брояч на снимките */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 16px;
    border-radius: 20px;
}