/* ============================================
   LS PUBLICIDAD & EVENTOS - DARK LUXURY THEME
   Custom CSS (Tailwind handles utilities)
   ============================================ */

/* === GLOBAL === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #0a0a0a; color: #fff; font-family: 'Inter', sans-serif; overflow-x: hidden; }
::selection { background: #D4AF37; color: #0a0a0a; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 3px; }

/* === TYPOGRAPHY === */
.font-syne { font-family: 'Syne', sans-serif; }
.text-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #f0d060 50%, #D4AF37 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVIGATION === */
.nav-main {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 1.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-main.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.nav-logo { height: 40px; filter: invert(1) brightness(2); transition: transform 0.3s; }
.nav-logo:hover { transform: scale(1.05); }
.nav-link {
    color: #a0a0a0; text-decoration: none; font-size: 0.875rem;
    font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
    transition: color 0.3s; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: #D4AF37;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: #D4AF37; }
.nav-link:hover::after { width: 100%; }

/* === MOBILE MENU === */
.mobile-menu {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
    color: #fff; text-decoration: none; font-family: 'Syne', sans-serif;
    font-size: 2rem; font-weight: 700; margin: 1rem 0;
    opacity: 0; transform: translateY(20px);
    transition: all 0.4s ease, color 0.3s;
}
.mobile-menu.active a {
    opacity: 1; transform: translateY(0);
}
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: #D4AF37; }
.hamburger { display: none; cursor: pointer; z-index: 200; }
.hamburger span {
    display: block; width: 28px; height: 2px; background: #fff;
    margin: 6px 0; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background: #D4AF37; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); background: #D4AF37; }

/* === HERO SPLIT === */
.hero-split { display: flex; height: 100vh; overflow: hidden; }
.hero-half {
    flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
    transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden; cursor: pointer;
}
.hero-half:hover { flex: 1.6; }
.hero-half .overlay {
    position: absolute; inset: 0;
    transition: opacity 0.7s;
}
.hero-left { background: url('img/hero-creative.png') center/cover no-repeat; }
.hero-right { background: url('img/hero-event.png') center/cover no-repeat; }
.hero-left .overlay { background: rgba(10, 10, 15, 0.7); }
.hero-right .overlay { background: rgba(15, 10, 10, 0.7); }
.hero-half:hover .overlay { background: rgba(0, 0, 0, 0.4); }
.hero-content {
    position: relative; z-index: 2; text-align: center; padding: 2rem;
    transform: translateY(0); transition: transform 0.5s;
}
.hero-half:hover .hero-content { transform: translateY(-10px); }
.hero-divider {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 2px; height: 60%; background: linear-gradient(to bottom, transparent, #D4AF37, transparent);
    z-index: 10;
}
.hero-badge {
    display: inline-block; padding: 0.5rem 1.5rem; border: 1px solid rgba(212,175,55,0.4);
    border-radius: 50px; font-size: 0.75rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: #D4AF37; margin-bottom: 1.5rem;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2.5rem; background: transparent; border: 2px solid #D4AF37;
    color: #D4AF37; font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
    cursor: pointer; transition: all 0.4s; text-decoration: none;
}
.hero-cta:hover { background: #D4AF37; color: #0a0a0a; transform: translateY(-2px); box-shadow: 0 10px 40px rgba(212,175,55,0.3); }

/* === SECTION STYLES === */
.section-label {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: #D4AF37; margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 40px; height: 1px; background: #D4AF37; }

/* === SERVICE CARDS === */
.service-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 2.5rem 2rem; position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,175,55,0.05);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; transition: all 0.4s;
}
.service-card:hover .service-icon { background: rgba(212,175,55,0.2); transform: scale(1.1); }
.service-icon i { width: 24px; height: 24px; color: #D4AF37; }
.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3); border-radius: 8px;
    color: #D4AF37; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s; width: 100%;
    justify-content: center; margin-top: 1.5rem;
}
.btn-whatsapp:hover { background: #D4AF37; color: #0a0a0a; }

/* === PORTFOLIO / SHOWROOM === */
.filter-btn {
    padding: 0.6rem 1.5rem; background: transparent;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 50px;
    color: #a0a0a0; font-size: 0.85rem; cursor: pointer;
    transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
    background: #D4AF37; border-color: #D4AF37; color: #0a0a0a;
}
.masonry { columns: 3; column-gap: 1.25rem; }
.masonry-item {
    break-inside: avoid; margin-bottom: 1.25rem;
    border-radius: 12px; overflow: hidden; position: relative;
    cursor: pointer; transition: transform 0.4s;
}
.masonry-item:hover { transform: scale(1.02); }
.masonry-item .item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s;
    display: flex; align-items: flex-end; padding: 1.5rem;
}
.masonry-item:hover .item-overlay { opacity: 1; }
.placeholder-img {
    width: 100%; display: block; border-radius: 12px;
}

/* === MODAL === */
.modal-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    max-width: 800px; max-height: 90vh; position: relative;
    transform: scale(0.9); transition: transform 0.4s;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close {
    position: absolute; top: -40px; right: 0;
    background: none; border: none; color: #fff;
    font-size: 1.5rem; cursor: pointer; padding: 0.5rem;
    transition: color 0.3s;
}
.modal-close:hover { color: #D4AF37; }

/* === GLASSMORPHISM === */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; padding: 2.5rem;
    transition: all 0.4s;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

/* === SMART FORM === */
.form-group { position: relative; margin-bottom: 1.5rem; }
.form-input {
    width: 100%; padding: 1rem 1.25rem; padding-top: 1.5rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; color: #fff; font-family: 'Inter', sans-serif;
    font-size: 0.95rem; outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-input::placeholder { color: transparent; }
.form-label {
    position: absolute; top: 50%; left: 1.25rem;
    transform: translateY(-50%); color: #666;
    font-size: 0.9rem; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: 0.6rem; transform: translateY(0);
    font-size: 0.7rem; color: #D4AF37;
    letter-spacing: 0.05em; text-transform: uppercase;
}
textarea.form-input + .form-label { top: 1.5rem; }
textarea.form-input:focus + .form-label,
textarea.form-input:not(:placeholder-shown) + .form-label { top: 0.6rem; }
.form-input.error { border-color: #ef4444; }
.form-input.valid { border-color: #22c55e; }
.form-error { color: #ef4444; font-size: 0.75rem; margin-top: 0.25rem; display: none; }
.btn-submit {
    width: 100%; padding: 1.1rem;
    background: linear-gradient(135deg, #D4AF37, #f0d060);
    border: none; border-radius: 12px;
    color: #0a0a0a; font-family: 'Syne', sans-serif;
    font-size: 1rem; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase; cursor: pointer;
    transition: all 0.4s; position: relative; overflow: hidden;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(212,175,55,0.3); }
.btn-submit:active { transform: translateY(0); }

/* === TRUSTED BY MARQUEE === */
.marquee-container { overflow: hidden; position: relative; }
.marquee-container::before,
.marquee-container::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, #0a0a0a, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #0a0a0a, transparent); }
.marquee-track {
    display: flex; gap: 4rem; animation: marquee 25s linear infinite;
    width: max-content;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client-logo {
    height: 32px; opacity: 0.4; filter: grayscale(1) brightness(2);
    transition: all 0.4s; flex-shrink: 0;
}
.client-logo:hover { opacity: 1; filter: grayscale(0); }

/* === FOOTER === */
.footer-gradient {
    background: linear-gradient(to top, rgba(212,175,55,0.03) 0%, transparent 100%);
}

/* === ANIMATIONS === */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-gold { 0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); } 70% { box-shadow: 0 0 0 15px rgba(212,175,55,0); } }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-gold { animation: pulse-gold 2s infinite; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .masonry { columns: 2; }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links { display: none; }
    .hero-split { flex-direction: column; }
    .hero-half:hover { flex: 1; }
    .hero-divider { width: 60%; height: 2px; top: 50%;
        background: linear-gradient(to right, transparent, #D4AF37, transparent); }
    .masonry { columns: 1; }
    .hero-content h2 { font-size: 2rem !important; }
}
@media (max-width: 480px) {
    .nav-main { padding: 1rem; }
}
