:root {
    --primary-color: #e31e24;
    /* Racing Red */
    --secondary-color: #1a1a1a;
    /* Dark Grey/Black */
    --accent-color: #f8c12c;
    /* Gold/Yellow */
    --bg-light: #f4f4f4;
    --text-dark: #222;
    --text-white: #fff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.heading {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
    background: transparent;
}

.navbar.scrolled {
    background: var(--secondary-color);
    padding: 10px 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 100px;
    width: auto;
}

.brand-name {
    color: #f8c12c;
    /* Golden */
    font-family: 'Arthemis', cursive;
    font-size: 32px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
}

.tagline {
    color: #e31e24;
    /* Red */
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: justify;
    text-align-last: justify;
    line-height: 1;
    margin-top: 2px;
    width: 100%;
}


.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-appointment {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-left: 30px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: var(--text-white);
    display: block;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
}

/* SERVICES GRID */
.section {
    padding: 100px 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* FOOTER */
footer {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 80px 50px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-col p,
.footer-col li {
    color: #bbb;
    margin-bottom: 10px;
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #777;
}

/* HELPERS */
.responsive-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.flex-item {
    flex: 1;
    min-width: 300px;
}

.responsive-h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 20px;
        background: var(--secondary-color);
    }

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .logo-img {
        height: 45px;
    }

    .navbar .brand-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
    }

    .brand-name {
        font-size: 18px;
        white-space: nowrap;
        text-transform: none;
        line-height: 1.2;
    }

    .tagline {
        font-size: 6px;
        width: 100%;
        text-align: center;
        text-align-last: center;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--secondary-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1000;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 20px;
    }

    .btn-appointment {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
        display: flex;
        gap: 15px;
    }

    .responsive-h2 {
        font-size: 2rem;
    }

    .responsive-flex {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 32px;
    }
}