html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Header yüksekliği kadar */
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #071426;
    color: white;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(10, 61, 98, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #1B9CFC;
}

nav ul li a.active {
    color: #1B9CFC;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #1B9CFC;
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.4s ease;
}

/* X animasyonu */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(7, 20, 38, 0.95);
        backdrop-filter: blur(15px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
    }

    .nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .nav.active {
        transform: translateX(0);
        right: 0;
    }

    .hamburger {
        display: flex;
        color: white;
    }

}

.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(10, 61, 98, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 0 10px #1B9CFC,
        0 0 20px #1B9CFC,
        0 0 40px rgba(27, 156, 252, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem;
    }
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #1B9CFC, #0A3D62);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.4s;
}

.btn:hover {
    transform: scale(1.1);
}

.gallery,
.contact-section {
    padding: 100px 10%;
    text-align: center;
}

/*.cards {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
gap: 30px;
margin-top: 50px;
}

.card {
padding: 40px;
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
backdrop-filter: blur(5px);
border-radius: 15px;
transition: 0.4s;
}*/

.card:hover {
    transform: translateY(-10px);
    background: rgba(27, 156, 252, 0.2);
}

.gallery-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 60px;
}

.gallery-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 25px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #1B9CFC, #0A3D62);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(27, 156, 252, 0.3);
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(27, 156, 252, 0.5);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.gallery-item {
    flex: 0 0 calc((100% - 50px) / 3);
    /* 3 items and 2 gaps (25px) */
    background: #0f1f35;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    text-align: center;
}

@media (max-width: 900px) {
    .gallery-item {
        flex: 0 0 calc((100% - 25px) / 2);
    }
}

@media (max-width: 600px) {
    .gallery-item {
        flex: 0 0 100%;
    }

    .gallery-slider-container {
        padding: 0 40px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}


.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-text {
    padding: 15px;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(45deg, #1B9CFC, #0A3D62);
    border-radius: 20px;
    font-size: 13px;
}


/* Gelişmiş Footer */
.footer {
    background: linear-gradient(to top, #020813, #071426);
    padding: 100px 10% 30px;
    border-top: 1px solid rgba(27, 156, 252, 0.2);
    font-size: 16px;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    text-align: center;
}

.footer-col h3 {
    font-family: 'Orbitron', sans-serif;
    color: #1B9CFC;
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #1B9CFC;
    border-radius: 3px;
}

.footer-col p {
    color: #a0aabf;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #a0aabf;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #1B9CFC;
    transform: translateY(-5px);
}

.social-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(221, 42, 123, 0.3);
}

.social-links a[aria-label="WhatsApp"]:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #6c7a9c;
    font-size: 15px;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 5% 20px;
    }

    .footer-container {
        gap: 40px;
    }
}

/* Scroll Animasyon */

.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.9s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/*Hizmetlerim Bölümü*/
.services {
    padding: 100px 10%;
    background: linear-gradient(180deg, #071426 0%, #0A3D62 100%);
}

.service-item {
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(27, 156, 252, 0.2);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: 0.4s ease;

}

.service-item:hover {
    box-shadow: 0 0 30px rgba(27, 156, 252, 0.4);
}

.service-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(27, 156, 252, 0.5);
    transition: transform 0.3s;
}

.service-title:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.arrow {
    margin-left: auto;
    transition: transform 0.3s;
    color: #1B9CFC;
}

.service-item.open-service .arrow {
    transform: rotate(180deg);
}

.service-title:hover {
    background: rgba(27, 156, 252, 0.2);
}

.service-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease;
    background: #0f1f35;
}

.service-drawer img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.drawer-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.drawer-image {
    flex: 1;
}

.drawer-content img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
}

.drawer-text {
    width: 50%;
    flex: 1;
    text-align: left;
}

.drawer-text h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    color: #1B9CFC;
}

.drawer-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
}

@media (max-width: 768px) {

    .services {
        padding: 60px 20px;
        /* % yerine sabit px */
    }

    .drawer-content {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        /* 40px çok fazla */
    }

    .drawer-text {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .drawer-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .service-icon {
        width: 32px;
        height: 32px;
    }

    .service-title {
        font-size: 16px;
        padding: 15px;
    }

}



/*İletişim Bilgileri*/
.contact-section {
    padding: 80px 10%;
    background: linear-gradient(180deg, #071426, #0d223d);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-left h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-btn {
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.phone-btn {
    background: #1e90ff;
    color: white;
}

.phone-btn:hover {
    background: #187bcd;
}

.insta-btn {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    color: white;
}

.insta-btn:hover {
    opacity: 0.9;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background: #128c7e;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobil için ayarlama */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* HARİTA */
.contact-right {
    flex: 1;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.address {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .header {
        padding: 15px 5%;
    }

    .gallery,
    .contact-section {
        padding: 60px 5%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .nav ul li {
        margin-left: 0;
        text-align: center;
    }
}

/* Yükleme Ekranı (Preloader) */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #071426;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-icon {
    font-size: 2rem;
    position: absolute;
    animation: pulseIcon 1.5s infinite;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(27, 156, 252, 0.2);
    border-top: 3px solid #1B9CFC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseIcon {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Yukarı Çık Butonu */
#scrollToTopBtn {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #1B9CFC, #0A3D62);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background: linear-gradient(45deg, #0A3D62, #1B9CFC);
    transform: translateY(-5px) !important;
}

@media (max-width: 768px) {
    #scrollToTopBtn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 85px;
        right: 20px;
    }
}

/* Gelişmiş Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(27, 156, 252, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.lightbox-overlay.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #1B9CFC;
    transform: scale(1.1);
}

.lightbox-close {
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: -40px;
        right: 10px;
    }
}