/* ================================
   HARNESS Visual Toolkit Styles
   Professional Gallery & Resource Page
   ================================ */

/* ===== COLOR PALETTE ===== */
:root {
    --harness-teal: #00B0BD;
    --harness-gold: #F6CC00;
    --harness-magenta: #DD0E6E;
    --gray-dark: #333333;
    --gray-medium: #737373;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #00B0BD 0%, #F6CC00 50%, #DD0E6E 100%);
    --gradient-reverse: linear-gradient(135deg, #DD0E6E 0%, #F6CC00 50%, #00B0BD 100%);
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bree Serif', serif;
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 40%, #E8ECEF 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Bree Serif', serif;
    line-height: 1.2;
    font-weight: 400;
}

/* ===== NAVIGATION ===== */
nav {
    position: sticky;
    top: 0;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
}

.hamburger, .footer-hamburger {
    display: none;
    background: var(--gradient);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu, .mobile-footer-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active, .mobile-footer-menu.active {
    right: 0;
}

.close-menu {
    background: var(--gradient);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.mobile-menu a, .mobile-footer-menu a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s;
}

.mobile-menu a:hover, 
.mobile-menu a.active,
.mobile-footer-menu a:hover {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-left: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 800px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat strong {
    font-size: 1.8rem;
    font-family: 'Bree Serif', serif;
}

.stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--harness-teal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--harness-teal);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* ===== FILTER SECTION ===== */
.filter-section {
    background: var(--gray-light);
    padding: 2rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-section h2 {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    color: var(--gray-dark);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--harness-teal);
    color: var(--harness-teal);
}

.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

/* ===== TOOLKIT GALLERY ===== */
.toolkit-gallery {
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
    text-transform: uppercase;
}

.item-badge.free {
    background: var(--harness-teal);
    color: var(--white);
}

.item-badge.premium {
    background: var(--harness-gold);
    color: var(--gray-dark);
}

.item-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--gray-light);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.btn-preview, .btn-download {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-preview {
    background: var(--white);
    color: var(--gray-dark);
}

.btn-download {
    background: var(--harness-teal);
    color: var(--white);
}

.btn-preview:hover, .btn-download:hover {
    transform: scale(1.05);
}

.item-details {
    padding: 1.5rem;
}

.item-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.item-category {
    color: var(--harness-teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-description {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* ===== PREMIUM LOCKED ITEMS ===== */
.premium-section {
    background: var(--gray-light);
}

.item-image.locked {
    filter: blur(8px);
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.locked-overlay i {
    font-size: 3rem;
    color: var(--harness-gold);
}

.locked-overlay p {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.feature p {
    color: var(--gray-medium);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.cta-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.price-label {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.price {
    font-size: 4rem;
    font-family: 'Bree Serif', serif;
    font-weight: bold;
}

.price-note {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--harness-magenta);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
}

.modal-actions {
    margin-top: 1rem;
    text-align: center;
}

/* ===== FOOTER ===== */
footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    padding-left: 0.5rem;
}

.footer-logo img {
    max-width: 150px;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-hamburger {
    display: none;
    margin: 2rem auto 0;
}

.footer-menu-section {
    margin-bottom: 2rem;
}

.footer-menu-section h4 {
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger, .footer-hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .price {
        font-size: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
