:root {
  --primary-color: #e63946;
  --secondary-color: #457b9d;
  --dark-color: #1d3557;
  --light-color: #f1faee;
  --accent-color: #7495c5;
  --text-dark: #1d3557;
  --text-light: #f1faee;
  --bg-dark: #0d1b2a;
  --bg-light: #f8f9fa;
  --card-dark: #1b263b;
  --card-light: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

body.dark-mode {
  color: var(--text-light);
  background-color: var(--bg-dark);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(241, 250, 238, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

body.dark-mode header {
  background-color: rgba(13, 27, 42, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header.scrolled {
  padding: 0.5rem 2rem;
  background-color: rgba(241, 250, 238, 0.95);
}

body.dark-mode header.scrolled {
  background-color: rgba(13, 27, 42, 0.95);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--dark-color);
}

body.dark-mode .logo span {
  color: var(--light-color);
}

.logo i {
  margin-right: 0.5rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

body.dark-mode nav ul li a {
  color: var(--light-color);
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark-color);
  transition: transform 0.3s;
}

body.dark-mode .theme-toggle {
  color: var(--light-color);
}

.theme-toggle:hover {
  transform: rotate(30deg);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

body.dark-mode .mobile-menu-btn {
  color: var(--light-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  z-index: -1;
}

body.dark-mode .hero::before {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

body.dark-mode .hero h1 {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

body.dark-mode .hero p {
  color: var(--text-light);
}

.hero .position {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

#position{
  background:transparent;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--primary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .btn:hover {
  color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  margin-left: 1rem;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url("/Images/yankees.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.9);
}

body.dark-mode .parallax-bg {
  filter: brightness(0.6);
}

/* About Section */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img {
  flex: 1;
  min-width: 300px;
  height:374px;
  position: relative;
}

.about-img img {
  width: 100%;
  height:100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.705);
  transition: transform 0.3s;
}

body.dark-mode .about-img img {
  box-shadow: 0 10px 30px rgb(0, 0, 0);
}

.about-img:hover img {
  transform: scale(1.03);
}

.about-img::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: 10px;
  z-index: -1;
  transition: all 0.3s;
}

.about-img:hover::after {
  top: -15px;
  left: -15px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1.5rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill {
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

body.dark-mode .skill {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

/* Stats Section */
.stats {
  background-color: var(--accent-color);
  text-align: center;
  padding: 4rem 2rem;
}

body.dark-mode .stats {
  background-color: var(--card-dark);
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 1svh auto;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  padding: 2rem;
  background-color: var(--card-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .stat-item {
  background-color: var(--card-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .stat-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.stat-item p {
  font-weight: 600;
}

/* Accomplishments Section */
.accomplishments {
  background-color: var(--bg-light);
}

body.dark-mode .accomplishments {
  background-color: var(--bg-dark);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--card-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

body.dark-mode .timeline-content {
  background-color: var(--card-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--card-light);
  transform: rotate(45deg);
  box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .timeline-content::before {
  background-color: var(--card-dark);
  box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.3);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-item:nth-child(odd) .timeline-date {
  float: right;
}

.timeline-item h3 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--bg-light);
}

body.dark-mode .timeline-dot {
  border-color: var(--bg-dark);
}

/* Gallery Section */
.gallery {
  background-color: var(--accent-color);
}

body.dark-mode .gallery {
  background-color: var(--card-dark);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  aspect-ratio: 4/3;
}

body.dark-mode .gallery-item {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(.1svh);
}

/* Contact Section */
.contact {
  background-color: var(--bg-light);
}

body.dark-mode .contact {
  background-color: var(--bg-dark);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
}

.contact-detail i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 40px;
  height: 40px;
  background-color: rgba(230, 57, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--card-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode .contact-form {
  background-color: var(--card-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background-color: var(--bg-dark);
  border-color: var(--card-dark);
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
#sick {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  body.dark-mode nav {
    background-color: var(--bg-dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .btn-outline {
    margin-left: 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 10px;
  }

  .timeline-item:nth-child(odd) .timeline-date {
    float: none;
    margin-bottom: 1rem;
  }

  .timeline-content::before {
    display: none;
  }
}

/* Stats Table */
.stats-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: var(--card-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

body.dark-mode .stats-table {
  background-color: var(--card-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stats-table th,
.stats-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

body.dark-mode .stats-table th,
body.dark-mode .stats-table td {
  border-bottom: 1px solid var(--card-dark);
}

.stats-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.stats-table tr:last-child td {
  border-bottom: none;
}

.stats-table tr:hover {
  background-color: rgba(230, 57, 70, 0.1);
}

body.dark-mode .stats-table tr:hover {
  background-color: rgba(230, 57, 70, 0.2);
}

.stats-table .highlight {
  font-weight: 700;
  color: var(--primary-color);
}

/* Season Selector */
.season-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.season-btn {
  padding: 0.5rem 1.5rem;
  background-color: var(--card-light);
  border: 1px solid #ddd;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

body.dark-mode .season-btn {
  background-color: var(--card-dark);
  border-color: var(--card-dark);
  color: var(--text-light);
}

.season-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.season-btn:hover:not(.active) {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

body.dark-mode .season-btn:hover:not(.active) {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Hidden class for season stats */
.season-stats {
  display: none;
}

.season-stats.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
