/* CSS Reset & Variables */
:root {
  --primary-blue: #0051ba;
  --secondary-blue: #003a87;
  --accent-gold: #ffd700;
  --light-bg: #f8f9fa;
  --dark-bg: #0a192f;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-blue);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-blue);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-blue);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

/* Header & Navigation */
header {
  background-color: var(--dark-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  width: 80px;
  height: 80px;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.nav-menu li {
  margin: 0 0.5rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: white;
  transition: 0.6s ease-in-out;
}
#headlines {
  position: relative;
  z-index: 999;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: 150px;
  height: 150px;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-blue);
  z-index: 90;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
}

.dropdown::before,
.dropdown::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 50px;
  height: 80px;
  background-color: var(--accent-gold);
}

.dropdown::before {
  left: -40px;
  border-radius: 20px 0 0 20px; /* left sleeve */
}

.dropdown::after {
  right: -40px;
  border-radius: 0 20px 20px 0; /* right sleeve */
}

.dropdown ul li {
  list-style: disc;
  color: var(--text-light);
}

#headlines:hover .dropdown {
  display: flex;
}
.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--accent-gold);
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://res.cloudinary.com/dazhskqcc/image/upload/v1758931677/4ff3452a-da31-4241-a481-b3fe70af98b8_tfrnlt.jpg")
      no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Club Section */
.about-club {
  padding: 5rem 0;
  background-color: var(--text-light);
}

.club-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 0.5rem;
}

.tab-btn.active {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.club-info-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  text-align: center;
}

.club-info-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Get Involved Section */
.get-involved {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

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

.involve-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  overflow:hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.involve-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.involve-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

/* News Section */
.news-section {
  padding: 5rem 0;
  background-color: var(--text-light);
}

.news-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 1rem 0;
  gap: 1.5rem;
}

.news-item {
  flex: 0 0 auto;
  width: 300px;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

.footer-col h3 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-col p,
.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

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

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.mobile-blog {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    background-color: var(--dark-bg);
    display: flex;
    gap: 5vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 999;
  }
  .mobile-blog {
    display: flex;
  }
  #headlines:hover .dropdown {
    display: none;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    gap: 20vh;
    z-index: 1000;
  }

  .social-icons {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
