/* === GLOSSY GLASS HEADER === */

.tp-header-slider-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff;
}



.tp-header-slider-wrapper {
    padding: 0px 0;
}

.tp-header-slider-bar {
color:black;
}

/* Base button style */
.tp-header-slider-bar {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.452);
    padding: 6px 18px;
    border-radius: 999px;
    
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Make SVG inherit text color */
.tp-header-slider-bar svg rect {
    fill: currentColor;
}

/* 🔴 Hover Effect */
.tp-header-slider-bar:hover {
    background: #ffc400;
    border-color: #ffc400;
    color: #ffffff;
    transform: translateY(-2px);
}


.tp-portfolio-horizontal-inner {
    position: relative;
    overflow: hidden;
}

/* Mobile background swap */
@media (max-width: 1024px) {
    .tp-portfolio-horizontal-inner {
        background-image: url('../img/spain_img/mobile_img.png') !important;
    }
}

/* Hide mobile content on desktop */
.mobile-hero { display: none; }

/* Hide desktop content on mobile */
@media (max-width: 768px) {

    .desktop-hero { display: none; }
    .mobile-hero { display: block; }

    .mobile-hero-title {
        font-size: 62px;
        font-weight: 900;
        text-transform: uppercase;
        line-height: 1.1;
    }

    .yellow { color: #ffc400; }
    .white { color: #ffffff; }

    .mobile-hero-desc {
        margin-top: 15px;
        font-size: 18px;
        line-height: 1.6;
        color: #fff;
    }

.mobile-hero {
    position: absolute;
    
    bottom: 20px;
    top:0px;
    text-align: left;
}

.tp-portfolio-horizontal-content {
    position: absolute;
    top: 8%;
    left: 5px;
    z-index: 1;
}
}

@media (min-width: 769px) {
    .tp-portfolio-horizontal-content {
        position: absolute;
        top: 12%;
        left: 78px;
        z-index: 1;
    }
}

.tp-portfolio-horizontal-disc{
color:white;
font-size:34px;
font-weight: 600;
}

.venue-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.venue-icon {
    width: 33px;
    height: 33px;
    fill: #ffffff;
    flex-shrink: 0;
}

.tp-portfolio-horizontal-title{
    color:#ffe600ee;
    font-weight: 800;
    letter-spacing:0.5px;
}

.tp-portfolio-horizontal-button-wrapper div {
    height: 65px;
    width: 65px;
    font-size: 40px;
}

.ticket-summary {
    width: 100%;
    max-width: 99%;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #ffffff !important;
}

.ticket-summary h2 {
    color: #ffffff !important;
    margin-bottom: 6px;
}

.ticket-summary .event-meta {
    color: #ffe600ee !important;
    margin-bottom: 15px;
    
}

.ticket-columns {
    display: flex;
    flex-wrap: wrap;
}

.ticket-section {
    width: 50%;
    padding-right: 40px;
    box-sizing: border-box;
    margin-bottom: 1px;
}

.ticket-section h3 {
    color: #ffe600ee !important;
    font-size: 26px;
    margin-bottom: 4px;
    margin-top: 28px;
}

.ticket-section p,
.ticket-section li,
.ticket-section strong {
    color: #ffffff !important;
    font-size:21px;
}

.ticket-section ul {
    padding-left: 18px;
}

/* mobile */
@media (max-width: 768px) {
    .ticket-section {
        width: 100%;
    }
}

.tp-portfolio-horizontal-btn-label{
color:#ffe600ee;
font-size:30px;
}

.tp-portfolio-horizontal-btn .circle-icon{
background-color: #ffe600ee;
}

.masterclass-summary {
    width: 100%;
    max-width: 100%;
    color: #ffffff !important;
}

.masterclass-meta {
    color:#ffe600ee!important;
    margin-bottom: 20px;
}

.masterclass-columns {
    display: flex;
    flex-wrap: wrap;
}

.masterclass-section {
    width: 50%;
    padding-right: 40px;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.masterclass-section h3 {
    color:  #ffe600ee !important;
    font-size: 26px;
    margin-bottom: 6px;
}

.masterclass-section p,
.masterclass-section strong {
    color: #ffffff !important;
    font-size:21px;
}

@media (max-width: 768px) {

.masterclass-columns{
    display:block;
}

.masterclass-section{
    width:100%;
    padding-right:0;
    max-width:100%;
}

}

/* DESKTOP (same as before) */

.masterclass-gallery{
display:flex;
gap:30px;
margin-top:40px;
align-items:center;
}

.masterclass-gallery img{
height:420px;
width:auto;
object-fit:cover;
border-radius:12px;
transition:transform .35s ease;
cursor:pointer;
}

.masterclass-gallery img:hover{
transform:scale(1.08);
}


/* MOBILE ONLY */

@media (max-width:768px){

.masterclass-gallery{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.masterclass-gallery img{
width: 87%;
        height: 196px;
}

.masterclass-gallery img:nth-child(5){
grid-column:span 2;
height:240px;
}

}


/* FULLSCREEN VIEWER */

.image-viewer{
position:fixed;
top:0;
left:0;
width:85%;
height:90%;

display:none;
align-items:center;
z-index:9999;
}

.image-viewer img{
max-width:95%;
max-height:95%;
object-fit:contain;
}

.gallery-grid{
display:flex;
justify-content:center;
align-items:flex-start;
gap:26px;
margin-top:10px;
flex-wrap:nowrap; /* keeps them on one row */
}

.gallery-grid img{
height:475px;   /* keep your current card size */
width:340px;
border-radius:12px;
cursor:pointer;
transition:transform .25s ease;
}

.gallery-grid img:hover{
transform:scale(1.1);
}

@media (max-width:768px){

.gallery-grid{
flex-wrap:wrap;
justify-content:center;
gap:10px;
}

.gallery-grid img{
height:182px;
width:122px;
}
}

.scroll-slide{
overflow-y:auto;
height:100%;
-webkit-overflow-scrolling:touch;
}

.tp-portfolio-horizontal-slider{
touch-action: pan-y;
}

@media (max-width: 375px) and (max-height: 740px) {

.gallery-grid img{
height:165px;
width:100px;
}
}

@media (min-width: 768px) and (max-width: 1024px){

.gallery-grid{
    gap:10px;
}

.gallery-grid img{
    height:320px;
}

}

@media (min-width:768px) and (max-width:1024px){

.gallery-grid{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:10px;
justify-content: center;
}

.gallery-grid img{
height:320px;
width:auto;
}
}

@media (max-width:768px){

/* HERO TITLE */
.mobile-hero-title{
font-size:40px;
line-height:1.1;
}

/* HERO DESCRIPTION */
.mobile-hero-desc{
font-size:14px;
line-height:1.4;
}

/* SECTION TITLES (JUDGES / GALLERY / etc) */
.tp-portfolio-horizontal-title{
font-size:36px;
margin-top:20px;
}

/* LOCATION / DATE TEXT */
.tp-portfolio-horizontal-disc{
font-size:18px;
margin:0;
}

/* VENUE ICON */
.venue-icon{
width:22px;
height:22px;
}

/* BUTTON TEXT */
.tp-portfolio-horizontal-btn-label{
font-size:23px;
}

/* TICKET SECTION TITLES */
.ticket-section h3{
font-size:15px;
}

/* TICKET TEXT */
.ticket-section p,
.ticket-section li,
.ticket-section strong{
font-size:13px;
}

/* MASTERCLASS TITLES */
.masterclass-section h3{
font-size:18px;
}

/* MASTERCLASS TEXT */
.masterclass-section p,
.masterclass-section strong{
font-size:14px;
}

/* EVENT META TEXT */
.ticket-summary .event-meta,
.masterclass-meta{
font-size:14px;
}

}

p {
margin-bottom:2px;
}

/* Mobile adjustments for map */
@media (max-width: 768px) {

  .swiper-slide iframe,
  .tp-portfolio-horizontal-content iframe {
    width: 80% !important;
    max-width: 80% !important;
    height: 320px !important;
    margin-top:30px;
  
}

  .venue-title {
    font-size: 15px;
  }

  .venue-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 5px;
  }

.venue-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}

.venue-icon{
  width:16px;
  height:16px;
  fill:#fff;
}

}

.venue-row{
      display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.tp-portfolio-horizontal-btn-border{
background: #f4f700;
}


.tp-portfolio-horizontal-btn-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 26px;
  border-radius:999px;
  background:rgba(255,255,255,0.2);
  border:2px solid rgba(255,255,255,0.4);
  backdrop-filter:blur(6px);
  white-space:nowrap;
margin-top: 40px;
}

.image-viewer{
  position: fixed;
  top: -80px;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;

  /* CENTERING */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.image-viewer img{
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

@media (max-width:768px){

.tp-portfolio-horizontal-content{
left:0;
right:0;
padding:2px;
width:100%;
box-sizing:border-box;
}

}

.masterclass-section p{
overflow-wrap: break-word;
word-break: break-word;
max-width:100%;
}

/* MOBILE TICKETS COMPACT FIX */
@media (max-width:768px){

.ticket-summary{
padding:0 6px;
line-height:1.3;
}

/* Main description */
.tp-portfolio-horizontal-disc{
font-size:14px;
line-height:1.2;
margin-bottom:4px;
}

/* Event meta */
.ticket-summary .event-meta{
font-size:13px;
margin-bottom:8px;
}

/* Force single column */
.ticket-columns{
display:block;
}

/* Ticket sections */
.ticket-section{
width:100%;
padding-right:0;
margin-bottom:8px;
}

/* Section titles */
.ticket-section h3{
font-size:15px;
margin-bottom:4px;
}

/* Paragraph text */
.ticket-section p{
font-size: 14px;
line-height: 1.0;
margin-bottom: 2px;
}

/* Lists */
.ticket-section ul{
padding-left:14px;
margin:4px;
}

.ticket-section li{
font-size:12px;
line-height:1.3;
margin:4px;
}

/* Button spacing */
.tp-portfolio-horizontal-btn-wrap{
margin-top:18px;
}

}

@media (max-width:768px){

.mobile-hero{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:90%;
text-align:center;
}

/* TITLE */
.mobile-hero-title{
font-size:44px;
font-weight:900;
line-height:1.05;
letter-spacing:1px;
margin-bottom:16px;
}

/* COLORS */
.mobile-hero-title .yellow{
color:#ffd400;
}

.mobile-hero-title .white{
color:#ffffff;
}

/* DESCRIPTION */
.mobile-hero-desc{
font-size:15px;
line-height:1.45;
color:#ffffff;
font-weight:500;
}

.mobile-hero-desc strong{
color:#ffd400;
font-weight:800;
}

.tp-portfolio-horizontal-button-wrapper div {
bottom: 10%;
}
}

.tp-portfolio-horizontal-title{
margin-left: -2px;
}

/* default icon color */
.tp-offcanvas-2-right-social svg path{
    fill:#ffffff;
    transition:fill 0.3s ease;
}

/* hover color */
.tp-offcanvas-2-right-social a:hover svg path{
    fill:#ffd400; /* your yellow brand color */
}

.mobile-hero-logo{

max-width:100%;
display:block;
margin:0 auto 15px auto;
}

@media (max-width:768px){
.tp-header-slider-bar.tp-offcanvas-open-btn{
display:none;
}
}


.tp-offcanvas-2-right-info-title{
margin-bottom: 5px;
}

.mobile-hero-desc{
margin-bottom:220px;
}

.tp-offcanvas-2-right-info-item{
    margin-bottom: 10px;
}

.tp-portfolio-horizontal-disc{
margin-bottom:5px;
}




@media (max-width:768px){
.ticket-section h3 {
    color: #ffe600ee !important;
    font-size: 16px;
    margin-bottom: 4px;
    margin-top: 8px;
}
.tp-portfolio-horizontal-btn-label{
margin-top: 6px;
}
}

.tp-offcanvas-2-left.left-box{
    background-image: url('../img/spain_img/spainfinal.JPG');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
 
.tp-offcanvas-2-logo{
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 9px 10px;
    border-radius: 999px;
}

.tp-offcanvas-2-right-social a svg path{
    fill: #000000;   /* icon color */
    transition: fill 0.3s ease;
}

.tp-offcanvas-2-right-social a:hover svg path{
    fill: #ffe600ee;   /* hover color */
}

.tp-offcanvas-2-right-info-title {
margin-bottom: 25px;
}
