/* ===== WPDS — Wing Power Defence System ===== */
/* Design System: Red (#CC0000) + Gold (#DAA520) + Black */

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

:root {
    --red: #CC0000;
    --red-dark: #990000;
    --red-glow: rgba(204, 0, 0, 0.4);
    --gold: #DAA520;
    --gold-light: #F0C850;
    --black: #0A0A0A;
    --dark: #111111;
    --dark-card: #1A1A1A;
    --dark-border: #2A2A2A;
    --gray: #888888;
    --light: #E0E0E0;
    --white: #F5F5F5;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-gradient {
    background: linear-gradient(135deg, var(--red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Navigation --- */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
#navbar.scrolled { background: rgba(10, 10, 10, 0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-container {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
#nav-logo-img { height: 40px; width: auto; }
.nav-links {
    display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
    font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500;
    color: var(--light); letter-spacing: 1.5px; text-transform: uppercase;
    position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background: var(--red); transition: var(--transition);
}
.nav-links a:hover { color: var(--white); -webkit-text-fill-color: unset; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--red) !important; color: var(--white) !important;
    padding: 8px 20px !important; border-radius: 6px;
    font-weight: 600 !important; letter-spacing: 2px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block; width: 26px; height: 2px; background: var(--white);
    margin: 6px 0; transition: var(--transition);
}

/* --- Hero --- */
#hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center;
    background: linear-gradient(180deg, var(--black) 0%, #1a0000 50%, var(--black) 100%);
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(204,0,0,0.08) 0%, transparent 70%);
}
.hero-particles {
    position: absolute; inset: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; }
.hero-logo {
    max-width: 280px; margin: 0 auto 32px; opacity: 0.95;
    filter: drop-shadow(0 0 40px rgba(204,0,0,0.3));
    animation: fadeInDown 1s ease-out;
}
.hero-title {
    font-family: var(--font-heading); font-weight: 700; line-height: 1;
    margin-bottom: 20px;
}
.hero-line1 {
    display: block; font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white); letter-spacing: 12px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-line2 {
    display: block; font-size: clamp(3rem, 9vw, 6rem);
    background: linear-gradient(135deg, var(--red), #ff3333);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: 6px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-line3 {
    display: block; font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--gold); letter-spacing: 14px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-subtitle {
    font-size: 1rem; color: var(--gray); letter-spacing: 2px;
    margin-bottom: 36px; font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
.hero-buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 1s both;
}
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}
.stat { text-align: center; }
.stat-num {
    display: block; font-family: var(--font-heading); font-size: 2rem;
    font-weight: 700; color: var(--white);
}
.stat-label { font-size: 0.75rem; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--dark-border); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    padding: 14px 32px; border-radius: 8px;
    cursor: pointer; transition: var(--transition);
    border: none; text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--red-glow);
    color: var(--white);
}
.btn-outline {
    background: transparent; color: var(--white);
    border: 1px solid var(--dark-border);
}
.btn-outline:hover {
    border-color: var(--gold); color: var(--gold);
    background: rgba(218, 165, 32, 0.05);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-icon { width: 22px; height: 22px; }

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-arrow {
    width: 28px; height: 28px; border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold); transform: rotate(45deg);
    opacity: 0.5;
}

/* --- Sections --- */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; font-family: var(--font-heading);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 4px;
    color: var(--gold); text-transform: uppercase;
    margin-bottom: 12px; padding: 6px 16px;
    border: 1px solid rgba(218, 165, 32, 0.3); border-radius: 20px;
}
.section-title {
    font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700; color: var(--white); letter-spacing: 2px;
}

/* --- About --- */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-lead {
    font-size: 1.15rem; color: var(--white); margin-bottom: 20px; line-height: 1.8;
}
.about-text p { margin-bottom: 16px; color: var(--gray); }
.about-image { position: relative; }
.about-img {
    border-radius: 16px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.about-img-accent {
    position: absolute; top: -12px; right: -12px; bottom: 12px; left: 12px;
    border: 2px solid var(--red); border-radius: 16px; z-index: -1;
    opacity: 0.4;
}

/* --- Features --- */
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
    background: var(--dark-card); border: 1px solid var(--dark-border);
    border-radius: 16px; padding: 36px 28px; text-align: center;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 12px 40px rgba(204, 0, 0, 0.15);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-card h3 {
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
    color: var(--white); margin-bottom: 12px; letter-spacing: 1px;
}
.feature-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* --- Schedule --- */
.schedule-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 700px; margin: 0 auto 40px;
}
.schedule-card {
    background: linear-gradient(135deg, var(--dark-card), #1f1f1f);
    border: 1px solid var(--dark-border); border-radius: 16px;
    padding: 36px; text-align: center;
    transition: var(--transition);
}
.schedule-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.1);
}
.day-name {
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
    color: var(--gold); letter-spacing: 4px; display: block;
}
.day-icon { font-size: 1.5rem; margin-top: 8px; display: block; }
.schedule-time { margin-top: 20px; }
.time-value {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600;
    color: var(--white); display: block; letter-spacing: 2px;
}
.time-label {
    font-size: 0.8rem; color: var(--gray); text-transform: uppercase;
    letter-spacing: 2px; margin-top: 4px; display: block;
}
.schedule-location {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 32px;
}
.location-icon { font-size: 2rem; }
.location-text strong { color: var(--white); display: block; font-size: 1.1rem; }
.location-text span { color: var(--gray); font-size: 0.9rem; }
.schedule-cta { text-align: center; }

/* --- Coach --- */
.coach-grid {
    display: grid; grid-template-columns: 350px 1fr; gap: 60px; align-items: start;
}
.coach-image { position: relative; }
.coach-img {
    width: 100%; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.coach-img-frame {
    position: absolute; top: 12px; left: 12px; right: -12px; bottom: -12px;
    border: 2px solid var(--gold); border-radius: 16px; z-index: -1; opacity: 0.3;
}
.coach-name {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600;
    color: var(--white); margin-bottom: 28px; letter-spacing: 1px;
}
.coach-timeline { margin-bottom: 28px; }
.timeline-item {
    position: relative; padding-left: 28px; margin-bottom: 20px;
    border-left: 2px solid var(--dark-border);
}
.timeline-item::before {
    content: ''; position: absolute; left: -6px; top: 6px;
    width: 10px; height: 10px; background: var(--red); border-radius: 50%;
}
.timeline-year {
    font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
    color: var(--gold); letter-spacing: 2px; display: block; margin-bottom: 4px;
}
.timeline-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.coach-quote {
    font-style: italic; color: var(--light); font-size: 1rem;
    padding: 20px 24px; border-left: 3px solid var(--red);
    background: rgba(204, 0, 0, 0.05); border-radius: 0 8px 8px 0;
}

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--dark-card); border: 1px solid var(--dark-border);
    border-radius: 16px; padding: 32px;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px); border-color: var(--gold);
}
.testimonial-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 4px; }
.testimonial-text {
    font-size: 0.95rem; color: var(--light); line-height: 1.7;
    margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 0.9rem;
}
.author-name { font-size: 0.85rem; color: var(--gray); font-weight: 500; }
.testimonials-note {
    text-align: center; margin-top: 32px; font-size: 0.8rem;
    color: var(--gray); font-style: italic;
}

/* --- CTA Section --- */
.section-cta {
    background: linear-gradient(180deg, var(--black) 0%, #1a0000 50%, var(--black) 100%);
    position: relative;
}
.section-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(204,0,0,0.1) 0%, transparent 70%);
}
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-title {
    font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700; color: var(--white); margin-bottom: 20px;
}
.cta-text { font-size: 1.05rem; color: var(--gray); max-width: 600px; margin: 0 auto 36px; }
.cta-phone { margin-top: 20px; color: var(--gray); font-size: 0.95rem; }
.cta-phone a { color: var(--gold); font-weight: 600; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item {
    display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { color: var(--white); display: block; margin-bottom: 4px; }
.contact-item p { color: var(--gray); font-size: 0.95rem; }
.contact-item a { color: var(--gold); }

/* --- Footer --- */
#footer {
    padding: 40px 0; border-top: 1px solid var(--dark-border);
    background: var(--black);
}
.footer-content { text-align: center; }
.footer-logo {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 16px;
}
.footer-logo-img { height: 32px; }
.footer-logo span {
    font-family: var(--font-heading); font-size: 0.9rem; color: var(--white);
    letter-spacing: 2px;
}
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: var(--gray); font-size: 0.85rem; letter-spacing: 1px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: var(--gray); }

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .coach-grid { grid-template-columns: 1fr; }
    .coach-image { max-width: 350px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; gap: 0;
        position: fixed; top: 70px; left: 0; right: 0;
        background: rgba(10, 10, 10, 0.98); padding: 20px 0;
        border-bottom: 1px solid var(--dark-border);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 14px 24px !important; }
    .nav-links a::after { display: none; }
    .nav-cta { margin: 12px 24px; border-radius: 6px; }
    .nav-toggle { display: block; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .section { padding: 70px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .features-grid { grid-template-columns: 1fr; }
    .schedule-wrapper { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 1.5rem; }
    .hero-logo { max-width: 200px; }
}
