/* Variables y tipografía */
:root {
    --brand-blue: #00A1DE; /* Blue from logo */
    --brand-blue-hover: #0089bd;
    --brand-dark: #212529;
    --bg-color: #F4F7F9;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: #2c3e50;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.bg-gradient-brand {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0077A3 100%);
    color: white;
}
.text-primary {
    color: var(--brand-blue) !important;
}
.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
}

.hover-brand:hover {
    background-color: var(--brand-blue) !important;
    color: white !important;
    border-color: var(--brand-blue) !important;
}

.custom-hover:hover {
    background-color: #e9ecef !important;
    color: #212529 !important;
}

/* Transitions */
.transition-fast {
    transition: all 0.2s ease-in-out;
}

/* Form de busqueda */
.search-form {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.search-form:focus-within {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.08)!important;
    transform: translateY(-2px);
    border-color: var(--brand-blue);
}
.search-form input:focus {
    box-shadow: none;
    outline: none;
}
.search-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 161, 222, 0.4) !important;
}

/* Float Form interactions */
.form-group-float input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 161, 222, 0.15);
    background-color: #fff !important;
}

/* Cards de fotos */
.photo-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
    cursor: default;
}
.photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,.15)!important;
    z-index: 2;
}
.photo-card .img-wrapper .overlay {
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(to top, rgba(33,37,41,0.85) 0%, rgba(33,37,41,0.2) 60%, transparent 100%);
    transition: all 0.3s ease;
}
.photo-card:hover .img-wrapper .overlay {
    opacity: 1;
    visibility: visible;
}
.object-fit-cover {
    object-fit: cover;
}
.img-wrapper img {
    transition: transform 0.8s ease;
}
.photo-card:hover .img-wrapper img {
    transform: scale(1.1) rotate(1deg);
}

/* Descargar boton overlay */
.btn-download {
    pointer-events: auto;
    font-weight: 700;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}
.photo-card:hover .btn-download {
    transform: translateY(0);
    opacity: 1;
}

/* Utilities textuales */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.fs-7 {
    font-size: 0.8rem;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

/* Min height for login */
.min-vh-75 {
    min-height: 75vh;
}
