/* ========================================
   TERRAZICA - Modern Design System
   ======================================== */

:root {
    --ocean-400: #22d3ee;
    --ocean-500: #06b6d4;
    --ocean-600: #0891b2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: #0f172a;
}

.font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #22d3ee;
}

/* Hero */
#hero {
    min-height: 100vh;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #0f172a, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #0f172a, transparent);
}

.marquee-track {
    display: flex;
    animation: marquee 35s linear infinite;
    width: fit-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-card {
    flex-shrink: 0;
    border-left: 3px solid #22d3ee;
}

/* FAQ Toggle */
.faq-toggle svg {
    transition: transform 0.3s ease;
}

.faq-toggle.active svg {
    transform: rotate(180deg);
}

/* Google Translate Styles */
#google_translate_element {
    min-width: 150px;
}

#google_translate_element select {
    background: #1e293b;
    color: #fff;
    border: 1px solid #22d3ee;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
}

#google_translate_element select:focus {
    outline: none;
    border-color: #06b6d4;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget > span {
    display: none !important;
}

.goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #fff !important;
}

/* Language Toggle */
.lang-en { display: none; }
body.lang-en .lang-es { display: none; }
body.lang-en .lang-en { display: inline; }

/* Sections */
section {
    scroll-margin-top: 80px;
}

/* Mobile Menu */
#mobile-menu {
    background: rgba(30, 41, 59, 0.98);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #22d3ee, #3b82f6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #06b6d4, #2563eb);
}

::selection {
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    color: white;
}

/* Map */
iframe {
    filter: grayscale(20%);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}
