﻿/* Marina Nakliyat - Temel Stil Dosyası */
:root {
    --marina-blue: #002366;
    --silver: #C0C0C0;
    --white: #ffffff;
    --dark: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Menü */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

    .main-nav ul li a {
        padding: 10px 20px;
        text-decoration: none;
        color: var(--marina-blue);
        font-weight: 600;
    }

        .main-nav ul li a.active {
            color: var(--silver);
            border-bottom: 2px solid var(--silver);
        }

.menu-toggle {
    display: none;
    background: var(--marina-blue);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

/* Hizmetler Sayfası Başlık Alanı */
.page-title.bg-marina {
    background: var(--marina-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Hizmet Satırları */
.section-padding {
    padding: 80px 0;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

    .service-row.reverse {
        flex-direction: row-reverse;
    }

.service-image {
    flex: 1;
}

    .service-image img {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.service-text {
    flex: 1;
}

.service-no {
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0;
    display: block;
    margin-bottom: -20px;
}

.service-text h3 {
    font-size: 2rem;
    color: var(--marina-blue);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 100;
    }

        .main-nav.active {
            display: block;
        }

        .main-nav ul {
            flex-direction: column;
        }

            .main-nav ul li {
                border-bottom: 1px solid #eee;
            }

    .service-row, .service-row.reverse {
        flex-direction: column;
        text-align: center;
    }
}
/* Video Hero Stilleri */
.hero-video-container {
    position: relative;
    height: 85vh; /* Ekranın %85'ini kaplar */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 102, 0.5); /* Gece mavisi transparan katman */
    z-index: -1;
}

.hero-content {
    z-index: 1;
    text-align: left;
}

    .hero-content h1 {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 900;
    }

        .hero-content h1 span {
            color: #C0C0C0; /* Gümüş rengi vurgu */
        }

    .hero-content p {
        font-size: 1.2rem;
        max-width: 600px;
        margin-bottom: 35px;
    }

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn-call {
    background: #002366;
    color: white;
    border: 2px solid #002366;
}

    .btn-call:hover {
        background: white;
        color: #002366;
    }

.btn-outline {
    border: 2px solid white;
    color: white;
}

    .btn-outline:hover {
        background: white;
        color: #002366;
    }

/* Bilgi Bandı */
.quick-info-bar {
    background: #ffffff;
    padding: 40px 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .info-box i {
        font-size: 2.5rem;
        color: #002366;
    }

    .info-box h4 {
        color: #002366;
        margin-bottom: 5px;
    }

    .info-box p {
        font-size: 0.9rem;
        color: #666;
    }

.border-left {
    border-left: 1px solid #eee;
    padding-left: 30px;
}

/* Mobil Düzenleme */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .border-left {
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}
/* WhatsApp ve Güncel Buton Stilleri */
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Mobilde alt alta gelmesi için */
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: 2px solid #25D366;
}

    .btn-whatsapp:hover {
        background-color: transparent;
        color: #25D366;
    }

.btn-primary {
    background-color: #002366;
    color: white;
    border: 2px solid #002366;
}

    .btn-primary:hover {
        background-color: transparent;
        color: #002366;
    }

/* Mobilde logo boyutu ayarı */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}
/* Galeri ve Yorumlar */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #002366;
}

.bg-light {
    background: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
}

    .gallery-item img:hover {
        transform: scale(1.05);
    }

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.t-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: #f1c40f;
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background: #001a4d;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 50px;
}

.footer-contact h3, .footer-links h3 {
    margin-bottom: 20px;
    color: #C0C0C0;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

    .footer-links ul li a {
        color: white;
        text-decoration: none;
        line-height: 2;
    }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/* Hizmet Sayfası Özel Stilleri */
.page-hero-sub {
    background: linear-gradient(rgba(0, 26, 77, 0.8), rgba(0, 26, 77, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

    .page-hero-sub h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card-modern {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 5px solid transparent;
}

    .service-card-modern:hover {
        transform: translateY(-10px);
        border-color: #002366;
    }

.s-icon {
    font-size: 3rem;
    color: #002366;
    margin-bottom: 20px;
}

.service-card-modern h3 {
    margin-bottom: 15px;
    color: #002366;
}

.service-card-modern p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}
/* Hakkımızda Sayfası Düzenlemeleri */
.about-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

    .about-image img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #002366;
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

    .experience-badge span {
        font-size: 2.5rem;
        font-weight: 800;
        display: block;
        line-height: 1;
    }

.about-text {
    flex: 1.2;
}

.section-title-left {
    font-size: 2.5rem;
    color: #002366;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mv-item h4 {
    color: #002366;
    margin-bottom: 10px;
}

.mv-item i {
    margin-right: 5px;
    color: #C0C0C0;
}

@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }
}
/* Galeri Sayfası Özel Stilleri */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-card .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 35, 102, 0.7); /* Kurumsal Lacivert */
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        color: white;
        font-size: 2rem;
    }

    .gallery-card:hover img {
        transform: scale(1.1);
    }

    .gallery-card:hover .overlay {
        opacity: 1;
    }

@media (max-width: 600px) {
    .gallery-grid-full {
        grid-template-columns: 1fr;
    }
}
/* İletişim Sayfası Tasarımı */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.c-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    text-align: center;
    border-top: 4px solid #002366;
}

    .c-info-card i {
        font-size: 2rem;
        color: #002366;
        margin-bottom: 15px;
    }

    .c-info-card h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .c-info-card p, .c-info-card a {
        color: #666;
        text-decoration: none;
    }

.whatsapp-card {
    border-top-color: #25D366;
}

    .whatsapp-card i {
        color: #25D366;
    }

/* Form Tasarımı */
.contact-form-container {
    background: #002366;
    padding: 40px;
    border-radius: 20px;
    color: white;
}

.modern-form h3 {
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group input, .form-group select, .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
        border: none;
        outline: none;
    }

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.hero-video-container {
    position: relative;
    height: 80vh; /* Slider yüksekliği - Ekranın %80'i */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000; /* Video yüklenene kadar siyah zemin */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    /* Videonun Slider'ı Tam Kaplaması İçin Kritik Ayar */
    .video-background iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 100vh;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

/* 16:9 Oranını Korumak ve Boşluk Kalmamasını Sağlamak İçin Media Query */
@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 56.25vw; /* 100 * 9 / 16 */
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 177.78vh; /* 100 * 16 / 9 */
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 102, 0.5); /* Kurumsal lacivert karartma */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* Yazıların videonun üstünde kalması için */
    text-align: center;
    color: #fff;
}
/* Menüdeki WhatsApp Buton Stili */
.main-nav ul {
    display: flex;
    align-items: center; /* Butonun menü linkleriyle aynı hizada olması için */
    list-style: none;
    gap: 15px;
}

.btn-nav-whatsapp {
    background-color: #25D366; /* WhatsApp Yeşili */
    color: white !important; /* Yazı rengi beyaz */
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s all ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

    .btn-nav-whatsapp:hover {
        background-color: #128C7E; /* Hover durumunda koyu yeşil */
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .btn-nav-whatsapp i {
        font-size: 1.1rem;
    }

/* Mobil Menü Uyumluluğu */
@media (max-width: 992px) {
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .nav-cta {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .btn-nav-whatsapp {
        justify-content: center;
        width: 100%;
    }
}
/* Footer Logo Düzenlemesi */
.footer-about img {
    max-width: 250px; /* Logonun maksimum genişliğini belirler */
    height: auto;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-about img {
        max-width: 180px; /* Mobilde daha da küçülterek taşmayı önler */
    }
}
/* Mobil Menü Tıklama Alanı Genişletme */
@media (max-width: 992px) {
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05); /* Seçenekleri birbirinden ayıran ince çizgi */
    }

        .main-nav ul li a {
            display: block;
            padding: 15px 20px; /* Dikey boşluğu artırarak tıklamayı kolaylaştırır */
            font-size: 1.1rem;
            width: 100%;
        }

    /* WhatsApp butonunun mobil yerleşimi */
    .btn-nav-whatsapp {
        margin: 10px 0;
        padding: 15px !important;
        justify-content: center;
    }
}
html, body {
    overflow-x: hidden; /* Sayfanın yana doğru taşmasını tamamen engeller */
    width: 100%;
}