/* ==========================================
   BASALT - Construction Template
   Pixel-perfect copy
   ========================================== */

/* Variables */
:root {
    --color-primary: #FF5E14;
    --color-dark: #222222;
    --color-gray: #737373;
    --color-light: #F5F5F5;
    --color-white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background-color: #2A2A2A;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__link {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar__link:hover {
    color: var(--color-white);
}

.top-bar__link svg {
    fill: var(--color-primary);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__icon svg {
    width: 40px;
    height: 40px;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-white);
    line-height: 1;
}

.logo__tagline {
    font-size: 11px;
    color: var(--color-primary);
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 30, 60, 0.7), rgba(0, 20, 40, 0.8));
}

.hero__content {
    text-align: center;
    color: var(--color-white);
    padding-top: 60px;
}

.hero__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn--primary:hover {
    background-color: #e54d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 94, 20, 0.4);
}

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

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

/* ==========================================
   SECTION STYLING
   ========================================== */
.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about__experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 30px;
    text-align: center;
}

.about__experience-number {
    display: block;
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
}

.about__experience-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.about__text {
    color: var(--color-gray);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-dark);
}

.about__feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: 100px 0;
    background-color: var(--color-light);
}

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

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

.service-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--color-primary);
}

.service-card__icon {
    margin-bottom: 25px;
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.service-card__text {
    color: var(--color-gray);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
}

.service-card__link:hover {
    color: var(--color-dark);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
    position: relative;
    padding: 100px 0;
}

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

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

.stats__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.9);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 20px;
}

.stat__number {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat__label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

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

.project-card {
    overflow: hidden;
}

.project-card__image {
    position: relative;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.1);
}

.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 94, 20, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-card__link {
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 25px;
    border: 2px solid var(--color-white);
}

.project-card__link:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.project-card__content {
    padding: 25px 0;
}

.project-card__category {
    font-size: 13px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 8px;
}

.projects__cta {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    padding: 100px 0;
    background-color: var(--color-light);
}

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

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 40px;
    position: relative;
}

.testimonial-card__quote {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0.5;
}

.testimonial-card__text {
    font-size: 17px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card__author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card__name {
    display: block;
    font-weight: 700;
    color: var(--color-dark);
    font-size: 17px;
}

.testimonial-card__role {
    font-size: 14px;
    color: var(--color-gray);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
    padding: 80px 0;
    background-color: var(--color-primary);
}

.cta__content {
    text-align: center;
}

.cta__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
}

.cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--color-dark);
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.logo--footer .logo__name {
    color: var(--color-white);
}

.footer__about {
    color: var(--color-gray);
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--color-gray);
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer__links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-gray);
    margin-bottom: 15px;
    font-size: 15px;
}

.footer__contact svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: var(--color-gray);
    font-size: 14px;
}

.footer__social {
    display: flex;
    gap: 15px;
}

.footer__social a {
    color: var(--color-gray);
    transition: color 0.3s ease;
}

.footer__social a:hover {
    color: var(--color-primary);
}

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

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .social-icons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__experience {
        position: relative;
        bottom: 0;
        right: 0;
        display: inline-block;
        margin-top: 20px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .projects__grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .stat__number {
        font-size: 42px;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
}
