:root {
    --primary-color: #D48C2E; 
    --primary-hover: #b67622;
    --text-dark: #2c2c2c;
    /* Змінено з #666 на #444 для кращого контрасту (вимога Google) */
    --text-light: #444;
    --bg-light: #f9f9f9;
    --white: #fff;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; display: block; }

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

/* Шапка */
.header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100px; }
.logo-link { display: flex; align-items: center; height: 100%; max-width: 60%; }
.main-logo { height: 90px; width: auto; object-fit: contain; }

.nav-list { display: flex; }
.nav-list li { margin-left: 30px; }
.nav-list a {
    font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
    text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
    position: relative;
}
.nav-list a::after {
    content: ''; display: block; width: 0; height: 2px;
    background: var(--primary-color); transition: width 0.3s; margin-top: 3px;
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a:hover, .nav-list a.active { color: var(--primary-color); }

.burger { display: none; cursor: pointer; }
.burger div {
    width: 25px; height: 3px; background-color: var(--text-dark);
    margin: 5px; transition: var(--transition);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative; /* Важливо для позиціювання картинки */
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 100px;
    overflow: hidden; /* Про всяк випадок */
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Щоб картинка не розтягувалася, а обрізалася гарно */
    z-index: -1; /* Ховаємо її під текст */
}
.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6); /* Додали затемнення сюди */
}.hero-content h1 {
    font-family: var(--font-heading); color: var(--white); font-size: 3.5rem;
    margin-bottom: 20px; padding: 0 10px; line-height: 1.2;
}
.hero-content p {
    color: #eee; font-size: 1.3rem; margin-bottom: 40px;
    padding: 0 10px; font-weight: 300;
}

.btn {
    display: inline-block; background: var(--primary-color); color: var(--white);
    padding: 15px 40px; border-radius: 5px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; transition: var(--transition); border: none; cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 140, 46, 0.4); font-size: 1rem;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* Секції */
.section { padding: 80px 0; }
.section-title {
    text-align: center; font-family: var(--font-heading); font-size: 2.5rem;
    color: var(--text-dark); margin-bottom: 50px; position: relative; padding-bottom: 15px;
}
.section-title::after {
    content: ''; display: block; width: 80px; height: 3px;
    background: var(--primary-color); margin: 15px auto 0;
}

/* Про нас */
.about-section { background: var(--white); text-align: center; }
.about-text { font-size: 1.2rem; max-width: 800px; margin: 0 auto 50px; color: var(--text-light); }
.about-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.stat-item {
    flex: 1; min-width: 250px; max-width: 300px; padding: 30px;
    background: var(--bg-light); border: 1px solid #eee; border-radius: 8px;
    transition: var(--transition);
}
.stat-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.stat-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.stat-item h3 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 5px; color: var(--text-dark); }

/* Сервіси */
.services-section { background-color: #fcfcfc; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: var(--transition);
    border-bottom: 3px solid transparent; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); border-bottom: 3px solid var(--primary-color); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-img { width: 100%; height: 220px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-content { padding: 30px; text-align: center; flex-grow: 1; }
.service-content h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 15px; color: var(--text-dark); }
.service-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

/* Спец правило для плану */
.service-img img.plan-img {
    object-fit: contain; 
    transform: rotate(90deg) scale(1.6) !important; 
}

/* Галерея */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; height: 300px; cursor: pointer; }
.gallery-item img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px; color: white; opacity: 0; transform: translateY(20px);
    transition: all 0.4s ease;
}
.gallery-item:hover .gallery-info { opacity: 1; transform: translateY(0); }
.gallery-info h3 { font-family: var(--font-heading); letter-spacing: 1px; }

/* Контакти */
.contacts-section { background: var(--bg-light); }
.contacts-wrapper { display: flex; flex-wrap: wrap; gap: 50px; }
.contacts-info, .map-container { flex: 1; min-width: 300px; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item i { font-size: 1.5rem; color: var(--primary-color); margin-right: 20px; margin-top: 5px; }
.info-item h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 5px; }
.info-item a { display: block; color: var(--text-light); margin-bottom: 5px; font-weight: 500; transition: var(--transition); }
.info-item a:hover { color: var(--primary-color); }

.socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; background: var(--white); color: var(--text-dark);
    border-radius: 50%; margin-right: 15px; font-size: 1.2rem;
    transition: var(--transition); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.socials a:hover { background: var(--primary-color); color: var(--white); transform: translateY(-3px); }

.map-container iframe {
    width: 100%; height: 400px; border: 0; border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); filter: grayscale(20%); transition: all 0.3s ease;
}
.map-container iframe:hover { filter: grayscale(0%); transform: translateY(-5px); }

footer { background: #1a1a1a; color: #888; text-align: center; padding: 30px 0; font-size: 0.9rem; }

/* Адаптивність */
@media screen and (max-width: 768px) {
    .header-container { height: 80px; }
    .main-logo { height: 60px; }
    .hero { margin-top: 80px; }
    
    .nav-list {
        position: absolute; right: 0; top: 80px;
        background-color: var(--white); flex-direction: column; width: 70%;
        height: calc(100vh - 80px); transform: translateX(100%);
        transition: transform 0.4s ease-in; box-shadow: -2px 5px 10px rgba(0,0,0,0.1); padding-top: 30px;
    }
    .nav-list.nav-active { transform: translateX(0%); }
    .nav-list li { margin: 25px 0; text-align: center; }
    
    .burger { display: block; }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    
    .hero-content h1 { font-size: 2.2rem; }
    .about-stats { flex-direction: column; align-items: center; }
    .section-title { font-size: 2rem; }
}