/* ===================================================
   OSMAIR DOJO / DOJANG TAEKWONDO - LOVABLE THEME DESIGN
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --korea-red: #dc2626;
    --korea-red-dark: #b91c1c;
    --korea-red-light: #ef4444;
    --korea-blue: #2563eb;
    --korea-blue-dark: #1d4ed8;
    --ink: #111827;
    --ink-muted: #6b7280;
    --surface: #f9fafb;
    --surface-secondary: #f3f4f6;
    --border: #e5e7eb;
    --card: #ffffff;
    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-pill: 9999px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-lift: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

/* ================= Topbar ================= */
.topbar {
    background: #0b0f19;
    color: #9ca3af;
    font-size: 0.825rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}
.topbar a:hover {
    color: var(--korea-red-light);
}

/* ================= Navbar ================= */
.main-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.main-navbar .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--ink) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--korea-red) 0%, var(--korea-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.main-navbar .nav-link {
    color: #4b5563 !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--korea-red) !important;
    background-color: rgba(220, 38, 38, 0.05);
}

/* ================= Buttons ================= */
.btn-korea-red {
    background-color: var(--korea-red);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.25s ease;
}

.btn-korea-red:hover {
    background-color: var(--korea-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.btn-korea-outline {
    background-color: transparent;
    color: var(--ink) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border);
    transition: all 0.25s ease;
}

.btn-korea-outline:hover {
    border-color: var(--ink);
    background-color: var(--surface);
    transform: translateY(-2px);
}

/* ================= Section Badges & Korean Rule ================= */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(220, 38, 38, 0.08);
    color: var(--korea-red);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(220, 38, 38, 0.15);
    margin-bottom: 1rem;
}

.korea-rule {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--korea-red) 0%, var(--korea-blue) 100%);
    border-radius: 999px;
}

.korea-rule-sm {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--korea-red) 0%, var(--korea-blue) 100%);
    border-radius: 999px;
    margin: 1rem 0;
}

/* ================= Hero Section ================= */
.hero-lovable {
    background: radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.05) 0%, rgba(255, 255, 255, 1) 60%),
                radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.04) 0%, rgba(255, 255, 255, 1) 50%),
                #ffffff;
    padding: 90px 0 70px 0;
    position: relative;
    overflow: hidden;
}

.hero-lovable .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.hero-lovable .hero-subtitle {
    font-size: 1.15rem;
    color: var(--ink-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--border);
}

.hero-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ================= Feature Cards (O que você desenvolve) ================= */
.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--korea-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: #cbd5e1;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--korea-red);
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--korea-red);
    color: #ffffff;
    border-color: var(--korea-red);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

/* ================= Modality & Class Cards ================= */
.modality-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: #cbd5e1;
}

.modality-card-img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modality-card:hover .modality-card-img {
    transform: scale(1.05);
}

/* ================= Pricing & Plans ================= */
.plan-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card.featured {
    border: 2px solid var(--korea-red);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.12);
    transform: scale(1.02);
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lift);
}

.plan-featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--korea-red);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
}

/* ================= Schedule Timetable ================= */
.schedule-table-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.schedule-row {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:hover {
    background-color: var(--surface);
}

/* ================= Testimonials ================= */
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

/* ================= CTA Experimental Banner ================= */
.cta-banner-lovable {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}

.cta-banner-lovable::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

/* ================= Footer ================= */
.footer-lovable {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-lovable a {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-lovable a:hover {
    color: var(--korea-red);
}

.footer-bottom-dots span {
    display: inline-block;
    border-radius: 50%;
}

/* ================= Floating WhatsApp Button ================= */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--korea-red);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.55);
}
