/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}



ul {
    list-style: none;
}

.section-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f59e0b;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f59e0b;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #f59e0b;
}

.btn:hover {
    background-color: transparent;
    color: #f59e0b;
}

.btn-outline {
    background-color: transparent;
    color: #f59e0b;
}

.btn-outline:hover {
    background-color: #f59e0b;
    color: white;
}

section {
    padding: 80px 20px;
}

/* Header ve Navigasyon */
header {
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo h1 {
    color: #1e3a8a;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #f59e0b;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}



/* Hero Bölümü */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/800') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Özellikler Bölümü */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #f8fafc;
}

.feature {
    text-align: center;
    padding: 30px;
    width: 300px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

/* Hizmetler Bölümü */
.services {
    background-color: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block; /* Link olduğu için block yapıyoruz */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #f59e0b;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 3rem;
    color: #1e3a8a;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.card-cta {
    margin-top: 15px;
    color: #f59e0b;
    font-weight: 600;
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

.card-cta i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card:hover .card-cta i {
    transform: translateX(5px);
}

/* Hizmet Detay Sayfası */
.service-detail {
    padding-top: 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-hero {
    position: relative;
    height: 30vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/api/placeholder/1200/600') center/cover no-repeat;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    margin-bottom: 50px;
    overflow: hidden;
}

.service-hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.service-description {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.service-description h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #f59e0b;
}

.service-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 10px;
}

.service-features h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #f59e0b;
}

.service-features ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f59e0b;
}

.service-gallery {
    margin: 50px 0;
}

.service-gallery h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.service-gallery h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f59e0b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.back-to-services {
    display: block;
    text-align: center;
    margin: 40px 0;
}

.back-to-services .btn {
    padding: 12px 25px;
}

/* Projeler Bölümü */
.projects {
    background-color: white;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.project-info {
    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: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    margin-bottom: 5px;
}

/* İletişim Bölümü */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 2rem;
    color: #f59e0b;
    margin-right: 20px;
    width: 50px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-logo h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f59e0b;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #f59e0b;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-description h2,
    .service-gallery h2 {
        font-size: 1.8rem;
    }
    
    .service-detail-content {
        flex-direction: column;
    }
    
    .service-description, 
    .service-features {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero, .section-header, .feature, .service-card, .service-detail-content, 
.gallery-grid, .project-item, .contact-container {
    animation: fadeIn 1s ease-in-out;
}

/* Lightbox Stilleri */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}


.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    z-index: 10000;
}

.lightbox-controls .prev,
.lightbox-controls .next {
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
}
