/* ===================================
   BLACK BARBERS - ALTA MODA MINIMALISTA
   =================================== */

/* Custom Properties - Solo blanco y negro */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-900: #111111;
    --gray-800: #1a1a1a;
}

/* Reset y Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===================================
   TIPOGRAFÍA DE ALTA MODA
   =================================== */

/* Serif para títulos */
.serif-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Sans serif ultra light */
.light-text {
    font-weight: 200;
    letter-spacing: 0.02em;
}

/* Mayúsculas tracking */
.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
}

/* ===================================
   ANIMACIONES SUTILES
   =================================== */

/* Fade In Ultra Sutil */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1.2s ease-out forwards;
}

/* Slide In Lento */
@keyframes slideInSlow {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-slow {
    animation: slideInSlow 1.5s ease-out forwards;
}

/* Fade In Lento */
@keyframes fadeInSlow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.animate-fade-in-slow {
    animation: fadeInSlow 2s ease-out forwards;
}

/* ===================================
   SISTEMA DE DELAYS
   =================================== */

.animate-delay-1 {
    animation-delay: 0.3s;
}

.animate-delay-2 {
    animation-delay: 0.6s;
}

.animate-delay-3 {
    animation-delay: 0.9s;
}

.animate-delay-4 {
    animation-delay: 1.2s;
}

.animate-delay-5 {
    animation-delay: 1.5s;
}

/* ===================================
   EFECTOS HOVER MINIMALISTAS
   =================================== */

/* Hover sutil */
.hover-subtle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-subtle:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Hover de imagen */
.hover-image {
    overflow: hidden;
}

.hover-image img {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hover-image:hover img {
    transform: scale(1.05);
}

/* Hover de texto */
.hover-text {
    position: relative;
    transition: color 0.3s ease;
}

.hover-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

.hover-text:hover::after {
    width: 100%;
}

/* ===================================
   LAYOUTS EDITORIALES
   =================================== */

/* Grid moda */
.editorial-grid {
    display: grid;
    gap: 0.5rem;
}

.editorial-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.editorial-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.editorial-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Stack vertical */
.vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ===================================
   COMPONENTES MINIMALISTAS
   =================================== */

/* Línea divisora */
.divider {
    height: 1px;
    background: var(--black);
    opacity: 0.1;
}

/* Badge minimalista */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--black);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* Botón minimalista */
.btn-minimal {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-minimal:hover {
    background: var(--black);
    color: var(--white);
}

.btn-minimal.btn-inverse {
    background: var(--black);
    color: var(--white);
}

.btn-minimal.btn-inverse:hover {
    background: transparent;
    color: var(--black);
}

/* Card editorial */
.editorial-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.editorial-card:hover {
    border-color: var(--black);
}

/* ===================================
   IMÁGENES ESTILO MODA
   =================================== */

.imagen-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imagen-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imagen-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Aspect ratios */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}

.aspect-landscape {
    aspect-ratio: 16 / 9;
}

.aspect-widescreen {
    aspect-ratio: 21 / 9;
}

/* ===================================
   SECCIONES ESPECIALES
   =================================== */

/* Hero moda */
.hero-fashion {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-fashion-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fashion-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.1);
}

.hero-fashion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
}

.hero-fashion-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

/* Sección blanca */
.section-white {
    background: var(--white);
    color: var(--black);
}

/* Sección negra */
.section-black {
    background: var(--black);
    color: var(--white);
}

/* ===================================
   WHATSAPP MINIMALISTA
   =================================== */

.whatsapp-minimal {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--black);
    border: 1px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.whatsapp-minimal:hover {
    background: var(--white);
    color: var(--black);
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Mobile First - Base < 640px */
@media (max-width: 639px) {
    .editorial-grid-3,
    .editorial-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .editorial-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-minimal {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
    
    .hero-fashion-content {
        padding: 1rem;
    }
}

/* Small: 640px+ */
@media (min-width: 640px) {
    .editorial-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium: 768px+ */
@media (min-width: 768px) {
    .editorial-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .editorial-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large: 1024px+ */
@media (min-width: 1024px) {
    .editorial-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* XL: 1280px+ */
@media (min-width: 1280px) {
    .hero-fashion-content {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* ===================================
   UTILIDADES
   =================================== */

/* Espaciado consistente */
.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-16 > * + * {
    margin-top: 4rem;
}

/* Text alignment */
.text-center-mobile {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: left;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--black);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-to-content:focus {
    top: 6px;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .whatsapp-minimal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-black {
        background: white !important;
        color: black !important;
    }
}
