/* Estilos extraídos de pages/home/index.html */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #000000; color: #e2e8f0; overflow-x: hidden; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 3px; }

/* Page transitions */
.page { display: none; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.page.active { display: block; opacity: 1; transform: translateY(0); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); } 50% { box-shadow: 0 0 30px 10px rgba(201,168,76,0.1); } }
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes particle-float { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes counter { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes line-grow { from { width: 0; } to { width: 80px; } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.from-left { transform: translateX(-40px); }
.animate-on-scroll.from-left.visible { transform: translateX(0); }
.animate-on-scroll.from-right { transform: translateX(40px); }
.animate-on-scroll.from-right.visible { transform: translateX(0); }
.animate-on-scroll.scale-up { transform: scale(0.9); }
.animate-on-scroll.scale-up.visible { transform: scale(1); }

.gold-gradient { background: linear-gradient(135deg, #c9a84c, #e6b833, #f3db99, #c9a84c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gold-bg-gradient { background: linear-gradient(135deg, #c9a84c, #e6b833, #f3db99); }
.gold-border { border-image: linear-gradient(135deg, #c9a84c, #e6b833) 1; }

.glass { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(201, 168, 76, 0.15); }
.glass-dark { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(201, 168, 76, 0.1); }

.luxury-card { background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)); border: 1px solid rgba(201, 168, 76, 0.2); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; z-index: 1; }
.luxury-card:hover { border-color: rgba(201, 168, 76, 0.5); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(201, 168, 76, 0.1), 0 0 40px rgba(201, 168, 76, 0.05); }

.btn-gold { background: linear-gradient(135deg, #c9a84c, #e6b833); color: #000000; font-weight: 600; transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-gold::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s ease; }
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4); transform: translateY(-2px); }

.btn-outline { border: 1px solid rgba(201, 168, 76, 0.5); color: #c9a84c; transition: all 0.3s ease; }
.btn-outline:hover { background: rgba(201, 168, 76, 0.1); border-color: #c9a84c; }

/* Navbar enhancement with animations */
#navbar { 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9a84c, #e6b833);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #c9a84c;
}

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

.particle { position: fixed; pointer-events: none; z-index: 0; }
.hero-gradient { background: radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.3) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.1) 0%, transparent 50%); }

.stat-number { font-variant-numeric: tabular-nums; }

.service-icon-container { background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05)); border: 1px solid rgba(201, 168, 76, 0.2); }

.team-card .team-overlay { opacity: 0; transition: opacity 0.4s ease; }
.team-card:hover .team-overlay { opacity: 1; }
.team-card:hover .team-img { transform: scale(1.1); }

.blog-card:hover .blog-img { transform: scale(1.08); }

.testimonial-card { position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: -10px; left: 20px; font-size: 80px; color: rgba(201, 168, 76, 0.15); font-family: Georgia, serif; line-height: 1; }

.input-field { background: rgba(0, 0, 0, 0.32); border: 1px solid rgba(201, 168, 76, 0.22); color: #ffffff; transition: all 0.18s ease; padding: 12px; }
.input-field:focus { outline: none; border-color: #c9a84c; box-shadow: 0 0 18px rgba(201, 168, 76, 0.14); }
.input-field::placeholder { color: #cbd5e1; opacity: 0.9; }

.mobile-menu { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: auto; }
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }

/* Prevent text selection on interactive elements */
a, button, [role="button"], .btn-gold, .btn-outline, .group, .cursor-pointer { user-select: none; -webkit-user-select: none; }

/* Allow text selection only in specific content areas */
p, li, h1, h2, h3, h4, h5, h6, span:not(.tracking-wider) { user-select: text; }

.breadcrumb a { color: #94a3b8; transition: color 0.3s; }
.breadcrumb a:hover { color: #c9a84c; }

.section-divider { border-top: 1px solid rgba(201, 168, 76, 0.3); }

/* Toast notification */
.toast { transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.toast.show { transform: translateX(0); }

/* Counter animation */
.count-up { display: inline-block; }

/* Decorative line */
.gold-line { width: 80px; height: 2px; background: linear-gradient(90deg, #c9a84c, #e6b833); }
.gold-line-center { margin-left: auto; margin-right: auto; }

/* Stars rating */
.star-gold { color: #e6b833; font-size: 1.25rem; font-weight: 600; }

/* Comment rating select dropdown styling (home) */
#commentRating {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.08) !important;
    -webkit-appearance: menulist-button;
    appearance: menulist-button;
}
#commentRating option {
    background-color: #000000 !important;
    color: #ffffff !important;
}
#commentRating:hover, #commentRating:focus {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Loading screen */
#loader { position: fixed; inset: 0; background: #000000; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
#loader.hide { opacity: 0; pointer-events: none; }
.loader-logo { animation: pulse-gold 2s infinite; }

/* Loading bar animation */
@keyframes loadingBar { 0% { width: 0%; } 100% { width: 100%; } }
.loading-bar { animation: loadingBar 2.5s ease-in-out forwards; }

/* Logo background gradient */
.logo-bg { background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%); pointer-events: none; user-select: none; }

/* Logo styling - prevent text selection and interaction issues */
nav img, footer img { user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; cursor: pointer; pointer-events: auto; }
nav, footer { user-select: none; }

/* Navbar z-index priority */
#navbar { z-index: 50 !important; pointer-events: auto; }
#mobileOverlay { pointer-events: auto; }
.mobile-menu { pointer-events: auto; }
