/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #1e3c72;
    --accent-color: #2a9d8f;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --text-dark: #333;
    --text-light: #fff;
    --border-color: #dee2e6;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

html {
    scroll-behavior: smooth;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-disabled {
    background: var(--gray-color);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Header Styles */
.top-bar {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info i {
    margin-right: 20px;
    color: var(--primary-color);
}

.social-links a {
    color: var(--text-light);
    margin-left: 15px;
}

.social-links a:hover {
    color: var(--primary-color);
}

.header {
    background: var(--text-light);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav .dropdown {
    position: absolute;
    background: var(--text-light);
    box-shadow: var(--box-shadow);
    padding: 10px 0;
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.main-nav li:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown li {
    display: block;
}

.dropdown a {
    padding: 8px 20px;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login, .btn-signup {
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-signup {
    background: var(--primary-color);
    color: var(--text-light);
}

.cart-icon {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--text-light);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
}

.user-dropdown a {
    padding: 8px 20px;
    display: block;
    color: var(--text-dark);
}

.user-dropdown a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-light);
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Video Intro Section */
.video-intro {
    padding: 80px 0;
    background: var(--dark-color);
    color: var(--text-light);
}

.video-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* Events Section */
.upcoming-events {
    padding: 80px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.event-image {
    position: relative;
    height: 200px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    line-height: 1;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    margin-bottom: 10px;
}

.event-details p {
    color: var(--gray-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.event-details i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Bike Rentals Section */
.bike-rentals {
    padding: 80px 0;
    background: var(--light-color);
}

.bikes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.bike-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.bike-card:hover {
    transform: translateY(-5px);
}

.bike-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bike-card h3 {
    padding: 15px 15px 5px;
    margin: 0;
}

.bike-type {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.bike-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
}

.bike-card .btn {
    margin: 15px;
}

/* Training Section */
.training {
    padding: 80px 0;
}

.training-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.training-content h2 {
    margin-bottom: 20px;
}

.training-features {
    list-style: none;
    margin: 30px 0;
}

.training-features li {
    margin-bottom: 10px;
}

.training-features i {
    color: var(--success-color);
    margin-right: 10px;
}

.training-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Fitness Center Section */
.fitness-center {
    padding: 80px 0;
    background: var(--light-color);
}

.fitness-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.fitness-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.fitness-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.fitness-features .feature {
    text-align: center;
    padding: 15px;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.fitness-features i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

/* New Arrivals Section - Horizontal Scrollable */
.new-arrivals {
    padding: 60px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.new-arrivals .container {
    position: relative;
}

/* Scroll indicator for mobile */
.scroll-indicator {
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

.scroll-hint {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

.scroll-hint i {
    margin: 0 5px;
    animation: slideArrow 1.5s infinite;
}

.scroll-hint i.fa-arrow-left {
    animation: slideLeft 1.5s infinite;
}

.scroll-hint i.fa-arrow-right {
    animation: slideRight 1.5s infinite;
}

@keyframes slideLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Scrollable container */
.arrivals-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    padding: 5px 0 20px 0;
    margin: 0 -10px;
    width: calc(100% + 20px);
    position: relative;
}

/* Custom scrollbar for webkit browsers */
.arrivals-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.arrivals-scroll-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.arrivals-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.arrivals-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Arrivals grid - now flex for horizontal scrolling */
.arrivals-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 10px;
    width: max-content;
    min-width: 100%;
}

/* Arrival card - fixed width for consistency */
.arrival-card {
    flex: 0 0 auto;
    width: 280px; /* Fixed width for desktop */
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.arrival-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.arrival-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.arrival-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.arrival-card:hover .arrival-image-container img {
    transform: scale(1.1);
}

/* Sold Out Image Styling */
.arrival-image-container img.sold-out-image {
    filter: grayscale(80%) brightness(0.8);
    opacity: 0.9;
}

/* Diagonal Sold Out Overlay */
.sold-out-overlay {
    position: absolute;
    top: 20px;
    left: -35px;
    background: #dc3545;
    color: white;
    padding: 8px 40px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    z-index: 10;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.3);
    animation: pulseSoldOut 2s infinite;
}

/* Animation for Sold Out overlay */
@keyframes pulseSoldOut {
    0% { background: #dc3545; }
    50% { background: #b02a37; box-shadow: 0 3px 15px rgba(220, 53, 69, 0.5); }
    100% { background: #dc3545; }
}

.arrival-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: glowNew 2s infinite;
}

@keyframes glowNew {
    0% { background: var(--primary-color); }
    50% { background: #ff4d5e; transform: scale(1.05); }
    100% { background: var(--primary-color); }
}

.arrival-card h3 {
    font-size: 1rem;
    padding: 15px 15px 5px;
    margin: 0;
    line-height: 1.4;
    min-height: 50px;
    font-weight: 600;
}

.arrival-type {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 5px;
    text-transform: capitalize;
}

.arrival-price {
    font-weight: 700;
    color: var(--primary-color);
    margin: 5px 0 10px;
    font-size: 1.2rem;
}

.arrival-card .btn-outline {
    margin: 5px 15px 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
}

.arrival-card .btn-disabled {
    margin: 5px 15px 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    background: #e0e0e0;
    color: #999;
    border: none;
    cursor: not-allowed;
    opacity: 0.7;
    border-radius: 30px;
    width: auto;
    display: inline-block;
}

/* Fade edges to indicate scrollability */
.arrivals-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(to right, transparent, rgba(248, 249, 250, 0.9));
    pointer-events: none;
    z-index: 2;
    display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .new-arrivals {
        padding: 40px 0;
    }
    
    /* Show scroll indicator on mobile */
    .scroll-indicator {
        display: block;
    }
    
    /* Adjust card width for mobile - shows 2.5 items */
    .arrival-card {
        width: 160px; /* Smaller cards on mobile */
    }
    
    .arrival-image-container {
        height: 140px;
    }
    
    .arrival-card h3 {
        font-size: 0.9rem;
        padding: 10px 10px 5px;
        min-height: 40px;
    }
    
    .arrival-type {
        font-size: 0.7rem;
    }
    
    .arrival-price {
        font-size: 1rem;
        margin: 3px 0 8px;
    }
    
    .arrival-card .btn-outline,
    .arrival-card .btn-disabled {
        margin: 0 10px 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Adjust sold out overlay for mobile */
    .sold-out-overlay {
        top: 15px;
        left: -30px;
        padding: 5px 30px;
        font-size: 0.7rem;
    }
    
    .arrival-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    /* Show fade effect on mobile */
    .arrivals-scroll-container::after {
        display: block;
    }
}

@media (max-width: 480px) {
    .arrival-card {
        width: 140px; /* Even smaller on very small phones */
    }
    
    .arrival-image-container {
        height: 120px;
    }
    
    .arrival-card h3 {
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    /* Adjust to show exactly 2.5 items */
    .arrivals-scroll-container {
        margin: 0 -15px;
        width: calc(100% + 30px);
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .arrivals-scroll-container {
        -webkit-overflow-scrolling: touch;
    }
    
    .arrival-card:hover {
        transform: none;
    }
    
    .arrival-card:active {
        transform: translateY(-3px);
    }
}

/* Gradient overlays to show scrollability */
.arrivals-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to left, transparent, rgba(248, 249, 250, 0.8));
    pointer-events: none;
    z-index: 2;
    display: none;
}

@media (max-width: 768px) {
    .arrivals-scroll-container::before {
        display: block;
    }
}


/* Shop Preview Section - Horizontal Scrollable */
.shop-preview {
    padding: 60px 0;
    background: var(--text-light);
    position: relative;
    overflow: hidden;
}

.shop-preview .container {
    position: relative;
}

/* Scroll indicator for mobile (reuse from new arrivals) */
.shop-preview .scroll-indicator {
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

.shop-preview .scroll-hint {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

.shop-preview .scroll-hint i {
    margin: 0 5px;
}

.shop-preview .scroll-hint i.fa-arrow-left {
    animation: slideLeft 1.5s infinite;
}

.shop-preview .scroll-hint i.fa-arrow-right {
    animation: slideRight 1.5s infinite;
}

/* Scrollable container */
.products-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    padding: 5px 0 20px 0;
    margin: 0 -10px;
    width: calc(100% + 20px);
    position: relative;
}

/* Custom scrollbar for webkit browsers */
.products-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.products-scroll-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Products grid - now flex for horizontal scrolling */
.shop-preview .products-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 10px;
    width: max-content;
    min-width: 100%;
}

/* Product card - fixed width for consistency */
.shop-preview .product-card {
    flex: 0 0 auto;
    width: 280px; /* Fixed width for desktop */
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.shop-preview .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.shop-preview .product-card:hover .product-image-container img {
    transform: scale(1.1);
}

/* Stock badges */
.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.stock-badge.low-stock {
    background: #ffc107;
    color: #333;
}

.stock-badge.out-of-stock {
    background: #dc3545;
    color: white;
}

.shop-preview .product-card h3 {
    font-size: 1rem;
    padding: 15px 15px 5px;
    margin: 0;
    line-height: 1.4;
    min-height: 50px;
    font-weight: 600;
}

.shop-preview .product-price {
    font-weight: 700;
    color: var(--primary-color);
    margin: 5px 0 10px;
    font-size: 1.2rem;
}

.shop-preview .btn-outline {
    margin: 5px 15px 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
}

.shop-preview .btn-disabled {
    margin: 5px 15px 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    background: #e0e0e0;
    color: #999;
    border: none;
    cursor: not-allowed;
    opacity: 0.7;
    border-radius: 30px;
    width: auto;
    display: inline-block;
}

/* View All Container */
.view-all-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.view-all-container .btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
}

.view-all-container .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.view-all-container .btn-large i {
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.view-all-container .btn-large:hover i.fa-arrow-right {
    transform: translateX(5px);
}

.view-all-container .btn-large:hover i.fa-bicycle {
    transform: rotate(10deg);
}

.view-all-subtitle {
    color: var(--gray-color);
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Fade edges to indicate scrollability */
.products-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    z-index: 2;
    display: none;
}

.products-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.8));
    pointer-events: none;
    z-index: 2;
    display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .shop-preview {
        padding: 40px 0;
    }
    
    /* Show scroll indicator on mobile */
    .shop-preview .scroll-indicator {
        display: block;
    }
    
    /* Adjust card width for mobile - shows 2.5 items */
    .shop-preview .product-card {
        width: 160px; /* Smaller cards on mobile */
    }
    
    .product-image-container {
        height: 140px;
    }
    
    .shop-preview .product-card h3 {
        font-size: 0.9rem;
        padding: 10px 10px 5px;
        min-height: 40px;
    }
    
    .shop-preview .product-price {
        font-size: 1rem;
        margin: 3px 0 8px;
    }
    
    .shop-preview .btn-outline,
    .shop-preview .btn-disabled {
        margin: 0 10px 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Show fade effects on mobile */
    .products-scroll-container::after,
    .products-scroll-container::before {
        display: block;
    }
    
    /* Adjust view all button for mobile */
    .view-all-container .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .view-all-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .shop-preview .product-card {
        width: 140px; /* Even smaller on very small phones */
    }
    
    .product-image-container {
        height: 120px;
    }
    
    .shop-preview .product-card h3 {
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    /* Adjust to show exactly 2.5 items */
    .products-scroll-container {
        margin: 0 -15px;
        width: calc(100% + 30px);
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .products-scroll-container {
        -webkit-overflow-scrolling: touch;
    }
    
    .shop-preview .product-card:hover {
        transform: none;
    }
    
    .shop-preview .product-card:active {
        transform: translateY(-3px);
    }
}

/* Category badge */
.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Product sub-category */
.product-sub-cat {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 5px;
    text-transform: capitalize;
}

/* CSR Section */
.csr {
    padding: 80px 0;
}

.csr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.csr-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.csr-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.csr-content {
    padding: 20px;
}

.csr-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* CSR Page - Clean and Beautiful */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Impact Stats Bar */
.impact-stats-bar {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.stats-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-block {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e63946;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Introduction */
.csr-intro {
    padding: 60px 0;
    background: white;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.intro-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e63946;
}

.intro-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CSR Grid */
.csr-grid-section {
    padding: 60px 0;
    background: #f8f9fa;
}
/*
.csr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}*/

.csr-grid-item {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.csr-grid-item:nth-child(1) { animation-delay: 0.1s; }
.csr-grid-item:nth-child(2) { animation-delay: 0.2s; }
.csr-grid-item:nth-child(3) { animation-delay: 0.3s; }
.csr-grid-item:nth-child(4) { animation-delay: 0.4s; }
.csr-grid-item:nth-child(5) { animation-delay: 0.5s; }
.csr-grid-item:nth-child(6) { animation-delay: 0.6s; }
.csr-grid-item:nth-child(7) { animation-delay: 0.7s; }
.csr-grid-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.csr-grid-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.csr-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.1);
}

.csr-grid-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.csr-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.csr-grid-card:hover .csr-grid-image img {
    transform: scale(1.05);
}

.csr-grid-impact {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #e63946;
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(230,57,70,0.3);
}

.csr-grid-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.csr-grid-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

.csr-grid-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
}

.csr-grid-meta i {
    color: #e63946;
    margin-right: 5px;
    width: 16px;
}

.csr-grid-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.csr-grid-impact-text {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #555;
    border-left: 3px solid #e63946;
    margin-top: auto;
}

.csr-grid-impact-text strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Call to Action */
.csr-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-primary {
    background: white;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-buttons .btn-outline {
    border: 2px solid white;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .csr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .stats-wrapper {
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .stat-block {
        flex: 0 0 45%;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    /*
    .csr-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    */
    .csr-grid-image {
        height: 220px;
    }
    
    .csr-grid-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .csr-grid-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}


/* Gallery Preview */
.gallery-preview {
    padding: 80px 0;
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--text-light);
    text-align: center;
}

.gallery-btn {
    text-align: center;
    margin-top: 40px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--dark-color);
    color: var(--text-light);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form-large {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form-large input[type="text"] {
    flex: 0.5;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-light);
    margin-left: 20px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Events Page Styles */
.events-filter {
    padding: 40px 0;
    background: var(--light-color);
}

.filter-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.events-calendar {
    padding: 60px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.calendar-month {
    background: var(--text-light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.calendar-month h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.month-event img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.month-event p {
    font-weight: 500;
    margin-bottom: 10px;
}

.events-list {
    padding: 60px 0;
}

.event-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.event-image {
    height: 100%;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 30px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    color: var(--primary-color);
}

.event-difficulty {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-difficulty.beginner {
    background: var(--success-color);
    color: var(--text-light);
}

.event-difficulty.intermediate {
    background: var(--warning-color);
    color: var(--text-dark);
}

.event-difficulty.advanced {
    background: var(--danger-color);
    color: var(--text-light);
}

.event-stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat span {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.event-actions {
    display: flex;
    gap: 15px;
}

.registered-badge {
    background: var(--success-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
}

/* Registration Form */
.registration-form-section {
    padding: 60px 0;
}

.registration-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.event-summary {
    background: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.event-summary img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.registration-form {
    background: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Gallery Page */
.gallery-section {
    padding: 60px 0;
}

.gallery-filter {
    padding: 20px 0;
    background: var(--light-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-gallery {
    padding: 60px 0;
    background: var(--light-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item video {
    width: 100%;
    border-radius: 10px;
}

.video-item h3 {
    margin-top: 10px;
    font-size: 1rem;
    text-align: center;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-light);
    font-size: 3rem;
    cursor: pointer;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-light);
    padding: 10px;
    background: rgba(0,0,0,0.5);
}

/* Auth Pages */
.auth-section {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    background: var(--text-light);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray-color);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-links a {
    color: var(--primary-color);
    margin: 0 5px;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--text-light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.stat-content h3 {
    font-size: 1.8rem;
    margin: 0;
}

.stat-content p {
    color: var(--gray-color);
    margin: 0;
}

.admin-section {
    background: var(--text-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.admin-section h2 {
    margin-bottom: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--light-color);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tr:hover {
    background: var(--light-color);
}

.status-badge {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.paid,
.status-badge.active,
.status-badge.confirmed {
    background: var(--success-color);
    color: var(--text-light);
}

.status-badge.pending {
    background: var(--warning-color);
    color: var(--text-dark);
}

.status-badge.cancelled,
.status-badge.failed {
    background: var(--danger-color);
    color: var(--text-light);
}

.status-badge.draft {
    background: var(--gray-color);
    color: var(--text-light);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    color: var(--text-dark);
}

.action-card:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
}

.action-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.action-card span {
    font-weight: 500;
}

/* Admin Form */
.admin-form {
    max-width: 800px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.template-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.template-card h3 {
    margin-bottom: 10px;
}

.template-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Analytics */
.analytics-filter {
    background: var(--text-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.analytics-table {
    width: 100%;
}

.analytics-table th {
    text-align: left;
    padding: 10px;
    background: var(--light-color);
}

.analytics-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .training-wrapper,
    .fitness-wrapper {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        grid-template-columns: 1fr;
    }
    
    .registration-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .filter-form {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }
}


/*UpComing Events Edit*/
/* Enhanced Event Card Styles - UPDATED */
.event-card {
    position: relative;
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.event-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* REDUCED IMAGE SIZE BY HALF */
.event-image {
    position: relative;
    height: 180px; /* Reduced from 250px to 180px (approximately half the visual size) */
    overflow: hidden;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* HOVER EFFECT ONLY ON IMAGE - ZOOM */
.event-image:hover img {
    transform: scale(1.15);
}

/* HOVER OVERLAY - NOW TRIGGERS ON IMAGE HOVER ONLY */
.event-image .event-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 57, 70, 0.9); /* Primary color with opacity */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 15px;
    text-align: center;
    pointer-events: none; /* Allows clicks to pass through to the link */
}

.event-image:hover .event-hover-overlay {
    opacity: 1;
}

.hover-content {
    transform: translateY(15px);
    transition: transform 0.3s ease;
}

.event-image:hover .hover-content {
    transform: translateY(0);
}

.hover-content h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hover-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
}

.hover-register-btn {
    display: inline-block;
    padding: 6px 15px;
    background: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hover-register-btn:hover {
    background: var(--dark-color);
    color: white;
    transform: scale(1.05);
}

/* Full Date Badge - Adjusted for smaller image */
.event-date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 6px;
    border-radius: 8px;
    text-align: center;
    min-width: 55px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,0.2);
}

.event-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1px;
    color: var(--primary-color);
}

.event-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 1px;
}

.event-year {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    line-height: 1;
}

/* Difficulty Badge - Adjusted for smaller image */
.difficulty-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.difficulty-badge.beginner {
    background: #28a745;
    color: white;
}

.difficulty-badge.intermediate {
    background: #ffc107;
    color: #333;
}

.difficulty-badge.advanced {
    background: #dc3545;
    color: white;
}

/* Event Details Section - Now more prominent */
.event-details {
    padding: 15px;
    background: white;
}

.event-details h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.event-card:hover .event-details h3 {
    color: var(--primary-color);
}

.event-meta {
    margin-bottom: 10px;
}

.event-meta p {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.event-meta i {
    color: var(--primary-color);
    width: 18px;
    margin-right: 5px;
    font-size: 0.85rem;
}

.event-action {
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 5px;
}

.register-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.register-link i {
    transition: transform 0.3s ease;
}

.event-card:hover .register-link i {
    transform: translateX(5px);
}

/* Image hover indicator - subtle cue that image is interactive */
.event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230,57,70,0.2) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.event-image:hover::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .event-image {
        height: 160px; /* Slightly smaller on tablets */
    }
}

@media (max-width: 768px) {
    .event-image {
        height: 150px;
    }
    
    .event-date-badge {
        min-width: 50px;
        padding: 6px 4px;
    }
    
    .event-day {
        font-size: 1.2rem;
    }
    
    .event-month {
        font-size: 0.7rem;
    }
    
    .event-year {
        font-size: 0.6rem;
    }
    
    .difficulty-badge {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .event-details {
        padding: 12px;
    }
    
    .event-details h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .event-image {
        height: 140px;
    }
}

/* Animation for event cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }




/* Events Section - Horizontal Scrollable */
.upcoming-events {
    padding: 60px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.upcoming-events .container {
    position: relative;
}

/* Scroll indicator for mobile (reuse from new arrivals) */
.upcoming-events .scroll-indicator {
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

.upcoming-events .scroll-hint {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

/* Scrollable container */
.events-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    padding: 5px 0 20px 0;
    margin: 0 -10px;
    width: calc(100% + 20px);
    position: relative;
}

/* Custom scrollbar for webkit browsers */
.events-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.events-scroll-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.events-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.events-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Events grid - now flex for horizontal scrolling */
.events-grid-scrollable {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 10px;
    width: max-content;
    min-width: 100%;
}

/* Event card - fixed width for consistency */
.upcoming-events .event-card {
    flex: 0 0 auto;
    width: 350px; /* Fixed width for desktop */
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

/* Fade edges to indicate scrollability */
.events-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    z-index: 2;
    display: none;
}

.events-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.8));
    pointer-events: none;
    z-index: 2;
    display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .upcoming-events {
        padding: 40px 0;
    }
    
    /* Show scroll indicator on mobile */
    .upcoming-events .scroll-indicator {
        display: block;
    }
    
    /* Adjust card width for mobile - shows 2.5 items */
    .upcoming-events .event-card {
        width: 250px; /* Smaller cards on mobile */
    }
    
    .event-image {
        height: 150px !important;
    }
    
    .event-details h3 {
        font-size: 1.1rem !important;
    }
    
    /* Show fade effects on mobile */
    .events-scroll-container::after,
    .events-scroll-container::before {
        display: block;
    }
}

@media (max-width: 480px) {
    .upcoming-events .event-card {
        width: 200px; /* Even smaller on very small phones */
    }
    
    .event-image {
        height: 130px !important;
    }
    
    .event-details h3 {
        font-size: 1rem !important;
    }
    
    .event-details p {
        font-size: 0.8rem !important;
    }
}