/*
 Theme Name:   Padelbros
 Theme URI:    
 Description:  Child theme for Padelbros
 Author:       Jorn Barkhof
 Author URI:   https://www.jbwebsolutions.nl/
 Template:     generatepress
 Version:      1.0
*/

/* Import parent theme styles */
@import url("../generatepress/style.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");
@font-face {
    font-family: 'Padelbros-Canard';
    src: url('./fonts/Canard.woff2') format('woff2'),
         url('./fonts/Canard.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Padelbros-Nectarine';
    src: url('./fonts/Nectarine.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Padelbros-Impact';
    src: url('./fonts/impact.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --orange: #D4622B;
    --green: #005335;
    --gray: #575760;
    --black: #00c95a;
}

body {
    overflow-x: hidden;
}

.display-none {
  display: none;
}

/* Remove home spacing */
.home .inside-article {
    padding-bottom: 0px;
}

.home .site-main {
  margin-bottom: 0px;
}

/* End */


body h1,h2,h3,h4,h5,h6{
    font-family: 'Padelbros-Impact', sans-serif;
    letter-spacing: 3px;
}

.main-navigation {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

.main-navigation ul li a {
  font-weight: 700;
}


.hero-video {
    position: relative;
    width: 100%;
    height: 70vh; 
    overflow: hidden;
}

.hero-video img {
    position: absolute;
    top: 48%;
    left: 50%;
    min-width: 101%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 101%;
    max-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}


.hero-content {
    position: relative;
    top: 40%;
    padding-right: 30%;
    /* left: 20%; */
    /* transform: translate(-50%, -50%); */
    color: white;
    text-align: left;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    font-weight: 400;
    padding-left: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--orange);
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-button:hover {
    background-color: var(--green);
}


/* Footer */

.footer-widgets a {
  font-weight: 400;
  transition: font-weight 0.3s ease;
  text-decoration: none;
}

.footer-widgets a:hover {
  font-weight: 700;
}

/* End footer */



/* Start Services block */
.services-single-image-container {
  overflow: hidden;
  /* height: 85%; */
}

.services-single-image-container .services-single-image {
  /* width: 100%; */
  /* height: 100%; */
  transition: transform 0.3s ease;
}

.services-single-image-container:hover .services-single-image {
  transform: scale(1.1);
}

.services-single-text-container {
    position: relative;
}
/* End Services block */


/* Start court amenities blocks */
.padel-racket-green {
    transform-origin: bottom center;
    display: inline-block;
}
/* End court amenities block */


/* Start court count cards block */

.court-card{
  position: relative !important;
  display: flex !important;
  align-items: stretch;
  width: 100%;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(270deg, #005335 0%, #00452C 100%);
}

.court-card__main{
  padding: 18px 18px;
  color: #d4622b;
  display: flex;
  align-items: center;
}

.court-card__number{
  font-size: 27px !important;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.court-card__label{
  margin-top: 6px;
  font-size: 14px;
}

.court-card__number strong {
  font-family: 'Padelbros-Nectarine';
}

/* Hidden right panel (30%) */
.court-card__action{
  position: absolute !important;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;

  background: #d4622b;
  font-weight: 700;

  transform: translateX(100%);
  transition: transform .2s ease;
  pointer-events: none; /* avoid blocking main click when hidden */
  z-index: 1;
}

/* Reveal on hover + keyboard focus */
.court-card:hover .court-card__action,
.court-card:focus-visible .court-card__action{
  transform: translateX(0);
  pointer-events: auto;
  background-color: #d4622b;
  color: #005335;
}

/* Optional: subtle feedback */
.court-card:hover .court-card__main{
  filter: brightness(1.03);
}

/* Mobile: no hover, just show it */
@media (hover: none){
  .court-card__action{ transform: translateX(0); width: 40%; }
}

/* End of court count cards block */


/* Start Court prices */
.double-court-span {
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  will-change: transform, opacity;

}

.double-court-span::after {
    content: "\f007 \f007 \f007 \f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    position: relative;
    top: 6px;
    left: 10px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.single-court-span {
  position: relative;
}

.single-court-span::after {
    content: "\f007 \f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    position: relative;
    top: 6px;
    left: 10px;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* End court prices */


/* Start newsletter block */

.newsletter-block {
  background-image: url("https://padel-bros.de/wp-content/uploads/2025/12/padel-background-effect.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* End newsletter block */


/* FAQ accordion */
.faq-accordion .wp-block-accordion-item {
    border-bottom: 1px solid #d4622b;
    padding-top: 5px;
    padding-bottom: 5px;
}

.wp-block-accordion-panel .gb-text {
  margin-bottom: 0px;
}

.faq-accordion h3 {
    margin-bottom: 0px;
}

.faq-accordion button {
    background-color: unset;
}

.faq-accordion button span{
    text-decoration: none !important;
}

@media screen and (max-width: 500px)
{
  .court-card__number {
    font-size: 23px !important;
  }

  
}