/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #121215;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Navigation */
nav {
    width: 100%;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4rem;
}

nav a {
    color: #636363;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #5b19c6;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto; /* Pushes the footer to the bottom of the page */
    border-top: 1px solid #2a2a35; /* Optional: adds a subtle line above the footer */
}

.footer p {
    color: #888;
    font-size: 0.85rem;
   
    justify-self: center;
    letter-spacing: 1px;
}

/* Main Hero Section */
.hero {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo-container {
    margin-bottom: 2rem;
}

.main-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.hero h1 {
    font-size: 1.25rem;
    letter-spacing: 3px;
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
}

/* Franchises Container */
.franchises-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 2rem;
    margin-bottom: 5rem;
}

/* Individual Cards */
.franchise-card {
    background: linear-gradient(145deg, #ffffff00, #ffffff00);
    border-radius: 16px;
    padding: 3rem 2rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #2a2a3500;
}

.franchise-card:hover {
    transform: translateY(-10px);
}

/* Subtle glow effects for each specific card based on their brand colors */
.card-media:hover {
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.4);
}

.card-acoustics:hover {
    box-shadow: 0 15px 35px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.4);
}

.card-mix:hover {
    box-shadow: 0 15px 35px rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.4);
}

/* Logo Sizing in Cards */
.logo-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.franchise-logo {
    max-width: 160px;
    max-height: 120px;
    object-fit: contain;
}

/* Card Typography & Buttons */
.franchise-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.franchise-card p {
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 1rem;
}

.visit-btn {
    background: transparent;
    color: #000000;
    border: 1px solid #555;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.visit-btn:hover {
    background: #ffffff;
    color: #7e14db;
    border-color: #ffffff;
}

/* Responsive Design for smaller screens */
@media (max-width: 1024px) {
    .franchises-container {
        flex-direction: column;
        align-items: center;
    }
    
    .franchise-card {
        width: 100%;
        max-width: 400px;
    }
}