:root {
    --bg-color: #1a1a1a;
    --primary-color: #252525;
    --accent-color: #d4af37;
    --text-color: #e0e0e0;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

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

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.logo:hover {
    color: var(--accent-color);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher {
    display: flex;
    background-color: var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 8px 12px;
    cursor: pointer;
    font-family: var(--body-font);
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.lang-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.header-phone-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.header-phone-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
    padding: 80px 0;
}

/* About Section */
.about {
    background-color: var(--primary-color);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-text h3 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 15px;
}

/* Advantages Section */
.advantages {
    background-color: var(--bg-color);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.advantage-card {
    background-color: var(--primary-color);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.advantage-card img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}
.advantage-card h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

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

.service-card {
    background-color: var(--primary-color);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--primary-color);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.portfolio-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Contact Section */
.contact {
    text-align: center;
}
.contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
}

.contact-item a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.contact-item img {
    height: 30px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .header-phone-btn {
        display: none;
    }
    .header-controls {
        margin-left: auto;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
    }
    .nav.active {
        display: block;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    .nav li {
        margin: 10px 0;
        margin-left: 0;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        z-index: 10;
        margin-left: 15px;
    }
    .burger span {
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s linear;
    }
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .btn { padding: 10px 20px; }
    .service-card { padding: 30px; }
    .advantage-card { padding: 30px; }
}