/* =========================================================
   PRODUCTS PAGE → ABOUT US PAGE
   شركة الأمل لحلول التبريد
========================================================= */


/* =========================
   ROOT
========================= */

:root {

    --bg-main: #06131b;
    --bg-secondary: #081a24;
    --bg-card: #0b202c;

    --blue: #20b8f5;
    --blue-dark: #087fae;

    --text-main: #ffffff;
    --text-secondary: #a8bac5;
    --text-muted: #718793;

    --border: rgba(255, 255, 255, 0.08);

    --shadow:
        0 15px 40px rgba(0, 0, 0, 0.30);

    --container: 1200px;

}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Cairo",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    background: var(--bg-main);

    color: var(--text-main);

    line-height: 1.7;

}


/* =========================
   GENERAL
========================= */

a {
    text-decoration: none;
    color: inherit;
}


img {
    max-width: 100%;
}


main {
    overflow: hidden;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    width: 100%;

    min-height: 88px;

    padding: 12px 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background: var(--bg-secondary);

    border-bottom: 1px solid var(--border);

    position: relative;

    z-index: 1000;

}


/* =========================
   LOGO
========================= */

.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.logo img {

    width: 145px;

    height: auto;

    display: block;

}


/* =========================
   NAV LINKS
========================= */

.nav-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 32px;

}


.nav-links a {

    color: var(--text-secondary);

    font-size: 15px;

    font-weight: 600;

    position: relative;

    padding: 8px 0;

    transition: 0.3s;

}


.nav-links a:hover {

    color: var(--blue);

}


.nav-links a.active {

    color: var(--blue);

}


.nav-links a::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 0;

    height: 2px;

    background: var(--blue);

    transition: 0.3s;

}


.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;

}


/* =========================
   PHONE
========================= */

.nav-phone {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--blue);

    font-size: 14px;

    font-weight: 700;

    direction: ltr;

    white-space: nowrap;

}


/* =========================
   MENU BUTTON
========================= */

.menu-button {

    display: none;

    border: 1px solid var(--border);

    background: var(--bg-card);

    color: white;

    width: 42px;

    height: 42px;

    border-radius: 10px;

    cursor: pointer;

    font-size: 22px;

}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {

    min-height: 470px;

    width: min(var(--container), 90%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

}


.page-header::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    background: rgba(32, 184, 245, 0.08);

    filter: blur(100px);

    border-radius: 50%;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

}


.page-header-content {

    max-width: 850px;

    position: relative;

    z-index: 2;

}


.section-label {

    display: inline-block;

    color: var(--blue);

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 12px;

}


.page-header h1 {

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1.25;

    margin-bottom: 25px;

    font-weight: 800;

}


.page-header h1 span {

    color: var(--blue);

}


.page-header p {

    max-width: 720px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 2;

}


/* =========================================================
   ABOUT SECTION
========================================================= */

.products-intro {

    width: min(var(--container), 90%);

    margin: 0 auto;

    padding: 80px 0;

}


.intro-content {

    max-width: 900px;

    margin: 0 auto;

    text-align: center;

}


.intro-content h2 {

    font-size: 38px;

    line-height: 1.4;

    margin-bottom: 25px;

}


.intro-content p {

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 2.1;

    margin-bottom: 18px;

}


/* =========================================================
   SERVICES / WHAT WE PROVIDE
========================================================= */

.products-section {

    width: min(var(--container), 90%);

    margin: 0 auto;

    padding: 70px 0 100px;

}


.section-title {

    text-align: center;

    margin-bottom: 45px;

}


.section-title h2 {

    font-size: 38px;

    margin-bottom: 12px;

}


.section-title p {

    color: var(--text-secondary);

    font-size: 15px;

}


/* =========================
   SERVICES GRID
========================= */

.products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}


/* =========================
   SERVICE CARD
========================= */

.product-card {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}


.product-card:hover {

    transform: translateY(-7px);

    border-color: rgba(32, 184, 245, 0.35);

    box-shadow: var(--shadow);

}


/* =========================================================
   VIDEO CARDS
========================================================= */

.video-card {

    display: flex;

    flex-direction: column;

}


/* =========================
   VIDEO CONTAINER
========================= */

.video-container {

    width: 100%;

    aspect-ratio: 16 / 9;

    background:

        linear-gradient(135deg,
            #0b202c,
            #06131b);

    position: relative;

    overflow: hidden;

}


/* =========================
   VIDEO
========================= */

.video-container video {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================
   VIDEO PLACEHOLDER
========================= */

.video-placeholder {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 10px;

    color: var(--text-muted);

    font-size: 14px;

    background:

        radial-gradient(circle at center,
            rgba(32, 184, 245, 0.08),
            transparent 55%);

}


/* أيقونة الفيديو */

.video-placeholder::before {

    content: "▶";

    width: 58px;

    height: 58px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(32, 184, 245, 0.35);

    color: var(--blue);

    font-size: 19px;

    padding-right: 2px;

}


/* =========================
   VIDEO CONTENT
========================= */

.video-card .product-content {

    padding: 20px;

}


.video-card .product-content h3 {

    font-size: 18px;

    line-height: 1.5;

}


/* =========================================================
   NORMAL CONTENT CARDS
========================================================= */

.product-content {

    padding: 25px;

}


.product-content h3 {

    font-size: 21px;

    margin-bottom: 10px;

}


.product-content p {

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.9;

}


/* =========================================================
   CTA
========================================================= */

.products-cta {

    width: min(var(--container), 90%);

    margin: 0 auto 100px;

    padding: 70px 30px;

    border-radius: 25px;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:

        linear-gradient(135deg,
            #0b2736,
            #081a24);

    border: 1px solid var(--border);

}


.products-cta::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    background: rgba(32, 184, 245, 0.10);

    border-radius: 50%;

    filter: blur(80px);

    top: -150px;

    right: -100px;

}


.cta-content {

    position: relative;

    z-index: 2;

}


.cta-content h2 {

    font-size: 32px;

    margin-bottom: 15px;

}


.cta-content p {

    max-width: 650px;

    margin: 0 auto 25px;

    color: var(--text-secondary);

    font-size: 15px;

    line-height: 2;

}


/* =========================
   CTA BUTTON
========================= */

.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 150px;

    padding: 13px 25px;

    border-radius: 10px;

    background: var(--blue);

    color: #041018;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s;

}


.cta-button:hover {

    background: #ffffff;

    transform: translateY(-3px);

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #041019;

    border-top: 1px solid var(--border);

    padding-top: 65px;

}


.footer-container {

    width: min(var(--container), 90%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 50px;

}


/* =========================
   FOOTER BRAND
========================= */

.footer-brand {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-brand img {

    width: 150px;

    margin-bottom: 18px;

}


.footer-brand p {

    max-width: 350px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 2;

}


/* =========================
   FOOTER TITLES
========================= */

.footer-links,
.footer-contact {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-links h3,
.footer-contact h3 {

    font-size: 18px;

    margin-bottom: 20px;

    color: white;

}


/* =========================
   FOOTER LINKS
========================= */

.footer-links a {

    color: var(--text-secondary);

    font-size: 14px;

    margin-bottom: 10px;

    transition: 0.3s;

}


.footer-links a:hover {

    color: var(--blue);

    transform: translateX(-3px);

}


/* =========================
   FOOTER CONTACT
========================= */

.footer-contact p {

    color: var(--text-secondary);

    font-size: 14px;

    margin-bottom: 10px;

}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {

    border-top: 1px solid var(--border);

    text-align: center;

    padding: 20px;

}


.footer-bottom p {

    color: var(--text-muted);

    font-size: 13px;

}


/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================
   1050px
========================= */

@media (max-width: 1050px) {

    .navbar {

        gap: 18px;

    }


    .nav-links {

        gap: 20px;

    }


    .nav-phone {

        display: none;

    }


    .products-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .footer-container {

        gap: 40px;

    }

}


/* =========================
   800px
========================= */

@media (max-width: 800px) {

    .navbar {

        min-height: 75px;

        padding: 10px 5%;

    }


    .logo {

        width: 105px;

    }


    .logo img {

        width: 105px;

        max-width: none;

        max-height: 55px;

        height: auto;

    }


    .menu-button {

        display: flex;

        align-items: center;

        justify-content: center;

        margin-right: auto;

    }


    .nav-links {

        position: absolute;

        top: 100%;

        right: 5%;

        left: 5%;

        padding: 15px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        border: 1px solid var(--border);

        border-radius: 14px;

        background: #081a24;

        box-shadow: var(--shadow);

    }


    .nav-links.show {

        display: flex;

    }


    .nav-links a {

        padding: 13px 15px;

        border-radius: 8px;

    }


    .nav-links a:hover {

        background: rgba(32, 184, 245, 0.06);

    }


    .nav-links a::after {

        display: none;

    }


    /* PAGE HEADER */

    .page-header {

        min-height: 400px;

    }


    .page-header h1 {

        font-size: 45px;

    }


    .page-header p {

        font-size: 15px;

    }


    /* ABOUT */

    .products-intro {

        padding: 60px 0;

    }


    .intro-content h2 {

        font-size: 32px;

    }


    .intro-content p {

        font-size: 15px;

    }


    /* GRID */

    .products-section {

        padding: 55px 0 75px;

    }


    .products-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    /* FOOTER */

    .footer-container {

        grid-template-columns: 1fr 1fr;

        gap: 40px;

    }


    .footer-brand {

        grid-column: 1 / -1;

    }

}


/* =========================
   520px
========================= */

@media (max-width: 520px) {

    /* NAVBAR */

    .navbar {

        min-height: 70px;

        padding: 8px 4%;

    }


    .logo {

        width: 100px;

    }


    .logo img {

        width: 100px;

        max-width: none;

        max-height: 55px;

    }


    .menu-button {

        width: 40px;

        height: 40px;

        font-size: 20px;

    }


    /* PAGE HEADER */

    .page-header {

        width: 92%;

        min-height: 360px;

    }


    .page-header h1 {

        font-size: 34px;

        line-height: 1.35;

        margin-bottom: 18px;

    }


    .page-header p {

        font-size: 13px;

        line-height: 2;

    }


    .section-label {

        font-size: 12px;

    }


    /* ABOUT */

    .products-intro {

        width: 92%;

        padding: 50px 0;

    }


    .intro-content h2 {

        font-size: 27px;

        margin-bottom: 18px;

    }


    .intro-content p {

        font-size: 13px;

        line-height: 2;

    }


    /* SERVICES / VIDEOS */

    .products-section {

        width: 92%;

        padding: 45px 0 60px;

    }


    .section-title {

        margin-bottom: 30px;

    }


    .section-title h2 {

        font-size: 28px;

    }


    .section-title p {

        font-size: 13px;

    }


    .products-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .product-card {

        border-radius: 15px;

    }


    .product-content {

        padding: 20px;

    }


    .product-content h3 {

        font-size: 19px;

    }


    .product-content p {

        font-size: 13px;

    }


    /* VIDEO */

    .video-container {

        aspect-ratio: 16 / 9;

    }


    .video-placeholder::before {

        width: 50px;

        height: 50px;

        font-size: 17px;

    }


    /* CTA */

    .products-cta {

        width: 92%;

        margin-bottom: 65px;

        padding: 50px 20px;

        border-radius: 18px;

    }


    .cta-content h2 {

        font-size: 25px;

        line-height: 1.5;

    }


    .cta-content p {

        font-size: 13px;

    }


    /* FOOTER */

    .footer-container {

        width: 92%;

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .footer-brand {

        grid-column: auto;

        align-items: center;

        text-align: center;

    }


    .footer-brand p {

        font-size: 13px;

    }


    .footer-links,
    .footer-contact {

        align-items: center;

        text-align: center;

    }


    .footer-bottom p {

        font-size: 11px;

    }

}