/* =====================================================
   SCANDELA - Index/Home Page Styles
   Estilos específicos para la página principal
   ===================================================== */

/* ----- Hero Section ----- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: var(--header-height);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-16);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
    margin-bottom: var(--space-8);
    letter-spacing: 0.02em;
}

.hero-btn {
    display: inline-block;
    padding: var(--space-4) var(--space-10);
    background: var(--color-black);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    align-self: flex-start;
}

.hero-btn:hover {
    background: var(--color-gray-600);
    opacity: 1;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-placeholder {
    min-height: calc(100vh - var(--header-height));
}

/* ----- Featured Section ----- */
.featured-section {
    padding: var(--space-24) 0;
}

.featured-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-12);
}

/* ----- About Preview Section ----- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
    margin: var(--space-24) 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-16);
    background: var(--color-gray-100);
}

.about-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-6);
}

.about-text {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    max-width: 500px;
}

.about-image {
    position: relative;
    max-height: 600px;
    overflow: hidden;
}

.about-photo {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.about-placeholder {
    min-height: 100%;
}

/* ----- Collection Gallery Section ----- */
.collection-section {
    padding: var(--space-24) 0;
    background: var(--color-gray-100);
}

.collection-subtitle {
    text-align: center;
    font-size: var(--text-base);
    color: var(--color-gray-500);
    margin-top: calc(var(--space-4) * -1);
    margin-bottom: var(--space-12);
    letter-spacing: 0.05em;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.collection-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-normal);
    cursor: pointer;
}

.collection-item:hover {
    transform: scale(1.02);
}

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

.collection-item .image-placeholder {
    aspect-ratio: 1;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-content {
        padding: var(--space-12);
    }
    
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-content {
        padding: var(--space-12) var(--space-6);
        order: 2;
        text-align: center;
        align-items: center;
    }
    
    .hero-image {
        order: 1;
        min-height: 60vh;
    }
    
    .hero-img {
        min-height: 60vh;
    }
    
    .hero-placeholder {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-btn {
        align-self: center;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-preview {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .about-content {
        padding: var(--space-12) var(--space-6);
        order: 2;
    }
    
    .about-image {
        order: 1;
        min-height: 40vh;
    }
    
    .about-title {
        font-size: var(--text-2xl);
    }
    
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
}
