/* ===================================
   Modern Dark Mode - OhioHatesDads.com
   Clean, Professional Legal Aesthetic
   =================================== */

/* CSS Variables for Easy Theming */
:root {
    --primary-dark: #0f1419;
    --secondary-dark: #1a1f2e;
    --card-bg: #242936;
    --accent-gold: #d4af37;
    --accent-blue: #2196F3;
    --text-light: #e8eaed;
    --text-gray: #9aa0a6;
    --border-color: #3a3f4b;
    --danger-red: #ef4444;
    --success-green: #22c55e;
    --warning-amber: #f59e0b;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* Header - Sticky Navigation */
header {
    background-color: var(--secondary-dark);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.site-title:hover {
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
    background-color: var(--card-bg);
    color: var(--accent-gold);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero .subheadline {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Content Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--secondary-dark);
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--card-bg) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-gold);
}

.page-header h2 {
    color: var(--text-light);
    margin: 0;
}

/* Card Components */
.fact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-gold);
}

.card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Statistics */
.stat-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    min-width: 200px;
}

.stat h3 {
    font-size: 3rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Forms */
form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

button[type="submit"],
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover,
.submit-btn:hover {
    background-color: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
    margin: 1rem 0;
}

.star {
    color: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star:hover,
.star.active {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Review/Testimonial Items */
.review-item,
.testimonial-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

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

.review-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.review-date {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.review-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* GAL List Sidebar */
.gal-reviews-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.gal-list {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.gal-list h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.gal-list ul {
    list-style: none;
}

.gal-list li {
    margin-bottom: 0.75rem;
}

.gal-list a {
    color: var(--text-gray);
    display: block;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.gal-list a:hover,
.gal-list a.active {
    background-color: var(--secondary-dark);
    color: var(--accent-gold);
}

/* Judge Cards */
.judges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.judge-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.judge-name {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.judge-rating-display {
    font-size: 2rem;
    color: var(--accent-gold);
    margin: 1rem 0;
}

/* Alerts & Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: var(--success-green);
    color: var(--success-green);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-red);
    color: var(--danger-red);
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Footer */
footer {
    background-color: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--accent-gold);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero h2 {
        font-size: 1.75rem;
    }

    header .container {
        padding: 1rem;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: var(--secondary-dark);
        flex-direction: column;
        padding: 4rem 1rem 1rem;
        gap: 0;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .mobile-nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .gal-reviews-container {
        grid-template-columns: 1fr;
    }

    .gal-list {
        position: static;
        max-height: none;
    }

    .stat-container {
        gap: 2rem;
    }

    .fact-cards,
    .judges-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    form {
        padding: 1.5rem;
    }
}
