/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
   :root {
    /* Colors */
    --clr-bg-deep: #050505;
    --clr-bg-darker: #0a0a0a;
    --clr-bg-card: #141414;
    --clr-anthracite: #1f1f1f;
    --clr-taxi-yellow: #ffcc00;
    --clr-taxi-yellow-hover: #e6b800;
    --clr-whatsapp: #25D366;
    --clr-whatsapp-hover: #1ebd5a;
    --clr-gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    
    /* Text */
    --clr-text-main: #f5f5f5;
    --clr-text-muted: #a0a0a0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-deep);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-accent {
    color: var(--clr-taxi-yellow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-xxl) 0;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-darker {
    background-color: var(--clr-bg-darker);
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(255, 204, 0, 0.1);
    color: var(--clr-taxi-yellow);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--clr-gold-gradient);
    margin: 1.5rem 0;
    border-radius: 2px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--clr-taxi-yellow);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--clr-taxi-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

.btn-whatsapp {
    background-color: var(--clr-whatsapp);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: var(--clr-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-taxi-yellow);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--clr-text-main);
    position: absolute;
    left: 0;
    transition: var(--transition-normal);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--clr-bg-deep);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.7) 0%,
        rgba(5, 5, 5, 0.4) 50%,
        rgba(5, 5, 5, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--clr-taxi-yellow);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   QUICK INFO CARDS
   ========================================================================== */
.quick-info {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background-color: var(--clr-anthracite);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 204, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 204, 0, 0.1);
    color: var(--clr-taxi-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ==========================================================================
   ABOUT / AREAS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.image-wrapper::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 aspect ratio */
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    pointer-events: none;
}

/* ==========================================================================
   SHOWCASE
   ========================================================================== */
.premium-showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 21/9;
}

.premium-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.showcase-content h3 {
    font-size: 2rem;
    color: var(--clr-taxi-yellow);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.masonry-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.masonry-item::after {
    content: '+';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 204, 0, 0.8);
    color: #000;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    font-family: var(--font-heading);
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.masonry-item:hover::after {
    opacity: 1;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: linear-gradient(to bottom, var(--clr-bg-deep), var(--clr-anthracite));
    position: relative;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
}

.cta-phone {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--clr-taxi-yellow);
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #000;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    color: var(--clr-text-main);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
}

.footer-phone {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-taxi-yellow) !important;
    font-weight: 700;
    margin-top: 1rem;
}

.footer-links h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-taxi-yellow);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--clr-taxi-yellow);
    font-weight: 500;
}

/* ==========================================================================
   FLOATING ACTION BAR (MOBILE)
   ========================================================================== */
.floating-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

.fab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.fab-call {
    background-color: var(--clr-taxi-yellow);
    color: #000;
}

.fab-whatsapp {
    background-color: var(--clr-whatsapp);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Disable animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid.reverse .about-image {
        order: -1;
    }
    
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-showcase-item {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--clr-bg-darker);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-normal);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-action-bar {
        display: flex;
        gap: 1rem;
    }
    
    /* Extra padding at bottom for FAB */
    body {
        padding-bottom: 80px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .showcase-overlay {
        padding: 1.5rem;
    }
    
    .showcase-content h3 {
        font-size: 1.5rem;
    }
}
