/* Importar estilos base del proyecto principal */
@import url('../style.css');

/* Estilos específicos de Fuji Recorder */

.store-link {
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.store-link:hover {
    transform: scale(1.05);
}

.store-badge {
    min-width: 200px;
    transition: all 0.3s ease;
    background-color: #000000 !important;
    border: 2px solid #000000;
}

.store-badge:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: scale(1.05);
}

.store-badge * {
    color: white !important;
}

/* Banner específico de Fuji - override del banner principal */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

/* Texto blanco en el banner */
.banner,
.banner * {
    color: white !important;
}

.banner .text-secondary {
    color: var(--secondary) !important;
}

.banner .line[line-position="right"] {
    border-right: 1px solid white;
}

.banner .line[line-position="right"]::after {
    background-color: white;
}

.banner i {
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    color: white !important;
}

.banner i:hover {
    opacity: 1;
}

.app-logo {
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.app-logo:hover {
    transform: scale(1.05);
}

.phone-frame {
    max-width: 300px;
    width: 100%;
}

.phone-screen {
    aspect-ratio: 9/16;
}

.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.gallery-image {
    transition: opacity 0.3s ease;
    background: #f5f5f5 !important;
    background-image: 
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover .gallery-image {
    opacity: 0.9;
}

/* Feature cards */
.feature-card {
    background: white !important;
    border: 1px solid #e8e8e8 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary) !important;
}

.feature-card * {
    color: inherit !important;
}

.feature-card .bg-primary i {
    color: white !important;
}

.feature-card .bg-primary {
    color: white !important;
}

.footer {
    background-image: url('../assets/footer.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-img-2 {
    background-image: url('../assets/fondo2.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay claro para mejor contraste en bg-img-2 */
.bg-img-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.bg-img-2 > .container {
    position: relative;
    z-index: 1;
}

.contact {
    background-image: url('../assets/contact.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay para mejor contraste en contacto si es necesario */
.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 0;
}

.contact > .container {
    position: relative;
    z-index: 1;
}

input::placeholder,
textarea::placeholder {
    color: rgb(153, 153, 153) !important;
}

/* Navbar sobre banner - texto blanco */
.navbar {
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled * {
    color: var(--primary) !important;
}

.navbar.scrolled .text-primary {
    color: var(--primary) !important;
}

/* Navbar sobre banner - texto blanco por defecto en todas las pantallas */
.navbar:not(.scrolled) h2 {
    color: white !important;
}

@media (min-width: 768px) {
    .navbar-collapse {
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* Navbar sobre banner - texto blanco por defecto */
    .navbar:not(.scrolled) .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .navbar:not(.scrolled) .navbar-nav .nav-link:hover {
        color: white !important;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 25px;
        line-height: 1;
    }

    .store-badge {
        min-width: 100%;
    }
}

