:root {
    --primary-color: #0c2461;
    --secondary-color: #f8c291;
    --accent-color: #3c6382;
    --dark-accent: #1e3799;
    --light-color: #f8f9fa;
    --dark-color: #2d3436;
    --gray-color: #636e72;
    --light-gray: #dfe6e9;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --gradient-primary: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    --gradient-secondary: linear-gradient(135deg, #f8c291 0%, #e58e26 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGM2LjYyNyAwIDEyIDUuMzczIDEyIDEycy01LjM3MyAxMi0xMiAxMi0xMi01LjM3My0xMi0xMiA1LjM3My0xMiAxMi0xMnoiIGZpbGw9IiNlM2UzZTMiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvZz48L3N2Zz4=');
    z-index: -1;
    opacity: 0.3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-spacing {
    padding: 100px 0;
}

.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header & Navigation */
header {
    background-color: rgba(12, 36, 97, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-icon {
    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
   
}

.logo-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text .sub {
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 40px;
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(26, 54, 93, 0.7), rgba(26, 54, 93, 0.6)),
        url('/images/heroimage.jpeg') 
        no-repeat center center / cover;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgNDJMMjEgNTUuM0M0MiA2OC43IDg0IDk1LjMgMTI2IDk1LjNDMTY4IDk1LjMgMjEwIDY4LjcgMjUyIDU4QzI5NCA0Ny4zIDMzNiA0Mi4zIDM3OCA0MkM0MjAgNDEuNyA0NjIgNDcuMyA1MDQgNTEuN0M1NDYgNTYgNTg4IDU5IDYzMCA1NEM2NzIgNDkgNzE0IDM1IDc1NiAyOC4zQzc5OCAyMS43IDg0MCAyMyAzODIgMjNDOTI0IDIzIDk2NiAzNSA5ODcgNDBMOTg3IDE0MEg5NjRDODgyIDE0MCA4NDAgMTQwIDc5OCAxNDBDNzU2IDE0MCA3MTQgMTQwIDY3MCAxNDBDNjI4IDE0MCA1ODYgMTQwIDU0NCAxNDBDNTAyIDE0MCA0NjAgMTNAwIDQxNiAxNDBDMzc2IDE0MCAzMzQgMTQwIDI5MCAxNDBDMjQ4IDE0MCAyMDYgMTQwIDE2NCAxNDBDMTIyIDE0MCA4MCAxNDAgNTggMTQwSDBWNjBaIiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMSIvPjwvc3ZnPg==');
    background-size: 100% 100%; /* Bu satırı ekleyin */
    opacity: 0.3;
}
.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 35px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    padding: 16px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(245, 158, 38, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(245, 158, 38, 0.3);
}

.btn i {
    margin-left: 10px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--gradient-secondary);
    color: var(--primary-color);
}

/* Stats Section */
.stats {
    background: var(--gradient-primary);
    color: white;
    padding: 70px 0;
    position: relative;
    z-index: 1;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMjVMMjEgMzkuN0M0MiA1NC4zIDg0IDgzLjcgMTI2IDgzLjdDMTY4IDgzLjcgMjEwIDU0LjMgMjUyIDQwLjNDMjk0IDI2LjMgMzM2IDIxLjcgMzc4IDI1QzQyMCAyOC4zIDQ2MiA0MC4zIDUwNCA0NS4zQzU0NiA1MC4zIDU4OCA0Ny43IDYzMCA0MS43QzY3MiAzNS43IDcxNCAyNy4zIDc1NiAyNS4zQzc5OCAyMy4zIDg0MCAyNyAzODIgMjdDOTI0IDI3IDk2NiAyMSA5ODcgMThMOTg3IDE0MEg5NjRDODgyIDE0MCA4NDAgMTQwIDc5OCAxNDBDNzU2IDE0MCA3MTQgMTQwIDY3MCAxNDBDNjI4IDE0MCA1ODYgMTQwIDU0NCAxNDBDNTAyIDE0MCA0NjAgMTQwIDQxOCAxNDBDMzc2IDE0MCAzMzQgMTQwIDI5MCAxNDBDMjQ4IDE0MCAyMDYgMTQwIDE2NCAxNDBDMTIyIDE0MCA4MCAxNDAgNTggMTQwSDBWNjBaIiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDMiLz48L3N2Zz4=');
    opacity: 0.3;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* About Section */
.about {
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    background: var(--gradient-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(245, 158, 38, 0.2);
}

/* Projects Section */
.projects {
    background-color: #f9f9f9;
}

.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--dark-color);
    padding: 12px 30px;
    margin: 0 10px 15px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(12, 36, 97, 0.15);
    transform: translateY(-3px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-ongoing {
    background: #f8c291;
    color: var(--primary-color);
}

.badge-completed {
    background: #78e08f;
    color: #0a3d62;
}

.badge-upcoming {
    background: #82ccdd;
    color: #0a3d62;
}

.project-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 0.9;
}

.project-overlay a {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
    text-decoration: none;
}

.project-card:hover .project-overlay a {
    transform: translateY(0);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition);
}

.project-link:hover::after {
    width: 100%;
}

.project-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    background: var(--gradient-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(245, 158, 38, 0.2);
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-overlay a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.map-overlay a:hover {
    color: white;
}

.map-overlay a i {
    margin-right: 8px;
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-links h4, .footer-services h4, .footer-social h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-services h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links ul, .footer-services ul {
    list-style: none;
}

.footer-links li, .footer-services li {
    margin-bottom: 12px;
}

.footer-links a, .footer-services a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-links a i, .footer-services a i {
    margin-right: 10px;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons a {
    color: var(--primary-color);
    background-color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Modal - GÜNCELLENMİŞ SABIT HEADER */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.5s ease forwards;
    display: flex;
    flex-direction: column;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--gradient-primary);
    color: white;
    padding: 25px 40px 15px;
    margin-bottom: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 5px 15px rgba(12, 36, 97, 0.2);
    flex-shrink: 0;
}

.modal-header h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
    padding-right: 40px;
}

.modal-body {
    padding: 20px 40px 40px;
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(90vh - 150px);
}

.close-modal {
    position: fixed;
    top: 25px;
    right: 25px;
    background: var(--gradient-secondary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(245, 158, 38, 0.3);
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.modal-section h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Swiper Custom Styles - UPDATED */
.swiper-container {
    width: 100%;
    height: 450px; /* Daha uygun yükseklik */
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5; /* Resim yüklenene kadar arkaplan */
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi tam kaplar, oranları korur */
    transition: transform 0.5s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(12, 36, 97, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.swiper-pagination {
    bottom: 15px !important;
}

/* Tab Content için Swiper Stilleri */
.tab-content .swiper-container {
    height: 400px;
    margin-top: 15px;
}

/* Tam Ekran Swiper */
.fullscreen-swiper {
    width: 90%;
    height: 90%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.fullscreen-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Tam ekranda oranları korur */
    background-color: #000;
}

/* Mobil için Swiper Ayarları */
@media (max-width: 768px) {
    .swiper-container {
        height: 300px;
    }
    
    .tab-content .swiper-container {
        height: 250px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        opacity: 0.7; /* Mobilde her zaman görünür */
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .swiper-container {
        height: 250px;
        border-radius: 10px;
    }
    
    .tab-content .swiper-container {
        height: 200px;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* Modal içindeki Swiper için özel stiller */
.modal .swiper-container {
    margin-top: 0;
}

/* Swiper için loading efekti */
.swiper-slide.swiper-lazy {
    background-color: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Swiper için karanlık overlay */
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

/* Hover efekti için */
.swiper-container:hover .swiper-slide::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0.2) 100%);
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(12, 36, 97, 0.8);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fullscreen-btn:hover {
    background: var(--gradient-secondary);
    color: var(--primary-color);
    transform: scale(1.1);
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.fullscreen-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-swiper {
    width: 90%;
    height: 90%;
}

.close-fullscreen {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gradient-secondary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-fullscreen:hover {
    transform: rotate(90deg);
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .map-container {
        min-height: 400px;
        margin-top: 30px;
    }
     .modal-header{
         border-radius: 0;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
     .hero-buttons{
                display: flex;
                flex-direction: column;
                gap:10px;
            }

            .hero-buttons > .btn-outline{
                margin-left: 0px !important; 
            }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

     .modal-body{
         border-radius: 0;
         max-height: 100%;
    }
     .modal-header{
         border-radius: 0;
    }
    .modal-header, .modal-body {
        padding: 20px;
    }
    .modal-body{
        max-height: 100%;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }

    .projects-filter {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
        gap: 15px;
        justify-items: center;
        max-width: 450px; /* Maksimum genişlik */
        margin-left: auto;
        margin-right: auto;
    }
    
    .filter-btn {
        margin: 0;
        width: 100%; /* Tam genişlik */
        max-width: 190px; /* Mobilde daha küçük */
        padding: 10px 20px;
        font-size: 0.9rem;
    }

        .logo-text .main{
        font-size: 1.2rem;
    }
    
    .logo-icon img{
        height: 65px !important;
        
    }
    
}

@media (max-width: 576px) {
    .container {
        padding: 10px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-spacing {
        padding: 70px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .modal {
        max-height: 100%;
        border-radius: 0;
    }

    .modal-overlay{
        padding: 0;
    }

    .modal-header{
         border-radius: 0;
    }

    .modal-body{
         border-radius: 0;
         max-height: 100%;
    }

    .logo-text .main{
        font-size: 1.2rem;
    }

     .logo-icon img{
        height: 65px !important;
        
    }
}