/* ============================================
   Vaughan Motorsports — Main Stylesheet
   ============================================ */

/* Google Fonts — loaded via <link> tags in HTML <head> for performance */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0A0A;
    --bg-panel: #141414;
    --bg-panel-alt: #1A1A1A;
    --red: #CC0000;
    --red-dark: #990000;
    --red-glow: rgba(204, 0, 0, 0.3);
    --text-primary: #F0F0F0;
    --text-secondary: #8B8B96;
    --text-muted: #555;
    --border-color: #2A2A2A;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 70px;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a:hover {
    color: #FF1A1A;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-panel);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        padding: 40px;
        transition: right var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }
}

/* ---- Content Area (below fixed header) ---- */
main {
    padding-top: var(--header-height);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('../img/morning-light-vir.webp') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.75) 0%,
        rgba(10, 10, 10, 0.35) 25%,
        rgba(10, 10, 10, 0.2) 50%,
        rgba(10, 10, 10, 0.55) 80%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.hero .red-line {
    width: 80px;
    height: 3px;
    background: var(--red);
    margin: 0 auto 30px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: #FF1A1A;
    color: #fff;
    box-shadow: 0 0 25px var(--red-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: #fff;
}

/* ---- Section Styles ---- */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-panel);
}

.section-darker {
    background: var(--bg-panel-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header .red-line {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin: 0 auto 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Red Line Decorations ---- */
.red-line {
    background: var(--red);
}

/* ---- Cards ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--red);
}

.card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--bg-panel);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

img.card-image,
picture .card-image {
    object-fit: cover;
    display: block;
}

.card picture {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.card picture .card-image {
    width: 100%;
    height: 100%;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), transparent);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-body .card-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-body .btn {
    margin-top: 15px;
}

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text .red-line {
    width: 60px;
    height: 3px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---- Result Highlight ---- */
.result-highlight {
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--red);
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.result-stat {
    text-align: center;
    min-width: 120px;
}

.result-stat .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.result-stat .label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.result-details h3 {
    margin-bottom: 5px;
    color: var(--text-primary);
}

.result-details .event-meta {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.result-details p {
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .result-highlight {
        flex-direction: column;
        text-align: center;
    }
}

/* ---- CTA Section ---- */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-panel) 0%, #1A0000 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ---- Cars Page ---- */
.car-detail-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 40px;
}

.car-detail-card .car-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--bg-panel-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.car-detail-card img.car-image {
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-detail-card picture {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.car-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.car-gallery-image {
    width: 100%;
    border: 1px solid var(--border-color);
    object-fit: cover;
}

@media (max-width: 600px) {
    .car-gallery {
        grid-template-columns: 1fr;
    }
}

.car-detail-card .car-content {
    padding: 35px;
}

.car-detail-card .car-status {
    display: inline-block;
    padding: 4px 14px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.status-ready {
    background: rgba(0, 180, 0, 0.15);
    color: #00CC00;
    border: 1px solid rgba(0, 180, 0, 0.3);
}

.status-building {
    background: rgba(204, 150, 0, 0.15);
    color: #CCAA00;
    border: 1px solid rgba(204, 150, 0, 0.3);
}

.status-future {
    background: rgba(100, 100, 120, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(100, 100, 120, 0.3);
}

.car-detail-card h2 {
    margin-bottom: 5px;
}

.car-detail-card .car-class {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
}

.spec-item {
    text-align: center;
}

.spec-item .spec-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.spec-item .spec-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ---- Results Page ---- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border: 3px solid var(--red);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item .year {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-item h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-item .result-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.3);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.timeline-item p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-image {
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    margin: 15px 0;
}

.timeline-item.upcoming::before {
    border-color: var(--text-muted);
    background: var(--bg-panel);
}

@media (max-width: 600px) {
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    .timeline-item::before {
        left: 7px;
        width: 16px;
        height: 16px;
    }
}

/* ---- Blog Page ---- */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.blog-empty h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.blog-empty .red-line {
    width: 60px;
    height: 3px;
    margin: 20px auto;
}

/* ---- Blog Post ---- */
.blog-post {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

.blog-post-header h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.blog-post-header .red-line {
    width: 60px;
    height: 3px;
    margin: 15px auto 20px;
}

.blog-post-meta {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.blog-post-meta span + span::before {
    content: '·';
    margin: 0 10px;
    color: var(--text-muted);
}

.blog-post-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.35);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.blog-post-body h2 {
    font-size: 1.7rem;
    color: var(--text-primary);
    margin: 55px 0 18px;
}

.blog-post-body h2:first-child {
    margin-top: 0;
}

.blog-post-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.blog-post-body p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-body picture {
    display: block;
    margin: 35px 0;
}

.blog-post-body picture img {
    width: 100%;
    border: 1px solid var(--border-color);
}

.blog-post-body a {
    color: var(--red);
    border-bottom: 1px solid rgba(204, 0, 0, 0.4);
    transition: border-color var(--transition), color var(--transition);
}

.blog-post-body a:hover {
    color: #FF1A1A;
    border-bottom-color: #FF1A1A;
}

.blog-post-credits {
    margin-top: 50px;
    padding: 30px 35px;
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--red);
}

.blog-post-credits h2 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    font-size: 1.3rem !important;
}

.blog-post-credits dl {
    margin: 0;
}

.blog-post-credits dt {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 14px;
    margin-bottom: 4px;
}

.blog-post-credits dt:first-child {
    margin-top: 0;
}

.blog-post-credits dd {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.blog-post-credits dd a {
    color: var(--red);
    border-bottom: 1px solid rgba(204, 0, 0, 0.4);
}

.blog-post-credits dd a:hover {
    color: #FF1A1A;
    border-bottom-color: #FF1A1A;
}

.blog-post-back {
    margin-top: 60px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Timeline post link */
.timeline-post-link {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(204, 0, 0, 0.4);
    padding-bottom: 2px;
    transition: color var(--transition), border-color var(--transition);
}

.timeline-post-link:hover {
    color: #FF1A1A;
    border-bottom-color: #FF1A1A;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 40px 20px 60px;
    }

    .blog-post-header h1 {
        font-size: 1.9rem;
    }

    .blog-post-body h2 {
        font-size: 1.4rem;
        margin: 40px 0 15px;
    }

    .blog-post-body p {
        font-size: 1rem;
    }

    .blog-post-credits {
        padding: 25px;
    }
}

/* ---- Contact Page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info .red-line {
    width: 60px;
    height: 3px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-photo {
    width: 100%;
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    fill: var(--red);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--red);
    background: rgba(204, 0, 0, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: fill var(--transition);
}

.social-link:hover svg {
    fill: var(--text-primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 35px;
}

.contact-form h3 {
    margin-bottom: 25px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---- Footer ---- */
#site-footer {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--text-primary);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--bg-panel-alt);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--red);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ---- Page Banner ---- */
.page-banner {
    padding: 60px 0 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
    margin-bottom: 10px;
}

.page-banner .red-line {
    width: 60px;
    height: 3px;
    margin: 15px auto;
}

.page-banner p {
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Utility ---- */
/* ---- Accessibility ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 2px solid #CC0000;
    outline-offset: 2px;
}

/* ---- Social Coming Soon ---- */
.social-coming-soon {
    cursor: pointer;
    position: relative;
}

.social-coming-soon::after {
    content: 'Coming soon';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 10;
}

.social-coming-soon:hover::after,
.social-coming-soon:focus::after {
    opacity: 1;
}

.text-center { text-align: center; }
.text-red { color: var(--red); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ---- Responsive Typography ---- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .hero {
        min-height: 70vh;
    }

    .hero-logo {
        max-width: 420px;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .section {
        padding: 50px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .hero-logo {
        max-width: 320px;
    }
}
