/* 
   ==========================================================================
   LA KACHINA - Custom Stylesheet
   Urban, Vintage, and Sustainable Fashion Brand
   ========================================================================== 
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@500;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
    --color-bg-light: #F6F4F0;      /* Warm Alabaster Cream */
    --color-bg-dark: #121212;       /* Rich Charcoal Black */
    --color-bg-card-dark: #1C1C1C;  /* Carbon Gray for dark cards */
    --color-primary-dark: #1E1E1E;
    --color-accent-rust: #C85A32;   /* Urban Brick Orange */
    --color-accent-sage: #6E725F;   /* Sustainable Vintage Green */
    --color-text-dark: #1D1D1D;
    --color-text-muted: #6C757D;
    --color-text-light: #F6F4F0;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.2s ease;
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* --- Global Reset & Base Styles --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky navbar */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
    background: #D1CAC0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-rust);
}

/* --- Selection Color --- */
::selection {
    background-color: var(--color-accent-rust);
    color: var(--color-text-light);
}

/* --- Scroll Reveal Classes (JS Triggered) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- UI Utilities --- */
.badge-vintage {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid var(--color-accent-rust);
    color: var(--color-accent-rust);
    padding: 0.4em 0.8em;
    border-radius: 50px;
    display: inline-block;
}

.section-padding {
    padding: 100px 0;
}

/* --- Buttons --- */
.btn-urban-primary {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 14px 32px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border: 1px solid var(--color-bg-dark);
    border-radius: 0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-urban-primary:hover {
    background-color: transparent;
    color: var(--color-bg-dark);
    border-color: var(--color-bg-dark);
}

.btn-urban-outline {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--color-bg-dark);
    border: 1px solid var(--color-bg-dark);
    border-radius: 0;
    transition: var(--transition-smooth);
}

.btn-urban-outline:hover {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.btn-whatsapp {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    background-color: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* --- 1. Navbar --- */
.navbar-custom {
    background-color: rgba(246, 244, 240, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    padding: 20px 0;
    z-index: 1050;
}

.navbar-custom.navbar-scrolled {
    padding: 12px 0;
    background-color: rgba(246, 244, 240, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--color-bg-dark);
    text-transform: uppercase;
}

.navbar-custom .navbar-brand span {
    color: var(--color-accent-rust);
}

.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bg-dark);
    margin: 0 12px;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-quick);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-rust);
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover {
    color: var(--color-accent-rust);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

.navbar-custom .nav-link.active {
    color: var(--color-accent-rust);
}

/* Custom Hamburger Icon */
.navbar-toggler-custom {
    border: none;
    padding: 4px;
    outline: none;
}

.navbar-toggler-custom:focus {
    box-shadow: none;
}

.burger-bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-bg-dark);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.navbar-toggler-custom[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler-custom[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler-custom[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 2. Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    padding-top: 100px;
    overflow: hidden;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--color-accent-sage);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: var(--color-accent-sage);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-bg-dark);
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--color-accent-rust);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

/* Hero Image side with vintage frame design */
.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 2px solid var(--color-accent-rust);
    transform: translate(40px, 40px);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image-frame {
    transform: translate(25px, 25px);
}

.hero-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(10%) contrast(105%);
    box-shadow: var(--shadow-medium);
}

/* Floating label/sticker */
.sticker-vintage {
    position: absolute;
    bottom: -15px;
    left: 40px;
    background-color: var(--color-accent-rust);
    color: var(--color-text-light);
    padding: 15px 25px;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: rotate(-3deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* --- 3. Sobre Nosotros --- */
.about-section {
    background-color: #EADFD3; /* Muted vintage cream background */
}

.about-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--color-bg-dark);
}

.about-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-bg-dark);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.about-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-feature-icon {
    font-size: 1.5rem;
    color: var(--color-accent-rust);
    background-color: rgba(200, 90, 50, 0.08);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Collage of images in About Us */
.about-collage {
    position: relative;
    height: 480px;
}

.collage-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 75%;
    object-fit: cover;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.collage-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 70%;
    object-fit: cover;
    z-index: 1;
    border: 8px solid #EADFD3;
    box-shadow: var(--shadow-medium);
}

.about-stat-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 20px 30px;
    z-index: 3;
    box-shadow: var(--shadow-medium);
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent-rust);
    display: block;
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* --- 4. Categorías de Prendas --- */
.category-card {
    position: relative;
    height: 420px;
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: var(--color-bg-dark);
    cursor: pointer;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.75;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.2) 60%, rgba(18, 18, 18, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
    transition: var(--transition-smooth);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-description {
    font-size: 0.85rem;
    color: #CCCCCC;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.05s;
}

.category-card:hover .category-img {
    transform: scale(1.08);
    opacity: 0.6;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(200, 90, 50, 0.85) 0%, rgba(18, 18, 18, 0.4) 70%, rgba(18, 18, 18, 0.1) 100%);
}

.category-card:hover .category-title {
    transform: translateY(0);
}

.category-card:hover .category-description {
    opacity: 1;
    transform: translateY(0);
}

/* --- 5. Lookbook / Galería --- */
.lookbook-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.lookbook-title {
    color: var(--color-text-light);
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 991px) {
    .lookbook-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lookbook-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.lookbook-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

.lookbook-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lookbook-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(200, 90, 50, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.lookbook-hover i {
    font-size: 1.8rem;
    color: white;
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.lookbook-item:hover .lookbook-hover {
    opacity: 1;
}

.lookbook-item:hover .lookbook-hover i {
    transform: scale(1);
}

/* --- 6. Beneficios --- */
.benefit-card {
    background-color: white;
    border: none;
    border-radius: 0;
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent-rust);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(200, 90, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-wrapper {
    background-color: var(--color-accent-rust);
}

.benefit-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--color-accent-rust);
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-wrapper i {
    color: white;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-bg-dark);
}

.benefit-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* --- 7. Testimonios --- */
.testimonials-section {
    background-color: #ECEAE4;
}

.testimonial-card {
    background-color: white;
    border: none;
    border-radius: 0;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.testimonial-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: rgba(200, 90, 50, 0.06);
    line-height: 1;
}

.testimonial-stars {
    color: #F1C40F;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-bg-dark);
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-bg-dark);
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom indicator dots for Bootstrap carousel */
.carousel-indicators-custom {
    position: static;
    margin-top: 30px;
    margin-bottom: 0;
}

.carousel-indicators-custom [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    border: none;
    opacity: 0.4;
    transition: var(--transition-quick);
    margin: 0 6px;
}

.carousel-indicators-custom .active {
    opacity: 1;
    background-color: var(--color-accent-rust);
    transform: scale(1.2);
}

/* --- 8. Contacto --- */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.contact-info-detail {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    margin-bottom: 0;
}

.contact-info-detail a {
    color: var(--color-bg-dark);
    text-decoration: none;
    transition: var(--transition-quick);
}

.contact-info-detail a:hover {
    color: var(--color-accent-rust);
}

.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 2px solid var(--color-bg-dark);
    position: relative;
    padding: 10px;
    background-color: white;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 330px;
    border: none;
    filter: grayscale(1) invert(0.9) contrast(1.2); /* Aesthetic vintage map filter */
}

/* --- 9. Footer --- */
.footer-custom {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-brand span {
    color: var(--color-accent-rust);
}

.footer-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #888888;
    margin-bottom: 30px;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent-rust);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-quick);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent-rust);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-btn:hover {
    background-color: var(--color-accent-rust);
    border-color: var(--color-accent-rust);
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 50px 0 30px;
}

.footer-bottom {
    font-size: 0.85rem;
    color: #666666;
}

/* --- 10. Simple Lightbox Modal Style --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    border: 4px solid white;
    box-shadow: var(--shadow-medium);
    animation: zoom 0.30s ease-out;
}

@keyframes zoom {
    from {transform:scale(0.85); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #F6F4F0;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-accent-rust);
    text-decoration: none;
    cursor: pointer;
}
