* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #FFF0C4;
  color: #3E0703;
  overflow-x: hidden;
}

/* ================= HEADER ================= */

header {
  background: #3E0703;
  color: #FFF0C4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* LOGO AREA */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

header h1 {
  font-size: 22px;
}

header img {
  height: 50px;
}

/* ================= NAVBAR DESKTOP ================= */

nav {
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #FFF0C4;
  text-decoration: none;
  padding: 12px 16px;
  display: block;
  font-weight: 500;
  white-space: nowrap;
}

nav ul li:hover {
  background: #8C1007;
}

/* DROPDOWN DESKTOP */
nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #660B05;
  display: none;
  min-width: 200px;
  border-radius: 6px;
  z-index: 10000;
}

nav ul li:hover > ul {
  display: block;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #FFF0C4;
  z-index: 10001;
}

/* ================= MOBILE NAV ================= */

@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .logo-area h1 {
    font-size: 15px;
    line-height: 1.3;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #3E0703;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  nav ul li ul {
    position: static;
    display: none;
    background: #660B05;
  }

  nav ul li.open > ul {
    display: block;
  }
}

/* ================= SECTIONS ================= */

section {
  padding: 60px 80px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 4px solid #8C1007;
  display: inline-block;
}

/* ================= HERO SECTION ================= */

.hero {
  min-height: 80vh;
  background: linear-gradient(135deg, #3E0703, #660B05);
  color: #FFF0C4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  text-align: left;
}

.hero-text {
  max-width: 600px;
}

.hero-text h2 {
  font-size: 48px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 25px;
  background: #8C1007;
  color: #FFF0C4;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  margin-right: 15px;
}

/* ================= MOBILE HERO FIX ================= */

@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 50px 20px 60px;
    text-align: center;
  }

  .hero-text {
    width: 100%;
  }

  .hero-text h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .hero-buttons a {
    display: block;
    width: 80%;
    margin: 10px auto;
    font-size: 16px;
  }

}

/* ================= STATS ================= */

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.stat-box {
  background: white;
  padding: 30px;
  width: 22%;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-box h3 {
  font-size: 36px;
  color: #8C1007;
}

/* ================= FOOTER ================= */

.site-footer {
  background: #111;
  color: #FFF0C4;
  padding: 50px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

/* LEFT */
.footer-left img {
  height: 70px;
  margin-bottom: 15px;
}

.footer-left p {
  line-height: 1.8;
  font-size: 16px;
}

/* MIDDLE */
.footer-middle h3,
.footer-right h3 {
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 2px solid #8C1007;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-middle ul {
  list-style: none;
  margin-top: 15px;
}

.footer-middle ul li {
  margin: 10px 0;
}

.footer-middle ul li a {
  color: #FFF0C4;
  text-decoration: none;
  font-size: 17px;
}

.footer-middle ul li a:hover {
  color: #ffcc99;
}

/* RIGHT */
.footer-right .visitor-box {
  margin-top: 15px;
  display: inline-block;
  background: black;
  color: white;
  padding: 10px 20px;
  font-size: 22px;
  letter-spacing: 4px;
  border-radius: 5px;
}

/* BOTTOM BAR */
.footer-bottom {
  background: #000;
  color: #FFF0C4;
  text-align: center;
  padding: 12px;
  font-size: 15px;
}



  /* STATS MOBILE */
  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-box {
    width: 100%;
  }

  /* FOOTER MOBILE */
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    margin-bottom: 30px;
  }
}
.tournament-card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
  margin-bottom:20px;
}

.tournament-buttons{
  margin-top:15px;
}

.btn{
  padding:10px 18px;
  border-radius:6px;
  text-decoration:none;
  margin-right:10px;
  font-weight:bold;
}

.btn-brochure{
  border:2px solid #8C1007;
  color:#8C1007;
}

.btn-register{
  background:#8C1007;
  color:white;
}
/* ================= MOBILE PROFESSIONAL TOURNAMENT CARD ================= */
@media (max-width: 768px) {

  .upcoming-tournament-card {
    background: #fff4cc;
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin: 25px auto;
    max-width: 95%;
  }

  .upcoming-tournament-card h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #8c1007;
    text-align: center;
    margin-bottom: 14px;
  }

  .tournament-meta {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    font-size: 15px;
  }

  .tournament-meta div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .tournament-meta span {
    color: #333;
  }

  .tournament-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .tournament-buttons a {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
  }

  .btn-brochure {
    border: 2px solid #8c1007;
    color: #8c1007;
    background: #fff;
  }

  .btn-register {
    background: linear-gradient(135deg, #8c1007, #b31217);
    color: #fff;
    box-shadow: 0 6px 15px rgba(140,16,7,0.4);
  }

}
/* ================= MOBILE TOURNAMENT STRUCTURE (CLEAN) ================= */
@media (max-width: 768px) {

  .upcoming-tournament {
    text-align: center;
    padding: 22px 16px;
    margin: 20px auto;
    max-width: 95%;
  }

  /* 1️⃣ Tournament name */
  .tournament-title {
    font-size: 22px;
    font-weight: 800;
    color: #8c1007;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  /* 2️⃣ Date / venue / close */
  .tournament-info {
    font-size: 14.5px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 500;
  }

  /* 3️⃣ & 4️⃣ Buttons */
  .tournament-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .tournament-actions .btn {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
  }

  .brochure-btn {
    border: 2px solid #8c1007;
    background: #fff;
    color: #8c1007;
  }

  .register-btn {
    background: #8c1007;
    color: #fff;
  }

}
