/* BM Wangara Club - Ana Stil Dosyası - v2.0 */
/* Cache Busting: <?php echo time(); ?> */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC143C;
    --dark-red: #8B0000;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-gray: #666666;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.7;
    color: var(--white);
    background-color: var(--black);
    font-weight: 400;
    min-height: 100vh;
}

/* Arka plan resmi varsa saydamlık */
body.has-background {
    background-color: transparent;
}

body.has-background .main-header,
body.has-background .features,
body.has-background .recent-section,
body.has-background .members-section,
body.has-background .managers-section,
body.has-background .gallery-section,
body.has-background .sponsors-section,
body.has-background .videos-section,
body.has-background .content-section,
body.has-background .contact-section,
body.has-background .page-header,
body.has-background .main-footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.has-background .feature-card,
body.has-background .member-card,
body.has-background .manager-card,
body.has-background .video-card,
body.has-background .gallery-item,
body.has-background .image-item {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Arial Black', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.header-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.header-logo-img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo-text {
    color: var(--primary-red);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(220, 20, 60, 0.3);
    white-space: nowrap;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

.header-logo a:hover .header-logo-img {
    transform: scale(1.05);
}

.header-logo a:hover .header-logo-text {
    color: var(--dark-red);
}

.instagram-link {
    display: flex;
    align-items: center;
}

.instagram-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.instagram-link a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.5);
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
}

.instagram-link a svg {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-register {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-register:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.logo h1 {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(220, 20, 60, 0.3);
}

.logo a {
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(220, 20, 60, 0.3);
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-red) 50%, var(--black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(220,20,60,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 5%;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 65%;
    width: 100%;
}

.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    pointer-events: none;
}

.hero-slider-controls button {
    pointer-events: auto;
}

.slider-prev,
.slider-next {
    background: rgba(220, 20, 60, 0.8);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    z-index: 11;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(220, 20, 60, 0.3);
    touch-action: manipulation;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(220, 20, 60, 0.3);
    touch-action: manipulation;
    z-index: 11;
    position: relative;
}

.slider-dot.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.2);
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 6rem !important;
    font-weight: 800 !important;
    font-family: 'Rajdhani', sans-serif !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: none !important;
    animation: fadeInUp 1s ease;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}

.bmw-logo {
    position: relative;
    opacity: 0.95;
    flex-shrink: 0;
}

.bmw-logo-left {
    animation: floatLogoLeft 3s ease-in-out infinite;
}

.bmw-logo-right {
    animation: floatLogoRight 3s ease-in-out infinite;
}

.bmw-logo svg {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    transition: transform 0.3s;
    width: 100px;
    height: 100px;
}

.bmw-logo:hover svg {
    transform: scale(1.1) rotate(5deg);
}

@keyframes floatLogoLeft {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(-20px) translateY(-15px) rotate(-5deg);
    }
    50% {
        transform: translateX(0) translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateX(20px) translateY(-15px) rotate(5deg);
    }
}

@keyframes floatLogoRight {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(20px) translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateX(0) translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateX(-20px) translateY(-15px) rotate(-5deg);
    }
}

.hero-subtitle {
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    font-family: 'Poppins', sans-serif !important;
    margin-bottom: 2rem !important;
    line-height: 1.5 !important;
    color: var(--primary-red) !important;
    animation: fadeInUp 1s ease 0.2s both;
    letter-spacing: 1px !important;
}

.btn-hero {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

/* Features */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

body.has-background .features {
    background: rgba(0, 0, 0, 0.6) !important;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.features-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.features-logo {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.features-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(220, 20, 60, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(220, 20, 60, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.has-background .feature-card {
    background: rgba(0, 0, 0, 0.7) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, rgba(26, 26, 26, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s;
    filter: drop-shadow(0 5px 15px rgba(220, 20, 60, 0.3));
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary-red) !important;
    margin-bottom: 1rem;
    font-size: 1.6rem !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.feature-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.feature-link:hover {
    color: var(--white);
    background: rgba(220, 20, 60, 0.1);
    padding-left: 1.5rem;
}

.feature-link:hover::before {
    width: 100%;
}

/* Sections */
.recent-section {
    padding: 80px 0;
}

.recent-section.bg-dark {
    background: var(--dark-gray);
}

.section-title {
    text-align: center !important;
    font-size: 3rem !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary-red) !important;
    margin-bottom: 3rem;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-shadow: 2px 2px 8px rgba(220, 20, 60, 0.3) !important;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.image-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.video-item {
    background: var(--black);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--dark-gray);
    transition: all 0.3s;
}

.video-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.video-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.video-item h3 {
    padding: 1rem;
    color: var(--white);
}

.video-item .btn-primary {
    margin: 0 1rem 1rem;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: calc(100vh - 40px);
    background: var(--black);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 50px rgba(220, 20, 60, 0.3);
    margin-top: 0;
    margin-bottom: 20px;
}

.video-modal-content video {
    width: 100%;
    max-height: 80vh;
    border-radius: 5px;
}

.video-modal-content iframe {
    width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    display: block;
}

/* YouTube iframe için özel stiller */
#modalVideoContainer iframe[src*="youtube.com"],
#modalVideoContainer iframe[src*="youtu.be"] {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
    max-width: 100%;
}

/* Vimeo responsive wrapper için */
.video-modal-content div[style*="padding"] {
    width: 100% !important;
    max-width: 100% !important;
}

.video-modal-content div[style*="padding"] iframe {
    width: 100% !important;
    height: 100% !important;
}

/* Vimeo iframe için özel stiller */
#modalVideoContainer iframe[src*="vimeo.com"] {
    width: 100% !important;
    min-height: 400px;
    max-width: 100%;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.8);
    border-radius: 50%;
    transition: all 0.3s;
}

.video-modal-close:hover {
    background: var(--primary-red);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-red) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 1rem;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-shadow: 2px 2px 10px rgba(220, 20, 60, 0.4) !important;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--primary-red);
}

/* Members Section */
.members-section {
    padding: 80px 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.member-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--black);
    transition: transform 0.3s;
}

.member-image.image-lightbox:hover {
    transform: scale(1.02);
}

.member-image.image-lightbox:hover img {
    opacity: 0.9;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.member-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.member-position {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Managers Section */
.managers-section {
    padding: 80px 0;
}

.managers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.manager-card {
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.manager-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.manager-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--black);
    transition: transform 0.3s;
}

.manager-image.image-lightbox:hover {
    transform: scale(1.02);
}

.manager-image.image-lightbox:hover img {
    opacity: 0.9;
}

.manager-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.manager-info {
    padding: 1.5rem;
}

.manager-info h3 {
    color: var(--primary-red);
    font-size: 1.6rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.manager-position {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 1rem;
}

.manager-bio {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.gallery-category {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Sponsors Section */
.sponsors-section {
    padding: 80px 0;
    position: relative;
    z-index: 10 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.sponsor-card {
    background: rgba(26, 26, 26, 0.9) !important;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
    z-index: 15 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sponsor-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.sponsor-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sponsor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sponsor-logo {
    max-width: 100% !important;
    max-height: 150px !important;
    min-height: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 1rem !important;
    background: #ffffff !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    transition: transform 0.3s !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 20 !important;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
}

.sponsor-logo-placeholder {
    width: 100%;
    min-height: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gray);
    color: var(--text-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    padding: 2rem;
    border: 2px dashed var(--text-gray);
}

.sponsor-name {
    color: var(--primary-red);
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin-top: auto;
    letter-spacing: 1px;
}

.no-content {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
}

.video-card {
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.video-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--black);
}

.video-thumbnail img,
.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail.no-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gray);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
    -webkit-tap-highlight-color: rgba(220, 20, 60, 0.5);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    -webkit-touch-callout: none;
}

.play-button:hover {
    background: var(--dark-red);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.video-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-image {
    margin-bottom: 2rem;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.content-section h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--primary-red);
}

.contact-info h2 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    color: var(--primary-red);
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-gray);
}

.contact-form-wrapper {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form-wrapper h2 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--black);
    border: 2px solid var(--dark-gray);
    border-radius: 5px;
    color: var(--white);
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Terms Box */
.terms-box {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    border: 1px solid var(--primary-red) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--black);
}

.terms-box::-webkit-scrollbar {
    width: 8px;
}

.terms-box::-webkit-scrollbar-track {
    background: var(--black);
    border-radius: 4px;
}

.terms-box::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

.terms-box::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

.terms-box h4 {
    color: var(--primary-red) !important;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600 !important;
}

.terms-box p {
    color: var(--text-gray) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

.terms-box p:last-child {
    margin-bottom: 0 !important;
}

.terms-box strong {
    color: var(--white) !important;
}

/* Checkbox Styling */
.contact-form input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    accent-color: var(--primary-red) !important;
}

.contact-form label[for],
.contact-form label:has(input[type="checkbox"]) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    color: var(--text-gray) !important;
    line-height: 1.5 !important;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid green;
    color: green;
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid red;
    color: red;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-red);
    text-decoration: none;
    border: 2px solid var(--primary-red);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Footer */
.main-footer {
    background: var(--black);
    padding: 60px 0 20px;
    border-top: 2px solid var(--primary-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    color: var(--text-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Register Section */
.register-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-red) 50%, var(--black) 100%);
    position: relative;
}

.register-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.register-content {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(220, 20, 60, 0.3);
}

.register-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
        display: none;
        border-top: 2px solid var(--primary-red);
        z-index: 1001;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(220, 20, 60, 0.2);
        width: 100%;
        text-align: left;
    }
    
    .main-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .main-nav .nav-link:hover {
        background: rgba(220, 20, 60, 0.1);
        padding-left: 1.5rem;
    }
    
    .instagram-link a {
        width: 35px;
        height: 35px;
    }
    
    .instagram-link a svg {
        width: 18px;
        height: 18px;
    }
    
    .header-logo-img {
        max-height: 45px;
    }
    
    .header-logo-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn-register {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-slide {
        padding-left: 3%;
        justify-content: flex-start;
    }
    
    .hero-slide .hero-content {
        max-width: 90%;
    }
    
    .hero-title-wrapper {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .bmw-logo {
        width: 50px;
        height: 50px;
    }
    
    .bmw-logo svg {
        width: 50px;
        height: 50px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .hero-slider-controls {
        bottom: 20px;
        gap: 10px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-logo {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .features-logo img {
        max-width: 200px;
    }
    
    .features-grid,
    .members-grid,
    .managers-grid,
    .images-grid,
    .videos-grid,
    .gallery-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    /* Lightbox mobil stilleri */
    .lightbox-nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 24px !important;
    }
    
    .lightbox-prev {
        left: 10px !important;
    }
    
    .lightbox-next {
        right: 10px !important;
    }
    
    .lightbox-close {
        top: 10px !important;
        right: 15px !important;
        font-size: 35px !important;
    }
    
    .lightbox-image {
        max-height: 70vh !important;
    }
    
    .lightbox-info {
        margin-top: 15px !important;
        padding: 0 15px;
    }
    
    .lightbox-info h3 {
        font-size: 1.2rem !important;
    }
    
    .lightbox-info p {
        font-size: 0.9rem !important;
    }
    
    /* Video Modal Mobil Stilleri */
    .video-modal.active {
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .video-modal-content {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100vh !important;
        height: 100vh !important;
        padding: 10px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow-y: auto;
    }
    
    .video-modal-content video,
    .video-modal-content iframe {
        max-height: calc(100vh - 20px) !important;
        width: 100% !important;
        height: calc(100vh - 20px) !important;
    }
    
    #modalVideoContainer {
        width: 100% !important;
        height: calc(100vh - 20px) !important;
        max-height: calc(100vh - 20px) !important;
    }
    
    /* YouTube iframe mobil */
    #modalVideoContainer iframe[src*="youtube.com"],
    #modalVideoContainer iframe[src*="youtu.be"] {
        min-height: calc(100vh - 20px) !important;
        height: calc(100vh - 20px) !important;
        width: 100% !important;
    }
    
    /* Vimeo wrapper mobil */
    .video-modal-content div[style*="padding"] {
        max-height: calc(100vh - 20px) !important;
        width: 100% !important;
        height: calc(100vh - 20px) !important;
    }
    
    /* Vimeo iframe mobil */
    #modalVideoContainer iframe[src*="vimeo.com"] {
        min-height: calc(100vh - 20px) !important;
        height: calc(100vh - 20px) !important;
        width: 100% !important;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
        z-index: 10002;
    }
    
    /* Video thumbnail play button mobil */
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Touch için daha büyük tıklanabilir alan */
    .video-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    .video-play-btn,
    .video-embed-btn {
        -webkit-tap-highlight-color: rgba(220, 20, 60, 0.3);
        touch-action: manipulation;
    }
    
    /* Image Lightbox Mobil */
    .image-lightbox-modal img {
        max-width: 95% !important;
        max-height: 85vh !important;
    }
    
    /* Gallery Lightbox Mobil */
    .gallery-lightbox-modal img {
        max-width: 95% !important;
        max-height: 70vh !important;
    }
    
    .gallery-lightbox-modal button {
        width: 40px !important;
        height: 40px !important;
        font-size: 24px !important;
    }
    
    .gallery-lightbox-modal .close-btn,
    .gallery-lightbox-modal button[style*="left"] {
        left: 10px !important;
    }
    
    .gallery-lightbox-modal button[style*="right"] {
        right: 10px !important;
    }
    
    .gallery-lightbox-modal .close-btn {
        top: 10px !important;
        right: 10px !important;
    }
    
    .gallery-lightbox-modal div[style*="margin-top"] {
        margin-top: 15px !important;
        padding: 0 10px;
    }
    
    .gallery-lightbox-modal div[style*="margin-top"] h3 {
        font-size: 1.2rem !important;
    }
    
    .gallery-lightbox-modal div[style*="margin-top"] p {
        font-size: 0.9rem !important;
    }
}

/* Image Lightbox Modal */
.image-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-lightbox-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.image-lightbox {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-lightbox:hover {
    transform: scale(1.05);
}

