/* Brand Pages Professional Styling */

/* ============== BRAND PAGES KHÔNG OVERRIDE HEADER ============== */
/* Header styling được quản lý bởi style.css để tránh xung đột */

/* Chỉ enhance logo cho brand pages */
body:not(.cart-page) .logo {
    position: relative;
    transition: all 0.3s ease;
}

/* Enhanced Logo */
.logo {
    position: relative;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.logo img {
    transition: all 0.3s ease;
}

/* ============== DROPDOWN CHỈ CHO NON-CART PAGES ============== */
/* Tránh xung đột với cart page */

/* Professional Dropdown - Chỉ áp dụng cho pages không phải cart */
body:not(.cart-page) .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.cart-page) .dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

body:not(.cart-page) .dropdown-item {
    padding: 0.8rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

body:not(.cart-page) .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

body:not(.cart-page) .dropdown-item:hover::before {
    opacity: 0.1;
}

body:not(.cart-page) .dropdown-item:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

body:not(.cart-page) .dropdown-item.special {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
}

body:not(.cart-page) .dropdown-item.special:hover {
    background: linear-gradient(135deg, #ff3838, #ff2f2f);
    transform: translateX(5px) scale(1.02);
}

/* Enhanced Breadcrumb - Chỉ cho non-cart pages */
body:not(.cart-page) .breadcrumb {
    background: linear-gradient(135deg, rgba(248,249,250,0.8) 0%, rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 0;
    position: relative;
}

body:not(.cart-page) .breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

body:not(.cart-page) .breadcrumb .container {
    position: relative;
    z-index: 1;
}

body:not(.cart-page) .breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
}

body:not(.cart-page) .breadcrumb a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-color);
    opacity: 0;
    border-radius: 6px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

body:not(.cart-page) .breadcrumb a:hover::before {
    opacity: 0.1;
}

body:not(.cart-page) .breadcrumb a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

body:not(.cart-page) .breadcrumb span {
    margin: 0 0.8rem;
    color: var(--text-secondary);
    font-weight: 300;
    opacity: 0.6;
}

body:not(.cart-page) .breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional Brand Banner */
.brand-banner {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.brand-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="hexagons" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 43.3,12.5 43.3,31.2 25,43.4 6.7,31.2 6.7,12.5" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="1000" height="300" fill="url(%23hexagons)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.brand-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 2;
}

.brand-banner .container {
    position: relative;
    z-index: 3;
}

.brand-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.brand-info h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.brand-info p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.brand-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Section Titles */
.section h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

/* Professional Brand Info Section */
.brand-info-section {
    position: relative;
    overflow: hidden;
}

.brand-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 400"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="1000" height="400" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-text h2 {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.feature-item:hover {
    background: rgba(255,255,255,0.9);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.brand-image img {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.brand-image img:hover {
    transform: scale(1.02) rotate(1deg);
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.3));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .brand-info h1 {
        font-size: 2.5rem;
    }
    
    .brand-info p {
        font-size: 1.1rem;
    }
    
    .brand-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem 1.5rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .brand-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    body:not(.cart-page) .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-height: 70vh;
        overflow-y: auto;
    }
}
