html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/* Navbar fix: offset за anchor links */
section::before {
    content: '';
    display: block;
    height: 80px; /* височина на navbar-а */
    margin-top: -80px; /* компенсира offset */
    visibility: hidden;
}

/* Секции */
section {
    min-height: 100vh; /* пълна височина на прозореца */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Hero секция */
#hero {
    background: url('../images/hero-bg.jpeg') center/cover no-repeat;
    flex-direction: column;
    color: white;
    position: relative;
}
#hero::after {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
#hero > div {
    position: relative;
    z-index: 2;
}
#hero h1 {
    font-size: 3rem;
    font-weight: bold;
}
#hero p {
    font-size: 1.5rem;
}

/* CTA бутон */
.btn-cta {
    margin-top: 20px;
    background-color: #C9B59C;
    color: white;
    border: none;
}
.btn-cta:hover {
    background-color: #D9CFC7;
    color: #333;
}

/* Редуващи се цветове на секциите */
#hero, #about {
    background-color: #EFE9E3;
}
#services, #contacts {
    background-color: #D9CFC7;
}

#about {
    background: url('../images/info.jpeg') center/cover no-repeat;
    color: white; /* ако искаш текста да се чете върху снимката */
    position: relative;
}
#about::after {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4); /* леко тъмно затъмнение за текста */
    z-index: 1;
}
#about > .container {
    position: relative;
    z-index: 2;
}

/* Услуги */
.service-card {
    background-color: #F9F8F6;
    color: #333;
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.service-card:hover {
    transform: translateY(-10px);
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Контакти */
.contact-card {
    background-color: #F9F8F6;
    color: #333;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Navbar светъл */
.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: bold;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #C9B59C;
}
.navbar-light .navbar-brand {
    color: #333;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #F9F8F6;
    color: #333;
    text-align: center;
    padding: 20px 0;
}

/* Адаптивни промени за мобилни */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1rem;
    }

    #services h2, #about h2, #contacts h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 20px;
        margin: 10px;
    }
    .contact-card {
        padding: 15px;
    }

    .services-container {
        flex-direction: column;
    }
}

@media (max-height: 600px) {
    #hero {
        align-items: flex-start;
        padding-top: 50px;
    }
}

/* Desktop – бутоните отдясно */
.language-switch {
    margin-left: 15px;
}

/* Стилове за бутоните */
.lang-btn {
    border: 1px solid #C9B59C;
    background: white;
    color: #333;
    font-weight: bold;
}

.lang-btn.active {
    background: #C9B59C;
    color: white !important;
}

/* Mobile – бутоните да отидат отдолу центрирани */
@media (max-width: 992px) {
    .language-switch {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

