/* Variables */
:root {
    --color-dark: #222229;
    --color-orange: #e94720;
    --color-light-orange: #febca4;
    --color-white: #ffffff;
    --color-grey: #f3f3f3;
    --color-text-grey: #494958;
    
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    --transition: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

.text-italic {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    text-transform: lowercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn--primary:hover {
    background-color: #d9411d;
}

.btn--transparent {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn--transparent:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn--large {
    height: 56px;
    padding: 0 40px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header.scrolled .header__logo,
.header.scrolled .header__nav a,
.header.scrolled .header__phone {
    color: var(--color-dark);
}

.header.scrolled .burger-menu span {
    background-color: var(--color-dark);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.header__logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--color-white);
    transition: var(--transition);
}

.header__nav {
    display: flex;
    gap: 30px;
}

.header__nav a {
    color: var(--color-white);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}

.header__nav a:hover {
    color: var(--color-light-orange);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__phone {
    color: var(--color-white);
    font-weight: 600;
    font-size: 15px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateY(-10px);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-menu__nav a {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(34,34,41,0.7) 0%, rgba(34,34,41,0.4) 100%);
}

.hero__content {
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 .text-italic {
    color: var(--color-light-orange);
    font-size: clamp(48px, 7vw, 84px);
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--color-grey);
    padding-bottom: 60px;
}

.about__stat {
    text-align: center;
}

.stat__number {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.stat__text {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-dark);
}

.about__desc {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__desc h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 30px;
}

.about__desc p {
    font-size: 18px;
    color: var(--color-text-grey);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0 120px;
    background-color: var(--color-grey);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: block;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(34,34,41,0.8) 0%, rgba(34,34,41,0) 50%);
}

.service-card__title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Banner */
.banner {
    padding: 100px 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
}

.banner__inner {
    max-width: 800px;
    margin: 0 auto;
}

.banner h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--color-light-orange);
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__logo {
    font-size: 32px;
    font-weight: 900;
}

.footer__contacts,
.footer__socials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contacts a {
    font-size: 18px;
    font-weight: 600;
}

.footer__contacts a:hover {
    color: var(--color-orange);
}

.footer__socials a {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer__socials a:hover {
    color: var(--color-light-orange);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 20px;
}

.footer__links {
    display: flex;
    gap: 30px;
}

.footer__links a:hover {
    color: var(--color-white);
}

/* Floating Button */
.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(233, 71, 32, 0.4);
    z-index: 90;
    transition: var(--transition);
}

.btn-floating:hover {
    transform: scale(1.1);
    background-color: #d9411d;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .header__nav, .header__actions {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header__container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h1 .text-italic {
        font-size: 36px;
    }
    
    .about__desc h2 {
        font-size: 28px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__top {
        flex-direction: column;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}
