/* CSS Variables for Brand Identity */
:root {
    --primary-gold: #c5a059;
    --f1-red: #e10600;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #f4f4f4;
    --transition: all 0.3s ease;
    --nav-height: 80px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Native smooth scrolling and strict full-page vertical snapping mechanisms */
html {
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
}

body {
    color: var(--text-light);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

/* Fixed Navigation Menu */
nav {
    display: flex;
    align-items: center;
    padding: 0 10%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    flex-grow: 1;
    gap: 15px;
    margin-left: -7%;         /* shift the header left */
}

.logo {
    display: block;
    height: 1.8em;
    width: auto;
    object-fit: contain;   /* ensure whole image stays visible */
    font-weight: 200;
    letter-spacing: 2px;
}

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

/* Style for the first word */
.red-text {
    color: red;
}

.header-text {
    font-size: 0.8em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav-links li { margin-left: 2rem; }

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary-gold); }

/* Full-Screen Page View Architecture */
section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical Center */
    align-items: center;     /* Horizontal Center */
    padding: 0 10%; 
    scroll-snap-align: start;
    scroll-snap-stop: always; 
}

/* Hidden target anchor to neutralize scroll-snap / centering jumping bugs */
.scroll-target {
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero View Setup */
.hero {
    position: relative;
    overflow: hidden;    /* ensure background stays inside the hero */
    z-index: 1;
}

/* This creates the slideshow specifically inside the .hero section */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fade-slideshow 20s infinite;
}

/* This adds your dark overlay only to the hero */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* Ensure your text sits above the overlay */
.hero h1, .hero p, .hero .btn {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--f1-red);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transition);
}

.btn:hover {
    background: #b00500;
    transform: translateY(-3px);
}

/* Title Formats */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.section-title h2,
.section-title h1 {
    font-size: 2.5rem; 
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    color: var(--primary-gold);
    font-size: 1.3rem;
}


/* Header Pill Cards - Statistics Container */
.stats-summary-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    width: 100%;
}

.stat-pill {
    flex: 1;
    min-width: 180px;
    background: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.stat-pill .stat-label {
    font-size: 0.75rem;
    color: var(--primary-gold, #c5a059);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-pill .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}


/* Unified Grid Framework */
.grid {
    display: grid;
    /* Creates a consistent 3-column layout for the 6 cards */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    width: 100%;
    max-width: 1200px; 
    align-items: stretch; /* Ensures all cards in a row have same height */
}

.card {
    background: var(--card-bg);
    padding: 25px 20px; 
    border-radius: 8px;
    border-left: 4px solid var(--f1-red);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill the grid cell */
}

.card:hover {
    transform: translateY(-5px);
    background: #202020;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--primary-gold);
    font-size: 1.15rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card p {
    font-size: 0.9rem; 
    color: #dddddd;
    flex-grow: 1; /* Pushes content to fill space evenly */
}

/* Contact Section Styling */
.contact {
    background: #0d0d0d;
    text-align: center;
}

/* Footer Architecture */
footer {
    background: #050505;
    padding: 40px 10%;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #111;
    width: 100%;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns for tablets */
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-title h2,
    .section-title h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .grid { grid-template-columns: 1fr; } /* 1 column for mobile */
    section { 
        padding-top: var(--nav-height); 
        justify-content: flex-start; /* Better scrolling on small screens */
    }
    .section-title { margin-top: 20px; }
}

@keyframes fade-slideshow {
    0%, 20% { background-image: url('images/formula1.jpg'); }
    25%, 45% { background-image: url('images/golf.jpg'); }
    50%, 70% { background-image: url('images/football.jpg'); }
    75%, 95% { background-image: url('images/concert.jpg'); }
    100% { background-image: url('images/formula1.jpg'); }
}

/* Contact Page Layout & Form Framework */
main.contact-container {
    scroll-snap-align: start; /* Ensures smooth positioning with HTML snap enabled */
    min-height: calc(100vh - var(--nav-height));
    padding: calc(var(--nav-height) + 40px) 10% 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 35px 30px;
    width: 100%;
    max-width: 650px;
    border-left: 4px solid var(--f1-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.form-card .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.turnstile-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

#form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 4px;
}

#form-status.status-success {
    color: #4caf50;
}

#form-status.status-error {
    color: #f44336;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}


.privacy-notice {
    font-size: 1rem;
    color: #888888;
    text-align:center;
    margin: 12px 0 18px 0;
    line-height: 1.4;
}

