* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #0088cc;
    --secondary-color: #005c8a;
    --dark-color: #1a1f2c;
    --light-color: #f0f4f8;
    --accent-color: #00b4d8;
    --gray-dark: #2d3748;
    --gray-light: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), var(--gray-dark));
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo {
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

header.scrolled .nav-links a {
    color: var(--dark-color);
}

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

.nav-links a:hover::after {
    width: 0;
}

.nav-links a:hover {
    color: white;
}

@media (max-width: 992px) {
    .nav-links {
        gap: 2rem;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
}

.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }

    .nav-links {
        position: relative;
        left: 0;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        color: inherit;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-container {
        padding: 0 15px;
        position: relative;
    }

    .gallery-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow-x: visible;
        padding: 10px 0;
    }
    
    .gallery-slide {
        flex: initial;
        min-width: initial;
        width: 100%;
        margin: 0;
        padding: 6px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s;
    }
    
    .gallery-slide:active {
        transform: scale(0.98);
    }
    
    .gallery-slide img,
    .gallery-slide video {
        height: 130px;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .gallery-slide p {
        font-size: 0.8rem;
        text-align: center;
        margin: 6px 0 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .video-slide {
        min-width: initial;
        width: 100%;
    }
    
    .video-slide::after {
        font-size: 2.2rem;
    }
    
    .gallery-button {
        display: none;
    }
    
    .gallery h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .video-title {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .show-more-btn {
        display: block;
        margin: 20px auto 0;
        padding: 8px 20px;
        background: var(--gradient-primary);
        color: white;
        border: none;
        border-radius: 25px;
        font-weight: 500;
        cursor: pointer;
        box-shadow: 0 3px 10px rgba(0,136,204,0.3);
        transition: all 0.3s ease;
    }
    
    .show-more-btn:active {
        transform: scale(0.96);
        box-shadow: 0 1px 5px rgba(0,136,204,0.3);
    }
    
    .gallery-track .gallery-slide:nth-child(n+5) {
        display: none;
    }
    
    .gallery-track.show-all .gallery-slide:nth-child(n+5) {
        display: block;
    }
    
    .contact-info {
        padding: 1.5rem;
    }

    .map-container {
        min-height: 250px;
    }

    .social-links-contact a {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .footer-bottom {
        padding: 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    padding: 6rem 5% 4rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 0;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.8) 0%,
        rgba(0,168,255,0.4) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    color: white;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(120deg, #ffffff 20%, #00a8ff 50%, #ffffff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.9;
    max-width: 600px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), #0088cc);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,168,255,0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 90%;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.cta-button:hover {
    background: linear-gradient(45deg, #0088cc, var(--primary-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 30px rgba(0,168,255,0.5);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* Services Section */
.services {
    padding: 4rem 5%;
    background: var(--gradient-dark);
    color: white;
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: white;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 4rem 5%;
    background: var(--gradient-dark);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: white;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.social-links-contact {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links-contact a {
    color:transparent;
    font-size: 2rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.social-links-contact a:hover {
    color:transparent;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-links-contact a[href*="whatsapp"]:hover {
    color:transparent;
    background: rgba(37, 211, 102, 0.2);
}

.social-links-contact a[href*="instagram"]:hover {
    color:transparent;
    background: rgba(228, 64, 95, 0.2);
}

.social-links-contact a[href*="facebook"]:hover {
    color:transparent;
    background: rgba(24, 119, 242, 0.2);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 1.5rem 5%;
}

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #E4405F;
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        padding: 1rem 5%;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .map-container {
        min-height: 300px;
    }
}

/* Gallery Section */
.gallery {
    padding: 4rem 5%;
    background: var(--light-color);
}

.gallery h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--dark-color);
    position: relative;
}

.video-title {
    text-align: center;
    font-size: 2rem;
    margin: 4rem 0;
    color: var(--dark-color);
    position: relative;
}

.gallery h2::after,
.video-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.video-gallery {
    margin-top: 2rem;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 300px;
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
    padding: 15px;
}

.gallery-slide img,
.gallery-slide video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-slide p {
    text-align: center;
    margin-top: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    padding: 0;
}

/* Video slide play button styling */
.video-slide {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-slide video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: none; /* Prevent video controls from showing in gallery view */
}

.video-slide p {
    text-align: center;
    margin-top: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    padding: 0;
}

.video-slide:hover video {
    transform: scale(1.05);
}

.video-slide::after {
    content: '\f144';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.video-slide:hover::after {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    color: white;
}

.prev-button {
    left: 0;
}

.next-button {
    right: 0;
}

.gallery-button:hover {
    background: var(--gradient-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 31, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.modal-content video {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 10px;
    color: var(--accent-color);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.modal-close:hover {
    color: white;
}

@media (max-width: 768px) {
    .modal {
        padding: 20px;
    }
    
    .modal-content video {
        max-height: 70vh;
    }

    .gallery-container {
        padding: 0 30px;
    }

    .gallery-slide {
        flex: 0 0 250px;
    }

    .gallery h2 {
        font-size: 2rem;
    }
}

/* Tüm ekran boyutları için geçerli olacak genel stil düzenlemeleri */
.gallery-track {
    gap: 2rem;
    padding: 1rem;
}

.gallery-slide img,
.gallery-slide video {
    width: 100%;
    height: 250px;
   
    object-fit: cover;
}

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