/* ==========================================
   SS QUALITY & HARDWARE
   PREMIUM RED & GOLD THEME
========================================== */

:root{
    --navy:#171E29;
    --navy-dark:#0F1724;

    --gold:#D4B06A;
    --gold-light:#E7C88D;

    --red:#7A1F24;

    --white:#ffffff;
    --light:#f8f9fb;
    --text:#2f3542;
}

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html,
body{
    width:100%;
    overflow-x:hidden;
    margin:0;
    padding:0;
}


/* ================= HEADER ================= */

/* =========================
   NAVBAR
========================= */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:8px 8%;

    background:#171E29;

    transition:.3s;

}

.logo-container img{

    height:65px;

    width:auto;

    transition:.3s;

}

/* =========================
   MENU
========================= */

.nav-links{

    display:flex;

    list-style:none;

    gap:30px;

}

.nav-links a{

    color:white;

    text-decoration:none;

    font-weight:500;

}

.nav-links a:hover{

    color:#D4B06A;

}

/* =========================
   HAMBURGER
========================= */
.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    z-index:1001;
}

.hamburger span{
    width:30px;
    height:3px;
    background:#D4B06A;
    border-radius:5px;
}

@media screen and (max-width:768px){

    .hamburger{
        display:flex;
    }

    .nav-links{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#171E29;
        flex-direction:column;
        align-items:center;
        padding:20px 0;
        gap:20px;
    }

    .nav-links.active{
        display:flex;
    }

}
/* ==========================================
   HERO SECTION
========================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    padding:100px 8%;

    background:url("images/SS_hero_bg.jpeg");

    background-size:cover;

    background-position:75% center;

    background-repeat:no-repeat;

    overflow:hidden;

}

@media(max-width:768px){

    .hero{

        background-position:center center;

    }

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(15,23,36,.88) 0%,
        rgba(15,23,36,.70) 35%,
        rgba(15,23,36,.25) 70%,
        rgba(15,23,36,.05) 100%
    );

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:600px;

}

/* Since 2009 */

.hero-tag{

    display:inline-block;

    position:relative;

    padding-left:55px;

    color:#D4B06A;

    font-size:16px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:12px;

}

.hero-tag::before{

    content:"";

    position:absolute;

    left:0;

    top:50%;

    width:40px;

    height:2px;

    background:#D4B06A;

    transform:translateY(-50%);

}

/* Subtitle */

.hero-subtitle{

    color:#ffffff;

    font-size:14px;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:18px;

}

/* Main Heading */

.hero h1{

    font-family:'Oswald',sans-serif;

    font-size:4.8rem;

    font-weight:400;

    letter-spacing:3px;

    line-height:1;

    text-transform:uppercase;

    color:#ffffff;

}

.hero h1 span{

    color:#D4B06A;

}

.hero-description{

    color:#ffffff;

    font-size:1.1rem;

    line-height:1.8;

    max-width:550px;

    margin-bottom:30px;

    font-family:'Montserrat',sans-serif;

    font-weight:400;

    text-shadow:
    0 2px 10px rgba(0,0,0,.5);

}

/* Buttons */

.hero-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.btn-primary{

    background:#D4B06A;

    color:#171E29;

    padding:15px 30px;

    text-decoration:none;

    font-weight:700;

    border-radius:4px;

}

.btn-secondary{

    border:2px solid #D4B06A;

    color:#D4B06A;

    padding:15px 30px;

    text-decoration:none;

    font-weight:700;

    border-radius:4px;

}

.btn-secondary:hover{

    background:#D4B06A;

    color:#171E29;

}

/* Mobile */

@media(max-width:768px){

    .hero{

        min-height:100vh;

        padding:120px 20px 60px;

        background-position:70% center;

    }

    .hero-content{

        max-width:100%;

        width:100%;

    }

    .hero h1{

        font-size:4rem;

        line-height:.9;

    }

    .hero-description{

        max-width:100%;

        font-size:1.05rem;

        line-height:1.8;

        margin-bottom:30px;

    }

    .hero-buttons{

        display:flex;

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .btn-primary,
    .btn-secondary{

        width:220px;

        text-align:center;

    }

}



/* ==========================================
   SECTIONS
========================================== */

.service-grid .card img{
    width:100%;
    height:160px;
    object-fit:cover;
}

.section{

    padding:100px 10%;

}

.section h2{

    text-align:center;

    color:var(--red);

    font-size:3rem;

    margin-bottom:30px;

}

.section h2::after{

    content:"";

    display:block;

    width:90px;

    height:4px;

    background:var(--gold);

    margin:15px auto;

}

.section p{

    max-width:900px;

    margin:15px auto;

    text-align:center;

    line-height:1.8;

}

/* ==========================================
   STATS
========================================== */

.stats{

    background:white;

    padding:90px 10%;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.stat-box{

    text-align:center;

    padding:35px;

    border-radius:20px;

    background:white;

    border-bottom:
    5px solid var(--gold);

    box-shadow:
    0 10px 30px rgba(0,0,0,.06);

}

.stat-box h3{

    font-size:3rem;

    color:var(--red);

}

/* ==========================================
   SERVICE CARDS
========================================== */

/* =========================
   SERVICES GRID
========================= */

.service-grid{

    display:grid;

    grid-template-columns:
    repeat(2, 1fr);

    gap:30px;

    margin-top:40px;

}

/* Mobile View */

@media(max-width:768px){

    .service-grid{

        grid-template-columns:1fr;

    }

}
/* ==========================================
   SERVICES AUTO SCROLL
========================================== */

.service-slider{

    width:100vw;

    margin-right:calc(50% - 50vw);

    overflow:hidden;

    position:relative;

    padding:20px 0;

}

.service-track{

    display:flex;

    align-items:center;

    gap:20px;

    animation:serviceScroll 25s linear infinite;

}

.service-track img{

    width:420px;

    height:260px;

    object-fit:cover;

    border-radius:15px;

    flex:0 0 auto;

}

@keyframes serviceScroll{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-1760px);

    }

}
/* Desktop */

@media (min-width:769px){

    .service-grid{

        display:grid;

        grid-template-columns:
        repeat(2, minmax(350px, 1fr));

        gap:35px;

    }

}
/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .service-track img{

        width:250px;

        height:160px;

    }

}


/* ==========================================
   PROJECTS
========================================== */

.project-card{
    padding:30px;
    text-align:center;
}

.project-card h3{
    color:#D4B06A;
    margin-bottom:15px;
}

.project-card p{
    color:#555;
    font-style:italic;
    line-height:1.8;
    margin-bottom:15px;
}

.project-card span{
    color:#D4B06A;
    font-size:20px;
    letter-spacing:2px;
}

.project-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:40px;   /* Increase space between cards */

    margin-top:40px;

}

/* ==========================================
   CARDS
========================================== */

.card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 15px 35px rgba(0,0,0,.08);

    transition:.4s;

}

.card:hover{

    transform:
    translateY(-10px);

    box-shadow:
    0 20px 45px
    rgba(109,15,29,.15);

}

.card h3{

    color:var(--red);

    margin-bottom:10px;

}

.card p{

    text-align:left;

}

.card:not(.project-card){

    padding:30px;

}

.project-card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.project-card h3{

    padding:20px;

    text-align:center;

}

/* ==========================================
   CONTACT
========================================== */

.contact{

    padding:100px 10%;

    background:

    linear-gradient(
        135deg,
        /* #2d050c,
        #6d0f1d */
        rgba(4,18,36,.95)
    );

    text-align:center;

    color:white;

}

.contact h2{

    color:var(--gold);

    margin-bottom:30px;

}

.contact p{

    margin:18px 0;

    font-size:1.1rem;

}
/* ================= CONTACT MAP ================= */

.map-container{

    width:100%;
    margin-top:30px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.map-container iframe{

    width:100%;
    height:450px;
    border:none;

}

@media(max-width:768px){

    .map-container iframe{

        height:300px;

    }

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:rgba(4,18,36,.95);

    color:white;

    text-align:center;

    padding:50px 20px;

}

footer h3{

    color:var(--gold);

    margin-bottom:15px;

}

.social-icons{

    margin:25px 0;

}

.social-icons a{

    color:var(--gold);

    font-size:24px;

    margin:0 12px;

    transition:.4s;

}

.social-icons a:hover{

    color:white;

    transform:
    translateY(-5px);

}

/* ==========================================
   WHATSAPP
========================================== */

.whatsapp-float{

    position:fixed;

    bottom:25px;
    right:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    font-size:34px;

    text-decoration:none;

    z-index:9999;

    animation:pulse 2s infinite;

}

@keyframes pulse{

    0%{

        box-shadow:
        0 0 0 0 rgba(37,211,102,.7);

    }

    70%{

        box-shadow:
        0 0 0 15px rgba(37,211,102,0);

    }

    100%{

        box-shadow:
        0 0 0 0 rgba(37,211,102,0);

    }

}
