/* 
Trenzovia Cycling Club - Styles
Urban theme: Modern, stylish, creative 
Colors:
- Background: #F8F9FA
- Text: #2D3142
- Accent: #FF6B35
- Secondary Accent: #3A5199
- Button: #FF6B35
Fonts:
- Titles: Montserrat (bold)
- Body: Roboto (regular)
*/

/* ---------- Reset & Base Styles ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2D3142;
  background-color: #F8F9FA;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2D3142;
}

h1 {
  font-size: 2.5rem;
}

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

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 60px;
  height: 4px;
  background-color: #FF6B35;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #3A5199;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF6B35;
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none;
}

.primary-btn {
  background-color: #FF6B35;
  color: white;
}

.primary-btn:hover {
  background-color: #e55a29;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.secondary-btn {
  background-color: transparent;
  color: #3A5199;
  border: 2px solid #3A5199;
}

.secondary-btn:hover {
  background-color: #3A5199;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(58, 81, 153, 0.3);
}

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

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

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2D3142;
  position: relative;
}

.nav-menu li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #FF6B35;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  color: #FF6B35;
}

.nav-menu li a:hover:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2D3142;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/img00.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .slogan {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ---------- About Section ---------- */
.about {
  background-color: #F8F9FA;
}

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

.about-text {
  flex: 1;
}

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

.about-image img {
  display: block;
}

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

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

.benefit-card {
  background-color: #F8F9FA;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
  color: #3A5199;
  margin-bottom: 20px;
}

.benefit-card h3 {
  margin-bottom: 15px;
}

/* ---------- Routes Section ---------- */
.routes {
  background-color: #F8F9FA;
  overflow: hidden;
}

.routes-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  margin-bottom: 20px;
}

.route-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 0 0 calc(33.333% - 20px);
  transition: transform 0.3s ease;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.route-info {
  padding: 20px;
}

.route-details {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
}

.routes-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.prev-btn, .next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #3A5199;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #FF6B35;
  transform: scale(1.1);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
  background-color: white;
  text-align: center;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.testimonials h2 {
  text-align: left;
}

.testimonial {
  background-color: #F8F9FA;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* ---------- Events Section ---------- */
.events {
  background-color: #F8F9FA;
}

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

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

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #3A5199;
  color: white;
  padding: 15px;
  min-width: 80px;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-details {
  padding: 20px;
  flex-grow: 1;
}

.event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
}

.event-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---------- Membership Section ---------- */
.membership {
  background-color: white;
}

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

.membership-card {
  background-color: #F8F9FA;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.membership-card.featured {
  background-color: #3A5199;
  color: white;
  transform: scale(1.05);
}

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

.membership-card.featured h3,
.membership-card.featured .price {
  color: white;
}

.membership-header {
  padding: 30px 30px 15px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.membership-card.featured .membership-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2D3142;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.7;
}

.membership-features {
  padding: 30px;
  flex-grow: 1;
}

.membership-features ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.membership-features ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF6B35;
}

.membership-card.featured .membership-features ul li:before {
  color: #FF6B35;
}

.membership-card .btn {
  margin: 0 30px 30px;
}

/* ---------- Contact Section ---------- */
.contact {
  background-color: #F8F9FA;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item svg {
  color: #3A5199;
  flex-shrink: 0;
}

.opening-hours {
  margin-top: 20px;
}

.opening-hours h3 {
  margin-bottom: 15px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.contact-image {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-image img {
  display: block;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3A5199;
  outline: none;
}

.form-group.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.consent input {
  width: auto;
  margin-top: 5px;
}

.form-group.consent label {
  font-weight: normal;
  font-size: 0.9rem;
}

/* ---------- Success Page ---------- */
.success-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
  padding: 50px 0;
}

.success-content {
  max-width: 600px;
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.success-icon {
  color: #FF6B35;
  margin-bottom: 30px;
}

.submission-details {
  margin: 30px 0;
  text-align: left;
  background-color: #F8F9FA;
  padding: 20px;
  border-radius: 5px;
}

.redirect-notice {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

/* ---------- Page Content (for standard pages) ---------- */
.page-content {
  margin-top: 70px;
  padding: 50px 0;
}

.page-content h1 {
  margin-bottom: 30px;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  margin-top: 40px;
}

.content-block ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-block ul li {
  list-style: disc;
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
footer {
  background-color: #2D3142;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo .slogan {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-nav h4,
.footer-legal h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav ul li a,
.footer-legal ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover {
  color: #FF6B35;
}

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

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #FF6B35;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #3A5199;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
  section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .route-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .slogan {
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .about-content,
  .contact-content {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  
  .route-card {
    flex: 0 0 100%;
  }
  
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    width: 100%;
  }
  
  .membership-card.featured {
    transform: none;
  }
  
  .membership-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .slogan {
    font-size: 1rem;
  }
  
  .events-grid,
  .benefits-grid,
  .membership-options {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}