
/* =========================================================
   SKY MABATI & BUILDING MATERIALS
   MAIN STYLE SHEET
   ========================================================= */


/* =========================================================
   1. GOOGLE FONTS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');


/* =========================================================
   2. BRAND VARIABLES
   ========================================================= */

:root {

    /* Primary Brand Colours */

    --sky-red: #d71920;
    --sky-red-dark: #b51218;
    --sky-red-light: #ed3339;

    --sky-blue: #123b8f;
    --sky-blue-dark: #08265f;
    --sky-blue-light: #1f5fc4;

    --sky-cyan: #00a9e0;
    --sky-cyan-light: #38c4ed;

    /* Neutral Colours */

    --white: #ffffff;
    --off-white: #f7f9fc;
    --light-gray: #eef1f5;
    --gray: #6b7280;
    --dark-gray: #374151;
    --dark: #111827;
    --black: #050505;

    /* Borders */

    --border-light: #e2e6eb;
    --border-medium: #ccd2da;

    /* Shadows */

    --shadow-small:
        0 4px 12px rgba(0, 0, 0, 0.08);

    --shadow-medium:
        0 10px 30px rgba(0, 0, 0, 0.12);

    --shadow-large:
        0 20px 50px rgba(0, 0, 0, 0.16);

    /* Border Radius */

    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;

    /* Layout */

    --container-width: 1200px;

    /* Transitions */

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

}


/* =========================================================
   3. GLOBAL RESET
   ========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


/* =========================================================
   4. HTML
   ========================================================= */

html {

    scroll-behavior: smooth;

    font-size: 16px;

}


/* =========================================================
   5. BODY
   ========================================================= */

body {

    font-family: 'Poppins', sans-serif;

    font-size: 16px;

    line-height: 1.7;

    color: var(--dark);

    background-color: var(--white);

    overflow-x: hidden;

}


/* =========================================================
   6. HEADINGS
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Montserrat', sans-serif;

    color: var(--sky-blue-dark);

    line-height: 1.2;

    font-weight: 700;

}


h1 {

    font-size: clamp(2.5rem, 5vw, 4.5rem);

}


h2 {

    font-size: clamp(2rem, 4vw, 3rem);

}


h3 {

    font-size: 1.35rem;

}


h4 {

    font-size: 1.15rem;

}


/* =========================================================
   7. PARAGRAPHS
   ========================================================= */

p {

    color: var(--gray);

}


/* =========================================================
   8. LINKS
   ========================================================= */

a {

    color: inherit;

    text-decoration: none;

    transition:
        color var(--transition-normal),
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        transform var(--transition-normal);

}


/* =========================================================
   9. IMAGES
   ========================================================= */

img {

    display: block;

    max-width: 100%;

    height: auto;

}


/* =========================================================
   10. BUTTON RESET
   ========================================================= */

button,
input,
textarea,
select {

    font: inherit;

}


button {

    border: none;

    cursor: pointer;

}


/* =========================================================
   11. MAIN CONTAINER
   ========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   12. SECTION SPACING
   ========================================================= */

.section-padding {

    padding-top: 90px;

    padding-bottom: 90px;

}


/* =========================================================
   13. SECTION HEADING
   ========================================================= */

.section-heading {

    max-width: 760px;

    margin-left: auto;

    margin-right: auto;

    margin-bottom: 50px;

    text-align: center;

}


.section-heading h2 {

    margin-bottom: 16px;

}


.section-heading p {

    max-width: 650px;

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   14. SECTION LABEL
   ========================================================= */

.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--sky-red);

    font-family: 'Montserrat', sans-serif;

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* =========================================================
   15. CENTER BUTTON
   ========================================================= */

.center-button {

    display: flex;

    justify-content: center;

    margin-top: 45px;

}


/* =========================================================
   16. BUTTON SYSTEM
   ========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding:
        12px
        24px;

    border-radius: var(--radius-small);

    font-family: 'Montserrat', sans-serif;

    font-size: 0.9rem;

    font-weight: 700;

    letter-spacing: 0.2px;

    text-align: center;

    transition:
        transform var(--transition-normal),
        background-color var(--transition-normal),
        color var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);

}


.btn:hover {

    transform: translateY(-2px);

}


/* Primary */

.btn-primary {

    color: var(--white);

    background-color: var(--sky-red);

    box-shadow:
        0 6px 18px rgba(215, 25, 32, 0.22);

}


.btn-primary:hover {

    color: var(--white);

    background-color: var(--sky-red-dark);

    box-shadow:
        0 10px 24px rgba(215, 25, 32, 0.28);

}


/* Secondary */

.btn-secondary {

    color: var(--sky-blue);

    background-color: var(--white);

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

}


.btn-secondary:hover {

    color: var(--sky-blue-dark);

    background-color: var(--off-white);

}


/* Outline */

.btn-outline {

    color: var(--sky-blue);

    background-color: transparent;

    border: 2px solid var(--sky-blue);

}


.btn-outline:hover {

    color: var(--white);

    background-color: var(--sky-blue);

}


/* WhatsApp */

.btn-whatsapp {

    color: var(--white);

    background-color: #20b95c;

    box-shadow:
        0 6px 18px rgba(32, 185, 92, 0.22);

}


.btn-whatsapp:hover {

    color: var(--white);

    background-color: #159447;

}


/* Small button */

.btn-small {

    min-height: 40px;

    padding:
        9px
        17px;

    color: var(--white);

    background-color: var(--sky-red);

    font-size: 0.78rem;

}


/* =========================================================
   17. TEXT BUTTON
   ========================================================= */

.text-button {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: var(--sky-red);

    font-family: 'Montserrat', sans-serif;

    font-size: 0.85rem;

    font-weight: 700;

}


.text-button:hover {

    color: var(--sky-blue);

}


/* =========================================================
   18. PRODUCT PRICE
   ========================================================= */

.product-price {

    margin-top: 14px;

    margin-bottom: 18px;

    color: var(--dark-gray);

    font-size: 0.9rem;

}


.product-price strong {

    color: var(--sky-red);

    font-family: 'Montserrat', sans-serif;

    font-size: 1.15rem;

    font-weight: 800;

}


/* =========================================================
   19. GLOBAL FOCUS STATES
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline: 3px solid rgba(0, 169, 224, 0.45);

    outline-offset: 3px;

}


/* =========================================================
   20. SELECTION
   ========================================================= */

::selection {

    color: var(--white);

    background-color: var(--sky-red);

}


/* =========================================================
   21. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 9px;

}


::-webkit-scrollbar-track {

    background-color: var(--light-gray);

}


::-webkit-scrollbar-thumb {

    background-color: var(--sky-blue);

    border-radius: 20px;

}


::-webkit-scrollbar-thumb:hover {

    background-color: var(--sky-red);

}


/* =========================================================
   22. UTILITY CLASSES
   ========================================================= */

.text-center {

    text-align: center;

}


.text-left {

    text-align: left;

}


.text-right {

    text-align: right;

}


.hidden {

    display: none !important;

}


/* =========================================================
   23. PAGE TRANSITION
   ========================================================= */

body {

    animation:
        pageFadeIn 0.45s ease both;

}


@keyframes pageFadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}


/* =========================================================
   24. RED / BLUE BRAND DIVIDER
   ========================================================= */

.brand-divider {

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            to right,
            var(--sky-red) 0%,
            var(--sky-red) 40%,
            var(--sky-cyan) 40%,
            var(--sky-cyan) 70%,
            var(--sky-blue) 70%,
            var(--sky-blue) 100%
        );

}


/* =====================================================
   GLOBAL FLOATING WHATSAPP BUTTON
   ===================================================== */

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    background: #25D366;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-whatsapp img {
    width: 34px;
    height: 34px;

    object-fit: contain;

    display: block;
}

.floating-whatsapp:hover {
    transform: scale(1.08);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}


/* MOBILE */

@media (max-width: 600px) {

    .floating-whatsapp {
        width: 54px;
        height: 54px;

        right: 18px;
        bottom: 18px;
    }

    .floating-whatsapp img {
        width: 31px;
        height: 31px;
    }

}