/* Base Styles */
:root {
    --primary-color: #3d52a0;
    --primary-dark: #2d3d7a;
    --secondary-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --font-family: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #2a3b7a;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

section {
    padding: 80px 0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background-color: #2a3b7a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(61, 82, 160, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    margin-right: 20px;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 101;
}

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.promo-banner p {
    margin: 0;
    font-weight: 500;
}

.promo-button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid white;
}

.promo-button:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}



/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 40px;
    z-index: 100;
    padding: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.logo img {
    height: 70px;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.mobile-menu {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.mobile-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.mobile-social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: var(--secondary-color);
}

.mobile-social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    order: 2;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Team Section */
.team {
    background-color: #f8f9fa;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 300px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.reviews-slider::-webkit-scrollbar {
    height: 8px;
}

.reviews-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reviews-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.review-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    min-width: 300px;
    flex: 1;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
}

.reviewer {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Price List */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-category {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.price-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s;
}

.price-category-header:hover {
    background-color: #f8f8f8;
}

.price-category-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-category-header i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.price-category.active .price-category-header i {
    transform: rotate(180deg);
}

.price-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    display: none;
}

.price-category.active .price-category-content {
    max-height: 2000px; /* Large enough to fit all content */
    display: block;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px dashed #eee;
}

.price-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.service-name {
    flex: 1;
    padding-right: 1rem;
}

.service-price {
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
}

.price-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: #777;
}

/* Appointment Section */
.appointment {
    background-color: var(--light-bg);
}

.appointment-form {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}



.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contacts Section */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

/* Make contact containers stack vertically on mobile */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info,
.contact-details {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-info h3,
.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-map iframe {
    height: 100%;
    min-height: 300px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: white;
    opacity: 0.8;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.language-flag {
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: var(--transition);
}

.language-flag img {
    width: 24px !important;
    height: 16px !important;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    max-width: 24px !important;
    object-fit: contain;
}

.language-flag.active {
    opacity: 1;
}

.language-flag:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.mobile-language-switcher {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-language-switcher .language-flag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.mobile-language-switcher .language-flag img {
    width: 24px !important;
    height: 16px !important;
    max-width: 24px !important;
    object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .desktop-nav, .social-icons, .language-switcher {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        height: 80vh;
        background-position: center 30%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .services-grid,
    .price-list {
        grid-template-columns: 1fr;
    }

    .appointment-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: auto;
        min-height: 100vh;
        background-position: center 30%;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .promo-banner {
        padding: 15px 10px;
    }
    
    .promo-content {
        text-align: center;
        justify-content: center;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo, .footer-social {
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-item i {
        margin-bottom: 10px;
    }

    /* Hide header and promo banner when form is active */
    body.form-active header,
    body.form-active .promo-banner {
        display: none;
    }
}
