/* Global Styles */
:root {
    --primary-color: #D4AF37;
    /* Gold */
    --primary-hover: #b39028;
    --secondary-color: #7D2AE8;
    /* Purple */
    --secondary-hover: #5c1aab;
    --dark-bg: #000000;
    /* Pure Black */
    --card-bg: #0a0a0a;
    --text-light: #f8f9fa;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: #e0e0e0;
    background-color: var(--dark-bg);
    line-height: 1.6;
}

/* Navbar Customization */
.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link {
    font-weight: 500;
    color: #fff !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center scroll;
    background-size: cover;
    height: 100vh;
    min-height: 600px;
    margin-top: -76px;
    padding-top: 76px;
    border-bottom: 1px solid rgba(125, 42, 232, 0.3);
    /* Purple accent line */
}

/* Buttons */
.btn {
    border-radius: 2px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy 3D feel */
    position: relative;
    top: 0;
}

.btn-primary {
    background: linear-gradient(145deg, var(--primary-color), #b39028);
    /* Gradient for 3D form */
    border: none;
    /* Remove flat border for true 3D */
    color: #000;
    box-shadow:
        0 4px 0 #8a6d1c,
        /* Hard shadow for depth (button side) */
        0 10px 10px rgba(0, 0, 0, 0.4);
    /* Soft shadow for lift */
}

.btn-primary:active {
    top: 4px;
    /* Move down by shadow height */
    box-shadow:
        0 0 0 #8a6d1c,
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

.btn-primary:hover {
    background: linear-gradient(145deg, #e5c14d, #b39028);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #8a6d1c,
        0 15px 20px rgba(212, 175, 55, 0.4);
    /* Glowing reflection */
}

.btn-outline-light {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow:
        0 0 20px var(--secondary-color),
        0 0 40px rgba(125, 42, 232, 0.6);
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Custom Color Utilities */
.text-gold {
    color: var(--primary-color) !important;
}

.bg-gold {
    background-color: var(--primary-color) !important;
}

.bg-purple {
    background-color: var(--secondary-color) !important;
}

.btn-outline-gold {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 0 #8a6d1c, 0 10px 10px rgba(0, 0, 0, 0.4);
}

.btn-outline-gold:hover {
    background-color: var(--primary-color);
    color: black;
    box-shadow: 0 6px 0 #8a6d1c, 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline-purple {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 0 #3e0d7c, 0 10px 10px rgba(0, 0, 0, 0.4);
}

.btn-outline-purple:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 6px 0 #3e0d7c, 0 0 20px rgba(125, 42, 232, 0.4);
    transform: translateY(-2px);
}

/* Features & Cards - 3D Effect */
section#servicios {
    background-color: #050505 !important;
}

.card {
    background: linear-gradient(145deg, #0e0e0e, #050505);
    /* Subtle gradient */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Highlight top edge */
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    /* Enable 3D space */
}

/* Card Float and Shadow Effect */
.card:hover {
    transform: translateY(-10px) rotateX(2deg);
    /* Lift and slight tilt */
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 1),
        /* Deep shadow below */
        0 0 20px rgba(212, 175, 55, 0.1);
    /* Subtle gold glow */
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-col {
    perspective: 1000px;
    /* Perspective for the 3D tilt */
}

.card-body {
    position: relative;
    z-index: 2;
}

/* Icons popping out */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow:
        5px 5px 15px rgba(0, 0, 0, 0.5),
        -2px -2px 10px rgba(255, 255, 255, 0.05);
    /* Neumorphic dark touch */
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: translateZ(20px);
    /* Move icon 'closer' to user */
}

.h3,
h1,
h2,
h3 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Text depth */
}

.text-shadow {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.btn.stretched-link:active {
    pointer-events: auto;
    /* Fix for stretched link usually covering everything */
}

/* About Section */
.bg-darker {
    background-color: #080808 !important;
}

.shadow-3d-strong {
    box-shadow:
        -20px 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.shadow-3d-strong:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.border-gold-glow {
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Footer */
footer {
    background-color: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonials Carousel */
.shadow-3d-soft {
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50%;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(0deg);
    /* Make arrow gold-ish manually or keep white on dark */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(145deg, #25D366, #128C7E);
    color: white;
    border: none;
    box-shadow:
        0 4px 0 #075E54,
        0 10px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(145deg, #34e679, #128C7E);
    color: white;
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #075E54,
        0 15px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:active {
    top: 4px;
    box-shadow:
        0 0 0 #075E54,
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

/* Hover Lift Utility */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px -5px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(125, 42, 232, 0.2);
    /* Purple glow hint */
    z-index: 10;
}