/* 
   TaeKwonDo Elite Academy - Custom Stylesheet
   Design Estético Premium com Tema Escuro e Detalhes Crimson/Gold
*/

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

:root {
    --bg-dark-primary: #0f1115;
    --bg-dark-secondary: #181d26;
    --bg-dark-tertiary: #222938;

    --accent-red: #9e131f;
    --accent-red-glow: rgba(158, 19, 31, 0.4);
    --accent-gold: #ffb703;
    --accent-gold-glow: rgba(255, 183, 3, 0.4);

    --text-white: #ffffff;
    --text-gray-light: #f1f2f0;
    --text-gray-muted: #abb5c4;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(24, 29, 38, 0.75);
    --glass-border: rgba(255, 255, 255, 0.12);
}

/* Geral & Reset */
body {
    background-color: var(--bg-dark-primary);
    color: var(--text-gray-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

/* Barra de Rolagem Customizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-dark-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-dark-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Estilos de Tipografia Auxiliares */
.text-gradient-red {
    background: linear-gradient(135deg, #fff 30%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Premium (Glassmorphism) */
.navbar-premium {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 1.2rem 0;
}

.navbar-premium.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 12, 16, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--text-white) !important;
}

.navbar-brand-logo span {
    color: var(--accent-red);
    text-shadow: 0 0 15px var(--accent-red-glow);
}

.nav-link-premium {
    color: var(--text-gray-light) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: right;
}

.nav-link-premium:hover {
    color: var(--text-white) !important;
}

.nav-link-premium:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 12, 16, 0.6), rgba(10, 12, 16, 0.95)),
        url('../images/utimoexame.jpeg') no-repeat center 80px;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 100px;
    overflow: hidden;
}

/* Ajuste para navegadores que não suportam fixed background no mobile */
@media (max-width: 768px) {
    .hero-section {
        background: linear-gradient(rgba(10, 12, 16, 0.6), rgba(10, 12, 16, 0.95)),
            url('../images/logo.jpg') no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
        min-height: 85vh;
    }
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.05);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-gray-muted);
    max-width: 550px;
    margin-bottom: 2.5rem;
}

/* Botões Premium */
.btn-premium-red {
    background-color: var(--accent-red);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.9rem 2.2rem;
    border: 1px solid transparent;
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--accent-red-glow);
    transition: var(--transition-smooth);
}

.btn-premium-red:hover {
    background-color: transparent;
    border-color: var(--accent-red);
    color: var(--text-white);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.6);
    transform: translateY(-3px);
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.9rem 2.2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--text-white);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Cartões com Efeito Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--accent-red-glow);
    display: inline-block;
}

/* Seções Gerais */
.section-padding {
    padding: 7.5rem 0;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    margin-top: 10px;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

.section-description {
    color: var(--text-gray-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin-bottom: 3.5rem;
}

/* Seção Sobre: Badges */
.feature-badge-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-badge-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    color: var(--accent-red);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-badge-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0;
}

/* Seção de Aulas (Filtro Vue) */
.filter-btn-group {
    background: rgba(18, 22, 31, 0.5);
    border: 1px solid var(--glass-border);
    padding: 0.4rem;
    border-radius: 50px;
    display: inline-flex;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-gray-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-white);
}

.filter-btn.active {
    background-color: var(--accent-red);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

/* Cartões de Aulas Premium */
.class-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    height: 100%;
    transition: var(--transition-smooth);
}

.class-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.class-card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark-secondary), transparent);
    z-index: 2;
    pointer-events: none;
}

.class-card-img-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-card-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.class-card:hover .class-card-img {
    transform: scale(1.08);
}

.class-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.class-card-body {
    padding: 2rem;
}

.class-age-badge {
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.25);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.class-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.class-card-description {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.class-features-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-gray-light);
    margin-bottom: 0.5rem;
}

.class-features-list li i {
    color: var(--accent-red);
    margin-right: 0.6rem;
    font-size: 0.8rem;
}

/* Seção Cronograma Semanal (Vue) */
.schedule-tabs-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.schedule-tab-btn {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-gray-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    min-width: 110px;
}

.schedule-tab-btn:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.schedule-tab-btn.active {
    background: linear-gradient(135deg, var(--accent-red), #b31b26);
    color: var(--text-white);
    border-color: var(--accent-red);
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

.schedule-table-wrapper {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-white);
    --bs-table-bg: var(--bg-dark-secondary);
}

.schedule-table th {
    background: rgba(27, 32, 46, 0.8);
    border-bottom: 2px solid var(--glass-border);
    padding: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.schedule-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-time {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.schedule-class-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.schedule-instructor {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.schedule-instructor i {
    font-size: 0.8rem;
    margin-right: 0.4rem;
}

@media (max-width: 768px) {

    .schedule-table th,
    .schedule-table td {
        padding: 0.8rem 0.6rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .schedule-time {
        font-size: 0.9rem;
    }

    .schedule-class-name {
        font-size: 0.9rem;
    }

    .schedule-instructor {
        font-size: 0.9rem;
    }
}

/* Transição de Horários Vue */
.fade-slide-enter-active,
.fade-slide-leave-active {
    transition: all 0.3s ease;
}

.fade-slide-enter-from {
    opacity: 0;
    transform: translateY(15px);
}

.fade-slide-leave-to {
    opacity: 0;
    transform: translateY(-15px);
}

/* Instrutores */
.instructor-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    height: 100%;
    transition: var(--transition-smooth);
}

.instructor-img-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.instructor-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark-secondary) 5%, transparent 60%);
}

.instructor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.instructor-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 183, 3, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.instructor-info {
    padding: 2rem;
    position: relative;
}

.instructor-role {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.instructor-name {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.instructor-bio {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.instructor-socials {
    display: flex;
    gap: 0.8rem;
}

.instructor-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-light);
    transition: var(--transition-smooth);
}

.instructor-social-link:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark-primary);
    transform: translateY(-3px);
}



/* Formulário de Contato Inteligente */
.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.contact-info-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-info-text {
    color: var(--text-gray-muted);
    margin-bottom: 0;
}

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

.form-premium-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray-light);
    margin-bottom: 0.5rem;
}

.form-premium-control {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-white) !important;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.form-premium-control:focus {
    background: var(--bg-dark-tertiary);
    border-color: var(--accent-red);
    box-shadow: 0 0 12px var(--accent-red-glow);
    outline: none;
}

.invalid-feedback-custom {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

/* Modal de Sucesso Customizado */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(255, 183, 3, 0.15);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 183, 3, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 183, 3, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 183, 3, 0);
    }
}

/* Rodapé */
.footer-section {
    background-color: #07080a;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

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

.footer-description {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-red);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray-muted);
    font-size: 0.85rem;
}

/* Custom Google Maps style integration */
.contact-map-iframe {
    width: 100%;
    height: 380px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.contact-map-iframe:hover {
    opacity: 1;
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.9rem 2.2rem;
    border: 1px solid transparent;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    background-color: #1ebd56;
    color: var(--text-white);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
}