@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* Brand display font (hero title only): variable weight axis 100 (Thin) – 900 (Black) */
@font-face {
    font-family: "Deuterium";
    src: url("../fonts/DeuteriumVariable.woff2") format("woff2-variations"),
         url("../fonts/DeuteriumVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-main: "Jost";
    --font-display: "Deuterium", var(--font-main), sans-serif;
    --color-blue: #050505;
    --color-green: #03cf76;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-main);
    background-color: #050505;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix for Turkish characters in uppercase */
html[lang="tr"] {
    font-feature-settings: "case" 1, "ss01" 1;
}

/*HEADER*/

header .logo img {
    width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    header .logo img {
        width: 100px !important;
    }
}


/* static/css/style.css */
.glass-header {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Aktif link belirteci */
.nav-link.active {
    color: #fff;
    font-weight: 700;
}

/* Fancybox v6 Özelleştirme (Minimal Glass) */
:root {
  --f-button-bg: rgba(0, 0, 0, 0.4);
  --f-button-hover-bg: rgba(0, 0, 0, 0.7);
  --fancybox-bg: rgba(5, 5, 5, 0.96);
  --fancybox-color: #fff;
  --f-spinner-color-1: rgba(255, 255, 255, 0.1);
  --f-spinner-color-2: rgba(3, 207, 118, 0.8);
}

.f-carousel__slide {
    padding: 20px;
}

/* MODAL BG FIX */
.fancybox__content {
    background-color: #0a0a0a !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 2rem !important;
}

.fancybox__container {
    --fancybox-bg: rgba(5, 5, 5, 0.95);
}
/* static/css/style.css */
.glass-header {
    background: rgba(15, 15, 15, 0.1); /* Antalya'nın parlak ışığında daha iyi görünür */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Aktif link belirteci */
.nav-link.active {
    color: #fff;
    font-weight: 700;
}

/* Fancybox v6 Özelleştirme (Minimal Glass) */
:root {
  --f-button-bg: rgba(0, 0, 0, 0.4);
  --f-button-hover-bg: rgba(0, 0, 0, 0.7);
  --fancybox-bg: rgba(5, 5, 5, 0.96);
  --fancybox-color: #fff;
  --f-spinner-color-1: rgba(255, 255, 255, 0.1);
  --f-spinner-color-2: rgba(3, 207, 118, 0.8);
}

.f-carousel__slide {
    padding: 20px;
}

/* MODAL BG FIX */
.fancybox__content {
    background-color: #0a0a0a !important;
    color: #fff !important;
}

.fancybox__container {
    --fancybox-bg: rgba(5, 5, 5, 0.95);
}


/*HERO*/
.hero-panels-wrapper {
    height: 100vh;
}

.hero-panel {
    transition: flex 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel:last-child {
    border-right: none;
}

.hero-panel-overlay {
    background: linear-gradient(to top, rgba(11, 25, 93, 0.8), transparent);
    opacity: 0;
}

.hero-panel:hover .hero-panel-overlay {
    opacity: 1;
}

.hero-panel-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    transform: scale(0.9);
}

.hero-panel:hover .hero-panel-title {
    transform: scale(1);
}

.hero-panel-btn {
    background: var(--color-green);
    color: var(--color-blue);
    transform: translateY(80px);
    padding: 0.8rem 2.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
}

.hero-panel:hover .hero-panel-btn {
    transform: translateY(0);
}

.hero-panel-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-panels-wrapper {
        flex-direction: column;
    }
    .hero-panel-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) {
    .hero-panel:hover {
        flex: 1.5;
    }
}

/*COACHES*/
.coach-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/*MODALS*/
/* Force white only on unstyled (e.g. CKEditor) content; elements with utility classes keep their own colors */
.modal-container :is(h2, h3, p, span, div):not([class]) {
    color: #ffffff !important;
}

.modal-container {
    scrollbar-width: auto;
    scrollbar-color: rgba(3, 207, 118, 0.3) rgba(255, 255, 255, 0.05);
}

.modal-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(3, 207, 118, 0.4);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(3, 207, 118, 0.6);
}

/* HORIZONTAL SCROLL FOR TABLE */
.schedule-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.schedule-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.schedule-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(3, 207, 118, 0.3);
    border-radius: 10px;
}

.hero-panel-btn-wrapper {
    padding: 10px 0;
}


/* SCHEDULE TABLE STYLES */
.schedule-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table-wrapper th, 
.schedule-table-wrapper td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    text-align: center;
}

.schedule-table-wrapper th {
    background: rgba(3, 207, 118, 0.1);
    color: #03cf76;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.schedule-table-wrapper td {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.schedule-table-wrapper tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.video-container video {
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}


.glass-input {
    background: rgba(255, 255, 255, 0.07) !important; /* Hafif bir zemin rengi şart */
    border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Görünürlüğü sağlayan ana unsur */
    color: #ffffff !important;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Videonun üzerinde metni okutur */
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important; /* Odaklanınca beyaz parlasın */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Form etiketlerini (Labels) daha okunaklı yapalım */
.hero-form-wrapper label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/*FOOTER*/

/* static/css/style.css */

footer .glass-pure {
    opacity: 1;
    visibility: visible;
    will-change: transform, opacity;
}

footer .glass-pure, .social-icon {
    /* Donma ve atlamaları engeller */
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.social-icon {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.02);
}

.social-icon:hover {
    box-shadow: 0 0 20px rgba(3, 207, 118, 0.3);
    border-color: #03cf76;
    transform: translateY(-5px);
}

/* Footer içindeki linklerin alt çizgisi (minimalist) */
.footer-link-active {
    color: #03cf76 !important;
}

.footer-logo img {
    width: 200px;
}

/*ABOUT US*/

/* About bölümü için ekstra dokunuşlar */
.about-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05); /* İçten bir parlama */
}

.feature-item i {
    filter: drop-shadow(0 0 10px rgba(3, 207, 118, 0.3));
}

/* Başlangıçta görünmezlik riskine karşı */
.about-content, .about-image-wrapper {
    will-change: transform, opacity;
}

/* Eğer kullanıcı JavaScript'i kapatmışsa veya GSAP çökse bile
   içeriğin görünür olduğundan emin olalım */
.about-content {
    opacity: 1 !important;
}

/*GALLERY*/


.gallery-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-blue);
    overflow: hidden;
}

/* Başlık Grubu */
.gallery-intro {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-intro .sub-title {
    color: var(--color-green);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.gallery-intro .main-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 200;
    letter-spacing: -2px;
}

.gallery-intro .main-title span {
    font-weight: 800;
    font-style: italic;
}

/* Grid ve Kartlar */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Landscape için biraz daha geniş */
    gap: 25px;
    padding: 0 15px;
}

.gallery-card {
    display: block;
    position: relative;
    /* Landscape Format (3:2 Oranı) */
    aspect-ratio: 3 / 2;
    border-radius: 20px; /* Biraz daha keskin, modern köşeler */
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin kutuyu tam doldurmasını sağlar */
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* Saf Cam Overlay (No Color) */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
} center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}
/* Coach bio (homepage modal) */
.coach-bio p { margin-bottom: 1.25rem; color: inherit !important; }
.coach-bio p:last-child { margin-bottom: 0; }
.modal-container .coach-bio p:first-child { color: rgba(255, 255, 255, 0.92) !important; }

/* Modal with a video behind the overlay: let the video show through */
#luma-modal.has-video .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Service cards: summary on card, detail text in modal */
.service-summary p { margin-bottom: 1rem; }
.service-summary p:last-child { margin-bottom: 0; color: #ffffff; font-weight: 400; }
.service-detail p { margin-bottom: 1.25rem; }
.modal-container .service-detail p { color: rgba(255, 255, 255, 0.75) !important; }
.modal-container .service-detail p:first-child { color: #ffffff !important; font-size: 1.25rem; font-weight: 400; }
.modal-container .service-detail p:last-child { color: #03cf76 !important; font-weight: 400; margin-bottom: 0; }

.font-display { font-family: var(--font-display); }
