/*-----------------------------------------------------------ALL-----------------------------------------------------------*/
* {
    font-family: "Times New Roman", Times, serif;
}

body {
    margin: 0;
    padding: 0;
}

/*-----------------------------------------------------------NAV--------------------------------------------------------------*/
/* NAV TRANSPARENTE (estado inicial) */
.navbar-transparent {
    background: transparent;
    transition: all 0.3s ease;
}

.top-bar.navbar-transparent {
    background: transparent;
    transition: all 0.3s ease;
}

/* CUANDO HACES SCROLL */
#headerWrapper.header-scrolled #mainNav {
    background-color: #212529 !important; /* oscuro */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#headerWrapper.header-scrolled #topBar {
    background-color: #000 !important; /* más oscuro para diferenciar */
}

.top-bar {
    font-size: 13px;
    letter-spacing: 1px;
}

/* cuando NO hay scroll (home) */
.top-bar.navbar-transparent {
    background: rgba(0,0,0,0.3);
}

/* cuando sí hay scroll */
#headerWrapper.header-scrolled .top-bar {
    background: #000;
}

#mainNav,
#topBar {
    transition: all 0.4s ease;
}

/* NAV OSCURO (inner pages) */
.top-bar.bg-dark {
    background-color: #000 !important; /* más oscuro que el nav */
}

/* opcional: darle un toque más elegante */
#topBar.bg-dark {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/*-----------------------------------------------------------HOME-----------------------------------------------------------*/

/* HERO */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('../img/galeria/10.jpg') center center / cover no-repeat;
}

/* SERVICE BOX */
.service-box {
    padding: 30px;
    transition: all 0.4s ease;
}

.service-box:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 40px;
}

/* FEATURED SECTION */
.featured-section {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../img/galeria/12.jpg') center center / cover no-repeat;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*-----------------------------------------------------------AUTH-----------------------------------------------------------*/

.auth-body {
    background: url('../img/galeria/1.png') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.auth-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    animation: fadeUp 0.6s ease;
}

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

.auth-input {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: #212529;
    box-shadow: 0 0 0 3px rgba(33,37,41,0.15);
}

.auth-btn {
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.auth-btn:hover {
    background-color: #000;
}

.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 14px;
    text-decoration: none;
    color: white;
    z-index: 10000; 
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.back-home:hover {
    opacity: 1;
}

/*-----------------------------------------------------------LOGO ANIMACION--------------------------------------------------*/
/* SPLASH FULLSCREEN */
#splash-screen {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

/* VIDEO FULLSCREEN */
#logo-splash {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    
    transition: transform 0.6s ease, opacity 0.4s ease;

    transform-origin: top left;
}

.auth-card {
    opacity: 0;
    transition: opacity 0.4s ease;
}

#logo-final {
    opacity: 0;
    transition: opacity 0.3s ease;
}
/*-----------------------------------------------------------SERVICES--------------------------------------------------------*/

/* HERO */
.services-hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../img/galeria/19.jpg') center center / cover no-repeat;
}

/* Cards */
.service-card {
    transition: all 0.4s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

/* Consultation Section */
.consultation-section {
    background: #1c1f22;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*-----------------------------------------------------------PORTFOLIO--------------------------------------------------------*/
/* HERO */
.portfolio-hero {
    height: 55vh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('../img/galeria/24.jpg') center center / cover no-repeat;
}

/* FILTER BUTTONS */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* GALLERY */
.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.4s ease;
}

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

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

/* HIDE */
.hide {
    display: none;
}

/* CTA */
.portfolio-cta {
    background: #1c1f22;
}


/*-----------------------------------------------------------ABOUT US----------------------------------------------------------*/

/* HERO */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('../img/galeria/11.jpg') center center / cover no-repeat;
}

/* VALUES */
.value-box {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
}

/* LIST */
.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* CTA */
.about-cta {
    background: #1c1f22;
}

/*-----------------------------------------------------------CONTACT-----------------------------------------------------------*/

.contact-split {
    display: flex;
    margin-top: 120px; 
    min-height: calc(100vh - 120px);
}

.contact-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../img/galeria/41.jpg') center center / cover no-repeat;
}

.contact-left h1 {
    font-size: 2.5rem;
}

.contact-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 40px 20px;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.contact-email {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.contact-email:hover {
    text-decoration: underline;
}

/*-----------------------------------------------------------SUSCRIPCIONES-----------------------------------------------------------*/

.subscription-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../img/galeria/2.jpg') center center / cover no-repeat;
    padding: 100px 20px;
}

.plan-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.plan-card h4 {
    font-weight: 600;
}

.price {
    font-size: 40px;
    margin: 15px 0;
}

.plan-btn {
    background: #212529;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
}

.plan-btn:hover {
    background: #000;
}

/* PLAN DESTACADO */
.plan-card.featured {
    border: 2px solid #000;
    transform: scale(1.05);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 8px;
    font-size: 14px;
}

.badge-popular {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.subscription-actions {
    max-width: 900px;
    margin: 0 auto;
}

.btn-cancel {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cancel:hover {
    background: #fff;
    color: #000;
}

.btn-logout {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-logout:hover {
    background: #b02a37;
}

/*------------------------------------------------------------- DASHBOARD CLIENT-----------------------------------------------------*/
.dashboard-container {
    padding: 30px;
}

.welcome h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.welcome p {
    color: #777;
    margin-bottom: 25px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
}

.card h3 {
    margin-bottom: 15px;
}

.status {
    font-weight: bold;
    margin-bottom: 10px;
}

.status.active {
    color: #22c55e;
}

.status.inactive {
    color: #ef4444;
}

.btn-primary {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #6366f1;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #4f46e5;
}

/*------------------------------------------------------------DASHBOARD ADMIN -----------------------------------------------------*/

.big-number {
    font-size: 28px;
    font-weight: bold;
    margin-top: 10px;
}

/*-----------------------------------------------------------RESPONSIVE-----------------------------------------------------------*/

@media (max-width: 991px) {

    .contact-split {
        flex-direction: column;
        margin-top: 120px;
        min-height: auto;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        min-height: 50vh;
        padding: 40px;
    }

    .contact-form-card {
        max-width: 100%;
    }
}
