/* --- Загальні стилі --- */
:root {
    --primary-color: #2c3e50; /* Темно-синій */
    --secondary-color: #d4af37; /* Золотий/Охра акцент */
    --background-color: #f4f4f4; /* Світло-сірий фон */
    --text-color: #333;
    --white-color: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-headings: 'Playfair Display', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding-top: 80px; /* Компенсація висоти фіксованого хедера */
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

section {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #c8a02a;
    transform: translateY(-2px);
}

/* --- Хедер --- */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img { /* Стилі для логотипа в хедері */
    height: 50px; /* Можете змінити це значення */
    width: auto;
    display: block;
}

.nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.header-contact a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.burger {
    display: none; /* Ховаємо на десктопі */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
}

.mobile-nav {
    display: none; /* Ховаємо на десктопі */
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 999;
}

.mobile-nav-link {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 0;
}

/* --- Секція Hero --- */
.hero {
    background-color: var(--background-color);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Секція "Про мене" --- */
.about {
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 40%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.certificate-block {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.certificate-block img {
    width: 400px; /* Змінено! Тепер 400px */
    max-width: 100%; /* Додано для адаптивності */
    height: auto;
}

.certificate-block p {
    margin: 0;
    font-weight: bold;
}

/* --- Секція "Послуги" --- */
.services {
    background-color: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки для 4-х послуг */
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Секція CTA --- */
.contact-cta {
    text-align: center;
    background-color: var(--background-color);
    color: var(--primary-color);
}

.contact-cta h2 {
    color: var(--primary-color);
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    font-size: 1.1rem;
    margin: 10px 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.contact-item a:hover {
    color: var(--secondary-color);
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* Співвідношення сторін карти */
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* --- Футер --- */
.footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer p {
    margin: 5px 0;
}

/* --- Адаптивність --- */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        margin-top: 40px;
        margin-bottom: 0;
    }

    .about-content {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    body { padding-top: 70px; }
    .header, .header-content { height: 70px; }

    .nav, .header-contact {
        display: none;
    }

    .burger {
        display: flex;
    }

    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .hero-image img { max-width: 80%; }
}

/* --- Стилі для контактної форми --- */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form .form-group {
    display: flex;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    box-sizing: border-box;
}
.contact-form .form-group input {
    flex: 1;
}
.contact-form button {
    border: none;
    cursor: pointer;
    align-self: center;
    width: auto;
}
.contact-divider {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    color: #aaa;
    position: relative;
}
.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}
.contact-divider::before {
    left: 0;
}
.contact-divider::after {
    right: 0;
}

/* Адаптація форми для мобільних */
@media (max-width: 480px) {
    .contact-form .form-group {
        flex-direction: column;
        gap: 0;
    }
    .contact-form .form-group input {
        width: 100%;
        margin-bottom: 15px;
    }
    .contact-form button {
        width: 100%;
    }
    .contact-divider::before,
    .contact-divider::after {
        width: 30%;
    }
}






