/**
 * Danixel Hood - Landing Styles (Home Page)
 * Art Gallery Theme
 */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 50, 41, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-cream);
    max-width: 800px;
    padding: 0 var(--space-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.hero-cta {
    background: var(--color-gold);
    color: white;
    padding: 1.25rem 3rem;
    font-size: 0.9rem;
}

.hero-cta:hover {
    background: var(--color-cream);
    color: var(--color-deep-brown);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-cream);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: currentColor;
    margin: var(--space-sm) auto 0;
    animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Featured Section */
.featured-section {
    background: var(--color-warm-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    color: var(--color-deep-brown);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

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

/* Artwork Grid */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.artwork-card {
    position: relative;
}

.artwork-link {
    display: block;
}

.artwork-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--color-border);
}

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

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

.artwork-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 50, 41, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.artwork-card:hover .artwork-overlay {
    opacity: 1;
}

.view-text {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 1px solid white;
}

.artwork-info {
    padding: var(--space-sm) 0;
}

.artwork-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--color-charcoal);
}

.artwork-price {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 500;
}

/* Story Section */
.story-section {
    background: var(--color-cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.story-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

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

.story-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.story-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
    color: var(--color-deep-brown);
}

.story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.story-content .btn-primary {
    align-self: flex-start;
    margin-top: var(--space-sm);
}

/* Gallery Preview */
.gallery-preview {
    background: var(--color-warm-white);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

.gallery-item-info h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.gallery-item-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Commission Section */
.commission-section {
    position: relative;
    padding: var(--space-xxl) 0;
    text-align: center;
    color: var(--color-cream);
    overflow: hidden;
    background-attachment: fixed;
}

.commission-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 50, 41, 0.7);
    z-index: 0;
}

.commission-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.commission-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.commission-text {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    line-height: 1.7;
}

/* Values Section */
.values-section {
    background: var(--color-cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.value-item {
    text-align: center;
    padding: var(--space-lg);
}

.value-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-deep-brown);
}

.value-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .artwork-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        min-height: 300px;
    }
    
    .story-content {
        padding: var(--space-xl) var(--space-md);
    }
    
    .artwork-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
}
