/*
Theme Name: Transfer Window Fantasy
Theme URI: https://transferwindowfantasy.com
Author: Transfer Window Fantasy Team
Author URI: https://transferwindowfantasy.com
Description: A custom theme for Transfer Window Fantasy basketball website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transferwindowfantasy
Tags: basketball, fantasy, sports, czech, orange, red
*/

:root {
  --primary-color: #FF5E00; /* Primary orange */
  --secondary-color: #E60000; /* Secondary red */
  --dark-color: #222222;
  --light-color: #F8F8F8;
  --white: #FFFFFF;
  --gray: #666666;
  --light-gray: #EEEEEE;
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

.btn:hover {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--white);
}

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

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Header Styles */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

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

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

.site-logo img {
  height: 50px;
  width: auto;
}

.main-navigation ul {
  display: flex;
  list-style: none;
}

.main-navigation li {
  margin-left: 1.5rem;
}

.main-navigation a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 84px;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Email Form Section */
.email-form-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 5rem 0;
  color: var(--white);
}

.email-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark-color);
  background-color: var(--white);
  border: 2px solid transparent;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.2);
}

.form-submit {
  width: 100%;
  padding: 15px;
}

/* Advantages Section */
.advantages-section {
  background-color: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.advantage-card {
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

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

.advantage-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.advantage-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.faq-section {
  background-color: var(--white);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-color);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question:after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: all 0.3s ease;
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 1000px;
}

/* Age Verification */
.age-verification {
  background-color: var(--light-gray);
  padding: 3rem 0;
  text-align: center;
}

.age-badge {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

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

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-navigation h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: var(--light-gray);
}

.footer-menu a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--light-gray);
}

.footer-age-badge {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  margin-left: 1rem;
}

/* Points System Page */
.points-system {
  padding: 2rem 0;
}

.points-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.points-table th, 
.points-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.points-table th {
  background-color: var(--primary-color);
  color: var(--white);
}

.points-table tr:nth-child(even) {
  background-color: var(--light-gray);
}

/* How to Play Page */
.how-to-play {
  padding: 2rem 0;
}

.step-card {
  display: flex;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  margin-right: 2rem;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .main-navigation li {
    margin: 0;
  }
  
  .main-navigation a {
    display: block;
    padding: 0.8rem 2rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  h1, .hero-title {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}
