/*
Theme Name: Escola Pohlmann
Theme URI: https://www.escolapohlmann.com.br
Author: Escola Pohlmann
Description: Tema para Escola de Taekwondo Pohlmann - Rio Grande, RS
Version: 1.0.0
Text Domain: tema-pohlmann
*/

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ============================================
   TOPO - FAIXA DE TELEFONE
   ============================================ */
.top-bar {
    background: #0d1b2a;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
}

.top-bar a {
    color: #f0c040;
    font-weight: bold;
}

.top-bar a:hover {
    color: #fff;
}

/* ============================================
   HEADER / LOGO / MENU
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    height: 50px;
}

.site-logo .school-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-logo .school-tagline {
    color: #f0c040;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Menu Principal */
.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav a {
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.main-nav a:hover,
.main-nav a.current-menu-item {
    background: rgba(255,255,255,0.15);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/img/taekwondo-bg.jpg') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 24px;
    font-weight: 300;
    color: #f0c040;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: #f0c040;
    color: #0d1b2a;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #fff;
    color: #0d1b2a;
}

/* ============================================
   SEÇÕES
   ============================================ */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: #f0c040;
    margin: 15px auto;
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #fff;
}

.card-icon.atividade { background: linear-gradient(135deg, #1e3a5f, #2a5298); }
.card-icon.tecnica { background: linear-gradient(135deg, #0d1b2a, #1e3a5f); }
.card-icon.competicao { background: linear-gradient(135deg, #c0392b, #e74c3c); }

.card-body {
    padding: 25px;
    text-align: center;
}

.card-body h3 {
    font-size: 18px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.card-body p {
    color: #666;
    font-size: 14px;
}

/* ============================================
   HORÁRIO
   ============================================ */
.schedule-section {
    background: #f8f9fa;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.schedule-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.schedule-box h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0c040;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.schedule-item .day {
    font-weight: 600;
    color: #333;
}

.schedule-item .time {
    color: #1e3a5f;
    font-weight: 500;
}

/* ============================================
   GALERIA
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   EVENTOS
   ============================================ */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #1e3a5f;
    transition: transform 0.3s;
}

.event-item:hover {
    transform: translateX(5px);
}

.event-item h3 {
    color: #1e3a5f;
    font-size: 16px;
    margin-bottom: 5px;
}

.event-item p {
    color: #666;
    font-size: 14px;
}

.event-item .event-date {
    color: #f0c040;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

/* ============================================
   CONTATO
   ============================================ */
.contact-section {
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    color: #1e3a5f;
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail .icon {
    width: 40px;
    height: 40px;
    background: #1e3a5f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail .text h4 {
    color: #333;
    font-size: 14px;
    margin-bottom: 3px;
}

.contact-detail .text p {
    color: #666;
    font-size: 14px;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================
   EQUIPE
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #e0e0e0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 5px;
}

.team-info .role {
    color: #f0c040;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0d1b2a;
    color: #fff;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
    color: #f0c040;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #f0c040;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: #f0c040;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    color: #888;
    font-size: 13px;
}

/* ============================================
   PÁGINA INTERNAS
   ============================================ */
.page-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-content {
    padding: 60px 0;
}

.page-content p {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   SHORTCODE PAGES (Alunos, Cadastro, Mensalidades)
   ============================================ */
.tkd-page-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.tkd-page-section:nth-child(even) {
    background: #fff;
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media screen and (max-width: 968px) {
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d1b2a;
        flex-direction: column;
        padding: 10px;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav a {
        display: block;
        padding: 12px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        position: relative;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 26px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
