/* ========================================
   Chinese MAGA Website - Global Styles
   Colors: MAGA Red + Navy Blue + White + Gold
   ======================================== */

:root {
    --maga-red: #B22222;
    --navy-blue: #000080;
    --pure-white: #FFFFFF;
    --gold: #FFD700;
    --dark-bg: #1a1a2e;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
}

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

body {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--pure-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.3; }
h3 { font-size: 2rem; line-height: 1.4; }
h4 { font-size: 1.5rem; }

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-bg) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-top {
    background-color: var(--maga-red);
    padding: 10px 0;
}

.header-top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: var(--pure-white);
    font-size: 1.2rem;
    padding: 5px 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--pure-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

nav ul li a {
    color: var(--pure-white);
    padding: 12px 20px;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--maga-red);
    color: var(--pure-white);
}

.lang-switcher {
    padding: 8px 15px;
    background-color: var(--gold);
    color: var(--navy-blue);
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.lang-switcher:hover {
    background-color: var(--pure-white);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,128,0.9) 0%, rgba(178,34,34,0.9) 100%),
                url('https://images.unsplash.com/photo-1569098644584-210bcd375b59?w=1920') center/cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    padding: 80px 20px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    color: var(--pure-white);
}

.hero h1 span {
    color: var(--gold);
}

.hero .subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.hero-cta {
    background: var(--maga-red);
    color: var(--pure-white);
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px solid var(--gold);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(178, 34, 34, 0.4);
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
}

/* Hero Form */
.hero-form {
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 40px auto 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-form h3 {
    color: var(--navy-blue);
    margin-bottom: 25px;
}

.hero-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--navy-blue);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.hero-form button {
    width: 100%;
    padding: 18px;
    background: var(--maga-red);
    color: var(--pure-white);
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-form button:hover {
    background: var(--navy-blue);
    transform: scale(1.02);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Section Styles */
section {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    color: var(--navy-blue);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--maga-red);
    margin: 20px auto;
}

/* Three Column Grid */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.col-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.col-card:hover {
    transform: translateY(-10px);
    border-color: var(--maga-red);
    box-shadow: 0 10px 30px rgba(178, 34, 34, 0.2);
}

.col-card h3 {
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.col-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--maga-red);
    color: var(--pure-white);
    border-color: var(--maga-red);
}

.btn-primary:hover {
    background: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-secondary {
    background: var(--gold);
    color: var(--navy-blue);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--navy-blue);
    color: var(--pure-white);
}

.btn-outline {
    background: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-outline:hover {
    background: var(--navy-blue);
    color: var(--pure-white);
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--navy-blue) 100%);
    color: var(--pure-white);
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    line-height: 2;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li a {
        display: block;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .three-col-grid {
        grid-template-columns: 1fr;
    }
}

/* Bilingual Toggle */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Accessibility */
:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header, footer, .hero-form, .social-links {
        display: none;
    }
}
