/* Main title */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}
.page-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-top: 10px;
}

/* Category */
.franchises-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
/* Title */
.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.category-header .section-title {
    margin: 0;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 800;
}
.title-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.3), transparent);
    width: 100%;
}
/* Grid */
.franchises-horizontal-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}
/* Card */
.franchise-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.franchise-card:hover {
    transform: translateY(-5px);
}
.franchise-logo-box {
    position: relative;
    height: 180px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.franchise-card:hover .franchise-logo-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.logo-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--accent);
    filter: blur(60px);
    opacity: 0;
    transition: 0.4s;
    z-index: 1;
}
.franchise-card:hover .logo-glow {
    opacity: 0.2;
}
.franchise-logo-box img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.9) grayscale(0.2);
    transition: all 0.4s ease;
}
.franchise-card:hover .franchise-logo-box img {
    filter: brightness(1.1) grayscale(0) drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transform: scale(1.1);
}
.franchise-name-box {
    text-align: center;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.f-name {
    transition: color 0.3s;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
}
.franchise-card:hover .f-name {
    color: var(--accent);
}
.f-year {
    font-size: 14px;
    color: var(--text-muted);
}

/* Mobile */
@media (max-width: 480px) {
    .category-header .section-title{
        overflow-y: scroll;
        min-width: 200px;
    }
    .franchise-logo-box {
        height: 140px;
        padding: 20px;
    }
    .f-name {
        font-size: 15px;
    }
}



/* Franchise */
.franchise-hero {
    position: relative;
    padding: 80px 0 60px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 32px;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.franchise-hero.side-layout {
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: radial-gradient(circle at 20%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    text-align: left;
}
.hero-blur-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
}
.franchise-header-container {
    display: flex;
    align-items: center;
    gap: 120px;
    position: relative;
    z-index: 2;
}
.logo-side {
    flex-shrink: 0;
    width: 300px;
    display: flex;
    justify-content: center;
}
.logo-side img {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}
.info-side {
    flex-grow: 1;
}
.franchise-title-main {
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-size: 56px;
    margin: 0 0 10px 0;
}
.franchise-info-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 0;
}
.franchise-subtitle {
    display: block;
    font-size: 18px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}
.info-separator {
    color: var(--accent);
    font-weight: bold;
    opacity: 0.5;
}
.franchise-year {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
}
.franchise-section {
    margin-bottom: 40px;
}
.franchise-section .section-title {
    font-size: 28px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 25px;
}
.franchise-section .section-description {
    color: var(--text-muted);
    font-size: 16px;
    margin: -15px 0 20px 0;
    padding-left: 19px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
    .franchise-hero {
        padding: 50px 20px;
    }
    .franchise-header-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .logo-side {
        width: 100%;
    }
    .franchise-title-main {
        font-size: 32px;
    }
    .franchise-info-line {
        justify-content: center;
    }
    .franchise-section .section-description{
        font-size: 13px;
        margin-top: -10px;
    }
}