/*
Theme Name: Knights Football Club Theme
Description: A dynamic WordPress theme for Knights Football Club
Author: Your Name
Version: 1.0
*/

@font-face {
  font-family: anton;
  font-style: normal;
  font-weight: 400;
  src: url("//static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/anton/v11/1Ptgg87LROyAm3K8-C8CSKlvPfE.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+1EA0-1EF9, U+20AB;
  font-display: swap;
}

@font-face {
  font-family: anton;
  font-style: normal;
  font-weight: 400;
  src: url("//static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/anton/v11/1Ptgg87LROyAm3K9-C8CSKlvPfE.woff2") format("woff2");
  unicode-range: U+100-24F, U+259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

@font-face {
  font-family: anton;
  font-style: normal;
  font-weight: 400;
  src: url("//static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/anton/v11/1Ptgg87LROyAm3Kz-C8CSKlv.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.site-branding {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 0;
}

.site-title a {
 font-size: 130px;
 text-decoration: none;
 font: normal normal normal 
 130px / 1.4em anton, sans-serif;
 color: #c41312;
 text-shadow: 4px 5px 2px rgba(0, 0, 0, 0.3);
}

.site-title a span{
  color:black;
}

/* Header Styles */
.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Social Media Icons */
.social-media {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #666;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background: #FF4500;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Main Header */
.header-main {
  padding: 40px 20px;
  background: #2c2c2c;
}

.header-container {
  align-items: center;
  margin: 0 auto;
}

.custom-logo {
  height: auto;
  max-width: 250px;
  padding: 0 40px 0 0;
}

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

/* Center Content */
.header-center {
  flex: 2;
  text-align: center;
  padding: 0 20px;
}

.welcome-text {
  font-size: 18px;
  color: #FF4500;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.main-title {
  font-size: 64px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 20px;
}

.title-east {
  color: white;
  margin-right: 20px;
}

.title-coast {
  color: #FF4500;
}

.club-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.line {
  width: 60px;
  height: 2px;
  background: #FF4500;
}

.club-name {
  font-size: 18px;
  font-weight: bold;
  color: white;
  letter-spacing: 2px;
}



/* Navigation */
.main-navigation {
  background: white;
  border-top: 1px solid #ccc;
  padding: 0;
  position: relative;
}

/* Carousel Styles */
.hero-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #000;
}

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

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: none !important;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide .slide-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  z-index: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-content-left {
  left: 0;
  text-align: left;
}

.slide-content-center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.slide-content-right {
  right: 0;
  text-align: right;
}

.slide-content-inner {
  max-width: 600px;
}

.slide-content-left .slide-content-inner {
  margin-left: 0;
}

.slide-content-center .slide-content-inner {
  margin: 0 auto;
}

.slide-content-right .slide-content-inner {
  margin-right: 0;
  margin-left: auto;
}

.slide-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.slide-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.slide-description p {
  margin-bottom: 1rem;
}

.slide-button {
  margin-top: 2rem;
}

.slide-button .btn {
  display: inline-block;
  padding: 15px 30px;
  background: #FF4500;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.slide-button .btn:hover {
  background: #e63900;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

/* Carousel Navigation */
.carousel-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: #FF4500;
  transform: scale(1.2);
}

/* Carousel overlay for better text readability */
.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
  z-index: 1;
}


.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.main-navigation ul.primary-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 60px;
  margin: 0;
  padding: 0;
}

ul.sub-menu {
    display: none;
}

.main-navigation ul.primary-menu li {
  margin: 0;
}

.main-navigation ul.primary-menu li:hover ul{
    display:block;
    position: absolute;
    background: white;
}

.main-navigation ul.primary-menu li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  padding: 15px 20px;
  display: block;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.main-navigation ul.primary-menu li a:hover,
.main-navigation ul.primary-menu li a.nav-home {
  color: #c41312;
  border-bottom-color: #c41312;
}

.main-navigation ul.primary-menu li a.nav-home {
  color: #FF4500;
  border-bottom-color: #FF4500;
}

/* Main Content */
.site-main {
  padding: 2rem 0;
}

  /* Carousel Responsive - Tablet */
  .carousel-container {
    height: 700px;
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
  
  .slide-description {
    font-size: 1.1rem;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
  }
  
  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

/* Welcome Section */
.welcome-section {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.welcome-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.welcome-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.8;
}

/* Section Containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.intramurals-section,
.picture-section,
.blog-section {
  padding: 4rem 0;
  background: white;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.intramurals-section h2,
.picture-section h2,
.blog-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  position: relative;
}

.intramurals-section h2::after,
.picture-section h2::after,
.blog-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3498db;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.program-card:hover {
  transform: translateY(-5px);
}

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

.program-card h3 {
  padding: 1rem;
  color: #2c3e50;
  font-size: 1.3rem;
}

.program-excerpt {
  padding: 0 1rem;
  color: #666;
}

.program-card .read-more {
  display: inline-block;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.program-card .read-more:hover {
  background: #2980b9;
}

/* Picture Gallery */
.picture-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.picture-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.picture-item:hover {
  transform: scale(1.05);
}

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

.picture-caption {
  padding: 1rem;
  background: white;
}

.picture-caption h4 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.picture-caption p {
  color: #666;
  font-size: 0.9rem;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.post-card:hover {
  transform: translateY(-5px);
}

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

.post-content {
  padding: 1.5rem;
}

.post-title {
  margin-bottom: 0.5rem;
}

.post-title a {
  color: #2c3e50;
  text-decoration: none;
}

.post-title a:hover {
  color: #3498db;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-meta span {
  margin-right: 1rem;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background: #2980b9;
}

/* Footer Styles */
.site-footer {
  background: #2c2c2c;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: #3498db;
  font-size: 1.5rem;
}

.footer-section p {
  line-height: 1.6;
  color: #bdc3c7;
}

.footer-register-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.footer-register-btn:hover {
  background: #c0392b;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}


.post-featured-image,
.page-featured-image {
  margin-bottom: 2rem;
}

.post-featured-image img,
.page-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}


.single-post .post-meta span {
  margin-right: 1rem;
}

.single-post .post-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ecf0f1;
}

.post-tags {
  color: #7f8c8d;
}

/* Archive Styles */
.archive-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.archive-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.archive-description {
  font-size: 1.1rem;
  color: #7f8c8d;
  line-height: 1.6;
}

/* 404 Error Page */
.error-404 {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.error-404 .page-title {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 2rem;
}

.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .page-content p {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.search-form-container {
  margin: 2rem 0;
}

.search-form-container input[type="search"] {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
  border: 2px solid #ecf0f1;
  border-radius: 5px;
  font-size: 1rem;
}

.search-form-container input[type="submit"] {
  background: #3498db;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 1rem;
}

.search-form-container input[type="submit"]:hover {
  background: #2980b9;
}

.widget-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.widget {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 5px;
}

.widget h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul li {
  margin-bottom: 0.5rem;
}

.widget ul li a {
  color: #3498db;
  text-decoration: none;
}

.widget ul li a:hover {
  text-decoration: underline;
}

/* Navigation Styles */
.post-navigation,
.posts-navigation {
  margin: 3rem 0;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-navigation a,
.posts-navigation a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.post-navigation a:hover,
.posts-navigation a:hover {
  background: #3498db;
  color: white;
}

.posts-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    
.site-title a {
  font: normal normal normal 
  120px / 1.4em anton, sans-serif;
  color: #c41312;
 }
  /* Tablet Header Styles */
  .main-title {
    font-size: 56px;
  }
  
  .welcome-text {
    font-size: 17px;
  }
  
  .club-name {
    font-size: 17px;
  }
  
  .line {
    width: 50px;
  }
  
  .main-navigation ul.primary-menu li a {
    padding: 12px 16px;
    font-size: 15px;
    color: black;
    font-weight: 800;
  }
}

@media (max-width: 768px) {
  /* Header Responsive */
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .logo-left {
    flex: none;
    justify-content: center;
  }

  .logo-shield,
  .custom-logo {
    width: 100%;
    height: auto;
  }

  .shield-content {
    font-size: 20px;
  }

  .main-title {
    font-size: 48px;
  }

  .welcome-text {
    font-size: 16px;
  }

  .club-name {
    font-size: 16px;
  }

  .line {
    width: 40px;
  }

  .main-navigation ul.primary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-navigation ul.primary-menu li a {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .welcome-section h1 {
    font-size: 2rem;
  }
  
  .welcome-section p {
    font-size: 1rem;
  }
  
  .programs-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .picture-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .single-post .post-title,
  .single-page .page-title {
    font-size: 2rem;
  }
  
  .single-post,
  .single-page {
    padding: 1rem;
  }
  
  .error-404 .page-title {
    font-size: 2rem;
  }
  
  .search-form-container input[type="submit"] {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-title a{
    font: normal normal normal 50px / 1.4em anton, sans-serif;
   }
   
  .site-branding {
     flex-direction: row;
   }
   
   .custom-logo {
     padding:0;
   }
    
  /* Mobile Header Styles */
  .header-main {
    padding: 20px 10px;
  }
  
  .header-container {
    gap: 15px;
  }
  
  .logo-shield,
  .custom-logo {
    width: 150px;
    height: 150px;
  }

  .shield-content {
    font-size: 16px;
  }
  
  .main-title {
    font-size: 36px;
  }
  
  .welcome-text {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .club-name {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .line {
    width: 30px;
  }
  
  .main-navigation ul.primary-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .main-navigation ul.primary-menu li a {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .social-media {
    padding: 8px 15px;
    justify-content: center;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .social-icon svg {
    width: 16px;
    height: 16px;
  }
  
   /* Carousel Responsive - Mobile */
  .carousel-container {
    height: 300px;
  }
  
  .slide-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .slide-description {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .slide-content {
    padding: 0 15px;
  }
  
  .slide-content-inner {
    max-width: 100%;
  }
  
  .slide-button .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
  
  .carousel-dots {
    bottom: 15px;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
  
  .section-container {
    padding: 0 1rem;
  }
}
