/*
Theme Name: AGATA BEACH Boutique
Theme URI: https://agatabeach.bg
Author: AGATA BEACH Team
Author URI: https://agatabeach.bg
Description: Бутикова WordPress тема за хотел AGATA BEACH Boutique - Adult Only. Вклюва customizer за управление на цени, снимки, текстове и контакти.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agata-beach
Tags: hotel, boutique, responsive, customizer
*/

/* === ROOT VARIABLES === */
:root {
    --primary: #1a5f7a;
    --primary-dark: #134b61;
    --accent: #e8b923;
    --accent-hover: #d4a91f;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 12px;
}

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* === TOP BAR === */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: white; margin-left: 20px; font-size: 13px; }
.top-bar a:hover { text-decoration: underline; }

/* === HEADER === */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}
.site-logo span { color: var(--accent); }

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
.main-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-accent {
    background: var(--accent);
    color: var(--text);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-large { font-size: 16px; padding: 14px 35px; }

/* === HERO === */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #1a5f7a 0%, #0d3d4d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}
.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 52px;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 300;
}
.hero-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.rating-box {
    background: var(--primary);
    color: white;
    padding: 8px 14px;
    border-radius: 8px 8px 8px 0;
    font-weight: 700;
    font-size: 18px;
}
.rating-text { font-size: 15px; opacity: 0.9; }
.stars { color: var(--accent); font-size: 18px; }

/* === BOOKING BAR === */
.booking-bar {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 25px;
    max-width: 900px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
}
.booking-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* === SECTIONS === */
.section { padding: 60px 20px; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-title {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 10px;
    border-radius: var(--radius);
    overflow: hidden;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
}
.gallery-more {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

/* === INFO === */
.info-section { background: var(--white); }
.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.info-main h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}
.info-main p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}
.highlight-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}
.highlight-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 18px;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg);
    border-radius: 8px;
}
.amenity-item i {
    color: var(--primary);
    font-size: 18px;
    width: 24px;
}

/* === SIDEBAR === */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 20px;
}
.sidebar-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg);
}
.score-big {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.score-number {
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 8px 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}
.score-label { font-weight: 600; }
.score-text { font-size: 13px; color: var(--text-light); }

/* === ROOMS === */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.room-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.room-image img { width: 100%; height: 100%; object-fit: cover; }
.room-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.room-content { padding: 25px; }
.room-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}
.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}
.room-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg);
    padding: 5px 10px;
    border-radius: 15px;
}
.room-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}
.price-period { font-size: 13px; color: var(--text-light); }

/* === LOCATION === */
.location-section { background: var(--white); }
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.map-container {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    border: 2px dashed var(--primary);
}
.map-container i { font-size: 48px; color: var(--primary); }
.location-info h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}
.location-info p {
    margin-bottom: 15px;
    color: var(--text-light);
}
.location-highlight {
    background: var(--bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.location-highlight i { color: var(--accent); margin-right: 10px; }

/* === REVIEWS === */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}
.reviewer-details .name { font-weight: 700; }
.reviewer-details .country { font-size: 13px; color: var(--text-light); }
.review-rating {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
}
.review-text {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}
.review-date {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-title {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* === FOOTER === */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 20px 20px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--accent); color: var(--text); }

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.8s ease forwards; }

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .booking-form { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:first-child { grid-row: span 1; }
    .hero-title { font-size: 36px; }
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .reviews-header { flex-direction: column; gap: 20px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .rooms-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .hero { height: 500px; }
    .hero-title { font-size: 28px; }
    .section-title { font-size: 28px; }
    .cta-title { font-size: 28px; }
}
