* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Language Switcher - Updated to top right */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.lang-btn.active {
    background: white;
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Header */
.header {
    background: linear-gradient(135deg, #000000 0%, #2c2c2c 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 12000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    justify-self: flex-start;
}

.logo {
    width: 120px;
    height: 120px;
    background: #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.logo-placeholder {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 150px;
}

.company-name {
    color: white;
    font-size: 48px;
    font-weight: bold;
    font-family: 'Palatino Linotype', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

/* Navigation - Sağ tarafa hizalanmış modern tasarım */
nav {
    display: flex;
    align-items: center;
    justify-self: flex-end;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu li a {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Hover animasyon efekti */
.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-menu li a:hover::before {
    left: 100%;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Aktif menü öğesi için stil */
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
}

/* Hero Section with Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.slide-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f5f5f5" width="1200" height="600"/><path d="M0,300 Q300,200 600,300 T1200,300 V600 H0 Z" fill="%23e0e0e0"/><circle cx="200" cy="150" r="20" fill="%23666666" opacity="0.3"/><circle cx="800" cy="100" r="15" fill="%23666666" opacity="0.4"/><circle cx="1000" cy="200" r="25" fill="%23666666" opacity="0.2"/></svg>');
}

.slide-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e8e8e8" width="1200" height="600"/><path d="M0,400 Q300,250 600,400 T1200,400 V600 H0 Z" fill="%23d0d0d0"/><rect x="100" y="300" width="80" height="40" fill="%23808080" opacity="0.6"/><rect x="900" y="200" width="60" height="50" fill="%23808080" opacity="0.4"/><rect x="500" y="150" width="70" height="45" fill="%23808080" opacity="0.5"/></svg>');
}

.slide-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ffffff" width="1200" height="600"/><path d="M0,350 Q400,200 800,350 T1200,350 V600 H0 Z" fill="%23f0f0f0"/><polygon points="150,250 200,200 250,250 200,300" fill="%23444444" opacity="0.4"/><polygon points="750,180 800,130 850,180 800,230" fill="%23444444" opacity="0.3"/><polygon points="1050,220 1100,170 1150,220 1100,270" fill="%23444444" opacity="0.5"/></svg>');
}

.slide-image-1 {
    background-image: url('img/anaresim.jpg');
}

.slide-image-2 {
    background-image: url('img/0005.jpeg');
}

.slide-image-3 {
    background-image: url('img/0004.jpeg');
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: slideInUp 1s ease-out;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    animation: slideInUp 1s ease-out 0.3s both;
}

.cta-button {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    color: #000000;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, #f0f0f0, #d0d0d0);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e0e0e0 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000000;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #666666, #333333);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #333333;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #000000;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.service-card p {
    color: #666666;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f8f8, #e0e0e0);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #d0d0d0;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000000;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    background: linear-gradient(45deg, #333333, #666666);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Enhanced Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="20" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="90" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}


.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    border-radius: 2px;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.contact-item i {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

/* WhatsApp and Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    background: linear-gradient(45deg, #128C7E, #25D366);
}

.email-btn {
    background: linear-gradient(45deg, #EA4335, #DB4437);
    color: white;
}

.email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 67, 53, 0.3);
    background: linear-gradient(45deg, #DB4437, #EA4335);
}

.phone-btn {
    background: linear-gradient(45deg, #4285F4, #1976D2);
    color: white;
}

.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
    background: linear-gradient(45deg, #1976D2, #4285F4);
}

/* Contact Form - Enhanced */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    color: #000000;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, #f0f0f0, #d0d0d0);
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

/* Language content visibility */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Telefon numarası renk düzeltmesi - mobil için */
@media (max-width: 768px) {
    .contact-value a {
        color: #ffffff !important;
        text-decoration: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    nav {
        margin-right: 0;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu li a {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    /* Mobil için dil değiştirici butonlarını küçültme ve sağ üstte konumlandırma */
    .language-switcher {
        top: 8px;
        right: 8px;
        padding: 3px;
        border-radius: 20px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
        margin: 0 1px;
    }

    /* Mobil için header'ı daha ince yapma */
    .header {
        padding: 0.3rem 0;
    }

    .nav-container {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        padding: 0 0.5rem;
        height: 60px;
    }

    /* Logo bölümünü küçültme */
    .logo-section {
        gap: 10px;
        margin-left: 0;
    }

    .logo {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    /* Şirket ismini tek satıra sığacak boyutta yapma */
    .company-name {
        font-size: 18px;
        letter-spacing: 0.5px;
        margin-bottom: 0;
        white-space: nowrap;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    /* Mobile'da menüyü gizle */
    nav {
        display: none;
    }

    /* Hero slider'ı header yüksekliğine göre ayarlama */
    .hero-slider {
        margin-top: 60px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    /* Çok küçük ekranlar için ek düzenlemeler */
    .language-switcher {
        top: 5px;
        right: 5px;
        padding: 2px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .nav-container {
        padding: 0 0.3rem;
        height: 55px;
    }

    .logo {
        width: 45px;
        height: 45px;
    }

    .company-name {
        font-size: 16px;
    }

    .hero-slider {
        margin-top: 55px;
    }
}