/* Collection Page Styles */
/* Header/Nav/Mega-Menu styles are in header.css */

@font-face {
    font-family: "Forum";
    src: url("/thf-assets/fonts/forum/Forum-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Forum", serif;
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.9);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Video Banner */
.video-banner {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.video-banner video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Text Animation */
.banner-texts {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.banner-texts h1 {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    position: absolute;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    line-height: 1.2;
}

.banner-texts h1 span {
    color: #d4af37;
    font-weight: 400;
    position: relative;
}

.banner-texts h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #d4af37, transparent);
    opacity: 0.5;
}

.banner-texts h1.active {
    opacity: 1;
    transform: translateY(0);
}

/* Product Section */
section.content {
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    padding: 120px 8% 150px;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #d4af37;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 50px;
}

/* Product Card */
.product-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Image Section */
.card-image {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.product-card:hover img {
    transform: scale(1.08);
}

/* Price Badge */
.price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: #d4af37;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Hover Actions */
.hover-actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.product-card:hover .hover-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hover-actions button {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: "Forum", serif;
}

.hover-actions button:hover {
    background: #d4af37;
    transform: translateY(-2px);
}

/* Text Section */
.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .banner-texts h1 {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .banner-texts h1 {
        font-size: 2.5rem;
        padding: 0 20px;
    }

    section.content {
        padding: 80px 5%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .banner-texts h1 {
        font-size: 2rem;
    }

    .product-grid {
        gap: 30px;
    }

    .price-badge {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .hover-actions {
        flex-direction: column;
        width: 80%;
    }

    .hover-actions button {
        width: 100%;
        justify-content: center;
    }
}