/* Sayfa: Gemi Acenteliği - page-specific styles
    YENİ TASARIM: Temiz, Modern, Denizcilik Hissi Veren Görünüm
*/

/* ---------------------------------- */
/* 1. HERO SECTION & TYPOGRAPHY */
/* ---------------------------------- */

/* Genel body padding'i: Header'ın içeriği örtmesini engeller */
body {
    padding-top: 70px; 
}
.hero-acente {
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.hero-acente .hero-inner {
   
	display: flex;
	flex-direction: column;    /* üstten alta: görsel -> başlık/metin -> buton */
	align-items: center;       /* yatayda ortala */
	gap: 1.25rem;
	margin-top: 80px !important;          /* gerekiyorsa artır/azaltın */
	justify-content: flex-start !important;
}

.hero-image-container {
    position: relative;
    margin-bottom: 0 !important;      /* görsel altındaki boşluk kaldırıldı */
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 40px;          /* görseli daha aşağı almak için */
}

.hero-map-image {
    width: clamp(360px, 60vw, 1000px); /* mobilde 360px, büyük ekranda max 1000px */
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.hero-number {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
    font-size: 6rem;
    font-weight: 700;
    color: #3c467b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    z-index: 3;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hero-number .hero-number-icon,
.hero-number img {
    height: 6rem;
    width: auto;
    display: inline-block;
        
}

.hero-btn {
    background-color: #bf092f;
    color: #ecedf2;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    margin-bottom:40px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none; /* Kenarlık kaldırıldı */
	margin: 0 pxauto 0px auto !important; /* üst:24px, alt:48px */
	position: relative;
	z-index: 4; /* görselin üstünde görünmesi için */
	margin-top: var(--hero-btn-lift) !important; /* butonu yukarı çek */
	margin-bottom: 28px !important; /* alt boşluk korunur, gerektiğinde azaltın */
}

.hero-btn:hover {
    background-color:#3c467b;
}

/* Fokus ve aktif durumlarda outline/box-shadow kaldırıldı */
.hero-btn:focus,
.hero-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Genel section başlıkları için daha kalın ve belirgin stil */
.bg-section h2 {
    font-family: var(--font-heading, 'DM Serif Text');
    font-size: 2rem;
    color: var(--primary-color, #003366);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Genel section boşlukları */
.bg-section {
    background-color: transparent;
    padding-top: 220px; /* increased from 180px to push the section further down on desktop */
    padding-bottom: 150px; /* mevcut değer korundu */
    box-sizing: border-box;
}

h2.btn-title {
	display: inline-block;
	background-color: #3c467b;
	color: #ffffff;
	padding: 0.6rem 1.1rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none;
	border: none;
	box-shadow: none;
	cursor: default;
}

    

/* ---------------------------------- */
/* 2. INTRO SECTION */
/* ---------------------------------- */

.intro-section {
    background-color: var(--white-color, #fff);
}

.intro-section .row {
    gap: 3rem;
    align-items: center;
    /* İlk sütun metni soldan, ikinci sütun görseli sağdan gelir */
}

.intro-section p {
    color: var(--dark-color, #333);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Responsive görsel */
.img-responsive {
    /* Görseli küçültür */
    max-width: 300px;
    width: 100%; 
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    /* Sola yaslar ve bulunduğu sütun içinde ortalamayı iptal eder */
    display: block;
    margin-left: 0; /* Sola yaslar */
    margin-right: auto;
}
/* ---------------------------------- */
/* 3. SERVICE & ADVANTAGE CARDS */
/* ---------------------------------- *//* ========================================================================= */
/* TEK SECTIONDA İKİ CARD GRUBU (DÜZELTİLMİŞ) */
/* ========================================================================= */

:root {
    /* Renkleri genel değişkenlerden çekiyoruz */
    --primary-color: #3c467b; /* Kurumsal Mavi Örneği */
    --accent-color: #ffcc00; /* Vurgu Rengi Örneği */
    --card-bg-light: #ffffff;
    --card-bg-dark: #b8cdd8; /* Resimdeki mavi-gri tonuna yakın */
    --dark-color: #333333;
    --white-color: #ffffff;
}

/* Genel Kapsayıcı: Tam Ekran Yükseklik ve Dikey Ortaklama */
.combined-cards-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortalar */
    padding: 4rem 0;
    text-align: center;
    background-color: var(--primary-color); /* Tüm section arka planı (örnek) */
}

/* Her iki ana başlığın stili */
.combined-cards-section h2 {
    color: var(--white-color);
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2.5rem;
}

/* İlk card grubu (Avantajlar) sarmalayıcısı */
.advantage-cards-wrapper {
    margin-bottom: 4rem;
    /* Metin hizalamasını ortalamak için parent'a text-align: center ekliyoruz */
    text-align: center; 
}

/* =========================================== */
/* İKİ GRUP İÇİN ORTAK GRID YAPISI (4'LÜ) */
/* =========================================== */

/* Col-4 düzeni yerine net bir 4 sütunlu CSS Grid'i kullanalım */
.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 eşit sütun */
    gap: 1.5rem; /* Sütunlar arası boşluk */
    align-items: stretch; /* Kartların yüksekliklerini eşitler (Önemli!) */
    margin: 0 auto;
    max-width: 1200px; /* Opsiyonel: Grid'i max genişlikte tutar */
}

/* Col-4 yerine yeni item sınıfını kullanıyoruz */
.advantage-item, .flow-step-item {
    /* Bu itemler artık grid öğesi olduğu için özel genişlik ayarına gerek yok */
}

/* ================== */
/* KISA KARTLAR (AVANTAJ) - Koyu Zemin Üzerinde Açık Kart */
/* ================== */
.simple-card {
    background-color: var(--card-bg-light);
    color: var(--dark-color);
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%; /* Grid'in stretch özelliği ile çalışır */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center; /* İçeriği ortalar */
}

.simple-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}


/* ================== */
/* UZUN KARTLAR (AKIŞ/STEP) - Resimdeki Mavi Arkaplan Kartları */
/* ================== */

/* Akış başlığını beyaz yapıyoruz */
.flow-steps-wrapper h2 {
    color: var(--white-color);
}
/* Akış kartlarının sarmalayıcısı */
.flow-steps-wrapper {
    padding: 2rem 0; /* İçeriğin yukarı/aşağı taşmaması için */
}

.detailed-card {
    background-color: var(--card-bg-dark); /* Resimdeki mavi/gri ton */
    color: var(--dark-color);
    padding: 1.5rem; /* İç boşluğu ayarlıyoruz */
    border-radius: 12px;
    height: 100%; /* Grid'in stretch özelliği ile çalışır */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.step-number {
    font-size: 2rem; /* Daha küçük numara boyutu */
    font-weight: 900;
    color: var(--white-color); /* Beyaz numara */
    background-color: var(--primary-color); /* Koyu mavi daire arkaplanı */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto; /* Ortalar ve alt boşluk bırakır */
    line-height: 1;
}

.detailed-card h3 {
    font-size: 1.3rem;
    color: var(--white-color); /* Başlık beyaz olsun */
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.detailed-card p {
    color: var(--white-color); /* Metin beyaz olsun */
    font-size: 0.9rem;
    line-height: 1.4;
}

/* =========================================== */
/* MOBİL DÜZENLEME (GRID DEĞİŞİMİ) */
/* =========================================== */
@media (max-width: 992px) {
    .four-col-grid {
        grid-template-columns: repeat(2, 1fr); /* 992px altında 2'li düzen */
    }
}

@media (max-width: 576px) {
    .four-col-grid {
        grid-template-columns: 1fr; /* 576px altında tek sütunlu düzen */
    }
}

/* Hizmet Kartları Arka Planı */
.services {
    background-color: var(--light-color, #f7f7f7);
}

.services .card, .advantages .card {
    min-height: 250px;
    padding: 1.8rem;
    border-radius: 12px;
    /* box-shadow: 0 8px 25px rgba(0,0,0,0.08); */
    transition: all 0.3s ease;
    border: none;
    text-align: left;
}

.services .card:hover, .advantages .card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.services .card h3, .advantages .card h3 {
    font-family: var(--font-heading, 'DM Serif Text');
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Avantajlar (Daha koyu ama temiz zemin) */
.advantages {
    background: var(--secondary-color-light, #ecedf2); /* Yumuşak sarımsı zemin */
}

.advantages .card {
    background-color: var(--white-color);
    /* Deniz dalgası hissi veren üst sınır */
    border-top: 4px solid var(--accent-color, #ffaa00);
}

/* ---------------------------------- */
/* 4. OPERATIONAL WORKFLOW */
/* ---------------------------------- */

.workflow {
    background-color: var(--white-color);
}

.steps-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.workflow .col-2 {
    /* Eşit ve mobil uyumlu genişlik */
    flex: 1 1 22%; 
    min-width: 200px;
}

.step-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--light-color, #f9f9f9);
    border: 1px solid var(--border-color, #eee);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* Beyaz zemin, kalın renkli halka */
    background-color: var(--white-color); 
    border: 4px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.step-card h3 {
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted, #666);
}


/* ---------------------------------- */
/* 5. LOCATIONS & MAP */
/* ---------------------------------- */

.locations {
    background-color: var(--light-color, #f7f7f7);
}

/* Harita ve Metinleri bir arada tutan satır (Grid yapısından gelir) */
.locations .row {
    gap: 3rem; /* Sütunlar arası boşluk */
    align-items: center;
}

/* Harita Kapsayıcısı */
.locations .map-wrap {
    /* arttırılmış genişlik: haritayı daha büyük göstermek için */
    max-width: 1400px; /* eskiden 1000px idi */
    margin: 0 auto 1.5rem auto;
}

/* Yeni: harita görseli için özel sınıf - büyük ekranlarda daha geniş, mobilde tam genişlik */
.map-image {
    display: block;
    width: 100%;
    max-width: 1400px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 14px 45px rgba(0,0,0,0.14);
}

/* Mobilde mantıklı boyuta indirgeme */
@media (max-width: 768px) {
    .locations .map-wrap {
        max-width: 100%;
        padding: 0 1rem;
    }
    .map-image {
        max-width: 100%;
    }
}

/* Sağ Sütun İçeriği (Başlık ve Metin) */
.location-content {
    text-align: left; /* Metinlerin sola yaslanması */
}

.location-content h2 {
    text-align: left; /* Başlık sola yaslanır */
    margin-bottom: 1.5rem;
}

.locations p {
    color: var(--dark-color, #333);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Butonun rengini birincil butona çevirdim, tasarım bütünlüğü için */
.location-content .btn-primary {
    /* Burası zaten componentlerinizden geliyor */
}



/* ---------------------------------- */
/* 6. RESPONSIVE DÜZENLEMELER */
/* ---------------------------------- */

@media (max-width: 1024px) {
    .hero-acente .hero-inner h1 { font-size: 2.2rem; }
    
    /* Intro bölümünde görsel metinden sonra gelir */
    .intro-section .row { flex-direction: column-reverse; }

    /* Workflow adımları 2'li düzen (tablet) */
    .workflow .col-2 { flex: 1 1 45%; }
}

@media (max-width: 768px) {
    .bg-section { padding: 3rem 0; }
    .bg-section h2 { font-size: 1.7rem; margin-bottom: 2rem; }

    .hero-acente { padding: 4rem 1rem 3rem 1rem; }
    .hero-acente .hero-inner h1 { font-size: 1.8rem; }
    
    /* Hizmet ve Avantajlar dikey (mobil) */
    .services .col-3, .advantages .col-4 { width: 100%; margin-bottom: 1rem; }

    /* Workflow adımları dikey düzen (mobil) */
    .workflow .col-2 { width: 100%; min-width: unset; }
}

/* Remove border and focus outline for hero button */
.hero-btn {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.hero-btn:focus,
.hero-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* MANUEL AYAR: hero görsel boyutu ve offset'i
   - --acente-hero-map-scale     : görsel ölçeği (1 = varsayılan). Örneğin 1.1 yaparsanız %10 büyür.
   - --acente-hero-map-min      : minimum genişlik (px)
   - --acente-hero-map-preferred: tercih edilen genişlik (vw)
   - --acente-hero-map-max      : maksimum genişlik (px)
   - --acente-hero-image-offset : görsel üstten aşağı kaydırma (px)
   Değerleri değiştirerek manuel ince ayar yapabilirsiniz.
*/
:root {
    --acente-hero-map-scale: 1.4;            /* <-- Elle değiştirin: örn: 1.05 / 1.1 / 0.9 */
    --acente-hero-map-min: 360px;          /* <-- minimum */
    --acente-hero-map-preferred: 60vw;     /* <-- tercih edilen oran */
    --acente-hero-map-max: 1200px;         /* <-- maksimum */
    --acente-hero-image-offset: 30px;      /* <-- üstten aşağı kaydırma, arttır/azalt */
	--hero-btn-lift: -80px; /* <-- değiştirin: örn -10px / -20px / -40px */
}

/* Görsel kapsayıcı offset'i değişkenle kontrol et */
.hero-image-container {
    margin-top: var(--acente-hero-image-offset); /* manuel ayar uygulanır */
}

/* Görsel boyutu: clamp ile min/preferred*scale/max arasında ayarlanır */
.hero-map-image {
    width: clamp(
        var(--acente-hero-map-min),
        calc(var(--acente-hero-map-preferred) * var(--acente-hero-map-scale)),
        var(--acente-hero-map-max)
    );
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* Mobilde çakışmayı engelle: lift değerini küçült */
@media (max-width: 768px) {
	:root { --hero-btn-lift: -12px; }
	.hero-acente .hero-inner { margin-top: 40px !important; }
	.hero-btn { margin-top: var(--hero-btn-lift) !important; margin-bottom: 20px !important; }
}

/* Ayarlanabilir: hero alt başlığını sayıdan daha aşağı yerleştirme */
:root {
	/* Varsayılan: sayının altına daha fazla boşluk vermek için değeri artırın (ör: 40% + 2.2em gibi) */
	--hero-subtitle-offset-desktop: calc(40% + 3.0em); /* artırıldı: desktop için daha aşağı yerleştirir */
	--hero-subtitle-offset-mobile: calc(40% + 1.6em);  /* artırıldı: mobilde de biraz daha aşağı */
}

/* Küçük başlık: sayı (+62) hemen altında, merkezlenmiş ve daha küçük */
.hero-image-container > p {
    position: absolute;
    left: 50%;
    top: var(--hero-subtitle-offset-desktop) !important; /* değişken ile alt konumlandırma (daha aşağı taşır) */
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #3c467b;
    font-weight: 600;
    text-align: center;
    z-index: 3;
    white-space: nowrap;
}

/* Mobilde konumu ve boyutu uyumlu hale getir */
@media (max-width: 768px) {
    .hero-image-container > p {
        top: var(--hero-subtitle-offset-mobile) !important; /* mobil offset değişkeni kullanılır */
        font-size: 0.95rem;
        white-space: normal;
        padding: 0 8px;
    }
}

/* =========================================== */
/* KESİNTİSİZ ARKA PLAN */
/* =========================================== */

.content-background-wrapper {
    position: relative;
    z-index: 1;
    background-color: #ecedf2; /* Yedek arka plan rengi kaldırıldı */
}


/* MOBILE RESPONSIVE START */
@media (max-width: 768px) {
    /* Genel Ayarlar */
    body {
        padding-top: 0 !important; /* Mobil hero görselinin en üstte başlaması için kaldırıldı */
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    section {
        padding: 2rem 0 !important;
        padding-bottom: 0 !important; /* Alt boşluğu sıfırla */
        overflow: hidden !important;
    }

    /* HERO BÖLÜMÜ */
    .hero-acente {
        min-height: auto !important; /* İçeriğe göre otomatik yükseklik */
        padding: 2rem 1rem !important;
        text-align: center !important;
    }
    .hero-acente .hero-inner {
        margin-top: 40px !important; /* Daha az aşağı it */
        gap: 1rem !important;
    }
    .hero-map-image {
        width: 120% !important; /* Harita görselini küçült */
        max-width: 120% !important;
    }
    .hero-number {
        font-size: 3.5rem !important; /* Sayı boyutunu küçült */
        top: 35% !important; /* Konumunu ayarla */
    }
    .hero-number .hero-number-icon,
    .hero-number img {
        height: 3.5rem !important; /* İkon/resim boyutunu küçült */
    }
    .hero-image-container > p {
        font-size: 0.9rem !important; /* Paragraf boyutunu küçült */
        top: calc(35% + 2.5em) !important; /* Sayının altına konumlandır */
        white-space: normal !important; /* Metnin kırılmasına izin ver */
        padding: 0 10px !important;
    }
    .hero-btn {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.9rem !important;
        margin-top: 0 !important; /* Butonun üst boşluğunu sıfırla */
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 280px !important;
    }

    /* KART BÖLÜMLERİ */
    .bg-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    h2.btn-title {
        font-size: 1.5rem !important; /* Büyültüldü */
        padding: 0.6rem 1rem !important;
        margin-bottom: 1.5rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important; /* Genişliği otomatik yap */
        white-space: normal !important; /* İki satır olması için */
        line-height: 1.3 !important; /* Satır yüksekliği ayarı */
    }
    .row {
        flex-direction: column !important; /* Kartları alt alta diz */
        gap: 20px !important;
    }
    .col-3, .col-4 {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .card {
        min-height: auto !important;
        padding: 1.5rem !important;
        text-align: center !important;
    }
    .card h3 {
        font-size: 1.3rem !important;
    }
    .card p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }

    /* CONTENT BACKGROUND WRAPPER */
    .content-background-wrapper {
        margin-top: 0 !important; /* Boşluğu sıfırla */
    }
    .content-background-wrapper::before {
        background-position: center top !important; /* Arka plan görselini ayarla */
    }
}

@media (max-width: 480px) {
    .hero-number {
        font-size: 2.8rem !important;
    }
    .hero-number .hero-number-icon,
    .hero-number img {
        height: 2.8rem !important; /* İkon/resim boyutunu daha da küçült */
    }
    .hero-image-container > p {
        font-size: 0.8rem !important;
        top: calc(35% + 2.5em) !important;
        white-space: normal !important;
        padding: 0 10px !important;
    }
    h2.btn-title {
        font-size: 1.3rem !important; /* Büyültüldü */
        padding: 0.5rem 0.8rem !important;
        white-space: normal !important; /* İki satır olması için */
        line-height: 1.3 !important; /* Satır yüksekliği ayarı */
    }
    .card h3 {
        font-size: 1.1rem !important;
    }
    .card p {
        font-size: 0.85rem !important;
    }
}
/* MOBILE RESPONSIVE END */
