/* Variables de color */
:root {
    --primary-blue: #0066cc; /* Azul viajero para la "t" */
    --primary-black: #000000; /* Negro para "tribus" */
    --secondary-black: #666666; /* Negro suave para "by David Mena" */
    --accent-color: #ff6b35; /* Color de acento para botones */
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header y navegación */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-text {
    display: inline-block;
}

.logo-t {
    color: var(--primary-blue);
    font-weight: 900;
}

.logo-by {
    color: var(--secondary-black);
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 0.5rem;
}

/* Hero Section azul sólido */
.hero-section {
    background: #3887f6;
    color: white;
    padding-top: 40px;
    padding-bottom: 20px;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

/* Animación fade-in para el subtítulo del hero */
.hero-subtitle.fadein {
    opacity: 0;
    animation: fadeInHeroSubtitle 1.2s ease forwards;
}

@keyframes fadeInHeroSubtitle {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Botones */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Secciones */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-bg);
}

/* Sección única con imágenes */
.unique-content {
    padding: 2rem;
    text-align: left;
}

.unique-content h3 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.unique-content .lead {
    color: #6c757d;
    line-height: 1.8;
    font-size: 1.1rem;
}

.unique-image {
    padding: 1rem;
    text-align: center;
}

.unique-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.unique-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.unique-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Cards únicas (mantener para compatibilidad) */
.unique-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.unique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.unique-card h4 {
    color: var(--dark-bg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.unique-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Cards de usuarios */
.user-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.user-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.user-card h4 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.user-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action */
#cta {
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .unique-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .unique-content {
        text-align: center;
        padding: 1rem;
    }
    
    .unique-image {
        margin-bottom: 2rem;
    }
    
    .unique-card,
    .user-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-by {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .unique-card,
    .user-card {
        padding: 1.5rem;
    }
    
    .unique-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .user-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unique-card,
.user-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Sección Descubre */
.bg-descubre {
    background: linear-gradient(135deg, #3887f6 0%, #4fc3f7 100%);
    padding-top: 40px;
    padding-bottom: 40px;
}

.descubre-box {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(56, 135, 246, 0.10);
    padding: 2.5rem 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.descubre-title {
    color: #fff;
    text-shadow: 1px 2px 8px rgba(56, 135, 246, 0.15);
}

.descubre-list {
    list-style: none;
    padding-left: 0;
}

.descubre-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #3887f6;
    font-weight: 500;
}

.descubre-list li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: #4fc3f7;
    font-size: 1.2em;
    font-weight: bold;
}

@media (max-width: 991px) {
    .descubre-box {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .descubre-title {
        font-size: 2rem;
    }
    .descubre-box {
        border-radius: 18px;
        padding: 1.5rem 0.5rem;
    }
    .descubre-list li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 576px) {
    .descubre-title {
        font-size: 1.3rem;
    }
    .descubre-box {
        border-radius: 10px;
        padding: 1rem 0.2rem;
    }
    .descubre-list li {
        font-size: 0.98rem;
        margin-bottom: 0.6rem;
    }
}

/* Hero Search Animation */
.hero-search-anim {
    margin-top: 2.5rem;
}

.search-bar-anim {
    background: #fff;
    border-radius: 40px;
    padding: 0.7rem 2rem;
    box-shadow: 0 4px 24px rgba(56,135,246,0.10);
    display: inline-flex;
    align-items: center;
    min-width: 260px;
    max-width: 100%;
    border: 1.5px solid #e3eafc;
}

.search-label {
    font-weight: 600;
    color: #3887f6;
    font-size: 1.2rem;
    margin-right: 1rem;
    letter-spacing: 1px;
}

.search-input-anim {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    color: #3887f6;
    min-width: 120px;
    border-bottom: 2px solid #3887f6;
    padding: 0 0.5rem;
    background: transparent;
    outline: none;
    display: inline-block;
    letter-spacing: 1px;
    font-weight: 500;
    height: 2rem;
}

.search-slogan-anim {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    min-height: 2.5rem;
    text-shadow: 1px 2px 8px rgba(56, 135, 246, 0.15);
}

/* Animación especial para el claim */
@keyframes claimAppear {
    0% { opacity: 0; transform: scale(0.95) translateY(30px); }
    60% { opacity: 1; transform: scale(1.04) translateY(-6px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.claim-anim {
    animation: claimAppear 1.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@media (max-width: 768px) {
    .search-bar-anim {
        padding: 0.5rem 1rem;
        min-width: 180px;
    }
    .search-label, .search-input-anim {
        font-size: 1rem;
    }
    .search-slogan-anim {
        font-size: 1.2rem;
        min-height: 1.5rem;
    }
}

/* Selector y botón en el hero */
.search-select-anim {
    min-width: 120px;
    max-width: 200px;
    border-radius: 20px;
    border: none;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    background: rgba(255,255,255,0.85);
    color: #3887f6;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(56,135,246,0.08);
    transition: box-shadow 0.2s;
}
.search-select-anim:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3887f6;
}

#search-btn {
    border-radius: 20px;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(56,135,246,0.08);
}

/* Animaciones de aparición/desaparición */
@keyframes fadeOutUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-40px); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeOutUp {
    animation: fadeOutUp 0.7s forwards;
}
.fadeInDown {
    animation: fadeInDown 0.7s forwards;
} 