/* Global Styles */
:root {
    --primary-color: #ffcc00;
    --secondary-color: #000000;
    --accent-color: #ff6600;
    --light-color: #ffffff;
    --dark-color: #111111;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--light-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.underline {
    height: 4px;
    width: 70px;
    background: var(--primary-color);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.underline:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    top: 0;
    left: -100%;
    animation: underline-animation 2s infinite;
    z-index: 1;
}

@keyframes underline-animation {
    0% {
        left: -100%;
    }
    50% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

section {
    padding: 80px 0;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 20px;
    position: relative;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.6rem;
    color: var(--light-color);
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* About Section */
.about {
    background-color: var(--dark-color);
    position: relative;
    padding-top: 50px;
    margin-top: 0;
    z-index: 0;
}

.about::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,0 L100,100 Z" fill="%23ffcc00" opacity="0.05"/></svg>');
    background-size: cover;
    z-index: -1;
}

.about::after {
    content: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.about-text {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin-top: 20px;
}

.image-container {
    width: 450px;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.image-container:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.image-container:first-child {
    transform: perspective(1000px) rotateY(5deg);
}

.image-container:last-child {
    transform: perspective(1000px) rotateY(-5deg);
}

.image-container:first-child:hover {
    transform: perspective(1000px) rotateY(5deg) translateY(-15px);
}

.image-container:last-child:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-15px);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.features:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.05;
    top: -150px;
    left: -150px;
}

.features:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.05;
    bottom: -150px;
    right: -150px;
}

.features-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.feature-box:hover:before {
    width: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-box:hover h3 {
    color: var(--secondary-color);
}

.feature-box p {
    transition: var(--transition);
}

.feature-box:hover p {
    color: var(--secondary-color);
}

/* Games Section */
.games {
    position: relative;
    background-color: var(--dark-color);
}

.games:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 L0,100 Z" fill="%23ffcc00" opacity="0.05"/></svg>');
    background-size: cover;
}

.games-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.game-card {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.game-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.game-img:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-img img {
    transform: scale(1.1);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.game-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Equipment Section Styles */
.equipment {
    position: relative;
    background-color: var(--dark-color);
    background-image: url('images/bmw.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding: 80px 0;
}

.equipment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.equipment .section-header {
    position: relative;
    z-index: 2;
}

.equipment-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.steering-wheel {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-10deg);
    transition: transform 0.5s ease;
    opacity: 0;
    transform: translateY(50px) rotate(-10deg);
}

.steering-wheel.animate {
    animation: wheel-entrance 1s forwards;
}

@keyframes wheel-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-10deg);
    }
}

.steering-wheel:hover {
    transform: rotate(0deg);
}

.wheel-image {
    max-width: 100%;
    transition: filter 0.5s ease;
    transform-origin: center;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 50%;
}

@keyframes wheel-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



.wheel-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(255, 204, 0, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.steering-wheel:hover .wheel-glow {
    opacity: 1;
}

.equipment-text {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
}

.equipment-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.equipment-text h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.equipment-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--light-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.equipment-features {
    margin-bottom: 30px;
}

.equipment-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--light-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.equipment-features li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Media queries for the equipment section */
@media screen and (max-width: 992px) {
    /* Remove the background-attachment change so mobile keeps the fixed effect */
    /* .equipment {
        background-attachment: scroll;
    } */
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-left, 
    .contact-right {
        width: 100%;
    }
    
    .contact-right {
        height: 350px;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-text,
    .contact-wrapper {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .equipment-content {
        flex-direction: column;
    }
    
    .steering-wheel, .equipment-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .steering-wheel {
        order: 1;
        width: 280px;
        height: 280px;
    }
    
    .wheel-image {
        width: 280px;
        height: 280px;
        max-width: 100%;
        object-fit: contain;
    }
    
    .equipment-text {
        order: 2;
    }
    
    .equipment-features li {
        font-size: 1rem;
    }
    
    .sliding-car {
        position: relative;
        width: 100%;
        max-width: 100%;
        top: auto;
        right: -150%;
        transform: none;
        margin-top: 30px;
        text-align: center;
        transition: right 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
        opacity: 0;
    }
    
    .sliding-car.active {
        right: 0;
        opacity: 1;
    }
    
    .car-slide-image {
        width: 80%;
        margin: 0 auto;
        filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.3));
    }
}

@media screen and (max-width: 480px) {
    .contact-right {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-box,
    .game-card {
        min-width: 100%;
    }
    
    .about-content,
    .contact-wrapper {
        padding: 0 20px;
    }
}

/* İletişim Bölümü - Tamamen Yeni */
.contact {
    background-color: #000000;
    padding: 60px 0;
    text-align: center;
}

.iletisim-baslik {
    color: #ffcc00;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.iletisim-alt-cizgi {
    height: 4px;
    width: 70px;
    background: #ffcc00;
    margin: 0 auto 40px auto;
}

.iletisim-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.iletisim-sol {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

.iletisim-bilgi {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    text-align: left;
}

.iletisim-bilgi i {
    font-size: 2rem;
    color: #ffcc00;
    margin-right: 20px;
}

.iletisim-bilgi p {
    font-size: 1.1rem;
    color: #ffffff;
}

.instagram-alan {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.instagram-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.instagram-icon:hover {
    background-color: #ffcc00;
    transform: translateY(-5px);
}

.instagram-icon i {
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.instagram-icon:hover i {
    color: #000000;
}

.harita-alan {
    flex: 2;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #ffcc00;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .iletisim-container {
        flex-direction: column;
    }
    
    .iletisim-sol {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .harita-alan {
        width: 100%;
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .iletisim-baslik {
        font-size: 2rem;
    }
    
    .iletisim-bilgi {
        flex-direction: column;
        text-align: center;
    }
    
    .iletisim-bilgi i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .harita-alan {
        height: 300px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-right: 30px;
    margin-bottom: 15px;
}

.footer-links li a {
    font-weight: 500;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .slide-content {
        left: 5%;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-wrapper {
        padding: 0 50px;
    }
    
    .about-images {
        gap: 30px;
    }
    
    .image-container {
        width: 420px;
        height: 420px;
    }
}

@media screen and (max-width: 950px) {
    .about-images {
        flex-direction: column;
        gap: 40px;
    }
    
    .image-container {
        width: 450px;
        height: 450px;
    }
    
    .image-container:first-child,
    .image-container:last-child {
        transform: none;
    }
    
    .image-container:first-child:hover,
    .image-container:last-child:hover {
        transform: translateY(-15px);
    }
}

@media screen and (max-width: 520px) {
    .image-container {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-box,
    .game-card {
        min-width: 100%;
    }
    
    .about-content,
    .contact-wrapper {
        padding: 0 20px;
    }
    
    .map-container {
        height: 300px;
    }
}

.hero .navigation, .hero .dots-container, .hero .slide-content {
    z-index: 6;
    position: relative;
}

/* Temizlenen firma info stilleri */
.firma-info, 
.firma-card,
.firma-logo,
.firma-description,
.firma-buttons,
.info-toggle {
    display: none;
}

/* Scroll animation */
.scroll-target {
    animation: highlight 1s ease;
}

@keyframes highlight {
    0% {
        box-shadow: 0 0 0 rgba(255, 204, 0, 0);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 0 rgba(255, 204, 0, 0);
    }
}

/* Sliding Car Animation */
.sliding-car {
    position: absolute;
    top: 50%;
    right: -100%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
    z-index: 3;
    opacity: 0;
    transition: right 1s ease-out, opacity 1s ease-out;
}

.sliding-car.active {
    right: 0;
    opacity: 1;
}

.car-slide-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-left, 
    .contact-right {
        width: 100%;
    }
    
    .contact-right {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .contact-right {
        height: 300px;
    }
}