/* Trident brand lockup and cinematic hero sequence. */
.page-wipe {
    position: fixed;
    inset: 0;
    background: #060c14;
    z-index: 9999;
    display: grid;
    place-items: center;
    transform: translateY(0);
    transition: transform .8s cubic-bezier(.76, 0, .24, 1);
}

.page-wipe-logo {
    width: min(280px, 70vw);
    max-height: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(216, 182, 106, 0.15);
    animation: wipeLogoPulse 1.6s ease-in-out infinite alternate;
}

@keyframes wipeLogoPulse {
    0% { transform: scale(0.97); filter: brightness(0.96); }
    100% { transform: scale(1.03); filter: brightness(1.06); }
}

.brand {
    width: 220px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 48px;
    height: 48px;
    max-width: none;
    max-height: none;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(219, 181, 108, .65);
    flex: 0 0 auto;
}

.brand-name {
    display: flex;
    flex-direction: column;
    width: max-content;
}

.brand-name b {
    color: #fff;
    font: 500 14px var(--wide);
    letter-spacing: 2.6px;
}

.brand-name small {
    color: #d7b36e;
    font: 500 6px var(--wide);
    letter-spacing: 2.4px;
    margin-top: 5px;
}

.hero-media {
    background: none;
    animation: none;
}

.hero-media,
.hero-frame {
    position: absolute;
    inset: 0;
}

.hero-frame {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) scale(1.055);
}

.frame-airport {
    background-image: url('../images/hero-airport.webp');
    opacity: 0;
    animation: scene-two 20s cubic-bezier(.45, 0, .55, 1) infinite;
}

.frame-passport {
    background-image: url('../images/hero-passport.png');
    animation: scene-one 20s cubic-bezier(.45, 0, .55, 1) infinite;
}

@keyframes scene-one {
    0%, 40% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.055); }
    50%, 90% { opacity: 0; transform: translate3d(-.5%, 0, 0) scale(1.015); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.055); }
}

@keyframes scene-two {
    0%, 40% { opacity: 0; transform: translate3d(.5%, 0, 0) scale(1.015); }
    50%, 90% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.055); }
    100% { opacity: 0; transform: translate3d(.5%, 0, 0) scale(1.015); }
}

.hero-brand-seal {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    padding: 4px;
    border: 1px solid rgba(220, 184, 105, .9);
    border-radius: 50%;
    background: rgba(5, 16, 28, .72);
    box-shadow: 0 0 0 7px rgba(220, 184, 105, .08), 0 12px 35px rgba(0, 0, 0, .28);
    animation: seal-reveal .9s .2s both;
}

.hero-brand-seal::after {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(220, 184, 105, .24);
    border-radius: 50%;
}

.hero-brand-seal img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: sepia(.12) saturate(1.15) contrast(1.05);
}

@keyframes seal-reveal {
    from { opacity: 0; transform: translateY(14px) scale(.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 620px) {
    .brand { width: auto; gap: 8px; }
    .brand img { width: 40px; height: 40px; }
    .brand-name b { font-size: 11px; letter-spacing: 1.5px; }
    .brand-name small { font-size: 5px; letter-spacing: 1.5px; }
    .hero-brand-seal { width: 68px; height: 68px; margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-frame, .hero-brand-seal { animation: none; }
    .frame-passport { display: none; }
}

/* Mobile Navigation & Viewport Overflow Fixes */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

@media (max-width: 950px) {
    .main-nav {
        position: fixed !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 72px) !important;
        background: #081220 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 24px 50px !important;
        gap: 0 !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;

        /* Closed state: completely hidden, no horizontal peek or scroll area */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
        transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s ease !important;
    }

    .main-nav.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .navbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .brand {
        flex: 0 0 auto !important;
    }

    .menu-toggle {
        display: block !important;
        margin-left: auto !important;
        position: relative !important;
        z-index: 10001 !important;
        flex: 0 0 auto !important;
    }

    .main-nav a:after {
        display: none !important;
    }

    .main-nav a {
        font-size: 18px !important;
        font-weight: 500 !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: color 0.25s ease !important;
    }

    .main-nav a.active,
    .main-nav a:hover {
        color: #d8b66a !important;
        font-weight: 600 !important;
    }

    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-nav-phone {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #d8b66a !important;
        font-size: 15px !important;
        font-weight: 500;
        border-bottom: 0 !important;
    }

    .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #9a7738;
        color: #fff !important;
        padding: 14px 20px !important;
        font-size: 12px !important;
        font-weight: 600;
        letter-spacing: 1px;
        border-radius: 4px;
        text-transform: uppercase;
        border-bottom: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center;
    }

    .about-photo > div {
        right: 0 !important;
        bottom: 20px;
    }

    .inner-hero-content > p:last-child {
        margin-left: 0 !important;
    }
}

@media (min-width: 951px) {
    .mobile-nav-footer {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Prevent iOS Safari forced auto-zoom on inputs */
    input, select, textarea {
        font-size: 16px !important;
    }
    .contact-panel {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 620px) {
    .page-wipe-logo {
        width: min(220px, 65vw);
        max-height: 220px;
    }
}    .number-grid strong {
        font-size: clamp(38px, 11vw, 52px);
    }
    .country-filter {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .country-filter::-webkit-scrollbar {
        display: none;
    }
    .quick-visa {
        padding: 20px 16px;
    }
    .hero-content h1 {
        font-size: clamp(36px, 9vw, 48px);
    }
}

/* Infinite Seamless Marquee Banner */
.marquee {
    height: 60px;
    background: #080e1a;
    color: #9ea4b0;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    user-select: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: marqueeInfinite 28s linear infinite;
}

.marquee-track span {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.marquee i {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d8b66a;
    margin: 0 32px;
    flex-shrink: 0;
}

@keyframes marqueeInfinite {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* SSS (FAQ) Page & Accordion Styles */
.faq-search-box {
    position: relative;
    max-width: 780px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
}

.faq-search-box svg {
    position: absolute;
    left: 20px;
    width: 20px;
    height: 20px;
    color: #9a7738;
}

.faq-search-box input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 120px 18px 54px;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    box-shadow: 0 10px 30px rgba(11, 19, 36, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-search-box input:focus {
    border-color: #9a7738;
    box-shadow: 0 12px 35px rgba(154, 119, 56, 0.15);
}

#faq-count-badge {
    position: absolute;
    right: 16px;
    background: #0b1324;
    color: #d8b66a;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.faq-accordion-list {
    max-width: 920px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.faq-accordion-item {
    border-bottom: 1px solid var(--line);
}

.faq-accordion-btn {
    width: 100%;
    min-height: 80px;
    background: transparent;
    border: none;
    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    text-align: left;
    padding: 20px 10px;
    cursor: pointer;
    gap: 15px;
}

.faq-num {
    color: #9a7738;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.faq-q-text {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    transition: color 0.25s;
}

.faq-accordion-btn:hover .faq-q-text,
.faq-accordion-item.open .faq-q-text {
    color: #9a7738;
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform 0.35s ease, color 0.35s;
    justify-self: end;
}

.faq-accordion-item.open .faq-icon {
    transform: rotate(45deg);
    color: #9a7738;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s;
}

.faq-accordion-item.open .faq-accordion-content {
    max-height: 1000px;
    padding-bottom: 28px;
    transition: max-height 0.6s ease-in-out;
}

.faq-accordion-content p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0;
    padding-left: 65px;
    max-width: 820px;
}

.faq-no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.faq-no-results svg {
    width: 48px;
    height: 48px;
    color: #9a7738;
    margin-bottom: 16px;
}

.faq-no-results h3 {
    font-family: var(--serif);
    font-size: 24px;
    margin-bottom: 8px;
}

.faq-no-results p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 620px) {
    .faq-accordion-btn {
        grid-template-columns: 35px 1fr 20px;
        gap: 10px;
        min-height: 70px;
        padding: 16px 0;
    }
    .faq-q-text {
        font-size: 15px;
    }
    .faq-accordion-content p {
        padding-left: 0;
        font-size: 13px;
    }
    .faq-search-box input {
        padding-right: 90px;
        font-size: 13px;
    }
}

/* Blog Listing & Article Detail Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 19, 36, 0.12);
}

.blog-card-image {
    position: relative;
    height: 220px;
    display: block;
    overflow: hidden;
    background: #0b1324;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(6, 14, 24, 0.85);
    backdrop-filter: blur(4px);
    color: #d8b66a;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-author {
    font-size: 10px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-author svg {
    width: 12px;
    height: 12px;
}

.blog-card-body h2 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 12px;
}

.blog-card-body h2 a {
    color: var(--ink);
    transition: color 0.25s;
}

.blog-card-body h2 a:hover {
    color: #9a7738;
}

.blog-card-body p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #9a7738;
    text-transform: uppercase;
}

.blog-read-more svg {
    width: 14px;
    transition: transform 0.25s;
}

.blog-read-more:hover svg {
    transform: translateX(4px);
}

/* Blog Article Detail Layout */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

.blog-featured-image {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 14px 40px rgba(11, 19, 36, 0.1);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-text-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink);
}

.blog-text-body h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    margin: 36px 0 16px;
    color: var(--navy);
}

.blog-text-body p {
    margin-bottom: 24px;
    color: #3b4854;
}

.blog-text-body strong {
    color: var(--navy);
}

.blog-text-body ul {
    margin: 20px 0 28px;
    padding-left: 20px;
}

.blog-text-body li {
    margin-bottom: 10px;
    color: #3b4854;
}

.blog-share-bar {
    margin-top: 45px;
    padding: 24px;
    background: #f4f6f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.blog-share-bar span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.btn-share-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.25s;
}

.btn-share-wa:hover {
    opacity: 0.9;
}

.btn-share-wa svg {
    width: 16px;
    height: 16px;
}

/* Sidebar Cards */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}

.sidebar-cta-card {
    background: #0b1324;
    color: #ffffff;
    padding: 32px 28px;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(6, 14, 28, 0.2);
}

.sidebar-cta-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    margin: 12px 0 14px;
    line-height: 1.3;
}

.sidebar-cta-card p {
    font-size: 12px;
    line-height: 1.7;
    color: #9bb0ba;
    margin-bottom: 24px;
}

.sidebar-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #9a7738;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s;
}

.sidebar-btn-cta:hover {
    background: #b8964a;
}

.sidebar-btn-cta svg {
    width: 14px;
}

.sidebar-info-card {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-info-card svg {
    width: 24px;
    height: 24px;
    color: #9a7738;
}

.sidebar-info-card h4 {
    font-family: var(--serif);
    font-size: 18px;
    margin: 4px 0 0;
}

.sidebar-info-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.sidebar-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9a7738;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    text-decoration: none;
}

.sidebar-phone-link svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 950px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 620px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-featured-image {
        height: 260px;
    }
    .blog-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Bordo Turkish Passport Card Styling */
.passport-card.turkish-bordo-passport {
    width: 270px;
    height: 385px;
    background: #581825;
    border: 1px solid rgba(216, 182, 106, 0.35);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7);
    transform: rotate(-6deg);
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.passport-card.turkish-bordo-passport:hover {
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 35px 85px rgba(216, 182, 106, 0.4);
}

.passport-card.turkish-bordo-passport .passport-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Service Detail Mobile Layout Fix */
@media (max-width: 768px) {
    .service-detail {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 35px 0 !important;
        border-bottom: 1px solid var(--line) !important;
    }

    .service-detail > span {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #9a7738 !important;
        margin-bottom: -4px !important;
    }

    .service-detail > div {
        width: 100% !important;
    }

    .service-detail h2 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin: 0 0 10px 0 !important;
    }

    .service-detail p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
        color: var(--muted) !important;
        margin: 0 0 15px 0 !important;
    }

    .service-detail ul {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .service-detail li {
        font-size: 12px !important;
        line-height: 1.6 !important;
        margin: 8px 0 !important;
    }

    .service-detail > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 20px !important;
        width: auto !important;
        height: auto !important;
        min-height: 42px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        color: #ffffff !important;
        background: #0b1324 !important;
        border: 1px solid #d8b66a !important;
        border-radius: 6px !important;
        margin-top: 5px !important;
        text-decoration: none !important;
    }

    .service-detail > a::after {
        content: " BAŞVURU YAP";
    }
}

/* Service Detail Desktop Layout Button Fix (Applies over 768px) */
@media (min-width: 769px) {
    .service-detail {
        display: grid !important;
        grid-template-columns: 50px 1.1fr 1fr auto !important;
        gap: 40px !important;
        align-items: center !important;
        padding: 50px 20px !important;
    }

    .service-detail > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 14px 24px !important;
        width: auto !important;
        height: 48px !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 1.2px !important;
        color: #ffffff !important;
        background: #0b1324 !important;
        border: 1px solid #d8b66a !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
    }

    .service-detail > a:hover {
        background: #9a7738 !important;
        border-color: #9a7738 !important;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(216, 182, 106, 0.25);
    }

    .service-detail > a::after {
        content: " BAŞVURU YAP";
    }
}



