/* ===================================
   Judô Kaminari - Estilos Principais
   Design: Minimalismo Japonês Contemporâneo
   Cores: Preto, Branco, Rosa/Coral (#e63946)
   =================================== */

:root {
  --primary-color: #e63946;
  --secondary-color: #0a0a0a;
  --accent-color: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--accent-color);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* ===== Container & Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ===== Header/Navbar ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-section img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.25rem;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===== Hero Section ===== */
#hero {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--accent-color);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.75rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #d62828;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--accent-color);
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

/* ===== Sobre Section ===== */
#sobre {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-card {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
}

.about-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Aulas Section ===== */
#aulas {
  background-color: var(--accent-color);
}

.aulas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.aula-card {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.aula-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.aula-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.aula-card-content {
  padding: 1.5rem;
}

.aula-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.aula-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.aula-card ul {
  list-style: none;
  padding: 0;
}

.aula-card li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.25rem 0;
}

/* ===== O que é Judô Section ===== */
#judo-info {
  background-color: var(--bg-light);
}

.judo-definition {
  max-width: 900px;
  margin: 0 0 3rem;
  text-align: left;
}

.judo-definition p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.principle-card {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 0.5rem;
  border-top: 3px solid var(--primary-color);
  text-align: center;
}

.principle-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.principle-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.techniques-section {
  margin: 3rem 0;
}

.techniques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.technique-category {
  margin-bottom: 2rem;
}

.technique-category h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
}

.technique-list {
  list-style: none;
  padding: 0;
  margin-left: 2rem;
}

.technique-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.technique-list strong {
  color: var(--text-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-card {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===== Galeria Section ===== */
#galeria {
  background-color: var(--accent-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  cursor: pointer;
  background: #fff;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-caption {
  padding: 0.9rem 1rem;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
}

.gallery-caption h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.gallery-caption p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

.gallery-cta {
  text-align: center;
  margin-top: 2rem;
}

.gallery-cta p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  background-color: #d62828;
  transform: translateY(-2px);
}

/* ===== Contato Section ===== */
#contato {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item > div {
  display: flex;
  flex-direction: column;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(230, 57, 70, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.contact-item p {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

.contact-item a {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: var(--accent-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #d62828;
  transform: translateY(-2px);
}

.social-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: var(--primary-color);
  color: var(--accent-color);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
}

.social-link-icon:hover {
  background-color: #d62828;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(230, 57, 70, 0.35);
}

.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  height: 420px;
}

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

/* ===== Footer ===== */
footer {
  background-color: #0f0f0f;
  color: var(--accent-color);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-logo-sub {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1f1f1f;
  color: #9ca3af;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-icon:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-section h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #1f1f1f;
}

.footer-section p {
  color: #9ca3af;
  margin: 0;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.6rem;
}

.footer-section a {
  color: #9ca3af;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.footer-contact-list {
  list-style: none;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--primary-color);
}

.footer-divider {
  border-top: 1px solid #1f1f1f;
  padding: 1.5rem 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.85rem;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox p {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    gap: 0.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

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

  .contact-map {
    height: 300px;
  }

  section {
    padding: 3rem 0;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .gallery-item img {
    height: 150px;
  }

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

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

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .whatsapp-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    bottom: 1rem;
    right: 1rem;
  }

  .principles-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    height: 120px;
  }
}
