/*
 * Ocean — alt sayfa bileşenleri.
 *
 * resources/themes/ocean/pages/ altındaki ortak parçaların stilleri:
 *   _hero (buton satırı)  _feature-boxes  _faq  _content-blocks
 *   _os-list  _spec-table
 *
 * ocean-sections.css temel bileşenleri (.ocean-section, .ocean-card,
 * .ocean-btn, .ocean-eyebrow) tanımlar; bu dosya yalnızca onları tamamlar.
 */

/*
 * Temanın style.css dosyası tüm başlıklara koyu bir renk verir
 * (h1..h6 { color: #3b4767 }). Koyu zeminli bölümlerde bu kural,
 * kapsayıcıdan gelen beyazı ezip başlığı okunmaz hale getiriyordu.
 * Koyu zeminli her bölümde başlık rengi burada açıkça geri alınır.
 */
.ocean-page-hero h1,
.ocean-page-hero h2,
.ocean-page-hero .ocean-eyebrow { color: #fff; }

/* ---------------- Üst çubuk: müşteri paneli butonu ---------------- */
.ocean-topbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-left: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    background: var(--ocean-accent, #2f6ae1);
    border: 1px solid var(--ocean-accent, #2f6ae1);
    transition: background .15s ease, border-color .15s ease;
}
/* Üst çubuk kuralı tüm bağlantıları beyaz yapıyor; buton için de doğru renk. */
.top-bar .toplink2 a.ocean-topbtn,
.top-bar .toplink2 a.ocean-topbtn:hover { color: #fff !important; text-decoration: none; }

.ocean-topbtn:hover { background: var(--ocean-accent-dark, #1e4bb8); border-color: var(--ocean-accent-dark, #1e4bb8); }
.ocean-topbtn i { font-size: 13px; }

.ocean-topbtn--ghost { background: transparent; border-color: rgba(255, 255, 255, .38); }
.ocean-topbtn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

@media (max-width: 575px) {
    .ocean-topbtn { padding: 7px 13px; font-size: 13px; margin-left: 6px; }
}

/* ---------------- Anasayfa üst bölümü ---------------- */
/*
 * Zemin iki yerden birden eziliyordu: temanın style.css dosyasındaki ikinci
 * .main-hero kuralı, ve ocean-sections.css'teki `.main-hero.pink { background:
 * none !important }` (o kural bölümün süslü katmanlarını kapatmak içindi).
 * Bu yüzden burada hem eşit özgüllük hem !important gerekiyor — aksi halde
 * bölüm bomboş beyaz kalıyor.
 */
.main-hero.ocean-home-hero {
    background: url('../img/world-map.svg') 0 0 / 42% no-repeat #f4f7fc !important;
    padding: 54px 0 46px;
}

/*
 * Aşağıdaki iki kuralın seçicileri uzun: temanın style.css dosyası aynı
 * öğeleri daha özgül zincirlerle boyuyor (.main-hero .container .hero-text …),
 * kısa bir seçici kaybediyor.
 */

/* Temanın açıklama tonu (#6978a0) bu zeminde 4.08:1 kalıyordu. */
.main-hero.ocean-home-hero .container .hero-text p { color: #475569; }

/* Arama butonu birincil eylem; beyaz yazı #0083ff üzerinde 3.69:1 idi. */
.main-hero.ocean-home-hero .container .hero-text .domain-search button { background: #0067cc; }
.main-hero.ocean-home-hero .container .hero-text .domain-search button:hover { background: #0055aa; }

.ocean-home-hero__grid { display: block; }

.ocean-home-hero--split .ocean-home-hero__grid {
    display: flex;
    align-items: center;
    gap: 44px;
    flex-wrap: wrap;
}
.ocean-home-hero--split .ocean-home-hero__text  { flex: 1 1 520px; min-width: 300px; }
.ocean-home-hero--split .ocean-home-hero__media { flex: 0 1 400px; min-width: 260px; text-align: center; }
.ocean-home-hero--split .ocean-home-hero__media img { max-width: 100%; height: auto; }

/* Açık zeminli bölüm: rozet koyu zemin tonlarını devralmamalı. */
.ocean-home-hero .ocean-eyebrow {
    border-color: var(--ocean-accent-dark, #1e4bb8);
    color: var(--ocean-accent-dark, #1e4bb8);
    background: #e7eefc;
}

.ocean-home-hero__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px 24px;
    margin-top: 24px;
}
.ocean-home-hero__highlight { display: flex; align-items: center; gap: 11px; }
.ocean-home-hero__highlight i {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #e7eefc;
    color: var(--ocean-accent, #2f6ae1);
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.ocean-home-hero__highlight strong { display: block; font-size: 14px; font-weight: 700; color: #0f172a; }
.ocean-home-hero__highlight span   { display: block; font-size: 12px; color: #475569; margin-top: 1px; }

@media (max-width: 991px) {
    .main-hero.ocean-home-hero { background-size: 70% !important; padding: 38px 0 34px; }
    .ocean-home-hero--split .ocean-home-hero__grid { gap: 26px; }
    .ocean-home-hero--split .ocean-home-hero__media { order: 2; }
}

/* ---------------- Üst bölüm yerleşimi ---------------- */
.ocean-page-hero__grid { display: block; }

/* Görsel verilmişse iki sütun: solda metin, sağda görsel. */
.ocean-page-hero--split .ocean-page-hero__grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.ocean-page-hero--split .ocean-page-hero__text  { flex: 1 1 460px; min-width: 300px; }
.ocean-page-hero--split .ocean-page-hero__media { flex: 1 1 380px; min-width: 280px; text-align: center; }
.ocean-page-hero--split .ocean-page-hero__media img { max-width: 100%; height: auto; }

/* Görselli düzende üst bölüm biraz daha ferah durur. */
.ocean-page-hero--split { padding: 46px 0 50px; }

/* Öne çıkanlar: başlığın altında iki sütunlu küçük kutular */
.ocean-hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px 26px;
    margin-top: 26px;
}
.ocean-hero-highlight { display: flex; align-items: center; gap: 13px; }
.ocean-hero-highlight__icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center;
}
.ocean-hero-highlight__icon i { font-size: 17px; color: #fff; }
.ocean-hero-highlight strong {
    display: block;
    font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3;
}
.ocean-hero-highlight span {
    display: block;
    font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 2px;
}

/* ---------------- Kırıntı yolu + bölüm bağlantıları şeridi ---------------- */
.ocean-page-nav {
    background: #eef2f7;
    border-bottom: 1px solid #e0e7f1;
}
.ocean-page-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 13px;
    padding-bottom: 13px;
}

/* Şerit açık zeminli: kırıntı yolu koyu zemin tonlarını devralmamalı. */
.ocean-page-nav .ocean-breadcrumb { margin: 0; }
.ocean-page-nav .ocean-breadcrumb a { color: #475569; }
.ocean-page-nav .ocean-breadcrumb a:hover { color: var(--ocean-accent-dark, #1e4bb8); }
.ocean-page-nav .ocean-breadcrumb .sep { color: #94a3b8; }
.ocean-page-nav .ocean-breadcrumb .current { color: #0f172a; font-weight: 600; }

.ocean-page-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.ocean-page-nav__links a {
    font-size: 14px; font-weight: 600; color: #475569; text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.ocean-page-nav__links a:hover {
    color: var(--ocean-accent-dark, #1e4bb8);
    border-bottom-color: var(--ocean-accent, #2f6ae1);
    text-decoration: none;
}

/* ---------------- Üst bölüm butonları ---------------- */
.ocean-page-hero__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ocean-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}
.ocean-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.ocean-btn--sm { padding: 8px 20px; font-size: 14px; }

/*
 * .ocean-eyebrow koyu zeminli üst bölüm için tanımlı (beyaz yazı, beyaz
 * kenarlık). Açık zeminli bölümlerde görünmez olurdu; burada devralınıyor.
 */
.ocean-section .ocean-eyebrow {
    /* Açık zeminde vurgu renginin koyu tonu okunaklı kalır. */
    border-color: var(--ocean-accent-dark, #1e4bb8);
    color: var(--ocean-accent-dark, #1e4bb8);
    background: #eef5ff;
}

/* ---------------- Özellik kutuları ---------------- */
.ocean-feature {
    background: #fff;
    border: 1px solid #e0e7f1;
    border-radius: 12px;
    padding: 26px 22px;
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ocean-feature:hover {
    box-shadow: 0 12px 28px rgba(15, 52, 96, .10);
    transform: translateY(-3px);
}
.ocean-feature__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: #eef5ff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.ocean-feature__icon i { font-size: 21px; color: var(--ocean-accent, #2f6ae1); }
.ocean-feature h4 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.ocean-feature p  { font-size: 14px; color: #475569; line-height: 1.65; margin: 0; }

/* ---------------- Sıkça sorulan sorular ---------------- */
.ocean-faq { max-width: 860px; margin: 0 auto; }

.ocean-faq__item {
    background: #fff;
    border: 1px solid #e0e7f1;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.ocean-faq__item.is-open { border-color: var(--ocean-accent, #2f6ae1); }

.ocean-faq__q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: 0;
    padding: 17px 20px;
    font-size: 15px; font-weight: 600; color: #0f172a; text-align: left;
    cursor: pointer;
}
.ocean-faq__q i {
    flex-shrink: 0;
    font-size: 13px; color: var(--ocean-accent, #2f6ae1);
    transition: transform .2s ease;
}
.ocean-faq__item.is-open .ocean-faq__q i { transform: rotate(180deg); }

.ocean-faq__a { padding: 0 20px 18px; }
.ocean-faq__a p { margin: 0; font-size: 14px; color: #475569; line-height: 1.75; }

/* ---------------- Tanıtım blokları ---------------- */
.ocean-cblock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    margin-bottom: 64px;
}
.ocean-cblock:last-child { margin-bottom: 0; }
.ocean-cblock--flip { flex-direction: row-reverse; }

.ocean-cblock__text  { flex: 1 1 320px; min-width: 280px; }
.ocean-cblock__media { flex: 1 1 320px; min-width: 280px; text-align: center; }
.ocean-cblock__media img { max-width: 100%; height: auto; border-radius: 14px; }

.ocean-cblock__text h3 {
    font-size: 27px; font-weight: 800; color: #0f172a;
    line-height: 1.25; margin-bottom: 14px;
}
.ocean-cblock__text p { font-size: 15px; color: #475569; line-height: 1.8; margin: 0; }

/* ---------------- İşletim sistemleri ---------------- */
.ocean-os {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    max-width: 940px;
    margin: 0 auto;
}
.ocean-os__item {
    background: #fff;
    border: 1px solid #e0e7f1;
    border-radius: 10px;
    padding: 16px 14px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ocean-os__item:hover {
    border-color: var(--ocean-accent, #2f6ae1);
    box-shadow: 0 8px 20px rgba(15, 52, 96, .08);
}
.ocean-os__item img  { max-height: 26px; max-width: 40%; }
.ocean-os__item span { font-size: 13px; font-weight: 600; color: #475569; }

/* ---------------- Karşılaştırma tablosu ---------------- */
.ocean-spec-table {
    background: #fff;
    border: 1px solid #e0e7f1;
    border-radius: 12px;
    overflow: hidden;
}

.ocean-spec-table__head,
.ocean-spec-table__row {
    display: flex;
    align-items: center;
}

.ocean-spec-table__head {
    background: #0f3460;
    color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.ocean-spec-table__head .ocean-spec-col { padding: 14px 16px; }

.ocean-spec-table__row {
    border-top: 1px solid #eef2f7;
    transition: background .15s ease;
}
.ocean-spec-table__row:hover { background: #f8fafc; }
.ocean-spec-table__row.is-featured { background: #eef5ff; }

.ocean-spec-col {
    flex: 1 1 0;
    min-width: 0;
    padding: 18px 16px;
}
.ocean-spec-col--name  { flex: 1.6 1 0; }
.ocean-spec-col--price { flex: 1.4 1 0; text-align: center; }

.ocean-spec-table__row .ocean-spec-col strong {
    display: block;
    font-size: 15px; font-weight: 700; color: #0f172a;
}
.ocean-spec-table__row .ocean-spec-col small {
    display: block;
    font-size: 12px; color: #475569; margin-top: 2px;
}

.ocean-spec-table__badge {
    display: inline-block;
    background: var(--ocean-accent, #2f6ae1); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: .04em;
    padding: 3px 10px; border-radius: 30px; margin-bottom: 6px;
}
.ocean-spec-table__price {
    font-size: 19px; font-weight: 800; color: var(--ocean-accent, #2f6ae1);
    margin-bottom: 9px;
}
.ocean-spec-table__price span { font-size: 12px; font-weight: 600; color: #475569; }

/* Ürün yokken yöneticiye yol gösteren kutu */
.ocean-empty--hint { border-style: dashed; border-color: #cbd5e1; color: #475569; }
.ocean-empty--hint strong { display: block; font-size: 17px; color: #0f172a; margin-bottom: 10px; }
.ocean-empty--hint p { font-size: 14px; margin: 0 0 6px; }
.ocean-empty--hint code {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 4px;
    padding: 2px 8px; color: #0f172a;
}
.ocean-empty__note { font-size: 13px !important; color: #475569; }

/* ---------------- Dar ekran ---------------- */
@media (max-width: 991px) {
    .ocean-cblock { gap: 30px; margin-bottom: 46px; }
    .ocean-cblock__text h3 { font-size: 23px; }

    /* Dar ekranda görsel metnin altına iner; sıra bozulmasın diye önce metin. */
    .ocean-page-hero--split .ocean-page-hero__grid { gap: 28px; }
    .ocean-page-hero--split .ocean-page-hero__media { order: 2; }
    .ocean-hero-highlights { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
}

@media (max-width: 575px) {
    .ocean-hero-highlights { grid-template-columns: 1fr; }
    .ocean-page-nav .container { flex-direction: column; align-items: flex-start; gap: 10px; }
    .ocean-page-nav__links { gap: 16px; }
}

@media (max-width: 767px) {
    /* Tablo satırları kart olur; sütun başlıkları hücrenin soluna taşınır. */
    .ocean-spec-table__head { display: none; }
    .ocean-spec-table__row  { flex-direction: column; align-items: stretch; padding: 6px 0 14px; }
    .ocean-spec-col { padding: 9px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
    .ocean-spec-col[data-label]::before {
        content: attr(data-label);
        font-size: 11px; font-weight: 700; color: #475569;
        text-transform: uppercase; letter-spacing: .04em;
        flex-shrink: 0;
    }
    .ocean-spec-col--price { flex-direction: column; align-items: stretch; text-align: left; }
    .ocean-spec-col--price::before { margin-bottom: 4px; }
    .ocean-spec-table__row .ocean-spec-col strong { text-align: right; }
    .ocean-spec-col--name .ocean-spec-col strong { text-align: left; }

    .ocean-page-hero__actions .ocean-btn { flex: 1 1 auto; text-align: center; }
}
