/* =========================================
   ZARINA SERVICES - MAIN STYLESHEET
   Outdoor Expertise & Construction Harmony
   ========================================= */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F8FAFC;
    color: #334155;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* SECTION SPACING */
.section-padding {
    padding: 80px 0;
}

/* SECTION TITLE */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #F97316;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 36px;
    margin-top: 10px;
    color: #0F172A;
}

/* =========================================
   PRELOADER
========================================= */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0F172A;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid #F97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========================================
   HEADER
========================================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO */
.logo h2 {
    color: #fff;
    font-size: 22px;
}

.logo span {
    color: #F97316;
}

.logo small {
    color: #94A3B8;
    font-size: 11px;
}

/* NAV */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #E2E8F0;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #F97316;
}

/* BUTTON */
.btn-primary {
    background: #F97316;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #fff;
    color: #0F172A;
}

/* MOBILE MENU */
#menu-btn {
    display: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    height: 100vh;
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
}

.hero-content {
    position: relative;
    color: white;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #E2E8F0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* =========================================
   ABOUT
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #0F172A;
}

.about-content p {
    margin-bottom: 15px;
}

/* =========================================
   COUNTERS
========================================= */
.counter-section {
    background: #0F172A;
    color: white;
    padding: 60px 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.counter-box h2 {
    font-size: 40px;
    color: #F97316;
}

/* =========================================
   SERVICES
========================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 30px;
    color: #F97316;
    margin-bottom: 15px;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* =========================================
   WHY CHOOSE US
========================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.why-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.why-card i {
    font-size: 30px;
    color: #22C55E;
    margin-bottom: 10px;
}

/* =========================================
   PROJECTS
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* =========================================
   QUOTE FORM
========================================= */
.quote-form {
    display: grid;
    gap: 15px;
    max-width: 600px;
    margin: auto;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    outline: none;
}

/* =========================================
   CONTACT
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-grid img {
    width: 100%;
    border-radius: 10px;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

footer h3, footer h4 {
    color: white;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1E293B;
    padding-top: 15px;
}
/* MOBILE NAV ACTIVE */
nav.active ul {
    display: flex;
    flex-direction: column;
    background: #0F172A;
    position: absolute;
    top: 70px;
    right: 0;
    width: 250px;
    padding: 20px;
}

/* STICKY HEADER EFFECT */
header.sticky {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
/* =========================================
   ANIMATIONS
========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* TABLET */
@media (max-width: 992px) {

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    nav ul {
        display: none;
    }

    #menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

}