/* ==========================================================
   TARZz Builders Website v1.0
   Production CSS
   ========================================================== */


/* ==========================================================
   RESET
========================================================== */

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


/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root{

    --primary:#0B1F3A;
    --secondary:#D4AF37;

    --white:#ffffff;
    --black:#111111;

    --text:#555555;

    --light:#f8f9fb;

    --shadow:0 15px 40px rgba(0,0,0,.12);

    --radius:10px;

    --transition:.30s ease;

}


/* ==========================================================
   HTML
========================================================== */

html{

    scroll-behavior:smooth;

}


/* ==========================================================
   BODY
========================================================== */

body{

    font-family:Arial, Helvetica, sans-serif;

    color:var(--text);

    background:var(--white);

    line-height:1.7;

    overflow-x:hidden;

}


/* ==========================================================
   CONTAINER
========================================================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}


/* ==========================================================
   SECTIONS
========================================================== */

section{

    padding:100px 0;

}


/* ==========================================================
   IMAGES
========================================================== */

img{

    display:block;

    width:100%;

    height:auto;

}


/* ==========================================================
   LINKS
========================================================== */

a{

    text-decoration:none;

    transition:var(--transition);

}


/* ==========================================================
   BUTTONS
========================================================== */

.btn-primary,
.btn-secondary{

    display:inline-block;

    padding:16px 36px;

    border-radius:8px;

    font-size:16px;

    font-weight:700;

    transition:var(--transition);

}


.btn-primary{

    background:var(--secondary);

    color:var(--primary);

}


.btn-primary:hover{

    background:#ffffff;

}


.btn-secondary{

    border:2px solid var(--white);

    color:var(--white);

}


.btn-secondary:hover{

    background:var(--secondary);

    border-color:var(--secondary);

    color:var(--primary);

}


/* ==========================================================
   SECTION TITLE
========================================================== */

.section-title{

    text-align:center;

    margin-bottom:60px;

}


.section-title h2{

    color:var(--primary);

    font-size:42px;

    font-weight:800;

    position:relative;

    display:inline-block;

}


.section-title h2::after{

    content:"";

    width:70px;

    height:4px;

    background:var(--secondary);

    display:block;

    margin:15px auto 0;

    border-radius:10px;

}


/* ==========================================================
   CARD
========================================================== */

.service-card{

    background:#ffffff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.service-card:hover{

    transform:translateY(-8px);

}
/* ==========================================================
   HEADER
========================================================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:var(--primary);

    z-index:1000;

    box-shadow:0 5px 20px rgba(0,0,0,.12);

}


/* ==========================================================
   NAVBAR
========================================================== */

.navbar{

    width:90%;

    max-width:1300px;

    margin:0 auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

    position:relative;

}


/* ==========================================================
   LOGO
========================================================== */

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    width:120px;

    height:auto;

}


/* ==========================================================
   NAVIGATION
========================================================== */

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

    list-style:none;

}


.nav-links li{

    list-style:none;

}


.nav-links a{

    color:var(--white);

    font-size:17px;

    font-weight:600;

    transition:var(--transition);

}


.nav-links a:hover{

    color:var(--secondary);

}


/* ==========================================================
   ACTIVE LINK
========================================================== */

.nav-links a.active{

    color:var(--secondary);

}


.nav-links a:not(.quote-btn){

    padding-bottom:5px;

    border-bottom:2px solid transparent;

}


.nav-links a:not(.quote-btn):hover{

    border-bottom-color:var(--secondary);

}


/* ==========================================================
   REQUEST QUOTE BUTTON
========================================================== */

.quote-btn{

    background:var(--secondary);

    color:var(--primary) !important;

    padding:12px 24px;

    border-radius:6px;

    font-weight:700;

}


.quote-btn:hover{

    background:#ffffff;

}


/* ==========================================================
   MOBILE MENU BUTTON
========================================================== */

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:var(--white);

    font-size:30px;

    cursor:pointer;

    transition:var(--transition);

}


.menu-toggle:hover{

    color:var(--secondary);

}
/* ==========================================================
   HERO SECTION
========================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:120px 20px 80px;

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        rgba(8,8,8,.78),
        rgba(8,8,8,.82)
    ),
    url("assets/backgrounds/hero-bg.webp");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}


/* ==========================================================
   HERO CONTENT
========================================================== */

.hero-content{

    max-width:900px;

    position:relative;

    z-index:2;

}


.hero h1{

    color:var(--white);

    font-size:58px;

    font-weight:800;

    line-height:1.2;

    margin-bottom:25px;

    letter-spacing:1px;

}


.hero p{

    max-width:760px;

    margin:0 auto 40px;

    color:#F1F1F1;

    font-size:19px;

    line-height:1.9;

}


/* ==========================================================
   HERO BUTTONS
========================================================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}


/* ==========================================================
   HERO IMAGE (Optional)
========================================================== */

.mobile-hero-logo{

    display:none;

}


/* ==========================================================
   HERO OVERLAY
========================================================== */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(11,31,58,.15),
        rgba(11,31,58,.25)
    );

    pointer-events:none;

}


/* ==========================================================
   HERO SCROLL INDICATOR
========================================================== */

.hero-scroll{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    color:var(--white);

    font-size:28px;

    opacity:.8;

    animation:bounce 2s infinite;

}


@keyframes bounce{

    0%,20%,50%,80%,100%{

        transform:translate(-50%,0);

    }

    40%{

        transform:translate(-50%,-10px);

    }

    60%{

        transform:translate(-50%,-5px);

    }

}
/* ==========================================================
   ABOUT SECTION
========================================================== */

.about{

    background:var(--white);

}


/* ==========================================================
   ABOUT GRID
========================================================== */

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}


/* ==========================================================
   ABOUT IMAGE
========================================================== */

.about-image{

    position:relative;

}


.about-image img{

    width:100%;

    border-radius:20px;

    box-shadow:0 20px 50px rgba(0,0,0,.20);

    transition:var(--transition);

}


.about-image img:hover{

    transform:scale(1.02);

}


/* ==========================================================
   ABOUT CONTENT
========================================================== */

.about-content h3{

    color:var(--primary);

    font-size:34px;

    font-weight:700;

    margin-bottom:20px;

}


.about-content p{

    color:var(--text);

    font-size:17px;

    line-height:1.9;

    margin-bottom:20px;

}


/* ==========================================================
   ABOUT HIGHLIGHTS
========================================================== */

.about-highlights{

    margin-top:35px;

    display:flex;

    flex-direction:column;

    gap:18px;

}


/* ==========================================================
   HIGHLIGHT ITEM
========================================================== */

.highlight-item{

    display:flex;

    align-items:center;

    gap:15px;

    color:var(--primary);

    font-size:17px;

    font-weight:600;

}


/* ==========================================================
   HIGHLIGHT ICON
========================================================== */

.highlight-item i{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border-radius:50%;

    background:var(--secondary);

    color:var(--white);

    font-size:18px;

}


/* ==========================================================
   ABOUT BUTTON
========================================================== */

.about-content .btn-primary{

    margin-top:15px;

}


/* ==========================================================
   ABOUT IMAGE DECORATION
========================================================== */

.about-image::after{

    content:"";

    position:absolute;

    width:140px;

    height:140px;

    right:-18px;

    bottom:-18px;

    border:5px solid var(--secondary);

    border-radius:18px;

    z-index:-1;

}


/* ==========================================================
   ABOUT RESPONSIVE
========================================================== */

@media(max-width:768px){

    .about-grid{

        grid-template-columns:1fr;

        gap:40px;

        text-align:center;

    }

    .about-image{

        max-width:420px;

        margin:0 auto;

    }

    .about-highlights{

        align-items:center;

    }

    .highlight-item{

        justify-content:center;

        text-align:center;

    }

    .about-image::after{

        display:none;

    }

}
/* ==========================================================
   PRODUCTS SECTION
========================================================== */

.products{

    background:var(--light);

}


/* ==========================================================
   PRODUCTS GRID
========================================================== */

.products .services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}


/* ==========================================================
   PRODUCT CARD
========================================================== */

.products .service-card{

    background:#ffffff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.products .service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.18);

}


/* ==========================================================
   PRODUCT IMAGE
========================================================== */

.products .service-card img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

}


/* ==========================================================
   PRODUCT CONTENT
========================================================== */

.products .service-card h3{

    color:var(--primary);

    font-size:23px;

    font-weight:700;

    padding:25px 25px 10px;

}


.products .service-card p{

    color:var(--text);

    font-size:16px;

    line-height:1.8;

    padding:0 25px 30px;

}


/* ==========================================================
   PRODUCT CARD HOVER
========================================================== */

.products .service-card img{

    transition:.45s ease;

}


.products .service-card:hover img{

    transform:scale(1.05);

}


/* ==========================================================
   PRODUCT RESPONSIVE
========================================================== */

@media(max-width:992px){

    .products .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


@media(max-width:768px){

    .products{

        padding:80px 0;

    }

    .products .services-grid{

        grid-template-columns:1fr;

        gap:30px;

    }

    .products .service-card h3{

        font-size:21px;

    }

}
/* ==========================================================
   SERVICES SECTION
========================================================== */

.services{

    background:var(--white);

}


/* ==========================================================
   SERVICES GRID
========================================================== */

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}


/* ==========================================================
   SERVICE CARD
========================================================== */

.services .service-card{

    background:#ffffff;

    border-radius:18px;

    padding:35px 30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

    border:1px solid rgba(0,0,0,.05);

}


/* ==========================================================
   SERVICE ICON
========================================================== */

.services .service-card i{

    width:70px;

    height:70px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--secondary);

    color:var(--white);

    font-size:28px;

}


/* ==========================================================
   SERVICE TITLE
========================================================== */

.services .service-card h3{

    color:var(--primary);

    font-size:24px;

    font-weight:700;

    margin-bottom:18px;

}


/* ==========================================================
   SERVICE DESCRIPTION
========================================================== */

.services .service-card p{

    color:var(--text);

    font-size:16px;

    line-height:1.8;

}


/* ==========================================================
   HOVER EFFECT
========================================================== */

.services .service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(0,0,0,.15);

}


.services .service-card:hover i{

    transform:rotate(8deg) scale(1.08);

    transition:var(--transition);

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:992px){

    .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


@media(max-width:768px){

    .services{

        padding:80px 0;

    }

    .services-grid{

        grid-template-columns:1fr;

        gap:30px;

    }

    .services .service-card{

        padding:30px 25px;

    }

    .services .service-card h3{

        font-size:22px;

    }

}
/* ==========================================================
   PORTFOLIO SECTION
========================================================== */

.portfolio{

    background:var(--light);

}


/* ==========================================================
   PORTFOLIO GRID
========================================================== */

.portfolio .services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}


/* ==========================================================
   PORTFOLIO CARD
========================================================== */

.portfolio .service-card{

    background:var(--white);

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.portfolio .service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(0,0,0,.16);

}


/* ==========================================================
   PORTFOLIO IMAGE
========================================================== */

.portfolio .service-card img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    transition:.45s ease;

}


.portfolio .service-card:hover img{

    transform:scale(1.06);

}


/* ==========================================================
   PORTFOLIO CONTENT
========================================================== */

.portfolio .service-card h3{

    color:var(--primary);

    font-size:23px;

    font-weight:700;

    padding:24px 25px 10px;

}


.portfolio .service-card p{

    color:var(--text);

    font-size:16px;

    line-height:1.8;

    padding:0 25px 28px;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:992px){

    .portfolio .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


@media(max-width:768px){

    .portfolio{

        padding:80px 0;

    }

    .portfolio .services-grid{

        grid-template-columns:1fr;

        gap:30px;

    }

    .portfolio .service-card h3{

        font-size:21px;

    }

}
/* ==========================================================
   CONTACT SECTION
========================================================== */

.contact{

    background:var(--white);

}


/* ==========================================================
   CONTACT CONTENT BOX
========================================================== */

.contact .about-content{

    max-width:850px;

    margin:0 auto;

    text-align:center;

    background:#ffffff;

    padding:50px 40px;

    border-radius:18px;

    box-shadow:var(--shadow);

}


/* ==========================================================
   CONTACT TEXT
========================================================== */

.contact p{

    color:var(--text);

    font-size:17px;

    line-height:1.9;

    margin-bottom:20px;

}


/* ==========================================================
   CONTACT BUTTON
========================================================== */

.contact .btn-primary{

    margin-top:20px;

}


/* ==========================================================
   FOOTER
========================================================== */

.footer{

    background:var(--primary);

    color:var(--white);

    padding:50px 20px;

    text-align:center;

}


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer-links{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:30px;

    margin-bottom:30px;

}


.footer-links a{

    color:var(--white);

    font-size:16px;

    font-weight:600;

    transition:var(--transition);

}


.footer-links a:hover{

    color:var(--secondary);

}


/* ==========================================================
   FOOTER TEXT
========================================================== */

.footer p{

    color:#dddddd;

    font-size:15px;

    margin-top:10px;

}


/* ==========================================================
   FOOTER RESPONSIVE
========================================================== */

@media(max-width:768px){

    .contact{

        padding:80px 0;

    }


    .contact .about-content{

        padding:35px 25px;

    }


    .footer-links{

        flex-direction:column;

        gap:15px;

    }

}
/* ==========================================================
   REQUEST QUOTE PAGE
========================================================== */

.quote-page{

    min-height:100vh;

    background:var(--light);

    padding:120px 0 80px;

}


/* ==========================================================
   QUOTE FORM CONTAINER
========================================================== */

.quote-container{

    max-width:900px;

    margin:auto;

    background:#ffffff;

    padding:50px;

    border-radius:18px;

    box-shadow:var(--shadow);

}


/* ==========================================================
   FORM GRID
========================================================== */

.quote-form{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}


/* ==========================================================
   FORM GROUP
========================================================== */

.form-group{

    display:flex;

    flex-direction:column;

}


.form-group.full-width{

    grid-column:1/-1;

}


/* ==========================================================
   FORM LABEL
========================================================== */

.form-group label{

    color:var(--primary);

    font-size:15px;

    font-weight:700;

    margin-bottom:8px;

}


/* ==========================================================
   FORM INPUTS
========================================================== */

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:14px 16px;

    border:1px solid #dddddd;

    border-radius:8px;

    font-size:16px;

    font-family:inherit;

    outline:none;

    transition:var(--transition);

}


.form-group textarea{

    min-height:140px;

    resize:vertical;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    border-color:var(--secondary);

    box-shadow:0 0 0 3px rgba(212,175,55,.15);

}


/* ==========================================================
   FORM SUBMIT BUTTON
========================================================== */

.quote-form .btn-primary{

    border:none;

    cursor:pointer;

    margin-top:10px;

}


/* ==========================================================
   SUCCESS MESSAGE
========================================================== */

#successMessage{

    display:none;

    text-align:center;

    padding:30px;

    background:#f1f8f1;

    color:#1d6b1d;

    border-radius:10px;

    font-weight:600;

}


/* ==========================================================
   FADE ANIMATION
========================================================== */

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}


.fade-up.show{

    opacity:1;

    transform:translateY(0);

}


/* ==========================================================
   LOADING EFFECT
========================================================== */

.loading{

    pointer-events:none;

    opacity:.7;

}


/* ==========================================================
   GLOBAL RESPONSIVE
========================================================== */

@media(max-width:992px){

    .navbar{

        width:92%;

    }


    .nav-links{

        gap:20px;

    }


    .hero h1{

        font-size:48px;

    }


    .products .services-grid,
    .services-grid,
    .portfolio .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


/* ==========================================================
   MOBILE RESPONSIVE
========================================================== */

@media(max-width:768px){

    body{

        padding-top:30px;

    }


    .navbar{

        height:75px;

    }


    .menu-toggle{

        display:block;

    }


    .nav-links{

        position:absolute;

        top:75px;

        left:0;

        width:100%;

        background:var(--primary);

        flex-direction:column;

        align-items:center;

        padding:30px 0;

        gap:20px;

        display:none;

    }


    .nav-links.mobile-active{

        display:flex;

    }


    .hero{

        min-height:90vh;

        padding:110px 20px 70px;

    }


    .hero h1{

        font-size:38px;

    }


    .hero p{

        font-size:16px;

    }


    .hero-buttons{

        flex-direction:column;

    }


    .btn-primary,
    .btn-secondary{

        width:100%;

        text-align:center;

    }


    .products .services-grid,
    .services-grid,
    .portfolio .services-grid{

        grid-template-columns:1fr;

    }


    .section-title h2{

        font-size:32px;

    }


    .quote-container{

        padding:30px 20px;

    }


    .quote-form{

        grid-template-columns:1fr;

    }


}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media(max-width:480px){

    section{

        padding:70px 0;

    }


    .hero h1{

        font-size:32px;

    }


    .section-title h2{

        font-size:28px;

    }


    .logo img{

        width:100px;

    }

}
/* About Page Expertise Grid Fix */

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


.expertise-grid .portfolio-link {
    text-decoration: none;
    color: inherit;
}


.expertise-grid .service-card {
    height: 100%;
}



@media(max-width: 992px){

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

}



@media(max-width: 600px){

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

}
/* Core Expertise Grid Fix */

.expertise-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px;
}


.expertise-grid .portfolio-link {
    display: block;
    text-decoration: none;
}


.expertise-grid .service-card {
    height: 100%;
}



@media(max-width: 1100px){

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

}


@media(max-width: 600px){

    .expertise-grid {
        grid-template-columns: 1fr !important;
    }

}