/* ===================================
   BRANDS PAGE SPECIFIC STYLES
   Matching About Page Design
   =================================== */

/* ========== HEADER OVERRIDE FOR INNER PAGES ========== */
.inner-page .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.inner-page .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.inner-page .header .top-bar {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.inner-page .header .navbar { background: transparent; }

.inner-page .top-bar-left a,
.inner-page .top-bar-right a { color: var(--dark-bg); }

.inner-page .top-bar-left a:hover { color: var(--primary-red); }

.inner-page .top-bar-right a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.inner-page .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.inner-page .logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.inner-page .logo-img { height: 50px; width: auto; object-fit: contain; }

.inner-page .logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg) !important;
    letter-spacing: 1px;
}

.inner-page .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.inner-page .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.inner-page .nav-link { color: var(--dark-bg) !important; }
.inner-page .nav-link:hover,
.inner-page .nav-link.active { color: var(--primary-red) !important; }

.inner-page .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.inner-page .hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark-bg);
    transition: var(--transition);
    border-radius: 2px;
}

.inner-page .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.inner-page .hamburger.active span:nth-child(2) { opacity: 0; }
.inner-page .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

/* ========== BIG HERO SECTION ========== */
.page-hero-big {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero-big::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.inner-page, body.inner-page { padding-top: 0; }

/* ========== SECTION STYLES ========== */
.section-tag {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title-center {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.white-title { color: var(--white) !important; }

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 20px 0 30px 0;
}

.title-underline-center {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 20px auto 30px auto;
}

.section-header-center { text-align: center; margin-bottom: 60px; }

/* ========== BRANDS INTRO SECTION ========== */
.brands-intro-section {
    padding: 6rem 0;
    background: var(--grey-light);
}

.intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.intro-image { position: relative; }

.intro-image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.year-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-red);
    color: var(--white);
    padding: 25px 30px;
    text-align: center;
    min-width: 120px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(227, 30, 36, 0.4);
}

.badge-since {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.badge-year {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.badge-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--grey-mid);
    margin-bottom: 25px;
}

.intro-highlights { display: grid; gap: 20px; margin-top: 40px; }

.highlight-box {
    background: var(--white);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    border-radius: 10px;
    border-left: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.highlight-box:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left-color: var(--primary-red);
}

.highlight-box i {
    font-size: 2.5rem;
    color: var(--primary-red);
    flex-shrink: 0;
    transition: var(--transition);
}

.highlight-box:hover i { transform: scale(1.15) rotate(360deg); }

.highlight-box h4 {
    color: var(--dark-bg);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight-box p {
    color: var(--grey-mid);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== BRANDS SECTION ========== */
.brands-section { padding: 6rem 0; }
.dark-section { background: var(--dark-bg); }
.light-section { background: var(--grey-light); }

.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.brands-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.brands-grid.four-col { grid-template-columns: repeat(4, 1fr); }

/* ========== BRAND CARD ========== */
.brand-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.brand-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.2);
}

.brand-card:hover::before { transform: scaleX(1); }

.brand-card.light-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-card.light-card:hover {
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.brand-card.light-card .brand-name { color: var(--dark-bg); }
.brand-card.light-card .brand-desc { color: var(--grey-mid); }

.brand-logo-box {
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 10px;
    padding: 15px;
    transition: var(--transition);
}

.brand-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-card:hover .brand-logo-box { transform: scale(1.05); }

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.brand-desc { color: rgba(255, 255, 255, 0.7); line-height: 1.6; font-size: 0.9rem; }

/* ========== FEATURED SHOWCASE ========== */
.featured-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    overflow: hidden;
}

.featured-showcase .showcase-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    min-height: 600px;
}

.showcase-text {
    padding: 80px 60px 80px 120px;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-tag {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.showcase-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 20px;
}

.showcase-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--grey-mid);
    margin-bottom: 30px;
}

.showcase-features { list-style: none; margin-bottom: 40px; }

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--grey-mid);
    font-weight: 600;
}

.showcase-features li i { color: var(--primary-red); font-size: 1.2rem; }

.showcase-image {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.main-showcase-img {
    width: 90%;
    max-height: 550px;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.25));
}

.featured-showcase:hover .main-showcase-img { transform: scale(1.05); }

/* ========== LARGE IMAGE SHOWCASE ========== */
.large-image-showcase { padding: 0; background: var(--dark-bg); }

.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.showcase-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-item img {
    width: 90%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

.showcase-item:hover img { transform: scale(1.1); }

.showcase-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.showcase-item:hover .showcase-overlay { opacity: 1; }

.showcase-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.showcase-item:hover .showcase-overlay h3 { transform: translateY(0); }

.showcase-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.showcase-item:hover .showcase-overlay p { transform: translateY(0); }

.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    transform: translateY(20px);
    transition-delay: 0.2s;
    width: fit-content;
}

.showcase-item:hover .overlay-btn { transform: translateY(0); }

.overlay-btn:hover {
    background: var(--white);
    color: var(--primary-red);
    gap: 15px;
}

/* ========== COMPONENT BRANDS ========== */
.component-brands-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.components-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

.component-category {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.component-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: rgba(227, 30, 36, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-icon i { font-size: 1.5rem; color: var(--primary-red); }

.component-category:hover .category-icon { background: var(--primary-red); }
.component-category:hover .category-icon i { color: var(--white); }

.category-header h4 { font-size: 1.2rem; font-weight: 700; color: var(--white); }

.component-list { list-style: none; }
.component-list.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1rem; }

.component-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    transition: var(--transition);
}

.component-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
}

.component-list li:hover { color: var(--white); padding-left: 2rem; }

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--grey-dark) 100%);
    padding: 6rem 0;
    text-align: center;
}

.cta-content { position: relative; z-index: 2; }

.cta-title { font-size: 3rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.cta-text { font-size: 1.2rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 2.5rem; }

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}

.btn-primary.large { padding: 1.2rem 3rem; font-size: 1rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .page-hero-big { height: 80vh; min-height: 600px; }
    .intro-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .featured-showcase .showcase-content { grid-template-columns: 1fr; }
    .showcase-text { padding: 60px 40px; }
    .brands-grid, .brands-grid.three-col, .brands-grid.four-col { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid { grid-template-columns: 1fr; }
    .components-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .inner-page .hamburger { display: flex; }
    
    .inner-page .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        padding: 120px 0 2rem;
        transition: left 0.4s ease;
        gap: 0;
        overflow-y: auto;
        align-items: stretch;
    }
    
    .inner-page .nav-menu.active { left: 0; }
    
    .inner-page .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .inner-page .nav-link {
        padding: 1.2rem 2rem;
        display: flex;
        justify-content: flex-start;
        width: 100%;
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 1.1rem;
    }
    
    .inner-page .nav-link:hover {
        background: rgba(227, 30, 36, 0.1);
        color: var(--primary-red) !important;
    }
    
    .inner-page .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        background: rgba(255, 255, 255, 0.03);
    }
    
    .inner-page .dropdown.active .dropdown-menu { max-height: 1000px; padding: 0.5rem 0; }
    
    .inner-page .dropdown-menu a { padding: 1rem 3rem; color: rgba(255, 255, 255, 0.8); }
    
    .inner-page .nav-contact {
        display: flex;
        flex-direction: column;
        padding: 0 2rem 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .inner-page .nav-contact-title {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        margin-bottom: 0.8rem;
    }
    
    .inner-page .nav-contact-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }
    
    .inner-page .nav-contact-link i { color: var(--primary-red); }
    
    .inner-page .nav-contact-social { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
    
    .inner-page .nav-contact-social a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
    }
    
    .page-hero-big { height: 70vh; min-height: 500px; }
    .section-title, .section-title-center { font-size: 2rem; }
    .intro-image img { height: 400px; }
    .showcase-image { height: 400px; }
    .showcase-item { height: 350px; }
    .brands-grid, .brands-grid.three-col, .brands-grid.four-col { grid-template-columns: 1fr; }
    .cta-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .page-hero-big { height: 60vh; min-height: 450px; }
    .section-title, .section-title-center { font-size: 1.7rem; }
    .intro-image img { height: 300px; }
    .showcase-text { padding: 40px 20px; }
    .showcase-title { font-size: 2rem; }
    .showcase-item { height: 300px; }
    .brand-card { padding: 2rem 1.5rem; }
    .cta-title { font-size: 1.7rem; }
}