/* =========================================================
   SOJ SPARKLE LAUNDRY & CLEANING SERVICES
   FINAL STYLE SHEET
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
    --primary: #087dcc;
    --primary-dark: #075ca3;
    --primary-light: #eaf5ff;

    --navy: #0b315b;
    --navy-dark: #06284d;

    --text: #17324d;
    --text-light: #5f6f7f;

    --white: #ffffff;
    --light: #f7fbff;
    --border: #e2eaf2;

    --shadow: 0 10px 30px rgba(10, 67, 110, 0.08);

    --container-width: 1250px;
    --radius: 10px;

    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}


/* =========================================================
   3. CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 60px),
        var(--container-width)
    );

    margin: 0 auto;
}


/* =========================================================
   4. SECTIONS
========================================================= */

.section {
    padding: 90px 0;
}

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

.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.section-heading h2 {
    color: var(--text);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text-light);

    font-size: 17px;
}


/* =========================================================
   5. BUTTONS
========================================================= */

.btn {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 22px;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    border: 2px solid transparent;

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);

    box-shadow:
        0 8px 20px rgba(8, 125, 204, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);

    box-shadow:
        0 12px 25px rgba(8, 125, 204, 0.25);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);

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

.btn-secondary:hover {
    background: var(--primary-light);
}

.section-button {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}


/* =========================================================
   6. HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

.header-container {
    min-height: 80px;

    display: flex;
    align-items: center;

    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.logo img {
    display: block;

    width: 180px;
    height: auto;
}

.nav {
    display: flex;

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

    gap: 28px;

    margin-left: auto;
}

.nav a {
    position: relative;

    color: var(--text);

    font-size: 15px;
    font-weight: 650;

    padding: 8px 0;

    transition: color var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: width var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.header-whatsapp {
    margin-left: 20px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 8px;

    background: var(--primary-light);

    color: var(--navy);

    font-size: 25px;
}


/* =========================================================
   7. HERO
========================================================= */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(234, 245, 255, 0.98),
            rgba(247, 251, 255, 0.88)
        );
}

.hero-container {
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    color: var(--navy);

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.05;

    margin-bottom: 22px;
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
}

.hero-content p {
    max-width: 560px;

    color: var(--text-light);

    font-size: 18px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* =========================================================
   8. SERVICES
========================================================= */

.services {
    background: var(--white);
}

.services-grid {
    display: grid;

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

    gap: 14px;
}

.service-card {
    padding: 28px 16px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(10, 67, 110, 0.12);
}

.service-icon {
    width: 55px;
    height: 55px;

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

    margin: 0 auto 17px;

    border-radius: 50%;

    background: var(--primary-light);

    font-size: 25px;
}

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

    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   9. WHY CHOOSE US
========================================================= */

.why-us {
    background: var(--primary-light);
}

.features-grid {
    display: grid;

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

    gap: 40px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 52px;
    height: 52px;

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

    margin: 0 auto 15px;

    color: var(--primary);

    font-size: 27px;
}

.feature h3 {
    font-size: 17px;

    margin-bottom: 8px;
}

.feature p {
    color: var(--text-light);

    font-size: 14px;

    max-width: 230px;

    margin: 0 auto;
}


/* =========================================================
   10. HOW IT WORKS
========================================================= */

.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;

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

    gap: 35px;
}

.step {
    position: relative;

    text-align: center;
}

.step-number {
    position: absolute;

    top: -5px;
    left: 50%;

    transform: translateX(-50%);

    width: 28px;
    height: 28px;

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

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    font-size: 12px;
    font-weight: 800;

    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;

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

    margin: 15px auto 18px;

    border-radius: 50%;

    background: var(--primary-light);

    font-size: 32px;
}

.step h3 {
    font-size: 18px;

    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);

    font-size: 14px;

    max-width: 220px;

    margin: 0 auto;
}


/* =========================================================
   11. PICKUP & DELIVERY
========================================================= */

.pickup {
    background: var(--primary-light);
}

.pickup-container {
    display: grid;

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

    align-items: center;

    gap: 65px;
}

.pickup-content {
    min-width: 0;
}

.pickup-content h2 {
    color: var(--navy);

    font-size: clamp(38px, 5vw, 56px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.pickup-content p {
    color: var(--text-light);

    font-size: 17px;

    max-width: 580px;

    margin-bottom: 25px;
}

.pickup-list {
    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-bottom: 28px;
}

.pickup-list li {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 15px;
    font-weight: 700;
}

.pickup-list li span {
    width: 24px;
    height: 24px;

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

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    font-size: 13px;
}

.pickup-image {
    width: 100%;
    min-width: 0;

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

.pickup-image-placeholder {
    width: 100%;

    min-height: 390px;

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

    border-radius: 14px;

    background: var(--white);

    border: 1px solid #d9e9f7;

    box-shadow: var(--shadow);

    font-size: 100px;
}


/* =========================================================
   12. GALLERY
========================================================= */

.gallery {
    background: var(--white);
}

.gallery-grid {
    width: 100%;

    display: grid;

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

    gap: 12px;
}

.gallery-item {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 10px;

    background: var(--primary-light);

    border: 1px solid #dcecf8;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   13. TESTIMONIALS
========================================================= */

.testimonials {
    background: var(--primary-light);
}

.testimonials-grid {
    display: grid;

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

    gap: 25px;
}

.testimonial-card {
    padding: 30px;

    background: var(--white);

    border-radius: 12px;

    box-shadow: var(--shadow);
}

.stars {
    color: #f4b400;

    font-size: 18px;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-light);

    font-size: 15px;

    margin-bottom: 20px;
}

.testimonial-card strong {
    color: var(--text);
}


/* =========================================================
   14. CONTACT
========================================================= */

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1.3fr 1fr;

    gap: 25px;

    align-items: start;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 13px;
}

.contact-icon {
    width: 36px;
    height: 36px;

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

    flex-shrink: 0;

    border-radius: 8px;

    background: var(--primary-light);
}

.contact-item h3 {
    font-size: 15px;

    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-map {
    width: 100%;

    min-width: 0;

    overflow: hidden;

    border-radius: 10px;

    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;

    width: 100%;
    min-height: 350px;
}

.business-hours {
    width: 100%;
}

.business-hours h3 {
    font-size: 18px;

    margin-bottom: 15px;
}

.hours-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text-light);

    font-size: 14px;
}

.business-hours > p {
    color: var(--text-light);

    font-size: 13px;

    margin-top: 18px;
}


/* =========================================================
   15. FOOTER
========================================================= */

.footer {
    background: var(--navy);

    color: var(--white);

    padding-top: 70px;
}

.footer .container {
    width: min(
        calc(100% - 60px),
        var(--container-width)
    );
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr
        0.8fr
        1.2fr;

    gap: 45px;

    align-items: start;
}

.footer-brand {
    min-width: 0;
}

.footer-logo {
    display: block;

    width: 190px;

    margin-bottom: 25px;
}

.footer-logo img {
    width: 100%;
    height: auto;

    display: block;
}

.footer-brand > p {
    max-width: 280px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    color: var(--white);

    font-size: 15px;

    margin-bottom: 20px;
}

.footer-column a {
    display: block;

    width: fit-content;

    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;

    margin-bottom: 11px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 18px;
}

.footer-column .btn {
    min-height: 42px;

    padding: 0 16px;

    font-size: 13px;
}

.social-links {
    display: flex;

    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;

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

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 50%;

    color: var(--white);

    font-size: 14px;

    margin: 0;

    transition:
        background var(--transition),
        border-color var(--transition);
}

.social-links a:hover {
    background: var(--primary);

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

.footer-bottom {
    margin-top: 55px;

    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);

    font-size: 12px;
}


/* =========================================================
   16. FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 2000;

    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: #25d366;

    color: var(--white);

    font-size: 25px;

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.35);

    transition:
        transform var(--transition);
}

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


/* =========================================================
   17. LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .services-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            1.3fr
            1fr
            1fr
            1fr;
    }

    .footer-grid .footer-column:last-child {
        grid-column: span 2;
    }

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

    .business-hours {
        grid-column: span 2;
    }

}


/* =========================================================
   18. TABLET
========================================================= */

@media (max-width: 900px) {

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

    .section {
        padding: 75px 0;
    }

    /* Header */

    .header-container {
        min-height: 72px;
    }

    .logo img {
        width: 165px;
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 14px;
    }

    .header-whatsapp {
        padding: 0 15px;

        font-size: 13px;

        margin-left: 5px;
    }

    /* Pickup */

    .pickup-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .pickup-content {
        text-align: center;
    }

    .pickup-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .pickup-list {
        align-items: center;
    }

    .pickup-image {
        max-width: 700px;

        margin: 0 auto;
    }

    /* Gallery */

    .gallery-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 14px;
    }

    /* Features */

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

        gap: 40px 25px;
    }

    /* Steps */

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

        gap: 45px 25px;
    }

    /* Testimonials */

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

}


/* =========================================================
   19. MOBILE NAVIGATION
========================================================= */

@media (max-width: 760px) {

    .header-container {
        position: relative;

        justify-content: space-between;
    }

    .header-whatsapp {
        display: none;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .nav {
        position: absolute;

        top: calc(100% + 1px);

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px 20px 20px;

        background: var(--white);

        border-bottom: 1px solid var(--border);

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 13px 5px;

        border-bottom: 1px solid var(--border);

        font-size: 15px;
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    .nav a::after {
        display: none;
    }

}


/* =========================================================
   20. MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading p {
        font-size: 15px;
    }

    /* Hero */

    .hero {
        min-height: 550px;

        text-align: center;
    }

    .hero-container {
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 48px;
    }

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

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Services */

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

        gap: 14px;
    }

    .service-card {
        padding: 22px 12px;
    }

    /* Features */

    .features-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    /* Steps */

    .steps-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    /* Pickup */

    .pickup-container {
        gap: 35px;
    }

    .pickup-content {
        text-align: center;
    }

    .pickup-content h2 {
        font-size: 40px;
    }

    .pickup-content p {
        font-size: 15px;
    }

    .pickup-list {
        align-items: flex-start;

        width: fit-content;

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .pickup-content .btn {
        width: 100%;
        max-width: 330px;
    }

    .pickup-image {
        width: 100%;
    }

    .pickup-image-placeholder {
        width: 100%;

        min-height: 260px;

        font-size: 75px;
    }

    /* Gallery */

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

        gap: 12px;
    }

    .gallery-item {
        width: 100%;

        aspect-ratio: 1 / 1;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    /* Testimonials */

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */

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

        gap: 35px;
    }

    .business-hours {
        grid-column: auto;
    }

    .contact-map iframe {
        min-height: 300px;
    }

    /* Footer */

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;
    }

    .footer-grid .footer-brand {
        grid-column: span 2;
    }

    .footer-grid .footer-column:last-child {
        grid-column: span 2;
    }

    .footer-logo {
        width: 175px;
    }

    .footer-brand > p {
        max-width: 360px;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: 18px;

        width: 54px;
        height: 54px;
    }

}


/* =========================================================
   21. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }

    .section {
        padding: 55px 0;
    }

    .logo img {
        width: 145px;
    }

    /* Hero */

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 15px;
    }

    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Pickup */

    .pickup-content h2 {
        font-size: 36px;
    }

    .pickup-image-placeholder {
        min-height: 230px;

        font-size: 65px;
    }

    /* Gallery */

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .gallery-item {
        width: 100%;

        /*
         * 4:3 gives portrait images enough room
         * while keeping the gallery compact.
         */
        aspect-ratio: 4 / 3;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .footer-grid .footer-brand,
    .footer-grid .footer-column:last-child {
        grid-column: auto;
    }

    .footer-logo {
        width: 165px;
    }

    .footer-bottom {
        margin-top: 40px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

}


/* =========================================================
   22. VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .logo img {
        width: 130px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;

        font-size: 22px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .pickup-content h2 {
        font-size: 32px;
    }

    .gallery-grid {
        gap: 14px;
    }

    .footer-column a {
        font-size: 12px;
    }

}