﻿/* ============================================================
   ROOT VARIABLES — unchanged
   ============================================================ */
:root {
    --primary: #0b1e33;
    --primary-light: #1a3552;
    --primary-dark: #06121f;
    --accent: #f0b429;
    --accent-light: #fcd97a;
    --accent-dark: #d49a1a;
    --gold-gradient: linear-gradient(135deg, #f0b429 0%, #f5c84a 100%);
    --white: #ffffff;
    --off-white: #f6f8fc;
    --gray-100: #f0f2f6;
    --gray-200: #e2e6ee;
    --gray-300: #c5cad4;
    --gray-400: #9aa1b0;
    --gray-500: #6f7788;
    --gray-600: #4a5266;
    --gray-700: #2d3445;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: 'Inter', sans-serif;
}

/* ============================================================
   RESET & BASE (unchanged)
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   SCROLLBAR (unchanged)
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-dark);
    }

/* ============================================================
   NAVBAR — glass + centered underline
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 0.6rem 0;
    transition: var(--transition);
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

    .logo i {
        color: var(--accent);
        font-size: 1.8rem;
    }

    .logo .accent {
        color: var(--accent);
    }

    .logo img {
        height: 70px;
        width: auto;
        display: block;
        max-width: 100%;
    }

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

    .nav-links a {
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--gray-600);
        transition: var(--transition);
        position: relative;
        padding: 0.2rem 0;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 80%;
            height: 2.5px;
            background: var(--gold-gradient);
            border-radius: 4px;
            transition: transform 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

            .nav-links a:hover::after {
                transform: translateX(-50%) scaleX(1);
            }

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
}

/* ============================================================
   HERO — animated floating orbs + gradient text
   ============================================================ */
.hero {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: var(--white);
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

    .hero::before,
    .hero::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
        animation: floatOrb 12s ease-in-out infinite alternate;
    }

    .hero::before {
        width: 600px;
        height: 600px;
        top: -20%;
        right: -10%;
        background: radial-gradient(circle, rgba(240, 180, 41, 0.15) 0%, transparent 70%);
    }

    .hero::after {
        width: 400px;
        height: 400px;
        bottom: -10%;
        left: -5%;
        background: radial-gradient(circle, rgba(240, 180, 41, 0.08) 0%, transparent 70%);
        animation-delay: -4s;
    }

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.1);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

    .hero-content h1 .accent {
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(240, 180, 41, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 32px rgba(240, 180, 41, 0.5);
    }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

    .btn-outline:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
        transform: translateY(-3px);
    }

.hero-stats {
    display: flex;
    justify-content: space-around;
    grid-column: span 2;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat h3 {
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   SERVICES — glass cards with tilt effect
   ============================================================ */
.services {
    padding: 80px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

    .section-header h2 {
        font-size: 2.8rem;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -0.02em;
    }

    .section-header p {
        color: var(--gray-500);
        font-size: 1.15rem;
        margin-top: 0.5rem;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 2rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform-style: preserve-3d;
    perspective: 800px;
    will-change: transform;
}

    .service-card:hover {
        transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
        box-shadow: var(--shadow-lg);
        border-color: var(--accent-light);
        background: var(--white);
    }

    .service-card i {
        font-size: 2.6rem;
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .service-card ul li {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        color: var(--gray-600);
        padding-left: 1.6rem;
        position: relative;
    }

        .service-card ul li::before {
            content: "✓";
            color: var(--accent);
            font-weight: 700;
            position: absolute;
            left: 0;
        }

/* ============================================================
   ABOUT — with decorative quote
   ============================================================ */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.about-text p {
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-text h3 {
    font-size: 1.3rem;
    margin-top: 1.8rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.about-text ul {
    margin-top: 1rem;
}

    .about-text ul li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 0.6rem;
        font-size: 1rem;
    }

        .about-text ul li i {
            color: var(--accent);
            font-size: 1.2rem;
        }

.about-image {
    text-align: center;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

    .about-image i {
        font-size: 12rem;
        color: var(--accent);
        opacity: 0.7;
    }

    .about-image::after {
        content: '';
        position: absolute;
        inset: -10px;
        border: 2px dashed var(--accent-light);
        border-radius: var(--radius-xl);
        opacity: 0.3;
        animation: spin 20s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   CONTACT — form with gradient focus
   ============================================================ */
.contact {
    padding: 80px 0;
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

    .info-item i {
        font-size: 1.5rem;
        color: var(--accent);
        width: 2rem;
        text-align: center;
    }

    .info-item h4 {
        font-weight: 600;
        margin-bottom: 0.2rem;
        color: var(--primary);
    }

    .info-item p {
        color: var(--gray-500);
    }

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 0.4rem;
        color: var(--gray-700);
    }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--off-white);
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent);
        background: var(--white);
        box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.15);
    }

.error-message {
    color: #d32f2f;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 16px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(240, 180, 41, 0.3);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(240, 180, 41, 0.45);
    }

.form-status {
    margin-top: 1.2rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

    .form-status.success {
        background: #e8f5e9;
        color: #2e7d32;
    }

    .form-status.error {
        background: #ffebee;
        color: #c62828;
    }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section i {
    width: 1.4rem;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.8rem;
}

    .social-links a {
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.4rem;
        transition: var(--transition);
    }

        .social-links a:hover {
            color: var(--accent);
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        grid-column: 1;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text ul li {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .about-image i {
        font-size: 8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

        .nav-links.active {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;
        }

        .nav-links a {
            font-size: 1.1rem;
        }

    .logo img {
        height: 50px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ============================================================
   UTILITY ANIMATIONS — fadeUp and reveal
   ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.about-text,
.contact-form {
    animation: fadeUp 0.8s ease both;
}

    .service-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .service-card:nth-child(4) {
        animation-delay: 0.3s;
    }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ============================================================
   NEW IMPROVEMENTS — WhatsApp & Scroll‑to‑Top
   ============================================================ */

/* ─── Floating WhatsApp Button ─── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: pulse-wa 2.4s ease-in-out infinite;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.65);
        color: #fff;
    }

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ─── Scroll‑to‑Top Button ─── */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    z-index: 998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: var(--shadow-lg);
    }

/* responsive adjustments */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        bottom: 82px;
        right: 24px;
    }
}
