/*
Theme Name: GL Sports Haven
Theme URI: https://yourwebsite.com
Author: Kishore
Author URI: https://everythingforyou.co.in/
Description: A custom WordPress theme for GL Sports Haven.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glsportshaven
*/
body{
	margin: 0;
	font-family: "Roboto", sans-serif;
}
.top-bar {
    font-size: 0.85rem;
    background-color: #000;
    border-bottom:2px solid #06458b;
}

/* Initially transparent header */
header.header-transparent {
  background-color: transparent;
  box-shadow: none;
  position: fixed;
  top: 30px; left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 15px 30px; /* adjust as needed */
  color: #fff; /* text color */
}

/* After scrolling */
header.header-scrolled {
  background-color: #06458b; /* your blue */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Navigation links */
.nav > li > a {
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}

.nav > li > a:hover,
.header-icons a:hover {
  color: #ffd200; /* yellow on hover */
  font-weight: 500;
}


/* Position the mega menu */
nav {
  position: relative;
  width: 65%;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 99;
}

nav li.shop-menu-item:hover .mega-menu {
  display: block;
}



.header-icons a {
  color: #fff;
}

/* Optional: adjust z-index for menu if needed */
.main-header {
  z-index: 999;
}

.btn-default{background-color: rgba(9, 16, 143, 0.8); color: #fff}
.btn-default:hover{background-color: rgba(9, 16, 143, 1); color: #fff}

.badge {
    font-size: 0.6rem;
}
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px 0;
    gap: 30px;
  }

  .about-image {
    flex: 1 1 300px;
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 0 10px 10px 0;
  }

  .about-content {
    flex: 1 1 300px;
    padding-left: 40px;
  }

  .about-content h5 {
    color: #06458b;
    font-weight: 600;
  }

  .about-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
  }

  .about-content h1{
    font-size: 1.65rem;
  }

  .about-content p {
    color: #555;
  }

  .specialization-card {
        transition: transform 0.3s, box-shadow 0.3s;
    }

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

    .specialization-card img {
        width: 80px;
        height: auto;
    }

  .features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
  }

  .feature-box {
    text-align: center;
    width: 24%;
    min-width: 200px;
  }

 .feature-icon { 
    width: 90px;
    height: 90px;
    background-color: #06458b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    animation: pulse1 2s infinite;
}

@keyframes pulse1 {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

  .feature-icon i {
    font-size: 36px;
    color: #fff;
  }

  .feature-box h4 {
    margin-top: 10px;
    font-size: 18px;
  }

  .feature-box p {
    font-size: 14px;
    color: #666;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #FF0000; /* YouTube Red */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    color: white; /* Play icon color */
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
    transition: all 0.3s ease-in-out;
}

.page-hero{background-image: url('assets/images/hero.png');background-repeat: no-repeat;background-position: center; background-color:#f5f5f5; padding: 100px 0; text-align:center;}
.page-hero h1{color: #fff;}
h2.main-title{color: #06458b}

/* Smooth Animated Blue Background with Elegant Waves */
.animated-bg {
    position: relative;
    background: linear-gradient(135deg, #033b73, #0a6fd6);
    overflow: hidden;
    color: #fff;
    z-index: 0; /* base layer */
}

/* Common Wave Layer Styles */
.animated-bg::before,
.animated-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    opacity: 0.4;
    animation: wave 30s ease-in-out infinite;
    z-index: 1; /* waves above background */
    pointer-events: none; /* let clicks pass through */
}

/* Front Wave */
.animated-bg::before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23ffffff' fill-opacity='0.3' d='M0,192L48,186.7C96,181,192,171,288,160C384,149,480,139,576,133.3C672,128,768,128,864,149.3C960,171,1056,213,1152,224C1248,235,1344,213,1392,202.7L1440,192V320H0Z'></path></svg>");
    animation-duration: 22s;
}

/* Back Wave */
.animated-bg::after {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23ffffff' fill-opacity='0.15' d='M0,256L48,250.7C96,245,192,235,288,224C384,213,480,203,576,186.7C672,171,768,149,864,154.7C960,160,1056,192,1152,186.7C1248,181,1344,139,1392,117.3L1440,96V320H0Z'></path></svg>");
    animation-duration: 15s;
    animation-direction: reverse;
}

/* Ensure content is above everything */
.animated-bg > * {
    position: relative;
    z-index: 2;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}


  @media (max-width: 768px) {
    .about-section {
      flex-direction: column;
      padding: 30px 15px;
    }

    .about-content {
      padding-left: 0;
    }

    .features {
      flex-direction: column;
      align-items: center;
    }

    .feature-box {
      width: 100%;
      max-width: 300px;
    }
  }

.why-choose-us .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #06458b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.why-choose-us .icon-circle:hover {
    transform: scale(1.1);
    background-color: #06458b;
}


  
  .info-icons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 30px 0;
  gap: 20px;
  text-align: center;
}

.info-item {
  flex: 1;
  min-width: 200px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border: 2px solid #06458b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.icon-circle i {
  font-size: 24px;
  color: #000;
}

.info-item h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0;
}

.info-item p {
  color: #666;
  font-size: 14px;
}


/* ==== FOOTER STYLES ==== */

footer {
  background-color: #06458b; /* green-700 */
  color: white;
  padding: 3rem 1.5rem 0 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-contact div {
  line-height: 1.5;
  text-indent: justify-content;
}

.footer-contact div {
  margin-bottom: 0.75rem;
}

.footer-contact i {
  margin-right: 0.5rem;
}

/* Logo & Social */
.footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.25rem;
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #d1fae5;
}

/* Useful Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom a{ color:#fff; text-decoration:none; }
/* Responsive */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* Main product image wrapper */
.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.woocommerce-product-gallery__image {
    position: relative;
    cursor: zoom-in;
}

.woocommerce-product-gallery__image::after {
    content: '\f00e'; /* Font Awesome zoom icon (search icon) */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.woocommerce-product-gallery__image:hover::after {
    opacity: 1;
}

/* Remove image counter */
.woocommerce-product-gallery .flex-control-nav {
    display: flex !important;
    justify-content: center;
    margin-top: 15px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: auto !important;
    margin-right: 10px;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: #06458b; /* Active green border */
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important; /* Hides the default zoom button if visible */
}

/* Optional: make gallery fully responsive */
@media (max-width: 768px) {
    .woocommerce-product-gallery .flex-control-thumbs img {
        width: 60px;
        height: 60px;
    }
}

/* Remove image counter numbers in WooCommerce product gallery */
.woocommerce-product-gallery .flex-control-paging {
    display: none !important; /* Hides the dots or numbering */
}

.woocommerce-product-gallery__image::before {
    display: none !important; /* Hides any overlay number if present */
}

/* Adjust thumbnail layout */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #fcfcfc;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: #06458b; /* Green border for active thumbnail */
}

/* WooCommerce Product Tabs Customization */
.woocommerce-tabs {
    margin-top: 20px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    background-color: #198754; /* Bootstrap success color */
    color: white;
    border-color: #198754;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0 5px 5px 5px;
    background-color: white;
}


/* Product Card Styles */
.product-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-image-wrapper img {
    width: 100%;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

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

.product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-hover-overlay {
    opacity: 1;
}

.product-title a:hover {
    color: #198754; /* Bootstrap Success Color */
}
h5.product-title{font-size:0.95rem}


.sports-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* ✅ 6 per row */
    gap: 15px;
}

.sports-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

.sports-item img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    border-radius: 5px;
}

.sports-item h6 {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: bold;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    display: inline-block;
    width: 100%;
    font-size: .90rem;
    margin-bottom: 0;
}




/* Customize the WooCommerce Sale Badge */
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #06458b;
    color: #fff;
    padding:5px;
    font-size: 12px;
    font-style: italic;
    border-radius: 5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    min-width:60px;
    min-height: 30px;
    width: 60px;
    height: 30px;
    line-height: 1.75;
}

/* Ensure product card is positioned relative for absolute badge */
.woocommerce ul.products li.product .card {
    position: relative;
    overflow: hidden;
}

.woocommerce span.onsale {
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product .card:hover span.onsale {
    transform: scale(1.1);
}

/* Hide sidebar on WooCommerce shop and archive pages */
.woocommerce.archive .widget-area {
    display: none;
}

.woocommerce.archive .content-area {
    width: 100% !important;
}

.woocommerce-breadcrumb{ display:none; visibility:hidden; }

/* Offcanvas Styles */
/* Offcanvas Styling */
.offcanvas {
  background-color: #f8f9fa;
  font-family: 'Poppins', sans-serif;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

/* Header Area */
.offcanvas-header {
  padding: 1rem 1rem;
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.25rem;
}

/* Close Button */
.btn-close {
  font-size: 1.2rem;
}

/* Navigation Links */
.mobile-nav li {
  margin-bottom: 0.8rem;
}

.mobile-nav li a {
  font-size: 1.05rem;
  font-weight: 500;
  color: #212529;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  border-radius: 4px;
}

.mobile-nav li a:hover,
.mobile-nav li a:focus {
  color: #198754;
  background-color: #e6f4ea;
  padding-left: 0.75rem;
}

/* Optional icon spacing */
.mobile-nav li a i {
  margin-right: 0.5rem;
}

@media (max-width: 576px) {
    .slider-content-wrapper {
        height: 30vh;
    }
	.slider-content h2{
		font-size:1.5rem;
	}
	.slider-image img{
		height:30vh;
	}
	.woocommerce ul.products[class*=columns-] li.product{
		width:100%;
	}
}