/* ===== Variables y Reset ===== */
:root {
    --primary-color: #0866ff;
    --secondary-color: #0552cc;
    --dark-color: #1a1a2e;
    --darker-color: #0f0f1e;
    --light-color: #ffffff;
    --gray-color: #6c757d;
    --accent-gold: #ffd700;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar .logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.navbar .brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(8, 102, 255, 0.5);
}

.navbar-nav .nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 50%, #0552cc 100%);
    color: var(--light-color);
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(8, 102, 255, 0.1) 30%, rgba(8, 102, 255, 0.1) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(8, 102, 255, 0.05) 30%, rgba(8, 102, 255, 0.05) 70%, transparent 70%);
    background-size: 100px 100px;
    opacity: 0.3;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 15, 30, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--light-color);
    text-shadow: 0 0 20px rgba(8, 102, 255, 0.8), 0 0 40px rgba(8, 102, 255, 0.4);
    animation: fadeInUp 1s ease;
    letter-spacing: 2px;
}

.hero-section h2 {
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    animation: fadeInUp 1.2s ease;
}

.hero-section .lead {
    font-size: 1.3rem;
    animation: fadeInUp 1.4s ease;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-btn {
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(8, 102, 255, 0.5);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(8, 102, 255, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(8, 102, 255, 0.8);
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 12px 35px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(8, 102, 255, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--light-color);
    padding: 12px 35px;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== Carrusel Section ===== */
.carousel-section {
    background: var(--darker-color);
    padding: 80px 0;
}

.carousel-inner {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.carousel-caption {
    background: linear-gradient(to top, rgba(15, 15, 30, 0.95) 0%, transparent 100%);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
    font-size: 1.2rem;
    color: var(--light-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

/* ===== Luxury Section ===== */
.luxury-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    color: var(--light-color);
}

.luxury-section h2 {
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.luxury-section img {
    transition: transform 0.3s ease;
}

.luxury-section img:hover {
    transform: scale(1.05);
}

.luxury-features {
    list-style: none;
    padding: 0;
}

.luxury-features li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.luxury-features li i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* ===== Services Section ===== */
.services-section {
    background: linear-gradient(to bottom, var(--light-color) 0%, #f8f9fa 100%);
    padding: 80px 0;
}

.services-section h2 {
    color: var(--dark-color);
}

.service-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(8, 102, 255, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--light-color);
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.service-card p {
    color: var(--gray-color);
    margin: 0;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    background: var(--darker-color);
    color: var(--light-color);
    padding: 80px 0;
}

.portfolio-section h2 {
    color: var(--light-color);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(8, 102, 255, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h4 {
    color: var(--light-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--light-color);
    margin: 0;
}

/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    color: var(--light-color);
    padding: 80px 0;
}

.contact-section h2 {
    color: var(--primary-color);
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(8, 102, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(8, 102, 255, 0.2);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 40px;
}

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--light-color);
}

.contact-item a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(8, 102, 255, 0.3);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(8, 102, 255, 0.3);
    color: var(--light-color);
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(8, 102, 255, 0.3);
    color: var(--light-color);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Footer ===== */
.footer {
    background: var(--darker-color);
    color: var(--light-color);
    border-top: 2px solid var(--primary-color);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    justify-content: flex-end;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 20px rgba(8, 102, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .navbar .brand-name {
        font-size: 1.2rem;
    }
    
    .navbar .logo {
        height: 35px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-text {
    animation: fadeIn 1s ease-in-out;
}