/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
}

/* VARIABLES */
:root {
    --primary: #c62828;
    --secondary: #ff9800;
    --gradient: linear-gradient(90deg, #c62828, #ff9800);
}

/* ======================
   CONTAINER
====================== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ======================
   HEADER
====================== */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* ======================
   NAVIGATION
====================== */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

/* hover underline animation */
.nav a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: var(--gradient);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

/* ACTIVE LINK */
.nav a.active {
    color: var(--primary);
    font-weight: 600;
}

/* ======================
   ACTION BUTTONS
====================== */
.actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* LOGIN */
.login {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: 0.3s;
}

.login:hover {
    color: var(--primary);
}

/* REGISTER BUTTON */
.register-btn {
    background: var(--gradient);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(198,40,40,0.2);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(198,40,40,0.3);
}

/* ======================
   MOBILE MENU ICON
====================== */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ======================
   MOBILE MENU
====================== */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    width: 100%;
    top: 70px;
    left: 0;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu a {
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-register {
    background: var(--gradient);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-top: 10px;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {

    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .actions .login,
    .actions .register-btn {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 40px;
    }

    .mobile-menu.show {
        display: flex;
    }
}