:root {
    /* UGA Red and Black Theme */
    --f3-red: #BA0C2F; 
    --f3-red-dark: #8E0A24;
    --f3-dark: #000000;
    --f3-darker: #050505;
    --f3-gray: #151515;
    --f3-gray-light: #222222;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #888888;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* UI */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--f3-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--f3-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--f3-red-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 900;
}

h1 { font-size: 3.5rem; text-transform: uppercase; letter-spacing: -1px; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--f3-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--f3-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn-secondary {
    background-color: var(--f3-gray);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--f3-gray-light);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--f3-red);
    color: var(--f3-red);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 2.7rem;
    width: auto;
}

.logo-img-sm {
    height: 1.2rem;
    width: auto;
    margin: 0 5px;
}

.logo a span {
    color: var(--f3-red);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--f3-red);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* Sections */
section {
    padding: var(--spacing-xxl) 0;
    scroll-margin-top: 80px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('../assets/web/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--f3-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    color: var(--f3-red);
    margin-bottom: 0.5rem;
}

.hero h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* About / 3 Fs */
.three-fs {
    display: grid;
    grid-template-columns: repeat(3, 1px) /* Wait, typo here, fixed to repeat(3, 1fr) */;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.f-card {
    background-color: var(--f3-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border-top: 4px solid var(--f3-red);
    transition: var(--transition);
    overflow: hidden;
}

.f-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.f-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.f-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.f-card:hover .f-image img {
    transform: scale(1.05);
}

.f-card p {
    color: var(--text-secondary);
}

/* Principles */
.principles-section {
    background-color: var(--f3-dark);
}

.principles-list {
    list-style: none;
}

.principles-list li {
    font-size: 1.25rem;
    background-color: var(--f3-gray);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.principles-list li strong {
    color: white;
}

.principles-list li {
    color: var(--text-secondary);
}

.p-icon {
    color: var(--f3-red);
    font-size: 2.5rem;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p-text {
    display: flex;
    flex-direction: column;
}

.p-text strong {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: white;
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.location-card {
    background-color: var(--f3-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    border-left: 4px solid var(--f3-red);
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    background-color: var(--f3-gray-light);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.badge {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--f3-red);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--f3-red);
}

.location-details p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.location-details strong {
    color: white;
}

.location-details {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.location-notes {
    text-align: center;
    color: var(--text-muted);
}

/* Get Started */
.get-started-section {
    background-color: var(--f3-dark);
}

.get-started-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.get-started-text {
    flex: 1;
}

.get-started-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.get-started-text ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.get-started-text ul li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.get-started-text ul li::before {
    content: "→";
    color: var(--f3-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.get-started-text strong {
    color: white;
}

.get-started-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(186, 12, 47, 0.2);
    transition: var(--transition);
}

.image-placeholder img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(186, 12, 47, 0.4);
}

/* Footer */
footer {
    background-color: #000;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4, .footer-external h4 {
    margin-bottom: 1.5rem;
    color: white;
    border-bottom: 2px solid var(--f3-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links ul, .footer-external ul {
    list-style: none;
}

.footer-links li, .footer-external li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-external a {
    color: var(--text-secondary);
}

.footer-links a:hover, .footer-external a:hover {
    color: var(--f3-red);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--f3-gray);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin: 0;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Media Queries */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--f3-darker);
        padding: 2rem;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .get-started-content {
        flex-direction: column;
    }
}
