/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1b2947;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #007264;
}

.nav-logo .logo-img {
    height: 2.2rem;
    max-height: 2.2rem;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    /* Header ile aynı arka plan: transparan bırakıyoruz */
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-right: 10px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #007264;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007264;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher { 
    position: relative; 
    display: flex;
    align-items: center;
}

/* legacy select removed in favor of custom dropdown */
.lang-select { display: none; }

.lang-dropdown { position: relative; }
.lang-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    color: #1b2947;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.lang-button i.fa-globe {
    color: #007264;
    font-size: 1rem;
}
.lang-button:hover { border-color: #cfd6d9; }
.lang-button:active { transform: translateY(1px); }
.lang-button i { color: #007264; font-size: 0.9rem; }

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 8px;
    display: none;
    z-index: 1001;
}

@media (max-width: 768px) {
    .lang-menu {
        min-width: 160px;
        padding: 8px;
        right: 10px;
        left: auto;
        transform: none;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .lang-item {
        padding: 10px 12px;
        font-size: 0.9rem;
        margin-bottom: 2px;
        border-radius: 6px;
    }
    
    .lang-item:last-child {
        margin-bottom: 0;
    }
    
    .lang-item .flag {
        width: 20px;
        height: 15px;
    }
    
    .lang-button {
        padding: 4px 8px;
        font-size: 0.75rem;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 114, 100, 0.2);
        color: #1b2947;
        backdrop-filter: blur(10px);
        gap: 4px;
    }
    
    .lang-button:hover {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(0, 114, 100, 0.3);
    }
    
    .lang-button i.fa-globe {
        font-size: 0.7rem;
    }
    
    .lang-button i.fa-chevron-down {
        font-size: 0.6rem;
    }
    
    .lang-button .lang-code {
        font-size: 0.7rem;
        font-weight: 600;
    }
}
.lang-dropdown.open .lang-menu { display: block; }

.lang-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: #1b2947;
    font-weight: 600;
    transition: background 0.2s ease;
}
.lang-item:hover { background: #f6f9f9; }

.flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}
.flag-tr { background-image: url('../images/flags/tr.svg'); }
.flag-gb { background-image: url('../images/flags/gb.svg'); }
.flag-fr { background-image: url('../images/flags/fr.svg'); }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobil menü aktif durumu */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobil menü */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        gap: 10px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
    }
    
    .nav-logo .logo-img {
        height: 1.3rem;
        max-height: 1.3rem;
        margin-right: 10px;
        vertical-align: middle;
    }
    
    .nav-logo span {
        font-size: 1.3rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1;
        vertical-align: middle;
    }
    
    .lang-switcher {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .lang-dropdown {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(20px);
        padding: 30px 20px;
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 8px 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.3s ease forwards;
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.6s; }

    .nav-menu a {
        font-size: 1rem;
        font-weight: 500;
        padding: 12px 24px;
        display: block;
        color: #1b2947;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-menu a:hover {
        background: linear-gradient(135deg, #007264, #005a52);
        color: white;
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0, 114, 100, 0.3);
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(135deg, #007264, #005a52);
        transition: width 0.3s ease;
        z-index: -1;
    }

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

    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hamburger {
        display: flex;
        z-index: 1000;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(27, 41, 71, 0.85) 0%, rgba(0, 114, 100, 0.85) 100%), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #00d4aa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #00d4aa, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #007264, #005a52);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 114, 100, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a52, #004d45);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 114, 100, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.hero-stats {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    z-index: 2;
}

@media (min-width: 769px) {
    .hero-stats {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 60px;
        z-index: 2;
    }
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item i {
    font-size: 2rem;
    color: #00d4aa;
    margin-bottom: 10px;
    display: block;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Video Animation */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

/* Hero Background Animation */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b2947;
    margin-bottom: 15px;
}

.section-header h2 i {
    color: #007264;
    margin-right: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

.mission-vision {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.mission, .vision {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
}

.mission h3, .vision h3 {
    color: #007264;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.mission h3 i, .vision h3 i {
    margin-right: 10px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #007264, #00b894);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 114, 100, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007264, #00b894);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1b2947;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Equipment Section */
.equipment {
    padding: 100px 0;
    background: #f8f9fa;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.equipment-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.equipment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1b2947, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.equipment-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1b2947;
}

.equipment-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #007264;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1b2947;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    white-space: pre-line;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007264;
}

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

/* Footer */
.footer {
    background: #1b2947;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 32px;
    max-height: 32px;
    width: auto;
    margin-right: 10px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #00d4aa;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4aa;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    white-space: pre-line;
}

.footer-section p i {
    margin-right: 10px;
    color: #007264;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #007264;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c3e50;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Mobil görünümde telefon numaralarının alt alta kalması için */
    .footer-section p,
    .contact-item p {
        white-space: pre-line !important;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: none;
    }
    
    /* iPhone Safari için ekstra düzeltme */
    .footer-section p {
        display: block !important;
        flex-direction: column !important;
    }
    
    .footer-section p i {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        position: relative;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px;
        border-radius: 8px;
        backdrop-filter: blur(10px);
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        gap: 8px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
        display: flex;
        align-items: center;
    }
    
    .nav-logo .logo-img {
        height: 1.2rem;
        max-height: 1.2rem;
        margin-right: 8px;
        vertical-align: middle;
    }
    
    .nav-logo span {
        font-size: 1.1rem;
        line-height: 1;
        vertical-align: middle;
    }
    
    .lang-button {
        padding: 3px 6px;
        font-size: 0.7rem;
        gap: 3px;
    }
    
    .lang-button i.fa-globe {
        font-size: 0.65rem;
    }
    
    .lang-button i.fa-chevron-down {
        font-size: 0.55rem;
    }
    
    .lang-button .lang-code {
        font-size: 0.65rem;
    }
    
    .footer-logo .logo-img {
        height: 32px;
        max-height: 32px;
    }
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .equipment-item {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Çok küçük ekranlar için ek optimizasyon */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 8px;
        gap: 6px;
    }
    
    .nav-logo {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
    }
    
    .nav-logo .logo-img {
        height: 1.1rem;
        max-height: 1.1rem;
        margin-right: 6px;
        vertical-align: middle;
    }
    
    .nav-logo span {
        font-size: 1rem;
        line-height: 1;
        vertical-align: middle;
    }
    
    .lang-button {
        padding: 2px 5px;
        font-size: 0.65rem;
        gap: 2px;
    }
    
    .lang-button i.fa-globe {
        font-size: 0.6rem;
    }
    
    .lang-button i.fa-chevron-down {
        font-size: 0.5rem;
    }
    
    .lang-button .lang-code {
        font-size: 0.6rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

.about-image {
    animation: fadeInRight 1s ease-out;
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.equipment-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar - ince, estetik */
* {
    scrollbar-width: thin;
    scrollbar-color: #c1c7cd rgba(0,0,0,0.05);
}

/* WebKit */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e2e6ea, #c5cbd1);
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.6);
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d5dbe1, #b6bec6);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Styles */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

/* References */
.references { padding: 80px 0; background: #ffffff; position: relative; }
.references::after { content: ''; display: block; height: 1px; background: linear-gradient(90deg, transparent, #e9eef3, transparent); margin-top: 40px; }
.references .container { border: none; border-radius: 16px; padding: 10px 0; box-shadow: none; }
.refs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; align-items: center; }
.ref-item { background: linear-gradient(180deg, #ffffff, #f7f9fb); border: 1px solid #eef2f5; border-radius: 12px; padding: 12px; display: flex; align-items: center; justify-content: center; min-height: 90px; box-shadow: 0 6px 18px rgba(0, 114, 100, 0.06); transition: transform .2s ease, box-shadow .2s ease; }
.ref-item:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,0.06); }
.ref-item img { max-height: 84px; max-width: 100%; object-fit: contain; filter: grayscale(100%) contrast(105%); opacity: .95; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.ref-item:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.03); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Contact: arkaplanı hafif gri yaparak Referanslar'dan ayır */
.contact { background: #f6f8fb; }
.contact::before { content: ''; display: block; height: 1px; background: linear-gradient(90deg, transparent, #e2e8ef, transparent); margin-bottom: 40px; }

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-item-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

.no-images {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-images p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item img {
        height: 180px;
    }
}
