/* SkylarkClub - Main Stylesheet */
:root {
  --primary-color: #0a4da2;
  --secondary-color: #d4af37;
  --dark-blue: #00264d;
  --light-blue: #00a0e3;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Common Styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.section-padding {
  padding: 100px 0;
}

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

.section-title h2 {
  font-family: var(--font-secondary);
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--dark-gray);
  font-size: 18px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

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

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--dark-blue);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 38, 77, 0.7), rgba(0, 38, 77, 0.7)),
    url('hero-bg.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* About Section */
.about {
  background-color: var(--light-gray);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  position: relative;
  height: 400px;
}

.about-content {
  flex: 1;
}

.about h3 {
  font-size: 28px;
  font-family: var(--font-secondary);
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about p {
  margin-bottom: 20px;
}

/* Membership Section */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.membership-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.membership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.membership-card.featured {
  border: 2px solid var(--secondary-color);
  transform: scale(1.05);
}

.membership-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.membership-tag {
  position: absolute;
  top: 15px;
  right: -35px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 5px 40px;
  font-size: 14px;
  font-weight: 600;
  transform: rotate(45deg);
}

.membership-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
}

.membership-icon {
  margin: 0 auto 15px;
  width: 60px;
  height: 60px;
}

.membership-header h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  margin-bottom: 10px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
}

.price span {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}

.membership-body {
  padding: 30px 20px;
}

.membership-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.membership-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
}

.membership-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

.membership-footer {
  padding: 0 20px 30px;
  text-align: center;
}

/* Benefits Section */
.benefits {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.benefit-card p {
  color: var(--dark-gray);
  font-size: 16px;
}

/* News Section with Required Links */
.news {
  background-color: var(--light-gray);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
}

.news-card h3 {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 10px;
}

.news-links {
  list-style: none;
  padding: 0;
}

.news-links li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-links li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.news-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 16px;
  text-transform: capitalize;
  position: relative;
}

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

.news-date {
  font-size: 14px;
  color: var(--dark-gray);
  opacity: 0.8;
}

.featured-news {
  grid-column: span 1;
}

.featured-news-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-img {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.featured-news h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 700;
}

.featured-news p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  align-self: flex-start;
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

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

.contact-info h3 {
  font-size: 28px;
  font-family: var(--font-secondary);
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  margin-right: 15px;
  background-color: var(--light-gray);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

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

.contact-form form {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 700;
}

.footer-logo p {
  opacity: 0.8;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links-column h4 {
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  color: var(--secondary-color);
}

.footer-links-column h4::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

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

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

.footer-links-column a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links-column a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 14px;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .container {
    max-width: 720px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-img, .about-content {
    flex: none;
    width: 100%;
  }
  
  /* Fix grid layouts */
  .membership-grid,
  .benefits-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .membership-card.featured {
    grid-column: span 2;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  /* Fix grid layouts for smaller screens */
  .membership-grid,
  .benefits-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .membership-card.featured {
    grid-column: span 1;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .hero {
    height: 90vh;
    padding-top: 60px;
  }
  
  .logo img {
    height: 30px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .section-title p {
    font-size: 16px;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}
