/* Global Styles */
:root {
    --primary-color: #d4af37;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --text-color: #e0e0e0;
    --navbar-height: 120px;
}

html {
    scroll-padding-top: 120px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: 'Playfair Display', serif;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #b3902a;
    border-color: #b3902a;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-glow {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.6)) brightness(1.1);
}

.nav-link {
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0 0.5rem;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.artist-image-wrapper {
    position: relative;
    padding: 10px;
    border: 1px solid var(--primary-color);
    display: inline-block;
    transition: all 0.4s ease;
}

.artist-image-wrapper:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.artist-img {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.artist-img:hover {
    filter: grayscale(0%);
}

/* Scroll Animations */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stat Counter Animation */
.stat-counter {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-counter.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-counter:nth-child(1) {
    transition-delay: 0.2s;
}

.stat-counter:nth-child(2) {
    transition-delay: 0.4s;
}

/* Process Section */
.accordion-button {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.5);
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-text {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Contact Section */
.form-control:focus {
    background-color: #1a1a1a;
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Modal */
.modal-content {
    border: 1px solid var(--primary-color);
}

/* Mejora la calidad del video en pantallas grandes */
@media (min-width: 1200px) {
    .hero-video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 1920px) {
    .hero-video {
        width: 100vw;
        height: auto;
        min-height: 100vh;
    }
}