/* assets/css/collections.css */

:root {
    --primary-gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #fdfbf7;
}

body {
    padding-top: 160px;
    background-color: var(--bg-light);
}

/* Hero Section */
.collections-hero {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.collections-grid-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    /* Responsive grid: roughly 3 cards wide on desktop */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

/* Collection Card */
.collection-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-gold);
}

/* Image Area */
.collection-img-box {
    width: 100%;
    height: 400px; /* Fixed height for uniformity */
    overflow: hidden;
    position: relative;
}

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

.collection-card:hover .collection-img {
    transform: scale(1.1);
}

/* Text Content Area (Below Image) */
.collection-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #f9f9f9;
}

.collection-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.collection-name::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
    margin: 8px auto 0;
    transition: width 0.3s ease;
}

.collection-card:hover .collection-name::after {
    width: 100%;
}

.collection-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-explore {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 10px 25px;
    background: transparent;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.collection-card:hover .btn-explore {
    background: var(--primary-gold);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .collections-grid-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .collection-img-box { height: 350px; }
}