/* ODINSON Detailing - Estilos Premium */

:root {
    --primary: #471ED9;
    --primary-light: #6a40f2;
    --secondary: #020873;
    --dark: #030526;
    --darker: #010214;
    --deep: #010440;
    --white: #ffffff;
    --gray-light: #f1f1f1;
    --gray: #a0a0c0;
    --accent: #471ED9;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(71, 30, 217, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--darker);
    color: var(--white);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(1, 2, 20, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: 0.3s;
    filter: drop-shadow(0 0 10px rgba(71, 30, 217, 0.3));
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-whatsapp-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--glow-shadow);
}

.btn-whatsapp-nav:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: none; /* Hidden by default, shown in media query */
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.menu-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.menu-toggle i {
    width: 24px;
    height: 24px;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    transition: 0.5s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(3, 5, 38, 0.4), var(--darker));
    z-index: -1;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 10px;
}

.hero-content p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 30px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 40px rgba(71, 30, 217, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(71, 30, 217, 0.6);
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* Stats */
.stats {
    padding: 40px 0;
    background: var(--dark);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    width: 95%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    color: var(--gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title span {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(71, 30, 217, 0.1);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(71, 30, 217, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--glow-shadow);
}

.service-icon i {
    color: white;
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* CTA Section */
.personalized-cta {
    padding: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
}

.btn-whatsapp-large {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-whatsapp-large:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.about-text span {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-weight: 500;
}

.about-list i {
    color: var(--primary);
}

/* Contact */
.contact {
    background: var(--dark);
}

/* Contact Card Premium */
.contact-card-premium {
    background: var(--darker);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(71, 30, 217, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-info-header span {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.contact-info-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-option {
    background: var(--glass);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.contact-option:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(71, 30, 217, 0.05);
}

.contact-option i {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--glow-shadow);
}

.contact-option h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-option p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.info-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.9rem;
    background: var(--glass);
    padding: 8px 20px;
    border-radius: 50px;
}

.info-pill i {
    color: var(--primary);
    width: 18px;
}

@media (max-width: 768px) {
    .contact-card-premium { padding: 40px 20px; }
    .contact-info-header h2 { font-size: 2.2rem; }
    .contact-options-grid { grid-template-columns: 1fr; }
    .contact-footer-info { flex-direction: column; align-items: center; gap: 15px; }
}

/* Map */
.map-container {
    border-radius: 30px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.location .section-title {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    padding: 80px 0 0;
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--gray);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p, .footer-contact-link {
    color: var(--gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.footer-contact-link:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s;
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float i {
    color: white;
    width: 35px;
    height: 35px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulseWhatsApp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Responsive Update */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }
    .navbar-actions .btn-whatsapp-nav {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        background: rgba(1, 2, 20, 0.95);
        backdrop-filter: blur(15px);
    }
    .navbar-content {
        padding: 10px 0;
    }
    .hero {
        padding-top: 80px; /* Space for navbar */
    }
    .hero-content {
        padding: 0 15px;
    }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-content p { font-size: 1rem; padding: 0 10px; }
    
    .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.77,0,0.175,1);
        z-index: 1001;
        gap: 40px;
    }
    .nav-links.active { right: 0; }
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }
    .navbar-actions .btn-whatsapp-nav { display: none; }
    
    .navbar-actions {
        z-index: 1002;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .container { padding: 0 15px; }
    .stats { margin-top: -30px; padding: 30px 10px; width: 92%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; justify-items: center; }
    .stat-item { width: 100%; }
    .stat-item:last-child { grid-column: span 2; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; line-height: 1.5; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; gap: 15px; }
    .btn { width: 100%; text-align: center; padding: 12px 25px; }
    .section-title h2 { font-size: 1.8rem; }
    .cta-content h2 { font-size: 1.6rem; }
    .about-text h2 { font-size: 1.8rem; }
    .contact-card-premium { padding: 40px 15px; width: 100%; border-radius: 24px; }
    .contact-info-header h2 { font-size: 2rem; }
    .contact-options-grid { grid-template-columns: 1fr; width: 100%; }
    .footer-grid { text-align: center; gap: 40px; }
    .footer-brand, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item:last-child { grid-column: auto; }
    .logo img { height: 40px; }
    .hero h1 { font-size: 2.2rem; }
    .stats-grid { gap: 20px; }
    .stat-item h3 { font-size: 2.2rem; }
    .map-container iframe { height: 300px; }
}
