/* ============================================
   ROOT VARIABLES — PREMIUM CLINICAL PALETTE
============================================ */

:root {
    --redmoon-red: #B3202A;
    --gold: #D7B46A;
    --text-dark: #1F1F1F;
    --text-light: #6A6A6A;
    --bg-light: #F7F7F8;
    --bg-white: #FFFFFF;
    --max-width: 1180px;

    --radius: 14px;
    --shadow-soft: 0 6px 18px rgba(0,0,0,0.08);
    --shadow-lift: 0 12px 28px rgba(0,0,0,0.15);
}

/* ============================================
   GLOBAL
============================================ */

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.65;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   HEADER — GLASS PANEL
============================================ */

.header {
    padding: 18px 0;
    text-align: center;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.logo {
    height: 160px;
    width: auto;
    max-width: 100%;
}

/* ============================================
   HERO SECTION
============================================ */

.hero {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    background: url("/assets/images/waiting.jpg") center/cover no-repeat;
    border-bottom: 4px solid var(--redmoon-red);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #f1f1f1;
}

/* ============================================
   SECTION HEADINGS
============================================ */

.services h2,
.approach h2 {
    text-align: center;
    color: var(--redmoon-red);
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}

/* ============================================
   SERVICES GRID
============================================ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* SERVICE IMAGES */

.service-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid var(--gold);
    transition: border-color 0.35s ease, transform 0.35s ease;
    margin-bottom: 18px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-box:hover .service-img {
    border-color: var(--redmoon-red);
    transform: scale(1.02);
}

/* SERVICE CARDS */

.service-box {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 3px solid var(--redmoon-red);
    box-shadow: var(--shadow-soft);
    transition: all 0.35s ease;
}

.service-box:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.service-box h3 {
    margin: 0 0 12px;
    color: var(--redmoon-red);
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.35s ease;
}

.service-box:hover h3 {
    color: var(--gold);
}

.service-box p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   APPROACH SECTION
============================================ */

.approach {
    padding: 100px 0;
    background: var(--bg-light);
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.approach-text h2 {
    color: var(--redmoon-red);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.approach-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.approach-pillars {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pillar h3 {
    color: var(--redmoon-red);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.pillar p {
    color: var(--text-light);
    line-height: 1.6;
}

/* APPROACH IMAGE */

.approach-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    border: 4px solid var(--gold);
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.approach-image:hover img {
    border-color: var(--redmoon-red);
    transform: translateY(-4px);
}

/* MOBILE STACK */

@media (max-width: 900px) {
    .approach-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .approach-image img {
        max-width: 90%;
        margin: 0 auto;
    }

    .approach-pillars {
        align-items: center;
    }

    .pillar {
        max-width: 500px;
    }
}

/* ============================================
   NAV BAR
============================================ */

.nav-bar {
    width: 100%;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 55px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: "";
    width: 0;
    height: 3px;
    background: var(--gold);
    position: absolute;
    left: 0;
    bottom: -6px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--redmoon-red);
}

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

/* MOBILE NAV */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--redmoon-red);
    border-radius: 2px;
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        display: none;
        border-bottom: 3px solid var(--redmoon-red);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ============================================
   CONTACT SECTION
============================================ */

.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* CONTACT INFO */

.contact-info {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(255,255,255,0.4);
    position: relative;
}

.contact-info::before {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: -12px;
    left: 40px;
}

.contact-info h2 {
    color: var(--redmoon-red);
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-tagline {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.info-item {
    margin-bottom: 18px;
}

.info-item strong {
    color: var(--redmoon-red);
}

.info-item a,
.info-item p {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--redmoon-red);
}

/* CONTACT FORM */

.contact-form {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(255,255,255,0.4);

    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form h3 {
    color: var(--redmoon-red);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* FLOATING LABELS */

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--redmoon-red);
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 16px;
    color: var(--text-light);
    pointer-events: none;
    transition: 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    background: var(--bg-light);
    padding: 0 6px;
    font-size: 0.85rem;
    color: var(--redmoon-red);
}

/* BUTTONS */

.contact-btn,
.directions-btn {
    width: 100%;
    padding: 14px;
    background: var(--redmoon-red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-btn:hover,
.directions-btn:hover {
    background: var(--gold);
    color: var(--text-dark);
}

/* ALERTS */

.contact-alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 1rem;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-alert.success {
    background: rgba(15, 157, 88, 0.15);
    border-left: 4px solid #0F9D58;
    color: #0F9D58;
}

.contact-alert.error {
    background: rgba(179, 32, 42, 0.15);
    border-left: 4px solid var(--redmoon-red);
    color: var(--redmoon-red);
}

/* MAP */

.map-container {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* ============================================
   FOOTER
============================================ */

.site-footer-modern {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    padding: 60px 0 30px;
    border-top: 4px solid var(--redmoon-red);
    box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-col h3 {
    color: var(--redmoon-red);
    font-size: 1.3rem;
    margin-bottom: 14px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: var(--gold);
    position: absolute;
    bottom: -6px;
    left: 0;
    border-radius: 2px;
}

.footer-col p,
.footer-col a {
    color: var(--text-light);
    font-size: 1rem;
    margin: 8px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-col p:hover {
    color: var(--redmoon-red);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--redmoon-red);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}


/* ============================================
   SOCIAL MEDIA BADGE TRAY — FOOTER
============================================ */

.social-tray {
    text-align: left;
}

.social-badges {
    display: flex;
    justify-content: left;
    gap: 26px;
    margin-top: 18px;
}

/* BADGE STYLE */
.social-badge {
    width: 70px;
    height: 70px;
    background: var(--redmoon-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;   /* FIXED */
    align-items: center;       /* FIXED */
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

/* ICONS */
.social-badge img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    
}


/* HOVER EFFECT */
.social-badge:hover {
    background: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* CLICK SPIN */
.social-badge:active {
    animation: spinBadge 0.6s ease;
}

@keyframes spinBadge {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.15); }
}

/* ============================================
   FLOATING WHATSAPP BADGE — MATCH SOCIAL BADGES
============================================ */

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

    width: 70px;
    height: 70px;

    background: var(--redmoon-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 9999;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

/* ICON */
.floating-whatsapp img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

/* HOVER — LIFT + GOLD */
.floating-whatsapp:hover {
    background: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* CLICK SPIN */
.floating-whatsapp:active {
    animation: spinBadge 0.6s ease;
}

@keyframes spinBadge {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.15); }
}

/* ============================================
   FINAL MOBILE LAYOUT FIX — REDMOON
============================================ */

@media (max-width: 900px) {

    /* Global spacing */
    body, section {
        margin: 0;
        padding: 0;
    }

    .container {
        padding: 20px;
    }

    h1, h2, h3, p {
        text-align: center;
    }

    /* HERO text fix */
    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.3;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* SERVICES GRID FIX */	
    .service-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

        /* CONTACT SECTION FIX */
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 25px 20px;
        text-align: center;
    }

    .contact-info h2 {
        font-size: 1.7rem;
    }

    .contact-form h3 {
        font-size: 1.4rem;
    }

    /* Fix floating labels on mobile */
    .form-group label {
        left: 14px;
    }

    /* FOOTER FIX */
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 25px;
        padding: 40px 20px;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        font-size: 0.9rem;
        padding: 20px;
    }

    /* WhatsApp button mobile size */
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 70px;
        height: 70px;
    }

    .floating-whatsapp img {
        width: 70px;
        height: 70px;
        object-fit: contain;
    }
}


