/* Brands Page Specific Styles */

/* Hero Section */
.brands-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.brands-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  
    opacity: 0.1;
    z-index: 1;
}

.brands-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    
}
.brands-hero .container {
    display: flex;
    
    align-items: center;
}

.brands-hero .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.brands-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    letter-spacing: 1px;
}

/* Brand Filter */
.brand-filter {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background-color: #222222;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Featured Brands */
.featured-brands {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.brand-card {
    background-color: #222222;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    opacity: 1;
    transform: scale(1);
}

.brand-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.brand-image {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.9), rgba(107, 185, 26, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.brand-card:hover .brand-image img {
    transform: scale(1.1);
}

.brand-logo {
    width: 80px;
    height: 80px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border: 3px solid var(--text-light);
}

.explore-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    letter-spacing: 1px;
}

.explore-btn:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.brand-info {
    padding: 2rem;
}

.brand-category {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.brand-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.brand-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-stats .stat {
    background-color: rgba(126, 211, 33, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(126, 211, 33, 0.3);
}

/* Brand Timeline */
.brand-timeline {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 4rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), #6bb91a);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.timeline-item.reverse {
    direction: rtl;
}

.timeline-item.reverse .timeline-content {
    direction: ltr;
    text-align: right;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 2;
    border: 4px solid var(--bg-dark);
}

.timeline-content {
    background-color: #222222;
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.timeline-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-tag {
    background-color: rgba(126, 211, 33, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(126, 211, 33, 0.3);
}

/* Brand Spotlight */
.brand-spotlight {
    padding: 100px 0;
    background-color: #1a1a1a;
}

.spotlight-carousel {
    margin-top: 3rem;
}

.spotlight-item {
    display: none;
}

.spotlight-item.active {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.spotlight-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.spotlight-description {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.spotlight-achievements {
    margin-top: 2rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.achievement i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.brand-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.brand-showcase img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: var(--text-light);
    transform: translateY(100%);
    transition: var(--transition);
}

.brand-showcase:hover .showcase-overlay {
    transform: translateY(0);
}

.brand-showcase:hover img {
    transform: scale(1.05);
}

.collection-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.collection-info p {
    color: var(--primary-color);
    font-style: italic;
}

.spotlight-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: #222222;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover,
.nav-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}



.nav-btn:hover .nav-logo,
.nav-btn.active .nav-logo {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.nav-name {
    font-weight: 500;
}

/* Brand Impact */
.brand-impact {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-card {
    background-color: #222222;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.impact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.impact-description {
    color: #cccccc;
    line-height: 1.6;
}

/* Brand Network */
.brand-network {
    padding: 100px 0;
    background-color: #1a1a1a;
}

.network-map {
    margin-top: 3rem;
}

.map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 500px;
    background: linear-gradient(135deg, #2c3e50, #1a1a1a);
    border-radius: 10px;
    overflow: hidden;
}

.world-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('img/map.png') no-repeat center center/cover;
}

.location {
    position: absolute;
    cursor: pointer;
}

.location-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.location-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(126, 211, 33, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.location-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 5px;
    min-width: 200px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.location:hover .location-info {
    opacity: 1;
    pointer-events: auto;
}

.location-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.location-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.brand-count {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Location positioning */
.paris { top: 23%; left: 58%; }
.tokyo { top: 35%; left: 85%; }
.copenhagen { top: 30%; left: 62%; }
.berlin { top: 25%; left: 52%; }
.milan { top: 30%; left: 55%; }
.la { top: 40%; left: 15%; }

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-description {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
.brand-image {
    width: 100%;
    height: 700px;
}
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline-item.reverse {
        direction: ltr;
    }

    .timeline-item.reverse .timeline-content {
        text-align: center;
    }

    .timeline-container::before {
        display: none;
    }

    .timeline-year {
        position: static;
        transform: none;
        margin: 0 auto 1rem;
    }

    .spotlight-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .spotlight-navigation {
        flex-direction: column;
        align-items: center;
    }

    .nav-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }

    .location-info {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: none;
        min-width: auto;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .brands-hero {
        padding: 100px 0 60px;
    }
    .brands-hero .container {
        padding: 0 1rem;
         display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    

    .brands-hero .hero-title {
        font-size: 2.5rem;
    }

    .brand-card {
        min-width: auto;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .spotlight-title {
        font-size: 2rem;
    }

    .impact-card {
        padding: 2rem 1.5rem;
    }

    .map-container {
        height: 300px;
    }
}

/* Loading animations */
.brand-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
}

.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.2s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }
.brand-card:nth-child(4) { animation-delay: 0.4s; }
.brand-card:nth-child(5) { animation-delay: 0.5s; }
.brand-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for interactive elements */
.explore-btn,
.filter-btn,
.nav-btn {
    position: relative;
    overflow: hidden;
}

.explore-btn::before,
.filter-btn::before,
.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.explore-btn:hover::before,
.filter-btn:hover::before,
.nav-btn:hover::before {
    width: 300px;
    height: 300px;
}