/* Home Page Styles - Khar Gym Khana */

/* Be Part of the Game Section */
.be-part-section {
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 400;
    color: #fff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.6;
}

/* Sport Cards */
.sport-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    transition: transform 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 100px) 0, 100% 100px, 100% 100%, 0 100%);
}

.sport-card:hover {
    transform: scale(1.02);
}

.sport-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.sport-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sport-card:hover img {
    transform: scale(1.05);
}

.sport-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 40%, 
        rgba(0, 0, 0, 0.7) 80%, 
        rgba(0, 0, 0, 0.9) 100%
    );
    transition: all 0.3s ease;
}

.sport-card:hover .sport-card-overlay {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 30%, 
        rgba(0, 0, 0, 0.6) 70%, 
        rgba(0, 0, 0, 0.8) 100%
    );
}

.sport-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.sport-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.sport-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.sport-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}


.btn-book, .btn-learn {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.375rem;
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
    line-height: normal;
    text-decoration: none;
    border-radius: 20px;
}
.btn-book:hover, .btn-learn:hover {
    color: #033592;
    background-color: #fff;
    border-color: #000;
}



.sport-card-bottom {
    position: relative;
    overflow: hidden;
    height: 300px;
    transition: transform 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 0 100%);
}

.sport-card-bottom:hover {
    transform: scale(1.02);
}

.sport-card-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sport-card-bottom:hover img {
    transform: scale(1.05);
}

/* Show More Button */
.btn-show-more {
    background: white;
    border: 2px solid #e0e6ed;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-show-more:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #4a5568;
    text-decoration: none;
}

.btn-show-more i {
    transition: transform 0.3s ease;
}

.btn-show-more:hover i {
    transform: translateY(2px);
}

/* Take a Tour Section */
.take-tour-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.take-tour-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1759833307569-302d70652fd5?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1170');
    opacity: 0.3;
    background-size: cover;
}

.tour-section-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 160px) 0, 100% 160px, 100% 100%, 0 100%);
}

.video-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-container:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.play-button i {
    font-size: 2rem;
    color: #1e3c72;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.play-button:hover i {
    color: #2a5298;
}

/* Video Error State */
.video-error {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
}

.video-error p {
    max-width: 400px;
    line-height: 1.6;
}

.video-error code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .sport-card-content {
        padding: 1rem;
    }
    
    .sport-actions .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .tour-section-title {
        font-size: 2rem;
    }
    
    .video-thumbnail {
        height: 250px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-container:hover {
        transform: none;
    }
    
    .video-error {
        height: 250px;
    }
    
    .video-error i {
        font-size: 2rem !important;
    }
}

/* Event Galleries Section */
.event-galleries-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
    overflow: hidden;
}

.event-galleries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(https://images.unsplash.com/photo-1759833307569-302d70652fd5?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1170);
    opacity: 0.5;
}

.galleries-section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.gallery-card.featured-event {
    height: 400px;
}

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

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 40%, 
        rgba(0, 0, 0, 0.7) 80%, 
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 30%, 
        rgba(0, 0, 0, 0.6) 70%, 
        rgba(0, 0, 0, 0.8) 100%
    );
}

.gallery-content {
    text-align: left;
    padding: 2rem;
    color: white;
    width: 100%;
    display: none;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.featured-event .gallery-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gallery-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.gallery-card:hover .gallery-content {
    display: block;
}
.gallery-card:hover .gallery-overlay {
    background-color: rgb(14 143 246 / 52%);
}

.btn-gallery {
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gallery:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-gallery-small {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gallery-small:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-view-all-galleries {
    color: #033592;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

/* About Us Section */
.about-us-section {
    background: #f8f9fa;
    position: relative;
}

.about-images-container {
    position: relative;
    height: 650px;
    margin-bottom: 2rem;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 30%, 
        rgba(0, 0, 0, 0.7) 70%, 
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}

.overlay-text {
    text-align: center;
    color: white;
}

.overlay-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f39c12;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-text p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #f39c12;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-image-overlap {
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 50%;
    height: 40%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    border: 4px solid white;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.about-image-overlap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.kg-logo {
    text-align: center;
    color: #033592;
}

.kg-logo i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.25rem;
}

.kg-logo span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 2rem;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #033592;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #033592;
    margin-bottom: 2rem;
    font-weight: 600;
}


/* About Us Responsive */
@media (max-width: 768px) {
    .about-images-container {
        height: 350px;
        margin-bottom: 3rem;
    }
    
    .about-image-main {
        width: 80%;
        height: 50%;
    }
    
    .about-image-overlap {
        width: 70%;
        height: 60%;
    }
    
    .overlay-text h4 {
        font-size: 1rem;
    }
    
    .overlay-text p {
        font-size: 0.9rem;
    }
    
    .kg-logo-overlay {
        width: 60px;
        height: 60px;
    }
    
    .kg-logo i {
        font-size: 1.2rem;
    }
    
    .kg-logo span {
        font-size: 0.9rem;
    }
    
    .about-content {
        padding-left: 0;
        text-align: center;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-description {
        text-align: left;
    }
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: #ffffff;
    position: relative;
}

.events-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #033592;
    margin-bottom: 1rem;
    position: relative;
}
.lineclass::after
{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 1px;
    background: #474747;
}

.events-title-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #033592 0%, #e0e6ed 100%);
    margin-bottom: 1rem;
}

.events-month-tabs {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.month-tab {
    padding: 8px 8px;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.month-tab.active,
.month-tab:hover {
    color: #033592;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-card-body {
    display: flex;
    flex: 1;
    padding: 0;
}

.event-date-section {
            /* padding: 10px 17px; */
    border: solid 1px #9E9E9E;
    position: relative;
    /* width: 75px; */
    padding: 5px 15px;
    margin-right: 10px;
    color: #9E9E9E;
    text-align: center;
}


.event-date-day {
    font-size: 12px;
    line-height: 1;
}

.event-date-month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.event-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size:12px;
    color: #033592;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-time {
    font-size: 10px;
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.event-description {
    font-size: 10px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-event-learn {
    background: transparent;
    color: #033592;
    border: none;
    padding: 0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
}

.btn-event-learn:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Timeline Events */
.events-timeline {
    height: fit-content;
}

.timeline-event {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timeline-event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-date {
    background: #033592;
    color: white;
    padding: 12px;
    text-align: center;
    min-width: 60px;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(3, 53, 146, 0.2);
}

.timeline-day {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
}

.timeline-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0px;
    line-height: 1.3;
}

.timeline-description {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.btn-timeline-join {
    background: transparent;
    color: #033592;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-timeline-join:hover {
    color: #2980b9;
    text-decoration: none;
}

.btn-timeline-join i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-timeline-join:hover i {
    transform: translateX(3px);
}

/* Events Responsive */
@media (max-width: 768px) {
    .events-section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .events-title-line {
        margin-bottom: 2rem;
    }
    
    .events-month-tabs {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .event-image {
        height: 150px;
    }
    
    .event-card-body {
        flex-direction: column;
    }
    
    .event-date-section {
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        min-width: auto;
    }
    
    .event-date-day {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }
    
    .event-date-month {
        font-size: 0.8rem;
        margin-top: 0;
        align-self: flex-end;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.1rem;
    }
    
    .events-timeline {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .timeline-event {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .timeline-date {
        min-width: 50px;
        padding: 10px;
    }
    
    .timeline-day {
        font-size: 1rem;
    }
    
    .timeline-title {
        font-size: 0.9rem;
    }
    
    .timeline-description {
        font-size: 0.8rem;
    }
}


/* Gallery Grid Responsive */
@media (max-width: 768px) {
    .galleries-section-title {
        font-size: 2rem;
    }
    
    .gallery-card.featured-event {
        height: 250px;
    }
    
    .gallery-content {
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 1.2rem;
    }
    
    .featured-event .gallery-title {
        font-size: 1.5rem;
    }
    
    .gallery-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-gallery {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .btn-view-all-galleries {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .take-tour-section,
    .video-container,
    .play-button,
    .event-galleries-section {
        display: none;
    }
    
    .sport-card:hover,
    .sport-card-bottom:hover {
        transform: none;
    }
    
    .btn-show-more {
        display: none;
    }
}

@media (min-width: 1200px) {
    .section-title
    {
        font-size: 35px;
        font-weight: bold;
    }
    .about-description
    {
        font-size: 20px;
    }
}