/* 
  TurfVista CSS - Modern Dark Mode Landing Page Styles
  Green-themed sports ground website
*/

/* Base Styles and Variables */
:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #a9dfbf;
    --secondary: #1c293d;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --card-bg: #1e1e1e;
    --border-color: #333333;
    --accent: #f1c40f;
    --transition: all 0.3s ease;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
  }
  
  p {
    margin-bottom: 1em;
  }
  
  ul {
    list-style-type: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: var(--text-dark);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
  }
  
  .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  
  .btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-dark);
  }
  
  .btn-light {
    background-color: var(--text-light);
    color: var(--bg-dark);
  }
  
  .btn-light:hover {
    background-color: var(--bg-darker);
    color: var(--text-light);
    border: 2px solid var(--text-light);
  }
  
  .btn-block {
    display: block;
    width: 100%;
  }
  
  .btn-sm {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* Header & Navigation */
  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
  }
  
  .logo .highlight {
    color: var(--primary);
  }
  
  .nav-links {
    display: flex;
    gap: 30px;
  }
  
  .nav-links li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-light);
    position: relative;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
  }
  
  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: 100%;
  }
  
  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
  }
  
  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1036&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: var(--text-light);
  }
  
  .hero-content {
    max-width: 800px;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.3) 0%, rgba(26, 188, 156, 0.3) 100%);
    z-index: 1;
  }
  
  /* Section Styles */
  section {
    padding: 100px 0;
  }
  
  .section-title {
    font-size: 42px;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    color: var(--text-light);
  }
  
  .section-subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-muted);
  }
  
  /* Sports Section */
  .sports-section {
    background-color: var(--bg-darker);
  }
  
  .sports-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .sport-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    flex: 1;
    min-width: 280px;
    max-width: 500px;
  }
  
  .sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  
  .sport-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: rgba(39, 174, 96, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .sport-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-light);
  }
  
  .sport-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  
  .features-list {
    text-align: left;
    margin: 20px 0;
  }
  
  .features-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
  }
  
  .features-list li:before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
  }
  
  .sport-card .btn {
    margin-top: 20px;
  }
  
  /* Facilities Section */
  .facilities-section {
    background-color: var(--bg-dark);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }
  
  .feature-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: rgba(39, 174, 96, 0.2);
  }
  
  .feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
  }
  
  .feature-card p {
    color: var(--text-muted);
    font-size: 15px;
  }
  
  /* Booking Banner */
  .booking-banner {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 60px 0;
  }
  
  .booking-banner h2 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .booking-banner p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Gallery Section */
  .gallery-section {
    background-color: var(--bg-darker);
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--text-light);
    padding: 20px;
    transition: var(--transition);
    opacity: 0;
  }
  
  .gallery-overlay span {
    font-weight: 600;
    font-size: 18px;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  /* Testimonials Section */
  .testimonials-section {
    background-color: var(--bg-dark);
  }
  
  .testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  
  .testimonial-container {
    position: relative;
    height: 300px;
    overflow: hidden;
  }
  
  .testimonial-card {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .testimonial-card.active {
    opacity: 1;
    visibility: visible;
  }
  
  .testimonial-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .testimonial-content .quote-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    filter: invert(1);
  }
  
  .testimonial-content p {
    flex: 1;
    font-style: italic;
    color: var(--text-muted);
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
  }
  
  .testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .testimonial-author h4 {
    margin-bottom: 0;
    font-size: 18px;
    color: var(--text-light);
  }
  
  .testimonial-author p {
    margin: 0;
    font-size: 14px;
    color: var(--primary);
  }
  
  .slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
  
  .prev-btn, .next-btn {
    background-color: var(--primary);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-dark);
  }
  
  .slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
  }
  
  /* Booking Section */
  .booking-section {
    background-color: var(--bg-darker);
  }
  
  .booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
  }
  
  .booking-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .booking-highlights {
    margin: 30px 0;
  }
  
  .booking-highlights li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
  }
  
  .check-icon {
    color: var(--primary);
    margin-right: 10px;
    font-size: 20px;
  }
  
  .opening-times {
    background-color: rgba(39, 174, 96, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
  }
  
  .opening-times h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
  }
  
  .booking-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #2c2c2c;
    color: var(--text-light);
    transition: var(--transition);
  }
  
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #777;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
  }
  
  /* Contact Section */
  .contact-section {
    background-color: var(--bg-dark);
  }
  
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .contact-details {
    margin: 40px 0;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(39, 174, 96, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
  }
  
  .contact-icon i {
    font-size: 20px;
  }
  
  .contact-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--text-light);
  }
  
  .contact-item div p {
    color: var(--text-muted);
    margin-bottom: 0;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
  }
  
  .social-link i {
    color: var(--text-dark);
  }
  
  .map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
  }
  
  /* Footer */
  .footer {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding: 80px 0 30px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
  }
  
  .footer-logo p {
    margin-top: 20px;
    opacity: 0.7;
    color: var(--text-muted);
  }
  
  .footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    color: var(--text-light);
  }
  
  .footer-links h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
  }
  
  .footer-links ul li {
    margin-bottom: 12px;
  }
  
  .footer-links ul li a {
    opacity: 0.7;
    color: var(--text-muted);
    transition: var(--transition);
  }
  
  .footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
  }
  
  .footer-newsletter input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 15px;
    color: var(--text-light);
  }
  
  .footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  
  .footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary);
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }
  
  .footer-bottom p {
    margin: 0;
    color: var(--text-muted);
  }
  
  .footer-bottom-links {
    display: flex;
    gap: 20px;
  }
  
  .footer-bottom-links a {
    opacity: 0.7;
    color: var(--text-muted);
  }
  
  .footer-bottom-links a:hover {
    opacity: 1;
  }
  
  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
  }
  
  .delay-1 {
    animation-delay: 0.3s;
  }
  
  .delay-2 {
    animation-delay: 0.6s;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero h1 {
      font-size: 44px;
    }
    
    .section-title {
      font-size: 36px;
    }
    
    .booking-container,
    .contact-container {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    #header {
      height: 70px;
    }
    
    header .container {
      height: 70px;
    }
  
    .nav-links {
      position: fixed;
      top: 70px;
      right: -100%;
      background-color: rgba(18, 18, 18, 0.95);
      width: 250px;
      height: 100vh;
      flex-direction: column;
      gap: 0;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
      transition: var(--transition);
      padding: 20px 0;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .nav-links li {
      width: 100%;
    }
  
    .nav-links li a {
      display: block;
      padding: 12px 25px;
    }
  
    .nav-links li a::after {
      display: none;
    }
  
    .nav-links li a:hover {
      background-color: #222;
    }
  
    .mobile-menu-btn {
      display: flex;
    }
    
    .hero h1 {
      font-size: 36px;
    }
    
    .hero p {
      font-size: 18px;
    }
    
    .hero-buttons {
      flex-direction: column;
      gap: 15px;
    }
    
    section {
      padding: 60px 0;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
    }
    
    .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .hero h1 {
      font-size: 32px;
    }
    
    .section-title {
      font-size: 28px;
    }
    
    .feature-card,
    .sport-card {
      padding: 20px;
    }
  }
  