*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent-blue: #0066cc;
    --accent-red: #cc0033;
    --accent-gold: #f0a500;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --gradient-bmw: linear-gradient(180deg, #0066cc, #cc0033);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-stripe {
    width: 4px;
    height: 30px;
    background: var(--gradient-bmw);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: 0.3s;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
    overflow: hidden;
    padding-top: 80px;
}

/* Particle Canvas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Animated Glowing Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(0,102,204,0.15);
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    bottom: -15%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(204,0,51,0.12);
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: rgba(0,102,204,0.06);
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.15); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.3); opacity: 1; }
}

/* Animated Grid Lines */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animated Stripe */
.hero-stripe {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 30px;
    animation: stripeSlideDown 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-stripe span {
    width: 6px;
    height: 0;
    border-radius: 3px;
    animation: stripeGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stripe span:nth-child(1) {
    background: #0066cc;
    animation-delay: 0.3s;
}
.hero-stripe span:nth-child(2) {
    background: #cc0033;
    animation-delay: 0.5s;
}
.hero-stripe span:nth-child(3) {
    background: #0066cc;
    animation-delay: 0.7s;
}

@keyframes stripeGrow {
    0% { height: 0; opacity: 0; }
    100% { height: 60px; opacity: 1; }
}

@keyframes stripeSlideDown {
    0% { transform: translateY(-30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Glowing shimmer text */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff 0%, #7eb8f7 25%, #ffffff 50%, #f7a7b8 75%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both,
               shimmer 4s linear 2s infinite;
}

@keyframes heroTitleReveal {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.hero h1 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 8px;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    margin-top: 10px;
    animation: subtitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

@keyframes subtitleReveal {
    0% { opacity: 0; letter-spacing: 20px; }
    100% { opacity: 1; letter-spacing: 8px; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 20px auto 40px;
    line-height: 1.7;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.hero-brands img {
    height: 55px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.hero-brands img:hover {
    opacity: 1;
}

.brand-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: brandPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.3s;
}

.brand-icon:nth-child(1) { animation-delay: 1.4s; }
.brand-icon:nth-child(2) { animation-delay: 1.6s; }
.brand-icon:nth-child(3) { animation-delay: 1.8s; }

.brand-icon:hover {
    transform: scale(1.15) translateY(-5px);
}

.brand-icon:hover svg {
    filter: drop-shadow(0 0 15px rgba(0,102,204,0.6));
}

@keyframes brandPop {
    0% { opacity: 0; transform: scale(0.3) translateY(20px); }
    60% { transform: scale(1.1) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.brand-icon span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-icon svg {
    transition: filter 0.3s;
}

/* Rotating gear ring around brands */
.hero-brands-wrapper {
    position: relative;
    display: inline-block;
    padding: 30px 0;
}

.gear-ring {
    position: absolute;
    border: 1px dashed rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.gear-ring-1 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: gearSpin 60s linear infinite;
}

.gear-ring-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: gearSpin 45s linear infinite reverse;
}

@keyframes gearSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.gear-ring::before, .gear-ring::after {
    content: '⚙';
    position: absolute;
    font-size: 0.8rem;
    opacity: 0.12;
    color: white;
}

.gear-ring-1::before { top: -8px; left: 50%; }
.gear-ring-1::after { bottom: -8px; left: 50%; }
.gear-ring-2::before { top: 50%; left: -8px; }
.gear-ring-2::after { top: 50%; right: -8px; }

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 2s both;
}

/* Pulse animation on CTA buttons */
.btn-primary {
    animation: btnPulse 2.5s ease-in-out 3s infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,102,204,0.3); }
    50% { box-shadow: 0 4px 40px rgba(0,102,204,0.6), 0 0 60px rgba(0,102,204,0.2); }
}

.btn-whatsapp {
    animation: btnPulseGreen 2.5s ease-in-out 3.5s infinite;
}

@keyframes btnPulseGreen {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
    50% { box-shadow: 0 4px 40px rgba(37,211,102,0.6), 0 0 60px rgba(37,211,102,0.2); }
}

/* Floating badge */
.hero-badge {
    display: inline-block;
    background: rgba(0,102,204,0.12);
    border: 1px solid rgba(0,102,204,0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7eb8f7;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both,
               badgeGlow 3s ease-in-out 2s infinite;
}

@keyframes badgeGlow {
    0%, 100% { border-color: rgba(0,102,204,0.25); box-shadow: none; }
    50% { border-color: rgba(0,102,204,0.5); box-shadow: 0 0 20px rgba(0,102,204,0.15); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 2.5s both;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 13px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    box-shadow: 0 4px 20px rgba(0,102,204,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0,102,204,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(0,102,204,0.1);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* SECTION COMMONS */
section {
    padding: 100px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.section-line span {
    width: 4px;
    height: 30px;
    border-radius: 2px;
}

.section-line span:nth-child(1) { background: #0066cc; }
.section-line span:nth-child(2) { background: #cc0033; }
.section-line span:nth-child(3) { background: #0066cc; }

/* HIZMETLER */
.services {
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-bmw);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,102,204,0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* GALERI */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    pointer-events: none;
}

/* USTALAR */
.team {
    background: var(--secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-bmw);
    border-radius: 0 0 4px 4px;
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #cc0033);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-card .team-title {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.team-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,102,204,0.1);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 1px solid rgba(0,102,204,0.2);
}

.team-phone:hover {
    background: rgba(0,102,204,0.2);
    border-color: var(--accent-blue);
}

.team-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #25d366;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.team-whatsapp:hover {
    color: #2be06f;
}

/* İLETİŞİM */
.contact {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0,102,204,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p, .contact-item a {
    color: var(--text-light);
    font-size: 1.05rem;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-blue);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* FOOTER */
.footer {
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* SCROLL TOP */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,102,204,0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15,15,26,0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-phone-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero h1 span {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }

    .hero-brands {
        gap: 30px;
    }

    .hero-brands img {
        height: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
