/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Bulgarian Flag Colors */
    --color-green: #1a5f3f;
    --color-red: #d62828;
    --color-white: #ffffff;
    --color-gold: #d4a574;

    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gray: #e9ecef;

    /* Text Colors */
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --text-light: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;

    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-green) 0%, #145238 100%);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-call {
    background: var(--color-red);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-call:hover {
    background: #c21f1f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(26, 95, 63, 0.02) 10px, rgba(26, 95, 63, 0.02) 20px);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-green {
    color: var(--color-green);
}

.text-red {
    color: var(--color-red);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-green) 0%, #145238 100%);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

.btn-outline:hover {
    background: var(--color-red);
    color: var(--text-light);
    transform: translateY(-3px);
}

.hero-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2.5rem;
}

.flag {
    font-size: 3rem;
}

.bus-icon {
    font-size: 3.5rem;
}



/* Sections */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), var(--color-red));
    border-radius: 2px;
}

.section-title.text-red {
    color: var(--color-red);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 10px;
    height: 400px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Фото полностью видно без обрезки */
    display: block;
    border-radius: var(--radius-md);
    user-select: none;  /* Запрет выделения */
    -webkit-user-drag: none;  /* Запрет перетаскивания */
    pointer-events: none;  /* Не мешает свайпам */
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
    user-select: none;  /* Запрет выделения видео */
}

/* Video play button overlay */
.carousel-item {
    position: relative;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(26, 95, 63, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: none;
    opacity: 0;
}

.video-play-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.video-play-overlay:hover {
    background: rgba(26, 95, 63, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay::after {
    content: '▶';
    font-size: 2.5rem;
    color: white;
    margin-left: 5px;
}


.placeholder-box {
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.carousel-btn {
    display: none;
}

.carousel-btn:hover {
    background: var(--color-green);
    color: var(--text-light);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-green);
    transform: scale(1.3);
}

/* Schedule Section */
.schedule-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.work-card {
    background: transparent;  /* Убираем белый фон */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;  /* Убираем тень, если не нужна */
    transition: var(--transition);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}


.work-card:hover {
    transform: translateY(-5px);
    box-shadow:none;
}

.work-card .placeholder-box {
    min-height: 250px;
    object-fit: contain;
}

/* Services Section */
.services-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--color-green);
    border-bottom: 5px solid var(--color-red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.8;
}

.service-description p {
    margin-bottom: 0.5rem;
}

/* Additional Services */
.additional-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}

.additional-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.additional-icon {
    font-size: 1.8rem;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.additional-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkmark {
    color: var(--color-green);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--color-green) 0%, #145238 100%);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    color: var(--text-light);
    text-align: center;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 1.5rem;
}

.telegram-link {
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.telegram-link a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
}

.telegram-icon {
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-green) 0%, #145238 100%);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-icon {
    font-size: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-green);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 0;
        justify-content: flex-start;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu .btn-call {
        display: block;
        text-align: center;
        margin: 1rem 0;
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .schedule-card {
        height: 500px;
    }

    .services-card {
        padding: 2rem 1.5rem;
    }

    .services-grid,
    .additional-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .schedule-card {
        height: 400px;
    }

    /* Hide car animation on mobile */

}

/* Disable Text Selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection for input fields */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* General Link Styling */
a {
    color: var(--color-green);
    text-decoration: none;
    transition: var(--transition);
}

a:visited {
    /* color: var(--color-green); */ /* This was causing the issue, removing it */
}

a:hover {
    color: var(--color-red);
    text-decoration: underline;
}

/* Override for specific elements */
.nav-link, .btn-call, .btn, .footer-text a {
    text-decoration: none !important;
}

.nav-link:hover, .btn-call:hover, .btn:hover {
    text-decoration: none !important;
}


/* New Services Overview Section */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-overview-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-overview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-green);
}

.service-overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-overview-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-overview-card .btn-outline {
    border-color: var(--color-green);
    color: var(--color-green);
}

.service-overview-card .btn-outline:hover {
    background: var(--color-green);
    color: var(--text-light);
}

/* New Contact Page Styles */
.contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-main-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-main-btn {
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
}

.phone-btn {
    background: var(--color-green);
}

.whatsapp-btn {
    background: #25D366;
}

.contact-social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    background: var(--bg-light);
    border: 1px solid var(--bg-gray);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-green);
    color: var(--color-green);
}

.social-link img {
    width: 24px;
    height: 24px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .contact-page-container {
        grid-template-columns: 1fr;
    }
}


/* Floating Phone Button */
.floating-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-red) 0%, #c21f1f 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(214, 40, 40, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-phone:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(214, 40, 40, 0.6);
}

.phone-icon {
    font-size: 1.5rem;
    animation: ring 1.5s infinite;
}

.phone-number {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(214, 40, 40, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(214, 40, 40, 0.7);
    }
}

/* Ring animation for icon */
@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-phone {
        bottom: 15px;
        right: 15px;
        padding: 1px 18px;
        font-size: 0.95rem;
    }

    .phone-icon {
        font-size: 1.8rem;
        animation: ring-smooth 1.5s infinite;
    }

    .phone-number {
        font-size: 0.95rem;
        letter-spacing: 0.1px;
    }
}

/* Smooth ring animation for mobile */
@keyframes ring-smooth {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-8deg);
    }
    20%, 40% {
        transform: rotate(8deg);
    }
}


