/* =========================================================
   SRINIVASA BUILDING MATERIALS
   PREMIUM CONSTRUCTION UI
========================================================= */

:root {
    --navy: #071522;
    --navy-2: #0b2033;
    --steel: #182b3b;
    --steel-2: #22394c;

    --orange: #f47721;
    --orange-light: #ff9d3f;
    --gold: #e8b94f;

    --cream: #f4efe7;
    --sand: #d9c6a3;

    --white: #ffffff;
    --text: #18222c;
    --muted: #8fa0ad;

    --green: #20c878;

    --shadow:
        0 15px 45px rgba(0, 0, 0, 0.20);
}

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

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

html {
    scroll-behavior: smooth;
}

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

    background:
        linear-gradient(
            180deg,
            #101d28 0%,
            #0d1822 45%,
            #f1eadf 100%
        );

    color: var(--white);
}

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

header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background:
        linear-gradient(
            135deg,
            #061321,
            #10283b
        );

    padding: 18px 6%;

    border-bottom:
        3px solid var(--orange);

    box-shadow:
        0 8px 30px rgba(0,0,0,.30);
}

nav {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.logo {
    color: white;

    font-size: 28px;

    font-weight: 900;

    letter-spacing: -.6px;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 5px;
}

.nav-links a {
    color: #e9eef2;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    padding: 10px 14px;

    border-radius: 7px;

    transition:
        .2s ease;
}

.nav-links a:hover {
    color: var(--gold);

    background:
        rgba(255,255,255,.07);
}

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

.hero {
    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-image:
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;

    background-position: center;
}

/* DARK CINEMATIC OVERLAY */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,12,20,.97) 0%,
            rgba(4,17,29,.90) 38%,
            rgba(4,17,29,.60) 65%,
            rgba(4,17,29,.30) 100%
        );

    z-index: 1;
}

/* ORANGE CONSTRUCTION STRIPE */

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 10px;

    z-index: 5;

    background:
        repeating-linear-gradient(
            -45deg,
            var(--orange),
            var(--orange) 20px,
            #182431 20px,
            #182431 40px
        );
}

/* HERO CONTENT */

.hero-content {
    position: relative;

    z-index: 3;

    width: min(1200px, 88%);

    margin: auto;
}

/* QUOTE */

.hero-quote {
    display: inline-block;

    color: var(--gold);

    font-size: 16px;

    font-weight: 900;

    letter-spacing: 2px;

    padding:
        10px 17px;

    margin-bottom: 24px;

    background:
        rgba(232,185,79,.08);

    border-left:
        4px solid var(--orange);

    border-top:
        1px solid rgba(232,185,79,.25);

    border-bottom:
        1px solid rgba(232,185,79,.25);

    backdrop-filter:
        blur(4px);
}

/* BIG BRAND */

.hero h1 {
    max-width: 1050px;

    color: white;

    font-size:
        clamp(45px, 6.5vw, 88px);

    line-height: .96;

    font-weight: 950;

    letter-spacing: -3px;

    text-transform: uppercase;

    margin-bottom: 25px;

    text-shadow:
        0 8px 35px rgba(0,0,0,.45);
}

/* DESCRIPTION */

.hero-description {
    max-width: 650px;

    color: #d7e0e7;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 30px;
}

/* HERO BUTTON */

.hero-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        15px 25px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            var(--orange-light)
        );

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: .5px;

    box-shadow:
        0 12px 30px
        rgba(244,119,33,.28);

    transition:
        .25s ease;
}

.hero-button:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 18px 38px
        rgba(244,119,33,.40);
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.products,
.categories,
.why-us {
    padding:
        85px 7%;
}

.products {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #111e28,
            #172a38
        );
}

/* subtle industrial pattern */

.products::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .08;

    background-image:
        linear-gradient(
            135deg,
            transparent 24%,
            rgba(255,255,255,.15) 25%,
            transparent 26%
        );

    background-size:
        35px 35px;
}

.products h2,
.categories h2,
.why-us h2 {
    position: relative;

    color: white;

    text-align: center;

    font-size: 38px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 45px;
}

.products h2::after,
.categories h2::after,
.why-us h2::after {
    content: "";

    display: block;

    width: 70px;

    height: 4px;

    margin:
        14px auto 0;

    background:
        linear-gradient(
            90deg,
            var(--orange),
            var(--gold)
        );

    border-radius: 5px;
}

/* =========================================================
   PRODUCT GRID
========================================================= */

.product-container,
.products-grid {
    position: relative;

    width: min(1200px, 94%);

    margin: auto;

    display: grid;

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

    gap: 28px;
}

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

.product-card {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #213646,
            #101f2c
        );

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 18px;

    box-shadow:
        0 15px 45px
        rgba(0,0,0,.28);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.product-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--orange),
            var(--gold)
        );

    z-index: 3;
}

.product-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(244,119,33,.55);

    box-shadow:
        0 22px 55px
        rgba(0,0,0,.38);
}

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

.product-image {
    position: relative;

    width: 100%;

    height: 300px !important;

    min-height: 300px !important;

    padding: 18px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    overflow: hidden !important;

    background:
        radial-gradient(
            circle at center,
            #3b4d59 0%,
            #263844 42%,
            #162632 100%
        ) !important;

    border-bottom:
        1px solid
        rgba(255,255,255,.10);
}

/* industrial frame */

.product-image::before {
    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 12px;

    pointer-events: none;
}

/* corner accents */

.product-image::after {
    content: "";

    position: absolute;

    width: 45px;

    height: 45px;

    right: 0;

    bottom: 0;

    border-right:
        4px solid var(--orange);

    border-bottom:
        4px solid var(--orange);

    pointer-events: none;
}

/* =========================================================
   ORIGINAL PRODUCT IMAGE
   NO CROP
   NO STRETCH
========================================================= */

.product-image img {
    position: relative;

    z-index: 2;

    width: 100% !important;

    height: 100% !important;

    max-width: 100% !important;

    max-height: 100% !important;

    display: block !important;

    object-fit:
        contain !important;

    object-position:
        center center !important;

    filter:
        drop-shadow(
            0 12px 18px
            rgba(0,0,0,.35)
        );
}

/* =========================================================
   PRODUCT DETAILS
========================================================= */

.product-card h3 {
    color: white;

    font-size: 22px;

    font-weight: 900;

    padding:
        20px 22px 7px;
}

.product-card p {
    color: #aebcc7;

    font-size: 14px;

    padding:
        0 22px 21px;
}

/* =========================================================
   REMOVE PRODUCT CALL / WHATSAPP / BUY / CART
========================================================= */

.product-card button,
.product-card .product-actions,
.product-card .call-btn,
.product-card .whatsapp-btn,
.product-card .enquiry-btn,
.product-card .buy-btn,
.product-card .cart-btn,
.product-card .add-to-cart {
    display: none !important;
}

/* =========================================================
   REMOVE PRODUCT PRICES
========================================================= */

.product-card h4,
.product-card .price,
.product-card .product-price {
    display: none !important;
}

/* =========================================================
   CATEGORY SECTION
========================================================= */

.categories {
    background:
        linear-gradient(
            135deg,
            #e9dfcf,
            #f5efe5
        );

    color: var(--text);
}

.categories h2 {
    color: var(--navy);
}

.category-container {
    display: grid;

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

    gap: 20px;

    width: min(1200px, 94%);

    margin: auto;
}

.category-card {
    background:
        linear-gradient(
            145deg,
            #243746,
            #142532
        );

    color: white;

    padding: 30px;

    border-radius: 15px;

    border:
        1px solid
        rgba(255,255,255,.10);

    box-shadow:
        0 12px 35px
        rgba(0,0,0,.18);

    text-align: center;
}

.category-card h3 {
    margin-top: 13px;

    color: white;
}

/* =========================================================
   WHY US
========================================================= */

.why-us {
    background:
        linear-gradient(
            135deg,
            #0a1a29,
            #142c3e
        );
}

.why-container {
    width: min(1100px, 94%);

    margin: auto;

    display: grid;

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

    gap: 22px;
}

.why-container div {
    padding: 30px;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 15px;

    color: white;

    text-align: center;

    backdrop-filter:
        blur(8px);
}

.why-container h3 {
    color: var(--gold);

    margin-bottom: 10px;
}

/* =========================================================
   SEPARATE CONTACT / ENQUIRY
========================================================= */

.contact {
    padding:
        85px 7%;

    background:
        linear-gradient(
            135deg,
            #061421,
            #102a3e
        );

    color: white;

    text-align: center;

    border-top:
        4px solid var(--orange);
}

.contact h2 {
    color: white;

    font-size: 38px;

    margin-bottom: 12px;
}

.contact > p {
    max-width: 700px;

    margin:
        0 auto 35px;

    color: #b9c7d1;

    line-height: 1.7;
}

.contact-options {
    width: min(800px, 95%);

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.contact-option {
    min-height: 155px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #233b4c,
            #142735
        );

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 16px;

    color: white;

    text-decoration: none;

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.22);

    transition:
        .25s ease;
}

.contact-option:hover {
    transform:
        translateY(-5px);

    border-color:
        var(--orange);
}

.contact-option .icon {
    font-size: 35px;

    margin-bottom: 9px;
}

.contact-option strong {
    font-size: 19px;

    margin-bottom: 5px;
}

.contact-option span {
    color: #aebdc8;

    font-size: 14px;
}

.contact-option.whatsapp {
    background:
        linear-gradient(
            145deg,
            #159447,
            #0b6733
        );
}

.contact-option.whatsapp span {
    color: #d8ffe9;
}

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

.about-section {
    padding:
        85px 7%;

    background:
        linear-gradient(
            135deg,
            #e9dfcf,
            #f8f2e9
        );

    color: var(--text);

    text-align: center;
}

.about-section h2 {
    color: var(--navy);
}

.about-section p {
    max-width: 760px;

    margin: auto;

    color: #566574;

    line-height: 1.8;
}

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

footer {
    background:
        #030d17;

    color: white;

    text-align: center;

    padding: 30px;

    border-top:
        3px solid var(--orange);
}

footer p {
    color: #91a0ad;

    font-size: 13px;
}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.whatsapp-buttons {
    position: fixed;

    right: 16px;

    bottom: 16px;

    z-index: 5000;

    display: flex;

    flex-direction: column;

    gap: 9px;
}

.whatsapp-button {
    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        11px 16px;

    color: white;

    background:
        #20c878;

    border-radius: 999px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

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

    transition:
        .2s ease;
}

.whatsapp-button:hover {
    background:
        #18aa64;

    transform:
        translateY(-2px);
}

/* =========================================================
   MODALS
========================================================= */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    background:
        rgba(0,0,0,.78);

    justify-content: center;

    align-items: center;

    padding: 20px;
}

.modal-box {
    width: 100%;

    max-width: 550px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background: white;

    color: var(--text);

    border-radius: 15px;

    position: relative;
}

.close {
    position: absolute;

    right: 20px;

    top: 15px;

    font-size: 25px;

    cursor: pointer;
}

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

@media (max-width: 850px) {

    header {
        padding:
            13px 4%;
    }

    nav {
        flex-direction: column;

        align-items: flex-start;
    }

    .nav-links {
        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;
    }

    .nav-links a {
        white-space: nowrap;

        font-size: 12px;

        padding:
            8px 10px;
    }

    .hero {
        min-height: 590px;

        background-position:
            65% center;
    }

    .hero-content {
        width: 90%;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -1.5px;
    }

    .hero-quote {
        font-size: 13px;

        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 15px;
    }

    /* 2 PRODUCTS PER ROW */

    .product-container,
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .product-image {
        height: 220px !important;

        min-height: 220px !important;

        padding: 10px !important;
    }

    .product-card h3 {
        font-size: 16px;

        padding:
            14px 14px 5px;
    }

    .product-card p {
        font-size: 12px;

        padding:
            0 14px 14px;
    }

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

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

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

@media (max-width: 500px) {

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 38px;

        line-height: 1;
    }

    .hero-quote {
        font-size: 11px;

        padding:
            8px 11px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-button {
        font-size: 12px;

        padding:
            13px 18px;
    }

    .products,
    .categories,
    .why-us {
        padding:
            65px 4%;
    }

    .products h2,
    .categories h2,
    .why-us h2 {
        font-size: 28px;
    }

    /* KEEP 2 PRODUCTS PER ROW */

    .product-container,
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        width: 100%;
    }

    .product-image {
        height: 175px !important;

        min-height: 175px !important;

        padding: 7px !important;
    }

    .product-image::before {
        inset: 7px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-card h3 {
        font-size: 13px;

        padding:
            12px 10px 4px;
    }

    .product-card p {
        font-size: 10px;

        padding:
            0 10px 12px;
    }

    .contact {
        padding:
            65px 4%;
    }

    .contact h2 {
        font-size: 28px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

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

    .whatsapp-button {
        font-size: 10px;

        padding:
            9px 12px;
    }
}