/* Product Collection Page Styles */

/* Force navbar to be in scrolled state on collection pages */
.navbar {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Collection Hero Section */
.collection-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

/* Background images for each collection */
.imperium-bg {
    background-image: url('../images/imperium-hero.jpg');
}

.seline-bg {
    background-image: url('../images/seline-hero.jpg');
}

.aline-bg {
    background-image: url('../images/aline-hero.jpg');
}

.versa-bg {
    background-image: url('../images/versa-hero.jpg');
}

.collection-hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.collection-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.09em;
}

.collection-hero-content p {
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.05em;
}

/* Collection Overview Section */
.collection-overview {
    padding: 2.5rem 0;
    background-color: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-header, .featured-header, .related-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.overview-header i, .featured-header i, .related-header i {
    font-size: 1.3rem;
    margin-right: 1rem;
    color: var(--gold-medium);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 134, 11, 0.2));
}

.overview-header h2, .featured-header h2, .related-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.075em;
}

.overview-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: 0.075em;
}

.overview-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.collection-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    font-size: 1.3rem;
    color: var(--gold-medium);
    margin-right: 10px;
}

.feature span {
    font-weight: 500;
    color: var(--dark-color);
}

.overview-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Featured Products Section - Compact Version */
.featured-products {
    padding: 2rem 0;
    background-color: var(--light-color);
}

.product-table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.product-table th, .product-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    line-height: 1.3;
}

.product-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.product-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.product-icon img {
    transition: none;
    cursor: pointer;
}

.product-icon img:hover {
    transform: none;
    filter: none;
    opacity: 0.8;
}

/* Expandable Row Styles */
.product-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-row:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.product-row.expanded {
    background-color: rgba(212, 175, 55, 0.1);
}

.product-detail-row {
    display: none;
    background-color: rgba(248, 249, 250, 0.8);
    border-top: 2px solid var(--gold-medium);
}

.product-detail-row.expanded {
    display: table-row;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.product-detail-content {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 100%;
}

.detail-image {
    flex-shrink: 0;
    text-align: center;
}

.detail-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 15px;
    transition: transform 0.3s ease;
}

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

.detail-info {
    flex: 1;
}

.detail-info h4 {
    color: var(--gold-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold-medium);
    padding-bottom: 0.5rem;
}

.detail-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.detail-info strong {
    color: var(--gold-medium);
    font-weight: 600;
}

/* Responsive styles for expandable rows */
@media (max-width: 768px) {
    .product-detail-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .detail-image img {
        width: 100px;
        height: 100px;
    }
    
    .detail-info h4 {
        font-size: 1.2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-detail-content {
        padding: 1rem;
    }
    
    .detail-image img {
        width: 80px;
        height: 80px;
    }
    
    .detail-info h4 {
        font-size: 1.1rem;
    }
    
    .detail-info p {
        font-size: 0.9rem;
    }
}

.see-more-container {
    text-align: center;
    margin-top: 2rem;
}

.see-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--gold-medium);
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.see-more-link i {
    margin-right: 8px;
    transition: var(--transition);
}

.see-more-link:hover {
    color: var(--accent-color);
}

.see-more-link:hover i {
    transform: translateX(5px);
}

/* Product Showcase */
.product-showcase {
    padding: 3rem 0;
    background-color: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.showcase-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.showcase-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

.showcase-image {
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.showcase-info {
    padding: 1.5rem;
    background-color: white;
}

.showcase-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.showcase-info p {
    color: #666;
    font-size: 0.95rem;
}

/* Related Collections */
.related-collections {
    padding: 3rem 0;
    background-color: var(--light-color);
}

/* Compact Section Styles */
.compact-section {
    padding: 2.5rem 0;
}

.compact-header {
    margin-bottom: 2rem;
}

.compact-related {
    gap: 1.5rem;
}

.compact-cta {
    max-width: 700px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: block;
    color: var(--text-dark);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-icon {
    margin-bottom: 1.5rem;
}

.related-icon i {
    font-size: 2.5rem;
    color: var(--gold-medium);
}

.related-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: 0.05em;
}

.related-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.related-link {
    color: var(--gold-medium);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.related-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.related-card:hover .related-link i {
    transform: translateX(5px);
}

/* CTA Section */
.collection-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    position: relative;
    overflow: hidden;
}

.collection-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 2.828 17.272 15.556l-1.414-1.414L28 2v2.828l15.8 15.8-1.414 1.414L30 9.626l-8.485 8.484-1.414-1.414L28 8.828V6L15.856 18.142l1.414 1.414L30 6.828 42.728 19.556l1.414-1.414L32 6v2.828L27.8 28.686l-1.414 1.414L30 26.342l3.615 3.757 1.414-1.414L30 24.172v-2.828l8.485 8.485-1.414 1.414L30 23.515l-10.8 10.8-1.414-1.414L30 20.172v-2.828l-8.485 8.485 1.414 1.414L30 20.172l8.485 8.485 1.414-1.414L30 17.343v-2.828l3.8 3.8 1.414-1.414L30 12.686l-4.8 4.8-1.414-1.414L30 10.343v-2.828l-4.8 4.8 1.414 1.414L30 10.344l4.8 4.8 1.414-1.414L30 7.515v-2.83l-9.9 9.9 1.414 1.414L30 6.814l8.485 8.485 1.414-1.414L30 4.172V1.343L40.9 12.244l-1.414 1.414L30 4.172l-8.485 8.485-1.414-1.414L30 1.344V-1.48l-11.8 11.8 1.414 1.414L30 1.342l10.8 10.8 1.414-1.414L30-1.343v-2.83L41.8-2.57l-1.414 1.415L30-11.343l-8.485 8.485-1.414-1.414L30-14.456v-2.83L18.186-5.8l1.414 1.413L30-14.457l10.8 10.8 1.414-1.415L30-17.286v-2.83L43.728-6.688l1.414-1.414L30-23.116l-15.142 15.142-1.414-1.414L30-26.346'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.075em;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .cta-button {
    background: var(--gold-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.075em;
    transition: var(--transition);
}

.cta-content .cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-content .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-image {
        order: -1;
    }
    
    .collection-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .collection-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .collection-hero-content h1 {
        font-size: 2.3rem;
    }
    
    .collection-hero-content p {
        font-size: 1rem;
    }
    
    .overview-header h2, .featured-header h2, .related-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .compact-section {
        padding: 2rem 0;
    }
    
    .compact-header {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .showcase-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 576px) {
    .collection-hero {
        min-height: 300px;
    }
    
    .collection-hero-content h1 {
        font-size: 2rem;
    }
    
    .product-table th, .product-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }

    .product-icon img {
        width: 20px;
        height: 20px;
    }

    .featured-products {
        padding: 1.5rem 0;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .showcase-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .compact-section {
        padding: 1.5rem 0;
    }
    
    .compact-header {
        margin-bottom: 1rem;
    }
    
    .compact-related {
        gap: 1rem;
    }
} 