/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--ted-red);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(235, 0, 40, 0.3);
}

.btn-primary:hover {
    background-color: var(--ted-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 0, 40, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--ted-red);
}

.btn-outline:hover {
    background: var(--ted-red);
    color: var(--color-white);
}

/* Card Styles */
.glass-card {
    background: #0a0a0a; /* Darker solid background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(235, 0, 40, 0.3); /* Subtle red glow on hover */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 100;
    transition: background-color var(--transition-normal);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.nav-brand span {
    color: var(--ted-red);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ted-red);
    transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-menu-items {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

/* Make Register link look like a button on desktop */
.nav-menu-items a:last-child {
    border: 1px solid var(--ted-red);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-menu-items a:last-child::after {
    display: none;
}

.nav-menu-items a:last-child:hover {
    background: var(--ted-red);
    color: white;
}

/* Hide mobile footer on desktop */
.mobile-nav-footer { display: none; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #0a0a0a;
        padding: 6rem 2rem 2rem;
        z-index: 1000;
        box-sizing: border-box;
    }
    .nav-links.nav-active {
        display: flex;
    }
    .nav-menu-items {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-link {
        font-size: 2.5rem;
        font-weight: 500;
        text-align: left;
        line-height: 1.2;
    }
    .nav-menu-items a:last-child {
        border: none;
        padding: 0;
        background: transparent;
    }
    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        margin-top: auto;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 1.5rem;
    }
    .nav-address {
        font-size: 0.8rem;
        color: var(--text-secondary);
        line-height: 1.5;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .nav-email {
        font-size: 0.9rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .nav-legal {
        display: flex;
        justify-content: space-between;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        margin-top: 1rem;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: white;
        color: black;
        border-radius: 50%;
        font-size: 1.2rem;
    }
}

/* Custom Footer */
.custom-footer { background: #0a0a0a; padding: 4rem 0 2rem; border-top: 1px solid var(--glass-border); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; color: white; font-family: var(--font-heading); }
.footer-brand span { color: var(--ted-red); }
.footer-socials { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.footer-socials a { color: white; font-size: 1.2rem; transition: color 0.3s; }
.footer-socials a:hover { color: var(--ted-red); }
.footer-address { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }
.footer-heading { color: var(--ted-red); font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-link { display: block; color: var(--text-secondary); margin-bottom: 0.75rem; font-size: 0.9rem; transition: color 0.3s; }
.footer-link:hover { color: white; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-socials { justify-content: center; }
}
