@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #FFFFFF;
    --secondary-color: #AAAAAA;
    --background-color: #0A0A0A;
    --surface-color: #1A1A1A;
    --border-color: #2A2A2A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sofia Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden; /* YATAY KAYDIRMAYI ENGELLE */
}

main {
    padding-top: 85px; /* Adjust for fixed nav height */
}

#hero + main {
    padding-top: 0; /* Remove padding when hero section is present */
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 6rem 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

nav.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-main {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: 2.5rem;
}

.btn-nav-career {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-nav-career:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.separator {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
    margin: 0 1.5rem;
}

.nav-icon {
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.nav-contact {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-left: 1.5rem;
}

.nav-contact i {
    margin-right: 0.7rem;
    font-size: 1.2rem;
}

.nav-links li a.active {
    position: relative;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: #000;
    overflow: hidden; /* Prevent scrollbars from animation */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3; /* Lower the opacity of the animation canvas */
}

#hero::after {
    content: '';
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100px;
}

.hero-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100px;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider .slide {
    display: none; /* Varsayılan olarak gizle */
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    transition: visibility 0s 1s, opacity 1s ease-in-out; /* Geçişi düzelt */
}

.hero-slider .slide.active {
    display: block; /* Aktif olanı göster */
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.hero-slider .slide.active h1 {
    animation: slideUpFadeIn 1s ease-out forwards;
}

.scroll-down-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.scroll-down {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Genel Bölüm Başlığı Stili */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-title p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

/* Scroll to top button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hakkımızda Bölümü */
#about {
    background-color: #111; /* Koyu arka plan */
    color: #e0e0e0; /* Açık metin rengi */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Sol ve sağ için iki eşit sütun */
    gap: 50px;
    align-items: stretch; /* Sütunların yüksekliklerini eşitler */
}

.about-content.no-image .about-text-column {
    grid-column: 1 / -1; /* Span all columns when no image */
}

.about-text-column {
    display: flex;
    flex-direction: column; /* İçerikleri dikeyde hizalamak için */
    justify-content: center; /* Metinleri dikeyde ortalamak için */
}

.about-image-column {
    display: flex;
}

.about-image-column img {
    width: 100%;
    height: 100%; /* Sütun yüksekliğine tamamen uyması için */
    object-fit: cover; /* Görüntünün oranını koruyarak kaplaması için */
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.about-text-column h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text-column p {
    line-height: 1.7;
    margin-bottom: 30px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Yan yana iki eşit sütun */
    gap: 20px;
    margin-top: auto; /* Kartları metin bloğunun en altına iter */
}

.vision-mission-card {
    background: rgba(255, 255, 255, 0.05); /* Yarı saydam arka plan */
    backdrop-filter: blur(10px); /* Glassmorphism etkisi */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.vision-mission-card h4 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.vision-mission-card h4 i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.vision-mission-card p {
    color: #c0c0c0;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Services Section */
#services {
    background-color: var(--surface-color);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--background-color);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
    background-color: var(--surface-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background-color: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.service-item i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}


/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item::before {
    content: '\f065'; /* Font Awesome expand icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 3rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.portfolio-item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none; /* Disable direct interaction with the image */
    user-select: none; /* Prevent image selection/dragging */
    -webkit-user-select: none;
    -moz-user-select: none;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}


/* Referanslar Bölümü - Kayan Bant */
#references {
    background-color: var(--background-color);
    padding: 6rem 0;
    overflow: hidden; /* Prevent horizontal scroll on mobile */
}

#references h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.reference-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.reference-slider::before,
.reference-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}

.reference-slider::before {
    left: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 0), var(--background-color));
}

.reference-slider::after {
    right: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0), var(--background-color));
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.reference-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.reference-logo {
    height: 80px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(1) brightness(0.8);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.reference-logo:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Career Section */
.career-box {
    background: var(--surface-color);
    padding: 4rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Contact Section */
#contact {
    background: var(--background-color);
}

/* İletişim Formu Profesyonel Tasarım */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .contact-form .form-group {
        flex-direction: row;
    }
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f0f0f0' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}


/* Buton Stilleri */
.contact-form .btn {
    width: 100%;
    padding: 15px;
    background-color: #000000; /* Siyah arkaplan */
    color: white;
    border: 2px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
}

.contact-form .btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Form Gönderim Mesajları (AJAX için) */
#form-status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    display: none; /* Varsayılan olarak gizli */
}

#form-status-message.success {
    background-color: #2ecc71;
    border: 1px solid #27ae60;
    display: block; /* Görünür yap */
}

#form-status-message.error {
    background: #4d2d2d;
    color: #ffc2c2;
    border-color: var(--error-color);
    display: block; /* Görünür yap */
}

/* Footer */
footer {
    background-color: #111;
    color: var(--secondary-color);
    padding: 5rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 1.5fr 2.5fr 1.5fr; /* 4 sütunlu yapı */
    gap: 2rem; /* Sütunlar arası boşluk */
    margin-bottom: 4rem;
    align-items: start;
}

.footer-col h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-bio {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 5px;
}

.footer-contact a {
    color: var(--secondary-color);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-col-partners {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Logoları yukarı hizala */
    padding-top: 8px; /* İletişim başlığı ile hizalamak için ince ayar */
}

.partner-logos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partner-logos a {
    display: block;
    line-height: 0; /* a etiketinin fazladan boşluk yaratmasını engelle */
}

.partner-logos img {
    max-width: 130px; /* Logoların genişliği */
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logos a:hover img {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Career Page Specific Styles */
.career-page-header {
    height: 60vh;
    background-color: #000;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
}

.career-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.career-page-header .container {
    position: relative;
    z-index: 2;
}

.career-page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.career-page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary-color);
}

.job-listings {
    padding: 6rem 0;
}

.job-listing {
    background: var(--surface-color);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: var(--surface-color);
}

.job-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background-color: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.job-listing h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.job-listing .location {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.job-listing .location i {
    margin-right: 0.5rem;
}

.apply-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.apply-button:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .career-page-header h1 {
        font-size: 2.5rem;
    }
    .career-page-header p {
        font-size: 1.1rem;
    }
}

#hero h1 {
    font-weight: 700; /* Make hero text bolder */
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

/* Floating Astronauts */
@keyframes float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-25px) translateX(15px) rotate(5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

@keyframes float-reverse {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(20px) translateX(-10px) rotate(-5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}


.floating-astronauts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Make sure they don't block clicks */
}

.floating-astronauts i {
    position: absolute;
    color: rgba(255, 255, 255, 0.15); /* Subtle white color */
}

.astronaut-1 {
    top: 15%;
    left: 10%;
    font-size: 5rem;
    animation: float 12s ease-in-out infinite;
}

.astronaut-2 {
    top: 60%;
    right: 8%;
    font-size: 3rem;
    animation: float-reverse 15s ease-in-out infinite;
    animation-delay: 2s;
}

.astronaut-3 {
    top: 30%;
    left: 55%;
    font-size: 2rem;
    animation: float 18s ease-in-out infinite;
    animation-delay: 4s;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 85%;
    animation-name: zoom;
    animation-duration: 0.4s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none; /* Prevent dragging on Safari */
}

@keyframes zoom {
    from {transform: scale(0.8)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
    }
    main {
        padding-top: 70px; /* Adjust for smaller nav */
    }
    .nav-main {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        background: hsl(0 0% 0% / 0.9);
        backdrop-filter: blur(1rem);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    .nav-main[data-visible="true"] {
        transform: translateX(0%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        text-align: center;
    }

    .nav-right {
        flex-direction: column;
        margin-top: 3rem;
        margin-left: 0;
        gap: 1.5rem;
    }

    .separator {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
    }

    h1 {
        font-size: 3rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image-column {
        margin-top: 3rem;
    }
    #hero {
        min-height: 80vh;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütun */
    }
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .portfolio-grid {
         grid-template-columns: repeat(2, 1fr);
    }
    .contact-form .form-group {
        flex-direction: column;
        gap: 20px; /* Mobil için aralığı geri ekle */
    }
     h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-slider .slide {
        width: 95%;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
} 