/* Global Styles */
:root {
  --primary-color: #1a5276;
  --secondary-color: #2980b9;
  --accent-color: #f39c12;
  --light-color: #f5f5f5;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #fff;
  --border-color: #ddd;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
  background-color: rgba(26, 82, 118, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo h1 span {
  color: var(--accent-color);
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-color);
}

#menuToggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

#menuToggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 3px 0;
  transition: all 0.3s ease;
}

#menuToggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

#menuToggle.active span:nth-child(2) {
  opacity: 0;
}

#menuToggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section Styles */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  height: 100%;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 30px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide:hover .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.page-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-hero.history-hero {
  background-image: url('https://snapsoccer.com/wp-content/webpc-passthru.php?src=https://snapsoccer.com/wp-content/uploads/2020/05/download-16.jpeg&nocache=1');
  background-size: cover;
  background-position: center;
}

.page-hero.experience-hero {
  background-image: url('https://thephysiocompany.co.uk/wp-content/uploads/football.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.contact-hero {
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ70BlO-cjJMqBcNGsW85NX576jgdskSw6Xfg&s');
  background-size: cover;
  background-position: center;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
}

/* Main Content Styles */
main {
  padding: 50px 0;
}

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

.intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

.why-love {
  margin-bottom: 50px;
}

.why-love h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

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

.reason {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reason-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.reason h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.basic-skills {
  margin-bottom: 50px;
}

.basic-skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.tabs {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.tab-button {
  flex: 1;
  padding: 15px 20px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.tab-pane img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.tab-pane ul {
  list-style: disc;
  margin-left: 20px;
}

.timeline {
  margin-bottom: 50px;
}

.timeline h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.timeline-items {
  position: relative;
  padding-left: 40px;
}

.timeline-items::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: 3px solid var(--primary-color);
}

.timeline-date {
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.timeline-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.famous-players {
  margin-bottom: 50px;
}

.famous-players h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.famous-players p {
  text-align: center;
  margin-bottom: 40px;
}

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

.player-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.player-card h3 {
  font-size: 1.5rem;
  margin: 15px 20px 5px;
}

.player-card p {
  margin: 0 20px 15px;
}

.player-years {
  color: var(--secondary-color);
  font-style: italic;
}

.famous-tournaments {
  margin-bottom: 50px;
}

.famous-tournaments h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tournament-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.tournament-card h3 {
  font-size: 1.5rem;
  margin: 15px 20px 10px;
}

.tournament-card p {
  margin: 0 20px 20px;
}

.my-journey {
  margin-bottom: 50px;
}

.my-journey h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.journey-timeline {
  position: relative;
  padding-left: 40px;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-color);
}

.journey-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
}

.journey-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: 3px solid var(--primary-color);
}

.journey-date {
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.journey-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.journey-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.favorite-moments {
  margin-bottom: 50px;
}

.favorite-moments h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.moment-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.moment-card h3 {
  font-size: 1.5rem;
  margin: 15px 20px 10px;
}

.moment-card p {
  margin: 0 20px 20px;
}

.skills-position {
  margin-bottom: 50px;
}

.skills-position h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.skills-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.position-info,
.skills-info,
.improvement-info {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.position-info h3,
.skills-info h3,
.improvement-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.skills-info ul,
.improvement-info ul {
  list-style: disc;
  margin-left: 20px;
}

.contact-info {
  margin-bottom: 50px;
}

.contact-details {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.contact-details h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-methods {
  margin-bottom: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-method i {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.contact-method h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.social-media h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color);
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

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

.captcha-group {
  position: relative;
}

.captcha-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.captcha-text {
  background-color: var(--light-color);
  padding: 10px 15px;
  border-radius: 5px;
  margin-right: 10px;
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 2px;
  border: 1px solid var(--border-color);
}

.refresh-captcha {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.refresh-captcha:hover {
  background-color: var(--secondary-color);
}

.faq {
  margin-bottom: 50px;
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.faq p {
  text-align: center;
  margin-bottom: 40px;
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  background-color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--light-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  background-color: white;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 15px 20px;
  max-height: 500px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border-color);
}

.cta {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.cta .container {
  max-width: 800px;
}

.cta h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta .btn {
  background-color: var(--accent-color);
  color: var(--dark-color);
  font-weight: bold;
  padding: 15px 30px;
  font-size: 1.1rem;
}

.cta .btn:hover {
  background-color: #f5b041;
}

.cta .social-icons {
  justify-content: center;
}

.cta .social-icon {
  background-color: var(--secondary-color);
}

.cta .social-icon:hover {
  background-color: var(--accent-color);
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 50px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-section.about p {
  color: #ccc;
}

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

.footer-section.links ul li {
  margin-bottom: 10px;
}

.footer-section.links ul li a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-section.links ul li a:hover {
  color: var(--accent-color);
}

.footer-section.contact p {
  color: #ccc;
  margin-bottom: 10px;
}

.footer-section.contact .social-icons {
  margin-top: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #ccc;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 200;
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: var(--error-color);
  text-decoration: none;
}

.modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.success-message {
  text-align: center;
  padding: 20px;
}

.success-message h2 {
  color: var(--success-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.success-message p {
  margin-bottom: 20px;
}

.success-message .btn {
  background-color: var(--success-color);
}

.success-message .btn:hover {
  background-color: #27ae60;
}

/* Responsive Styles */
@media (max-width: 768px) {
  #menuToggle {
    display: flex;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  
  nav ul.active {
    display: block;
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    display: block;
    padding: 10px 15px;
  }
  
  .slide-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .tab-buttons {
    flex-direction: column;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .intro h2,
  .why-love h2,
  .basic-skills h2,
  .timeline h2,
  .famous-players h2,
  .famous-tournaments h2,
  .my-journey h2,
  .favorite-moments h2,
  .skills-position h2,
  .contact-info h2,
  .faq h2,
  .cta h2 {
    font-size: 2rem;
  }
  
  .tab-pane h3 {
    font-size: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 400px;
  }
  
  .page-hero {
    height: 250px;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .intro h2,
  .why-love h2,
  .basic-skills h2,
  .timeline h2,
  .famous-players h2,
  .famous-tournaments h2,
  .my-journey h2,
  .favorite-moments h2,
  .skills-position h2,
  .contact-info h2,
  .faq h2,
  .cta h2 {
    font-size: 1.8rem;
  }
  
  .cta .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
    