/* === RESET === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === ПРОМЕНЛИВИ === */
:root {
    --orange: #E07B2A;
    --orange-dark: #C56A1E;
    --dark: #1A1A1A;
    --gray: #6B6B6B;
    --light: #F5F5F3;
    --border: #E8E8E8;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.13);
    --radius: 12px;
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

/* === НАВИГАЦИЯ === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

.nav-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-go {
    color: var(--orange);
}

.logo-stroy {
    color: var(--dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange);
    background: rgba(224, 123, 42, 0.06);
}

.nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 9px 20px;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--orange-dark) !important;
    color: var(--white) !important;
}

.nav-cta.active {
    background: rgba(224, 123, 42, 0.08) !important;
    color: var(--orange) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* === DROPDOWN === */
.has-dropdown {
    position: relative;
}

.nav-link-dropdown:focus {
    outline: none;
}

.dropdown {
    display: none !important;
}

.dropdown li a {
    display: block;
    padding: 10px 14px;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
}

.dropdown li a:hover {
    background: rgba(224, 123, 42, 0.08);
    color: var(--orange);
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-dropdown i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.has-dropdown:hover .nav-link-dropdown i {
    transform: rotate(180deg);
}

/* === BADGE === */
.badge {
    display: inline-block;
    background: rgba(224, 123, 42, 0.12);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.badge--dark {
    background: var(--light);
    color: var(--gray);
}

/* === БУТОН === */
.btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 15px 34px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
}

.btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(224, 123, 42, 0.4);
}

/* === ХЕДЪРИ НА СЕКЦИИ === */
section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

/* === НАЧАЛО (HERO) === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 60%, #342b1a 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 45%, rgba(224, 123, 42, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(224, 123, 42, 0.08) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-logo {
    position: absolute;
    top: 110px;
    right: 60px;
    width: 260px;
    z-index: 1;
    border-radius: 24px;
}

@media (max-width: 1200px) {
    .hero-logo {
        right: 24px;
        width: 220px;
    }
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .hero-watermark {
        width: 650px;
    }
}

@media (max-width: 992px) {
    .hero-watermark {
        width: 520px;
    }
}

@media (max-width: 576px) {
    .hero-watermark {
        width: 380px;
    }
}

@media (max-width: 992px) {
    .hero-logo {
        display: none;
    }
}

.hero-content .badge {
    background: rgba(224, 123, 42, 0.18);
    border: 1px solid rgba(224, 123, 42, 0.3);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.accent {
    color: var(--orange);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-top: 8px;
}

.hero-company-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-company p:last-child {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.75;
}

.hero-checks-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .hero-why-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero {
        min-height: auto;
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        padding-right: 150px;
    }

    .hero-logo {
        display: block;
        top: 110px;
        right: 5px;
        width: 140px;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        padding-right: 120px;
    }

    .hero-logo {
        top: 95px;
        width: 110px;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: bounce 2.5s infinite;
}

.hero-scroll-phone {
    width: 260px;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* === ЗАЩО НИЕ === */
.why-us {
    background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 60%, #342b1a 100%);
    padding: 90px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-text .badge--dark {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.why-us-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.why-us-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.why-us-checks h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
}

.check-list li i {
    color: var(--orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* === УСЛУГИ === */
.services {
    background-image: linear-gradient(rgba(255, 255, 255, 0.40), rgba(255, 255, 255, 0.40)), url('../images/betonna-ploshtadka-2.jpg');
    background-size: cover;
    background-position: bottom;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--light);
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(224, 123, 42, 0.1);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-icon i {
    font-size: 1.3rem;
    color: var(--orange);
    transition: color var(--transition);
}

.service-card:hover .service-icon {
    background: var(--orange);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.91rem;
    line-height: 1.65;
}

/* === ПРОЕКТИ === */
.projects {
    background: var(--light);
}

.projects .container {
    max-width: 1800px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: 340px;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Placeholder цветове — сменяш с реални снимки */
.project-img--1 {
    background-color: #8B7355;
    background-image: url('../images/remont-na-pokriv-1.png');
}

.project-img--2 {
    background-color: #7A8B9A;
    background-image: url('../images/toploizolaciq.png');
}

.project-img--3 {
    background-color: #9A8B7A;
    background-image: url('../images/boqdisvane.jpg');
}

.project-img--4 {
    background-color: #8B8B8B;
    background-image: url('../images/betonna-ploshtadka.jpg');
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--orange);
    padding: 8px 22px;
    border-radius: 50px;
}

.project-info {
    padding: 20px 24px;
}

.project-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.project-info p {
    color: var(--gray);
    font-size: 0.87rem;
}

/* === ЗА НАС === */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.stat-num.animate {
    animation: statPop 0.5s ease;
}

@keyframes statPop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

.about-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: var(--light);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gray);
}

.about-placeholder i {
    font-size: 2.8rem;
    color: var(--orange);
    opacity: 0.4;
}

.about-placeholder p {
    font-size: 0.88rem;
    font-style: italic;
}

/* === КОНТАКТИ === */
.contact {
    background: var(--light);
}

.contact-wrap {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 52px 64px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
}

.contact-icon {
    width: 72px;
    height: 72px;
    background: rgba(224, 123, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    text-decoration: none;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--orange);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
}

.contact-phone {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.contact-phone:hover {
    color: var(--orange-dark);
}

.contact-card p {
    color: var(--gray);
    font-size: 0.88rem;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.45);
    padding: 28px 0;
    text-align: center;
    font-size: 0.87rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-placeholder {
        height: 300px;
    }
}

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

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px 20px;
        gap: 30px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        padding: 14px 20px;
        text-align: center;
    }

    .dropdown {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .contact-card {
        padding: 36px 28px;
    }
}