/* ==========================================================================
   ELITE INTERNATIONAL SPORTS - PREMIUM COURT SERVICES STYLESHEET
   ========================================================================== */

/* --- Custom Variables --- */
:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(10, 27, 61, 0.75);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 15px 35px rgba(10, 27, 61, 0.08);
    --shadow-premium-hover: 0 25px 50px rgba(10, 27, 61, 0.18);
    --border-radius-premium: 16px;
}

/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- Premium Hero Section --- */
.hero-full {
    height: 100vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--color-white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 27, 61, 0.9) 0%, rgba(10, 27, 61, 0.6) 50%, rgba(16, 163, 74, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 500;
    color: var(--color-secondary-light);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 700px;
    line-height: 1.6;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--color-secondary-light);
}

.scroll-indicator-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 15px;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 15px; opacity: 0.5; }
    100% { top: 6px; opacity: 1; }
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-premium);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-normal);
}

.glass-card-dark {
    background: rgba(10, 27, 61, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-premium);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    transition: var(--transition-normal);
}

/* --- Hover Lift & Glow Effects --- */
.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-hover);
}

.glow-secondary:hover {
    box-shadow: 0 0 30px rgba(22, 163, 74, 0.3);
    border-color: rgba(22, 163, 74, 0.4);
}

.glow-accent:hover {
    box-shadow: 0 0 30px rgba(234, 88, 12, 0.3);
    border-color: rgba(234, 88, 12, 0.4);
}

.glow-primary:hover {
    box-shadow: 0 0 30px rgba(10, 27, 61, 0.15);
    border-color: rgba(10, 27, 61, 0.2);
}

/* --- Section Dividers --- */
.gradient-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
    margin: 15px 0 25px 0;
}

.gradient-divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Premium Tables --- */
.table-responsive-container {
    overflow-x: auto;
    border-radius: var(--border-radius-premium);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    margin-bottom: 30px;
}

.spec-table-premium {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.95rem;
}

.spec-table-premium th {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 16px 20px;
    font-weight: 600;
    text-align: left;
    border: none;
}

.spec-table-premium td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-neutral-dark);
    transition: var(--transition-fast);
}

.spec-table-premium tr:last-child td {
    border-bottom: none;
}

.spec-table-premium tr:nth-child(even) {
    background-color: var(--color-neutral-light);
}

.spec-table-premium tr:hover td {
    background-color: rgba(22, 163, 74, 0.05);
}

.spec-table-premium td:first-child {
    font-weight: 700;
    color: var(--color-primary);
    width: 30%;
    border-right: 1px solid var(--color-border);
}

/* --- Interactive Timelines --- */
.timeline-premium {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 10px;
}

.timeline-premium::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-secondary) 0%, var(--color-accent) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

@media (max-width: 767.98px) {
    .timeline-premium::after {
        left: 31px;
    }
}

.timeline-container-premium {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

@media (max-width: 767.98px) {
    .timeline-container-premium {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container-premium.left,
    .timeline-container-premium.right {
        left: 0%;
    }
}

.timeline-container-premium.left {
    left: 0;
}

.timeline-container-premium.right {
    left: 50%;
}

.timeline-icon-box {
    position: absolute;
    width: 32px;
    height: 32px;
    right: -16px;
    top: 20px;
    background-color: var(--color-white);
    border: 4px solid var(--color-secondary);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: var(--transition-normal);
}

.timeline-container-premium.right .timeline-icon-box {
    left: -16px;
}

@media (max-width: 767.98px) {
    .timeline-icon-box,
    .timeline-container-premium.right .timeline-icon-box {
        left: 15px;
        right: auto;
    }
}

.timeline-content-premium {
    padding: 24px;
    background: var(--color-white);
    position: relative;
    border-radius: var(--border-radius-premium);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.timeline-content-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium-hover);
    border-color: var(--color-secondary);
}

.timeline-content-premium h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.timeline-content-premium p {
    font-size: 0.9rem;
    color: var(--color-neutral-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.timeline-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

/* --- Masonry/Grid Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    grid-auto-rows: 250px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-premium);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item:nth-child(3n) {
    grid-row-end: span 2;
}

.gallery-item:nth-child(4n) {
    grid-column-end: span 2;
}

@media (max-width: 768px) {
    .gallery-item, .gallery-item:nth-child(3n), .gallery-item:nth-child(4n) {
        grid-row-end: auto;
        grid-column-end: auto;
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 27, 61, 0.9) 0%, rgba(10, 27, 61, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition-normal);
    color: var(--color-white);
}

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

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- Magnetic CTA Button --- */
.btn-magnetic {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Cursor-Aware Card Tilt Helper --- */
.js-tilt {
    transform-style: preserve-3d;
    will-change: transform;
}

.js-tilt > * {
    transform: translateZ(20px);
}

/* --- Detailed Specifications & Structural Graphics --- */
.floor-cross-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
}

.floor-layer {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    border-left: 8px solid;
    transition: var(--transition-normal);
}

.floor-layer:hover {
    transform: scale(1.02);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 27, 61, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- Custom Spacing & Typography --- */
.section-subtitle-premium {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title-premium {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 25px;
}

/* --- Icon Box Utility --- */
.icon-box-premium {
    width: 60px;
    height: 60px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--color-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.glass-card-dark .icon-box-premium {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.glass-card:hover .icon-box-premium {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.glass-card-dark:hover .icon-box-premium {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   TABLE TENNIS EQUIPMENT CATALOG & SLIDER SHOWCASE
   ========================================================================== */

.catalog-section-tt {
    padding: 80px 0;
    background-color: var(--color-neutral-light);
    overflow: hidden;
}

.catalog-slider-wrapper-tt {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    overflow: hidden;
}

.catalog-slider-track-tt {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    will-change: transform;
}

.catalog-slide-tt {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .catalog-slide-tt {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (min-width: 992px) {
    .catalog-slide-tt {
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
}

@media (min-width: 1200px) {
    .catalog-slide-tt {
        flex: 0 0 calc(25% - 18px);
        max-width: calc(25% - 18px);
    }
}

.catalog-card-tt {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-premium);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-card-tt:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-hover);
}

.catalog-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: #f0f0f0;
}

.catalog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.catalog-card-tt:hover .catalog-card-img-wrap img {
    transform: scale(1.08);
}
.catalog-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 27, 61, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 2;
}
.catalog-card-tt:hover .catalog-card-overlay {
    opacity: 1;
}

.catalog-overlay-icon {
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.catalog-card-tt:hover .catalog-overlay-icon {
    transform: scale(1);
}

.catalog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(22, 163, 74, 0.1);
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.catalog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.catalog-card-text {
    font-size: 0.88rem;
    color: var(--color-neutral-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Slider navigation arrows */
.slider-arrow-tt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 27, 61, 0.08);
    transition: all 0.25s ease;
    z-index: 10;
}

.slider-arrow-tt:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.25);
}

.slider-arrow-prev-tt {
    left: -20px;
}

.slider-arrow-next-tt {
    right: -20px;
}

/* Indicator dots */
.slider-dots-tt {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot-tt {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(10, 27, 61, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot-tt.active {
    width: 28px;
    border-radius: 5px;
    background: var(--color-secondary);
}

@media (max-width: 1200px) {
    .slider-arrow-prev-tt {
        left: -10px;
    }
    .slider-arrow-next-tt {
        right: -10px;
    }
}

@media (max-width: 767.98px) {
    .slider-arrow-tt {
        width: 40px;
        height: 40px;
    }
    .slider-arrow-prev-tt {
        left: 5px;
    }
    .slider-arrow-next-tt {
        right: 5px;
    }
}/* ===== ADVANCED CATALOG LIGHTBOX ===== */
.catalog-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 27, 61, 0.98);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.catalog-lightbox.active {
    display: flex;
}

.lb-img-wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-lightbox img {
    max-width: 90vw;
    max-height: 82vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.catalog-lightbox img:active {
    cursor: grabbing;
}

.lb-close {
    position: fixed;
    top: 24px;
    right: 24px;
    color: var(--color-white);
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 100002;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.2s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lb-close:hover {
    opacity: 1;
}

.lb-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 1.6rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 100001;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.lb-prev {
    left: 24px;
}

.lb-next {
    right: 24px;
}

.lb-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 100001;
    background: rgba(10, 27, 61, 0.8);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Zoom Control Bar */
.lb-zoom-controls {
    position: fixed;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 12px;
    z-index: 100002;
}

.lb-zoom-controls button {
    background: rgba(10, 27, 61, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lb-zoom-controls button:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .lb-btn {
        display: none !important;
    }
    .lb-zoom-controls {
        top: auto;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
    }
    .lb-zoom-controls button {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    .lb-close {
        top: 15px;
        right: 15px;
        font-size: 1.8rem;
        background: rgba(10, 27, 61, 0.6);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

