@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@300;400;700&display=swap');

@keyframes fadeInSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

:root {
    --primary-light: #ffffff;
    --secondary-light: #f8f8f8;
    --text-dark: #333333;
    --accent-burgundy: #8B0000;
    --detail-black: #000000;
    --border-grey: #e0e0e0;
    --sidebar-width: 250px;
    --sidebar-transition-speed: 0.4s;
}

/* 1. ГЛОБАЛЕН РЕСЕТ И ОСНОВНИ СТИЛОВЕ */
html {
    scroll-behavior: smooth; /* Запазваме плавното скролване */
    box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }
body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--primary-light);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable, .selectable * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


/* 2. СТРАНИЧНА НАВИГАЦИЯ */
#sidebar-container {
    position: fixed; left: 0; top: 0; height: 100%; width: 50px;
    z-index: 1100; transition: width var(--sidebar-transition-speed) ease;
}
.sidebar-handle {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 45px; height: 70px; background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-left: none;
    border-radius: 0 10px 10px 0; display: flex; align-items: center; justify-content: center;
    color: var(--primary-light); font-size: 20px; cursor: pointer;
    transition: opacity 0.3s ease, background 0.3s ease; z-index: 1;
}
#sidebar-container:hover .sidebar-handle { opacity: 0; pointer-events: none; }
#sidebar {
    position: absolute; width: var(--sidebar-width); height: 100%;
    background: rgba(20, 20, 20, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform: translateX(-100%); transition: transform var(--sidebar-transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex; flex-direction: column; overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 0;
}
#sidebar-container:hover #sidebar { transform: translateX(0); }
#sidebar-container:hover { width: var(--sidebar-width); }
.sidebar-header { padding: 30px 20px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.sidebar-header img { max-width: 80%; height: auto; transition: transform 0.3s ease; }
.sidebar-header a:hover img { transform: scale(1.05); }
.sidebar-main-nav { display: flex; flex-direction: column; width: 100%; padding: 20px 10px; flex-grow: 1; }
.sidebar-main-nav a { display: flex; align-items: center; color: #e0e0e0; text-decoration: none; padding: 12px 30px; font-size: 16px; font-family: 'Montserrat', sans-serif; letter-spacing: 0.5px; transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; border-radius: 8px; margin: 2px 0; }
.sidebar-main-nav a i { font-size: 1.1em; width: 25px; margin-right: 20px; opacity: 0.8; transition: opacity 0.3s; }
.sidebar-main-nav a:hover { background-color: rgba(255, 255, 255, 0.1); color: #ffffff; transform: translateX(10px); }
.sidebar-main-nav a:hover i { opacity: 1; }
.sidebar-main-nav a.active { background-color: rgba(139, 0, 0, 0.5); color: #ffffff; transform: translateX(10px); }
.sidebar-main-nav a.active i { opacity: 1; }
.sidebar-footer { text-align: center; padding: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.sidebar-footer p { margin: 0 0 15px 0; font-size: 13px; text-transform: uppercase; color: #999; letter-spacing: 1px; }
.sidebar-footer .social-icons a { display: inline-block; color: #999; text-decoration: none; font-size: 20px; margin: 0 15px; transition: color 0.3s ease, transform 0.3s ease; }
.sidebar-footer .social-icons a:hover { color: var(--primary-light); transform: scale(1.15); }

/* 3. ОБЩИ СТИЛОВЕ */
main { width: 100%; }
section { padding: 80px 0; border-bottom: 1px solid var(--border-grey); }
section:last-of-type, #car-wash, #car-service { border-bottom: none; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--detail-black); text-align: center; margin-top: 0; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: 60px; line-height: 1.2; margin-bottom: 25px; color: var(--primary-light); text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }
h2 { font-size: 42px; margin-bottom: 50px; padding-bottom: 15px; position: relative; }
h2::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--accent-burgundy); border-radius: 5px; }
h3 { font-size: 29px; margin-bottom: 25px; }
h4 { font-size: 21px; margin-bottom: 10px; text-transform: none; }
.button { display: inline-block; background: var(--accent-burgundy); color: var(--primary-light); padding: 15px 30px; text-decoration: none; border-radius: 5px; margin: 5px; font-weight: bold; font-size: 18px; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; border: none; cursor: pointer; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.button:hover { background: #6a0000; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); }
.section-cta { text-align: center; margin-top: 50px; }
.section-subtitle { max-width: 800px; margin: -30px auto 50px auto; text-align: center; font-size: 1.1em; }

/* 4. СЕКЦИИ */
#hero { position: relative; overflow: hidden; min-height: 100vh; color: var(--primary-light); isolation: isolate; }
#hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background-image: url('complex-photo.JPG'); background-color: rgba(0, 0, 0, 0.6); filter: blur(1px); transform: scale(1.05); background-size: cover; background-position: center center; background-repeat: no-repeat; background-blend-mode: multiply; }
#hero h1 { animation: fadeInSlideUp 1s ease-out forwards; }
#hero p { font-size: 24px; font-weight: 300; animation: fadeInSlideUp 1s ease-out 0.5s forwards; opacity: 0; animation-fill-mode: forwards; }
.hero-buttons { margin-top: 30px; animation: fadeInSlideUp 1s ease-out 1s forwards; opacity: 0; animation-fill-mode: forwards; }

#about-us { background-color: var(--primary-light); }
.about-text h3, .about-services h3 { text-align: left; text-transform: none; font-size: 29px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.about-text h3::after, .about-services h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background-color: var(--accent-burgundy); border-radius: 5px; }
.about-text p { text-align: left; font-size: 1.1em; line-height: 1.8; }
.about-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.about-list li { font-size: 1.1em; margin-bottom: 20px; display: flex; align-items: center; background: var(--secondary-light); padding: 15px; border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-list li:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.about-list li span { font-size: 1.5em; margin-right: 15px; }
.about-outro { text-align: center; font-size: 1.2em; padding: 30px; background: var(--secondary-light); border-radius: 10px; border-left: 4px solid var(--accent-burgundy); }

.testimonial-container {
    background-color: var(--secondary-light);
    padding: 50px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-grey);
    border-bottom: 1px solid var(--border-grey);
}
.testimonial-slider {
    padding: 0 40px;
}
.testimonial-item {
    padding: 30px;
    background: var(--primary-light);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.testimonial-item::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 48px;
    color: var(--accent-burgundy);
    opacity: 0.15;
    z-index: 1;
}
.testimonial-item p {
    text-align: left;
    margin: 0 0 20px 0;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    font-style: normal;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}
.testimonial-item span {
    display: block;
    font-style: normal;
    font-weight: 700;
    text-align: right;
    color: #555;
    position: relative;
    z-index: 2;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-burgundy) !important;
    transition: transform 0.2s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.2);
}
.swiper-pagination-bullet {
    background-color: #ccc !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--accent-burgundy) !important;
}

#hotel, #weekend-tours, #restaurant { background-color: var(--secondary-light); }
.hotel-room { background: var(--primary-light); padding: 40px; margin: 0 auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); max-width: 700px; border-left: 5px solid var(--accent-burgundy); text-align: center; }
.hotel-room h3 { text-align: center; font-size: 1.8em; }
.hotel-room p { color: var(--text-dark); text-align: center; }
.hotel-room ul { list-style: none; padding: 0; margin: 20px auto; display: inline-block; text-align: left; }

/* === ПРОМЕНЕНИ СТИЛОВЕ ЗА ПОДРАВНЯВАНЕ НА ИКОНИТЕ В ХОТЕЛА === */
.hotel-room ul li {
    padding-left: 0; /* Премахваме padding-left, защото flexbox ще го поеме */
    position: relative;
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex; /* Добавяме flexbox */
    align-items: center; /* Вертикално центриране на съдържанието */
}
.hotel-room ul li::before {
    content: '✅';
    /* Премахваме position: absolute, left и top, защото flexbox ще се грижи за позиционирането */
    font-size: 1.5em;
    margin-right: 10px; /* Добавяме малко разстояние между иконата и текста */
    flex-shrink: 0; /* Гарантира, че иконата няма да се свива */
}
/* === КРАЙ НА ПРОМЕНЕНИТЕ СТИЛОВЕ === */

.booking-comment { font-size: 13px; color: #999; margin-top: 15px; font-style: italic; }

.features-column { display: flex; flex-direction: column; background-color: var(--primary-light); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); height: 100%;}
.features-column h3, .features-column > p { text-align: center; }
.features-column h3 { position: relative; padding-bottom: 15px; flex-shrink: 0; }
.features-column h3::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--accent-burgundy); border-radius: 5px; }
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.photo-gallery a { display: block; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); aspect-ratio: 1 / 1; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.photo-gallery a:hover img { transform: scale(1.05); }
.cards-wrapper { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; height: 100%; justify-content: space-around; }
.tour-card { background-color: var(--secondary-light); padding: 25px; border-radius: 8px; border-left: 4px solid var(--accent-burgundy); display: flex; align-items: center; gap: 20px; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.tour-card .card-icon { font-size: 2.5em; color: var(--accent-burgundy); flex-shrink: 0; }
.tour-card h4 { margin: 0 0 5px 0; text-align: left; font-size: 1.3em; }
.tour-card p { margin: 0; line-height: 1.5; font-size: 1em; text-align: left; }
.tour-card.is-visible { opacity: 1; transform: translateY(0); }

.image-comment { font-size: 13px; color: #999; margin-top: 15px; font-style: italic; text-align: center; }
.event-type { padding: 20px 0; border-bottom: 1px solid var(--border-grey); }
.event-type:last-child { border-bottom: none; padding-bottom: 0; }
.event-type p { text-align: left; }
.event-type h4 { text-align: left; text-transform: uppercase; }
.event-type ul { list-style: none; padding: 0; text-align: left; }
.event-type ul li { padding-left: 30px; position: relative; margin-bottom: 5px; }
.event-type ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-burgundy); font-weight: bold; font-size: 1.2em; }

#car-wash, #car-service { position: relative; color: var(--primary-light); isolation: isolate; }
.service-intro { padding: 80px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; height: 100%;}
.service-intro-wash { background-image: url('wash.JPG'); }
.service-intro-service { background-image: url('service.png'); }
.service-intro-wash, .service-intro-service {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.service-intro::before { content: ''; position: absolute; top:0; left: 0; width: 100%; height: 100%; background-color: rgba(10,10,10,0.7); z-index: -1; }
.service-intro h2 { color: var(--primary-light); text-align: left; text-transform: none; font-size: 35px; }
.service-intro h2::after { display: none; }
.service-intro p { font-size: 18px; opacity: 0.95; text-align: left; }
.service-list { padding: 50px 40px; background: rgba(0, 0, 0, 0.65); height: 100%; display: flex; flex-direction: column; justify-content: center;}
.service-list ul { list-style: none; padding: 0; margin: 0; }
.service-list li { display: flex; gap: 20px; align-items: flex-start; padding: 25px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); transition: background-color 0.3s ease; }
.service-list li:hover { background-color: rgba(255, 255, 255, 0.05); }
.service-list li:last-child { border-bottom: none; }
.service-icon { font-size: 28px; color: var(--accent-burgundy); padding-top: 5px; width: 40px; text-align: center; }
.service-details h4 { margin: 0 0 5px 0; text-align: left; font-size: 21px; color: #f0f0f0; }
.service-details p { margin: 0; text-align: left; font-size: 16px; color: #cccccc; }
.service-details p a { color: #fff; font-weight: bold; text-decoration: none; } .service-details p a:hover { text-decoration: underline; }

#contact { background: var(--primary-light); text-align: center; }
#contact h2 { color: var(--detail-black); }
#contact p { font-size: 1.2em; }

footer { padding: 25px; background: var(--detail-black); color: var(--primary-light); font-size: 16px; }

#back-to-top-btn { position: fixed; bottom: 25px; right: 25px; z-index: 1000; width: 50px; height: 50px; background-color: var(--accent-burgundy); color: var(--primary-light); border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,0.2); text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(15px); pointer-events: none; transition: all 0.3s ease-in-out; }
#back-to-top-btn:hover { background-color: #6a0000; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
#back-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

#mobile-menu-toggle { display: none; position: fixed; top: 20px; right: 20px; z-index: 1200; background-color: var(--accent-burgundy); color: var(--primary-light); border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 24px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
#mobile-menu-toggle:hover { transform: scale(1.1); }
#mobile-menu-toggle[aria-expanded="true"] i::before { content: '\f00d'; }

/* =========================================== */
/* === RESPONSIVE DESIGN - MEDIA QUERIES === */
/* =========================================== */

@media (max-width: 991.98px) {
    main { margin-left: 0 !important; }
    #mobile-menu-toggle { display: block; }
    .sidebar-handle { display: none; }
    #sidebar-container { pointer-events: none; position: fixed; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity var(--sidebar-transition-speed) ease; }
    body.sidebar-open #sidebar-container { opacity: 1; pointer-events: auto; }
    #sidebar { transform: translateX(-100%) !important; }
    body.sidebar-open #sidebar { transform: translateX(0) !important; }
    #sidebar-container:hover #sidebar { transform: translateX(-100%); }
    #sidebar-container:hover { width: 100%; }

    section { padding: 60px 0; }
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 26px; }
    .about-text h3, .about-services h3 { text-align: center; }
    .about-text h3::after, .about-services h3::after { left: 50%; transform: translateX(-50%); }
    .about-text p { text-align: center; }
    .service-intro { text-align: center; padding: 60px 20px; }
    .service-intro h2, .service-intro p { text-align: center; }
    #hero { padding-top: 100px; padding-bottom: 100px; min-height: auto; }
}

@media (max-width: 767.98px) {
    h1 { font-size: 42px; line-height: 1.3; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .hero-buttons .button { width: 100%; max-width: 300px; margin: 8px 0; }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
    .testimonial-slider { padding: 0 15px; }

    /* КОРЕКЦИЯ ЗА МОБИЛНИ СТРЕЛКИ: Намаляваме размера на стрелките и ги позиционираме по-близо до слайдера */
    .swiper-button-next, .swiper-button-prev {
        --swiper-navigation-size: 30px; /* Swiper.js променлива за размера на иконата */
    }
    .swiper-button-prev {
        left: 0px;
    }
    .swiper-button-next {
        right: 0px;
    }
}

@media (max-width: 575.98px) {
    section { padding: 50px 0; }
    h1 { font-size: 34px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    .button { padding: 12px 24px; font-size: 16px; }
    .photo-gallery { grid-template-columns: 1fr; }
    .testimonial-slider { padding: 0 10px; }

    /* КОРЕКЦИЯ ЗА МОБИЛНИ СТРЕЛКИ: Правилото, което скриваше стрелките, е ПРЕМАХНАТО. Те вече ще са видими. */
}