@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&family=Paytone+One&display=swap');

:root {
    --primary-red: #ED1C24;
    --primary-black: #000000;
    --dark-grey: #29282D;
    --white: #FFFFFF;
    --light-grey: #F4F4F4;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

h1 {
    font-family: 'Paytone One', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

h1 span {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    height: 85vh;
    /* Leave some space for the branch links to peek through */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-family: 'Paytone One', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #eee;
}

.hero-cta {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.4);
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background-color: var(--dark-grey);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Paytone One', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

/* Branch Section */
.branch-section {
    padding: 2rem 2rem 8rem;
    background-color: var(--primary-black);
    position: relative;
    z-index: 2;
    margin-top: -10vh;
    /* Pull up to overlap hero slightly or just be close */
}

.section-title {
    text-align: center;
    font-family: 'Paytone One', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.branch-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(237, 28, 36, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.branch-card:hover::before {
    transform: translateX(100%);
}

.branch-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.branch-name {
    font-family: 'Paytone One', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.branch-location {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
}

.branch-card:hover .cta-button {
    background-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.5);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background-color: var(--primary-black);
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .branch-container {
        grid-template-columns: 1fr;
    }

    .branch-card {
        padding: 2rem;
    }

    header {
        padding: 1rem;
    }

    .logo {
        height: 40px;
    }
}