/* =====================================================
   SKYNED PHARMACY - MAIN CSS
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #102a43;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    width: 100%;
    min-height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.navbar nav a {
    color: #102a43;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #d62828;
}

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #102a43;
}


/* =====================================================
   HERO
   RED OVERLAY RESTORED
===================================================== */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;

    background:
        linear-gradient(
            rgba(214, 40, 40, 0.78),
            rgba(214, 40, 40, 0.78)
        ),
        url("images/hero.jpg") center/cover no-repeat;
}

.hero-content {
    max-width: 850px;
}

.hero-label {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    color: #ffffff;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: #ffffff;
    color: #d62828;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: #168a45;
    color: #ffffff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
}


/* =====================================================
   GENERAL SECTIONS
===================================================== */

section {
    padding: 90px 7%;
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-heading span {
    color: #168a45;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

.section-heading h2 {
    font-size: clamp(30px, 5vw, 46px);
    margin: 12px 0;
    color: #102a43;
}

.section-heading p {
    color: #627d98;
    line-height: 1.7;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: #f7fafc;
}

.about-content {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: #486581;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    gap: 18px;
}

.about-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #168a45;
}

.about-box strong {
    display: block;
    margin-bottom: 8px;
    color: #102a43;
}

.about-box span {
    color: #627d98;
    line-height: 1.6;
}


/* =====================================================
   SERVICES / OFFERS / PRODUCTS / ONLINE
===================================================== */

.service-container,
.offer-container,
.product-container,
.online-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card,
.offer-card,
.product-card,
.online-card {
    background: #ffffff;
    padding: 30px 22px;
    border-radius: 16px;
    text-align: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    opacity: 0;
    transform: translateY(40px);
}

.service-card.show,
.offer-card.show,
.product-card.show,
.online-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover,
.offer-card:hover,
.product-card:hover,
.online-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-icon,
.offer-icon,
.product-icon,
.online-icon {
    font-size: 45px;
    margin-bottom: 18px;
}

.service-card h3,
.offer-card h3,
.product-card h3,
.online-card h3 {
    color: #102a43;
    margin-bottom: 12px;
}

.service-card p,
.offer-card p,
.product-card p,
.online-card p {
    color: #627d98;
    line-height: 1.6;
}

.services {
    background: #ffffff;
}

.offers {
    background: #f7fafc;
}

.products {
    background: #f7fafc;
}

.online-services {
    background: #ffffff;
}


/* =====================================================
   ONLINE SERVICE BUTTONS
===================================================== */

.online-card button {
    border: none;
    background: #d62828;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 12px;
    transition: 0.3s ease;
}

.online-card button:hover {
    background: #168a45;
    transform: translateY(-2px);
}


/* =====================================================
   PRODUCT LINKS
===================================================== */

.product-card a {
    display: inline-block;
    margin-top: 15px;
    color: #d62828;
    font-weight: 700;
}

.product-card a:hover {
    color: #168a45;
}


/* =====================================================
   SERVICE FORM
===================================================== */

.service-form-section {
    display: none;
    background: #f7fafc;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 20px;
}

.service-form-box {
    width: 100%;
    max-width: 700px;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    position: relative;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.12);
}

.close-form {
    position: absolute;
    top: 15px;
    right: 18px;
    border: none;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    color: #627d98;
}

.service-form-box h2 {
    margin-top: 0;
    color: #102a43;
}

.service-form-box > p {
    color: #627d98;
    line-height: 1.6;
}

.service-form-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-form-box label {
    font-weight: 700;
    margin-top: 10px;
    color: #243b53;
}

.service-form-box input,
.service-form-box textarea,
.service-form-box select {
    width: 100%;
    border: 1px solid #bcccdc;
    border-radius: 8px;
    padding: 13px;
    outline: none;
    background: #ffffff;
}

.service-form-box input:focus,
.service-form-box textarea:focus,
.service-form-box select:focus {
    border-color: #168a45;
}

.service-form-box textarea {
    min-height: 100px;
    resize: vertical;
}

.dynamic-fields {
    display: none;
}

.dynamic-fields h3 {
    margin-top: 25px;
    color: #102a43;
}

.upload-box {
    margin-top: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
}

.upload-box small {
    display: block;
    margin-top: 10px;
    color: #627d98;
    line-height: 1.5;
}

.send-whatsapp {
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #168a45;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.send-whatsapp:hover {
    background: #d62828;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    background: #f7fafc;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: #102a43;
}

.contact-card p {
    color: #627d98;
    line-height: 1.6;
}

.contact-card a {
    display: inline-block;
    color: #d62828;
    font-weight: 700;
    margin-top: 8px;
    word-break: break-word;
}

.contact-card a:hover {
    color: #168a45;
}


/* =====================================================
   LOCATION / GOOGLE MAP
===================================================== */

.location-box {
    max-width: 1200px;
    margin: 60px auto 0;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;

    background: #f7fafc;
    padding: 25px;
    border-radius: 18px;
    overflow: hidden;
}

.location-content {
    padding: 25px;
}

.location-content > span {
    color: #168a45;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

.location-content h2 {
    font-size: 34px;
    color: #102a43;
}

.location-content p {
    color: #627d98;
    line-height: 1.7;
}

.location-content a {
    display: inline-block;
    background: #d62828;
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 10px;
    transition: 0.3s ease;
}

.location-content a:hover {
    background: #168a45;
    transform: translateY(-2px);
}

.map-container {
    min-height: 350px;
    border-radius: 14px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}


/* =====================================================
   INFINITE IMAGE CAROUSEL
===================================================== */

.pharmacy-gallery {
    background: #f7fafc;
    overflow: hidden;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: infiniteScroll 30s linear infinite;
}

.carousel-item {
    width: 300px;
    height: 210px;
    flex-shrink: 0;
    margin-right: 20px;
    border-radius: 14px;
    overflow: hidden;
    background: #d9e2ec;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes infiniteScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(
            calc(-320px * 4)
        );
    }

}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #102a43;
    color: #ffffff;
    padding: 55px 7% 25px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-content h3 {
    margin-top: 0;
}

.footer-content p {
    color: #d9e2ec;
    line-height: 1.7;
}

.footer-content a {
    color: #ffffff;
}

.footer-content a:hover {
    color: #68d391;
}

.copyright {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);

    text-align: center;
    color: #bcccdc;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .service-container,
    .offer-container,
    .product-container,
    .online-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .location-box {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}


/* =====================================================
   MOBILE NAVBAR
===================================================== */

@media (max-width: 750px) {

    .navbar {
        justify-content: flex-end;
        padding: 14px 20px;
    }

    .menu-btn {
        display: block;
        z-index: 1100;
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: -100%;

        width: 75%;
        max-width: 320px;
        height: 100vh;

        background: #ffffff;

        display: flex;
        flex-direction: column;

        align-items: flex-start;
        justify-content: flex-start;

        padding: 100px 30px 30px;
        gap: 25px;

        box-shadow:
            -5px 0 20px rgba(0, 0, 0, 0.12);

        transition: right 0.3s ease;
    }

    .navbar nav.active {
        right: 0;
    }

    .navbar nav a {
        font-size: 18px;
    }

    section {
        padding: 70px 20px;
    }

    .hero {
        min-height: 580px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 16px;
    }

    .service-container,
    .offer-container,
    .product-container,
    .online-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .service-form-box {
        padding: 30px 20px;
    }

    .location-box {
        padding: 10px;
    }

    .location-content {
        padding: 20px 15px;
    }

    .map-container,
    .map-container iframe {
        min-height: 300px;
    }

    .carousel-item {
        width: 250px;
        height: 180px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 37px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .carousel-item {
        width: 220px;
        height: 160px;
    }

}

/* =====================================================
   WORKING HOURS
===================================================== */

.working-hours {
    background: #f7fafc;
}

.hours-container {
    max-width: 850px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.hours-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.hours-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.hours-card h3 {
    color: #102a43;
    margin-bottom: 10px;
}

.hours-card p {
    color: #168a45;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}


/* MOBILE */

@media (max-width: 750px) {

    .hours-container {
        grid-template-columns: 1fr;
    }

    .hours-card {
        padding: 30px 20px;
    }

}
/* =====================================================
   PRIVACY POLICY
===================================================== */

.privacy-page {
    background: #f7fafc;
    min-height: 100vh;
    padding: 80px 20px;
}

.privacy-container {
    max-width: 850px;
    margin: auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.privacy-label {
    display: inline-block;
    color: #168a45;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.privacy-container h1 {
    margin: 0;
    color: #102a43;
    font-size: clamp(35px, 6vw, 52px);
}

.privacy-updated {
    color: #627d98;
    margin-bottom: 40px;
}

.privacy-container h2 {
    color: #102a43;
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 24px;
}

.privacy-container p {
    color: #486581;
    line-height: 1.8;
}

.privacy-container a {
    color: #d62828;
    font-weight: 700;
}

.privacy-back {
    display: inline-block;
    margin-top: 35px;
    padding: 13px 20px;
    background: #d62828;
    color: #ffffff !important;
    border-radius: 8px;
}

.privacy-back:hover {
    background: #168a45;
}


/* MOBILE */

@media (max-width: 600px) {

    .privacy-page {
        padding: 40px 15px;
    }

    .privacy-container {
        padding: 30px 20px;
        border-radius: 14px;
    }

    .privacy-container h2 {
        font-size: 21px;
    }

}