/* ==============================
   APEX LASER PRINTS
   PROFESSIONAL WEBSITE DESIGN
============================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7ff;
    color: #20243a;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* NAVIGATION BAR */

.navbar {
    background: #142d63;
    color: white;
    padding: 20px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo strong {
    color: #ffbd45;
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffbd45;
}

.nav-links .nav-order-btn {
    background: #ff8c28;
    padding: 11px 20px;
    border-radius: 8px;
    color: white;
}

.nav-links .nav-order-btn:hover {
    background: #ffad51;
    color: #142d63;
}

/* HERO SECTION */

.hero {
    background: linear-gradient(120deg, #142d63, #3959ba, #7949c8);
    min-height: 470px;
    padding: 95px 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: #ffcf65;
}

.hero p {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto 32px;
    color: #f1f1ff;
}

.hero-buttons,
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-whatsapp {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 9px;
    color: white;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary {
    background: #ff8c28;
}

.btn-whatsapp {
    background: #18a957;
}

.btn-primary:hover,
.btn-whatsapp:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    background: #ef7410;
}

.btn-whatsapp:hover {
    background: #118342;
}

/* PRODUCTS SECTION */

.products-section {
    padding: 85px 7%;
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-tag {
    display: inline-block;
    color: #5b47bb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2,
.contact-section h2 {
    font-size: clamp(27px, 4vw, 38px);
    color: #142d63;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 16px;
    color: #666b80;
}

/* PRODUCT GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1250px;
    margin: 0 auto;
}

/* PRODUCT CARDS */

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(20, 45, 99, 0.09);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8ebf5;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(20, 45, 99, 0.17);
}

.product-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
    background: #e8ecfa;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 21px;
    font-weight: 800;
    color: #142d63;
    margin-bottom: 10px;
}

.product-info p {
    color: #62697c;
    font-size: 15px;
    margin-bottom: 20px;
    min-height: 48px;
}

.product-btn {
    display: inline-block;
    background: #ff8c28;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.3s;
}

.product-btn:hover {
    background: #e8750d;
}

/* ABOUT SECTION */

.about-section {
    padding: 85px 7%;
    background: linear-gradient(120deg, #e7efff, #f2eaff);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 17px;
    color: #4d536b;
    margin-top: 18px;
}

/* CONTACT SECTION */

.contact-section {
    text-align: center;
    padding: 85px 7%;
    background: white;
}

.contact-section p {
    font-size: 17px;
    color: #62697c;
    margin: 0 auto 30px;
    max-width: 650px;
}

/* FOOTER */

.footer {
    background: #102449;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer h3 {
    font-size: 25px;
    color: #ffbd45;
    margin-bottom: 12px;
}

.footer p {
    margin-top: 9px;
    font-size: 14px;
    color: #d7e0f2;
}

/* TABLET */

@media (max-width: 950px) {
    .navbar {
        justify-content: center;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
    }

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

/* MOBILE */

@media (max-width: 600px) {
    .navbar {
        padding: 20px 5%;
    }

    .logo {
        font-size: 19px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero {
        padding: 75px 6%;
        min-height: 400px;
    }

    .hero p {
        font-size: 16px;
    }

    .products-section,
    .about-section,
    .contact-section {
        padding: 65px 5%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-card img {
        height: 220px;
    }

    .product-info p {
        min-height: auto;
    }
}