html {
    scroll-behavior: smooth;
}

:root {
    --sea-blue: #0284c7;        
    --deep-blue: #0f172a;       
    --sand-gold: #f59e0b;       
    --bg-light: #f0f9ff;        
    --card-bg: #ffffff;
    --text-color: #334155;
    --viber-color: #735bab;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-body); background-color: var(--bg-light); color: var(--text-color); line-height: 1.6; }

/* ТОП ЛЕНТА */
.top-bar { position: fixed; top: 0; width: 100%; background-color: var(--deep-blue); color: white; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; z-index: 1000; font-size: 0.95rem; }
.top-bar a { color: var(--sand-gold); text-decoration: none; font-weight: 600; margin-right: 5px; }

/* Стилове за Viber бутони */
.viber-link { background: rgba(115, 91, 171, 0.2); padding: 2px 8px; border-radius: 4px; border: 1px solid var(--viber-color); font-size: 0.85rem; color: #e2e8f0 !important; display: inline-flex; align-items: center; gap: 4px; transition: var(--transition); vertical-align: middle; }
.viber-link:hover { background: var(--viber-color); color: #fff !important; }
.viber-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--viber-color); color: white !important; padding: 5px 12px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; margin-left: 10px; transition: var(--transition); font-weight: 600; }
.viber-badge:hover { background: #5a448c; transform: scale(1.03); }

.lang-switcher { display: flex; gap: 8px; }
.flag-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 4px 10px; cursor: pointer; border-radius: 4px; transition: var(--transition); font-size: 0.85rem; font-weight: 600; }
.flag-btn:hover { background: rgba(255,255,255,0.2); }
.flag-btn.active { background: var(--sea-blue); border-color: var(--sea-blue); }

/* НАВИГАЦИЯ */
header { position: sticky; top: 40px; z-index: 999; background: var(--card-bg); padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1); }
.logo { font-family: var(--font-heading); font-size: 2.2rem; color: var(--sea-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
nav { display: flex; gap: 25px; }
.nav-link { text-decoration: none; color: var(--deep-blue); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; transition: var(--transition); padding-bottom: 5px; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link.active { color: var(--sea-blue); border-bottom: 2px solid var(--sea-blue); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--sea-blue); cursor: pointer; }

/* СЕКЦИИ */
.content-section { padding: 80px 20px 40px 20px; max-width: 1200px; margin: 0 auto; scroll-margin-top: 100px; }
h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 40px; text-align: center; color: var(--deep-blue); }

/* HERO - ЧИСТ СИН ФОН (ВЪРНАТ В ОРИГИНАЛЕН ВИД КАТО ПРЕДИ) */
.hero-section { 
    background: linear-gradient(135deg, #0b1329 0%, #0f172a 50%, #0284c7 100%);
}
.hero-overlay { width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; }
.hero-content { color: white; padding: 20px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 4rem; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.4); }

/* СТАИ */
.rooms-grid, .leisure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--card-bg); padding: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08); border-top: 4px solid var(--sea-blue); transition: transform 0.3s; }
.room-card { display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-5px); }
.room-img-container { width: 100%; height: 200px; overflow: hidden; border-radius: 8px; margin-bottom: 20px; }
.room-img-container img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { color: var(--deep-blue); margin-bottom: 10px; font-size: 1.4rem; font-family: var(--font-heading); min-height: 50px; }
.desc { font-size: 0.95rem; color: var(--text-color); margin-bottom: 15px; line-height: 1.4; min-height: 60px; }

.specs-list { list-style: none; margin-bottom: 20px; border-top: 1px solid #e2e8f0; padding-top: 10px; }
.specs-list li { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 4px 0; border-bottom: 1px dashed #f1f5f9; }
.specs-list li span { font-weight: 600; color: #64748b; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--sand-gold); margin-top: auto; padding-top: 10px; border-top: 1px solid #e2e8f0; text-align: center; }

/* КАРУСЕЛ И ГАЛЕРИЯ */
.carousel-wrapper { display: flex; align-items: center; position: relative; gap: 15px; }
.carousel { 
    display: flex; overflow-x: auto; gap: 20px; padding: 10px 0;
    scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none;
    touch-action: pan-y;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel img { 
    height: 280px; width: auto; border-radius: 8px; cursor: pointer; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); transform: translateZ(0); backface-visibility: hidden;
    transition: filter 0.3s ease; user-select: none;
}
.carousel img:hover { filter: brightness(0.85); }
.carousel-nav {
    background: var(--sea-blue); color: white; border: none; width: 45px; height: 45px; border-radius: 50%;
    font-size: 1.4rem; cursor: pointer; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: var(--transition); flex-shrink: 0; z-index: 10;
}
.carousel-nav:hover { background: var(--sand-gold); }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.96); z-index: 2000; justify-content: center; align-items: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 4px; border: 2px solid white; transform: translateZ(0); }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: white; font-size: 50px; cursor: pointer; }
.close-lightbox:hover { color: var(--sand-gold); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; font-size: 2.5rem; padding: 15px 20px; cursor: pointer; transition: var(--transition); }
.lb-btn:hover { background: var(--sea-blue); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ЛОКАЦИЯ И КАРТА */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.map-card { padding: 10px; height: 400px; }
.map-container { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; }
.center-text { text-align: center; }
.menu-list { margin-top: 15px; font-weight: 600; color: var(--sea-blue); }
.beach-list { margin-top: 10px; list-style-position: inside; }
.beach-list li { margin-bottom: 5px; }
footer { text-align: center; padding: 40px 20px; background: var(--deep-blue); color: white; margin-top: 60px; }

@media (max-width: 768px) {
    header { top: 44px; }
    .hero-content h1 { font-size: 2.5rem; }
    .rooms-grid, .leisure-grid, .location-grid { grid-template-columns: 1fr; }
    .map-card { height: 300px; }
    .carousel-nav { display: none; }
    nav { display: none; width: 100%; flex-direction: column; position: absolute; top: 70px; left: 0; background: var(--card-bg); padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    nav.show { display: flex; }
    .viber-badge { margin-left: 0; margin-top: 5px; }
}