/* ============================================
   BESADA TURİZM - Frontend Styles
   Tourism & Travel
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.site-header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}
.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 3px; }
.logo-text {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 8px;
    color: #1a1a1a;
}
.logo-sub {
    font-size: 8px;
    color: #999;
    text-transform: uppercase;
    text-align: justify;
    text-align-last: justify;
}
.logo-img {
    max-height: 58px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(33%) sepia(92%) saturate(540%) hue-rotate(178deg) brightness(92%) contrast(88%);
}
.main-nav {
    display: flex;
    gap: 20px;
}
.main-nav a {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #555;
    position: relative;
    padding: 5px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}
.main-nav a:hover { color: #1a1a1a; }
.main-nav a:hover::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 25px; }
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 1px;
}
.lang-switcher a {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
    opacity: 0.5;
}
.lang-switcher a.active { opacity: 1; }
.lang-switcher a:hover { opacity: 1; }
.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 0.5px rgba(0,0,0,0.12);
    display: block;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 5px 0;
}
.menu-toggle span {
    display: block;
    height: 1.5px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu.active { display: block; opacity: 1; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 22px;
    padding: 20px 0;
}
.mobile-menu-inner a {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #333;
}
.mobile-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.mobile-lang-switcher a {
    display: inline-flex;
    align-items: center;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.08);
    opacity: 0.45;
    transition: all 0.2s ease;
}
.mobile-lang-switcher a.active {
    opacity: 1;
    border-color: rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.03);
}
.mobile-lang-switcher .flag-icon {
    width: 28px;
    height: 19px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #0d2137;
}
.hero-slide-inner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
}
.hero-image-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
}
.hero-image-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: right center;
}
.hero-placeholder {
    width: 100%; height: 100%; background: linear-gradient(135deg, #1a6fb5 0%, #0d4e7a 100%);
}
.hero-gradient {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 55%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0) 100%);
    z-index: 2;
}
.hero-text-container {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-text {
    max-width: 480px;
    margin-top: 50px;
}
.hero-label {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-weight: 500;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}
.hero-btn {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #1a6fb5;
    background: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.hero-btn:hover { background: #1a6fb5; color: #fff; letter-spacing: 2.5px; }
/* --- Hero Right Controls (pagination + arrows) --- */
.hero-right-controls {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    z-index: 10;
}

/* Pagination (numbered vertical list) */
.hero-pagination {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: none;
}
.hero-pagination .swiper-pagination-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.4s ease;
    background: none;
    width: auto;
    height: auto;
}
.hero-pagination .swiper-pagination-bullet span.circle {
    display: inline-block;
    width: 7px;
    height: 7px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    transition: all 0.4s ease;
    flex-shrink: 0;
}
.hero-pagination .swiper-pagination-bullet-active {
    color: #fff;
}
.hero-pagination .swiper-pagination-bullet-active span.circle {
    border-color: #fff;
    background: #fff;
}

/* Arrows (right side, below pagination) */
.hero-arrows {
    display: flex;
    gap: 2px;
}
.hero-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    border: none;
}
.hero-arrow:hover {
    background: #fff;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .hero-right-controls {
        top: auto;
        bottom: 130px;
        right: 20px;
        transform: none;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .hero-pagination { flex-direction: row; gap: 10px; }
    .hero-pagination .swiper-pagination-bullet { font-size: 11px; gap: 5px; }
    .hero-pagination .swiper-pagination-bullet span.circle { width: 6px; height: 6px; }
    .hero-arrow { width: 40px; height: 40px; }
    .hero-arrow svg { width: 14px; height: 14px; }
}

/* --- Featured Strip --- */
.featured-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-top: 1px solid rgba(26,26,26,0.08);
}
.featured-strip-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 70px;
}
.featured-info {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 50px;
}
.featured-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #888;
    font-weight: 500;
}
.featured-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    text-transform: uppercase;
}
.featured-link {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.featured-link:hover { gap: 14px; }
.featured-nav { display: flex; }
.featured-nav button {
    width: 70px;
    height: 70px;
    border-left: 1px solid rgba(26,26,26,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}
.featured-nav button:hover { background: #1a1a1a; color: #fff; }

/* --- Stats Section --- */
.stats-section {
    position: relative;
    z-index: 25;
    margin-top: -140px;
    padding: 0 50px;
    margin-bottom: -110px;
}
.stats-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}
.stats-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 45px 25px;
    border-right: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}
.stats-card:last-child { border-right: none; }
.stats-card:first-child { border-radius: 16px 0 0 16px; }
.stats-card:last-child { border-radius: 0 16px 16px 0; }
.stats-card:hover { background: #fafafa; }
.stats-card-icon {
    width: 52px;
    height: 52px;
    background: #e8f2fc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.stats-card-icon i {
    font-size: 22px;
    color: #1a6fb5;
}
.stats-card-value {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}
.stats-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}
.stats-card-desc {
    font-size: 12px;
    color: #bbb;
    margin-top: 6px;
    line-height: 1.4;
}

/* --- Home Services Cards (5 col) --- */
.home-services-section {
    padding: 180px 0 100px;
    background: #f0f7ff;
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.home-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px 35px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
}
.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26,111,181,0.12);
    border-color: rgba(26,111,181,0.15);
}
.home-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0efff 0%, #c6dffa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}
.home-service-card:hover .home-service-icon {
    background: linear-gradient(135deg, #1a6fb5 0%, #145a94 100%);
}
.home-service-icon i {
    font-size: 26px;
    color: #1a6fb5;
    transition: color 0.35s ease;
}
.home-service-card:hover .home-service-icon i {
    color: #fff;
}
.home-service-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
}
@media (max-width: 1100px) {
    .home-services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .home-services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .home-service-card { padding: 28px 12px 24px; }
    .home-service-icon { width: 58px; height: 58px; }
    .home-service-icon i { font-size: 22px; }
    .home-service-label { font-size: 10px; letter-spacing: 1px; }
    .home-services-section { padding: 80px 0 60px; }
}
@media (max-width: 400px) {
    .home-services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .home-service-card { padding: 22px 8px 20px; }
    .home-service-icon { width: 50px; height: 50px; margin-bottom: 14px; }
    .home-service-icon i { font-size: 20px; }
    .home-service-label { font-size: 9px; }
}

/* --- Home Category Sections (son 4 veri) --- */
.home-category-section {
    padding: 70px 0 80px;
    background: #fff;
}
.home-category-section.home-category-alt {
    background: #f5f9ff;
}
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.home-category-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.home-category-alt .home-category-card {
    border-color: rgba(0,0,0,0.04);
}
.home-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}
.home-category-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.home-category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-category-card:hover .home-category-card-img img {
    transform: scale(1.06);
}
.home-category-card-body {
    padding: 18px 20px 22px;
}
.home-category-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}
.home-category-card-body p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 1100px) {
    .home-category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .home-category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .home-category-card-img { height: 140px; }
    .home-category-card-body { padding: 14px 14px 16px; }
    .home-category-card-body h3 { font-size: 13px; }
    .home-category-card-body p { font-size: 12px; }
    .home-category-section { padding: 45px 0 55px; }
}

/* --- Home About Section --- */
.home-about-section {
    padding: 80px 0 100px;
    background: #fff;
}
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.home-about-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #1a1a1a;
}
.home-about-desc {
    font-size: 15px;
    color: #666;
    line-height: 2;
}
.home-about-image {
    border-radius: 12px;
    overflow: hidden;
}
.home-about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Section Common --- */
.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
}
.section-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
}
.section-link {
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.section-link:hover { gap: 14px; }

/* --- Work Steps Section --- */
.work-steps-section {
    padding: 100px 0;
    background: #f5f9ff;
}
.work-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 10px;
}
.work-step-card {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.work-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.work-step-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.work-step-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0efff 0%, #c6dffa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.work-step-icon i {
    font-size: 32px;
    color: #1a6fb5;
}
.work-step-number {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a6fb5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}
.work-step-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.work-step-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
}
.work-step-desc p { margin-bottom: 8px; }
.work-step-desc p:last-child { margin-bottom: 0; }
.work-step-desc strong { color: #555; font-weight: 600; }
.work-step-desc ul, .work-step-desc ol { margin: 6px 0; padding-left: 18px; }

/* --- Projects Section --- */
.projects-section {
    padding: 100px 0;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.projects-grid-full {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.projects-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.project-card {
    display: block;
    position: relative;
    overflow: hidden;
}
.project-card-boxed {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.project-card-boxed:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.project-card-image {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    background: #e8f2fc;
}
.project-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover .project-card-image img {
    transform: scale(1.05);
}
.project-card-info {
    padding: 18px 0;
}
.project-card-boxed .project-card-info {
    padding: 20px;
}
.project-card-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a1a1a;
}
.project-meta {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.project-arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    transition: margin-left 0.3s ease;
    color: #1a1a1a;
}
.project-card:hover .project-arrow { margin-left: 18px; }

/* --- Services Section (Homepage & Services Page share same card styles) --- */
.services-section {
    padding: 100px 0;
    background: #f0f7ff;
}

/* --- Services Page --- */
.services-page { padding: 80px 0 120px; background: #f5f9ff; }
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
}
.service-page-card {
    background: #fff;
    padding: 0;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.service-page-card h3,
.service-page-card p,
.service-page-arrow {
    padding-left: 30px;
    padding-right: 30px;
}
.service-page-card > h3:first-child,
.service-page-card > .service-page-image + h3 {
    padding-top: 25px;
}
.service-page-arrow {
    padding-bottom: 35px;
}
.service-page-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: rgba(0,0,0,0.1);
}
.service-page-image {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}
.service-page-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.service-page-card:hover .service-page-image img {
    transform: scale(1.05);
}
.service-page-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}
.service-page-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    flex: 1;
}
.service-page-arrow {
    margin-top: 25px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #aaa;
    transition: color 0.3s ease;
}
.service-page-card:hover .service-page-arrow { color: #1a1a1a; }

/* --- Service Detail Page --- */
.service-detail-page { padding: 80px 0 120px; }
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}
.service-detail-lead {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 30px;
}
.service-detail-content {
    font-size: 15px;
    color: #666;
    line-height: 2;
}

/* Rich content from WYSIWYG editor */
.rich-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 30px 0 15px;
}
.rich-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 25px 0 12px;
}
.rich-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
}
.rich-content p {
    margin-bottom: 15px;
}
.rich-content ul, .rich-content ol {
    margin: 15px 0;
    padding-left: 25px;
}
.rich-content li {
    margin-bottom: 8px;
}
.rich-content blockquote {
    border-left: 3px solid #1a6fb5;
    padding: 12px 20px;
    margin: 20px 0;
    background: #f0f7ff;
    color: #555;
    font-style: italic;
}
.rich-content a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rich-content a:hover {
    opacity: 0.7;
}
.rich-content strong {
    color: #333;
    font-weight: 600;
}
.service-detail-image {
    border-radius: 12px;
    overflow: hidden;
}
.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #888;
    transition: color 0.3s ease;
}
.btn-back:hover { color: #1a1a1a; }

/* --- Journal Section --- */
.journal-section {
    padding: 100px 0;
}
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.journal-card {
    display: block;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.journal-card:hover { transform: translateY(-5px); }
.journal-card-image {
    overflow: hidden;
    padding-bottom: 65%;
    position: relative;
    background: #f0ede8;
}
.journal-card-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.journal-card:hover .journal-card-image img { transform: scale(1.05); }
.journal-card-info {
    padding: 22px 0;
}
.journal-date {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}
.journal-card-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.journal-card-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

/* --- Journal Detail --- */
.journal-detail { padding: 120px 0 80px; }
.journal-detail h1 { font-family: 'Playfair Display', serif; font-size: 40px; margin: 15px 0 30px; }
.journal-detail-cover { margin-bottom: 40px; }
.journal-detail-cover img { width: 100%; max-height: 500px; object-fit: cover; }
.journal-detail-content { max-width: 800px; font-size: 16px; line-height: 1.9; color: #444; }
.journal-detail-content p { margin-bottom: 20px; }
.related-journals { margin-top: 80px; }
.related-journals h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 30px; }

/* --- Page Hero --- */
.page-hero {
    padding: 180px 0 80px;
    background: #1a1a1a;
    border-bottom: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45;
    z-index: 0;
}
.page-hero .section-container {
    position: relative;
    z-index: 1;
}
.page-hero .section-label {
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.7);
}
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

/* --- Project Detail (legacy + new) --- */
.project-detail { padding: 120px 0 80px; }
.project-detail-header { margin-bottom: 40px; }
.project-detail-header h1 { font-family: 'Playfair Display', serif; font-size: 42px; margin-top: 15px; }
.back-link { font-size: 13px; color: #888; font-weight: 500; letter-spacing: 1px; }
.back-link:hover { color: #1a1a1a; }
.project-detail-meta {
    display: flex;
    gap: 50px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}
.meta-label { display: block; font-size: 11px; color: #aaa; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.meta-value { font-size: 15px; font-weight: 500; }
.project-detail-cover { margin-bottom: 50px; }
.project-detail-cover img { width: 100%; max-height: 600px; object-fit: cover; }
.project-detail-content { max-width: 800px; font-size: 16px; line-height: 1.9; color: #444; margin-bottom: 50px; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 60px; }
.gallery-item img { width: 100%; height: 400px; object-fit: cover; }
.related-projects { margin-top: 60px; }
.related-projects h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 30px; }

/* Project Card Info for 4-col listing */
.projects-grid-4col .project-card-info h3 {
    font-size: 13px;
}

/* --- Studio Page --- */
.studio-page { padding: 80px 0 100px; }
.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.studio-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #1a1a1a;
}
.studio-content {
    font-size: 15px;
    color: #666;
    line-height: 2;
}
.studio-image {
    border-radius: 12px;
    overflow: hidden;
}
.studio-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.team-title { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.team-card { text-align: center; }
.team-photo { overflow: hidden; margin-bottom: 15px; padding-bottom: 120%; position: relative; background: #f0ede8; }
.team-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: #888; }

/* --- Contact Page --- */
.contact-page { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 30px; }
.contact-info-items { display: flex; flex-direction: column; gap: 25px; }
.contact-info-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-info-item i { font-size: 18px; color: #1a1a1a; margin-top: 3px; }
.contact-info-item strong { display: block; font-size: 13px; color: #888; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 500; letter-spacing: 1px; color: #888; text-transform: uppercase; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #1a1a1a;
}
.form-error { color: #e74c3c; font-size: 12px; }
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a6fb5;
    color: #fff;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    border-radius: 4px;
}
.btn-submit:hover { background: #145a94; gap: 16px; }
.alert-success-front {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 16px 20px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Pagination --- */
.pagination-wrap { margin-top: 60px; display: flex; justify-content: center; }
.pagination-wrap nav { display: flex; gap: 5px; }
.pagination-wrap .page-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid #ddd; font-size: 14px; color: #333;
}
.pagination-wrap .page-item.active .page-link { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* --- Footer --- */
.site-footer {
    background: #0f0f0f;
    color: #fff;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #1a6fb5 40%, #1a6fb5 60%, transparent);
}
.footer-top {
    padding: 72px 0 56px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr 1.05fr 1fr;
    gap: 44px;
    align-items: start;
}

/* Brand column */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    width: fit-content;
}
.footer-logo-text {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 8px;
    color: #fff;
}
.footer-logo-sub {
    font-size: 8px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    text-align: justify;
    text-align-last: justify;
}
.footer-logo-img {
    max-height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-tagline {
    font-size: 13.5px;
    color: rgba(255,255,255,0.38);
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 250px;
}

/* Social icons — flat square style */
.footer-social { display: flex; gap: 7px; }
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    transition: all 0.22s ease;
}
.footer-social a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

/* Column header */
.footer-col-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Navigation links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
    list-style: none;
}
.footer-links li a {
    font-size: 14px;
    color: rgba(255,255,255,0.48);
    transition: color 0.2s ease;
    display: inline-block;
}
.footer-links li a:hover { color: #fff; }

/* Contact list */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.48);
    line-height: 1.55;
}
.footer-contact-item i {
    font-size: 12px;
    color: rgba(255,255,255,0.22);
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.footer-contact-item .footer-wa-icon { color: #25D366; }
.footer-contact-item a {
    color: rgba(255,255,255,0.48);
    transition: color 0.2s;
}
.footer-contact-item a:hover { color: #fff; }
.footer-contact-address span { line-height: 1.6; }

/* Map column */
.footer-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    height: 158px;
    position: relative;
    margin-bottom: 11px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.footer-map-wrap iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block;
    filter: grayscale(25%) brightness(0.9);
    pointer-events: none;
}
.footer-map-cta {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}
.footer-map-cta:hover { color: #fff; }
.footer-map-cta i { font-size: 9px; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.footer-bottom .section-container {
    display: flex;
    justify-content: center;
}
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.3fr 0.85fr; gap: 36px; }
    .footer-col-map { grid-column: 1 / -1; }
    .footer-map-wrap { height: 200px; }
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-top { padding: 50px 0 40px; }
    .footer-tagline { max-width: 100%; }
    .footer-map-wrap { height: 180px; }
    .footer-map-wrap iframe { pointer-events: auto; }
}

/* --- Projects Page --- */
.projects-page { padding: 60px 0 80px; }
.journal-page { padding: 60px 0 80px; }

/* --- Responsive --- */
@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .projects-grid-4col { grid-template-columns: repeat(3, 1fr); }
    .hero-content { grid-template-columns: 1fr; }
    .hero-image { min-height: 350px; }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { padding: 0 25px; }
    .logo-img { max-height: 50px; }
    .footer-logo-img { max-height: 46px; }
    .section-container { padding: 0 25px; }
    .hero-content { padding: 50px 25px 0; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid-full { grid-template-columns: repeat(2, 1fr); }
    .projects-grid-4col { grid-template-columns: repeat(2, 1fr); }
    .services-page-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .journal-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .studio-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-about-image { order: -1; }
    .studio-image { order: -1; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-section { padding: 0 25px; margin-top: -50px; margin-bottom: -30px; }
    .stats-cards { grid-template-columns: repeat(2, 1fr); }
    .stats-card { padding: 30px 15px; }
    .stats-card:nth-child(2) { border-right: none; }
    .stats-card:nth-child(1) { border-radius: 16px 0 0 0; }
    .stats-card:nth-child(2) { border-radius: 0 16px 0 0; }
    .stats-card:nth-child(3) { border-radius: 0; border-top: 1px solid #f0f0f0; }
    .stats-card:nth-child(4) { border-radius: 0 0 16px 0; border-top: 1px solid #f0f0f0; }
    .stats-card:last-child { border-radius: 0 0 16px 0; }
    .stats-card:nth-child(3) { border-radius: 0 0 0 16px; }
    .stats-card-value { font-size: 28px; }
    .featured-strip-inner { padding: 15px 25px; flex-wrap: wrap; gap: 15px; }
    .featured-info { flex-wrap: wrap; gap: 15px; }
    .project-detail-meta { flex-wrap: wrap; gap: 25px; }
    .service-page-image img { height: 150px; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-right-controls { right: 15px; bottom: 110px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .work-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .work-steps-section { padding: 60px 0; }
    .work-step-card { padding: 30px 20px; }
    .work-step-icon { width: 75px; height: 75px; }
    .work-step-icon i { font-size: 26px; }
}
@media (max-width: 600px) {
    .logo-img { max-height: 44px; }
    .footer-logo-img { max-height: 40px; }
    .mobile-menu-inner { gap: 18px; }
    .mobile-menu-inner a { font-size: 15px; letter-spacing: 2px; }
    .projects-grid { grid-template-columns: 1fr; }
    .projects-grid-full { grid-template-columns: 1fr; }
    .projects-grid-4col { grid-template-columns: repeat(2, 1fr); }
    .journal-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .project-gallery { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
    .stats-section { padding: 0 15px; margin-top: -40px; margin-bottom: -20px; }
    .stats-cards { grid-template-columns: repeat(2, 1fr); }
    .stats-card { padding: 25px 12px; }
    .stats-card-value { font-size: 24px; }
    .stats-card-icon { width: 42px; height: 42px; margin-bottom: 12px; }
    .stats-card-icon i { font-size: 18px; }
    .services-page-grid { grid-template-columns: 1fr; }
    .service-page-image img { height: 180px; }
    .work-steps-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .work-step-card { padding: 25px 15px; }
    .work-step-title { font-size: 12px; }
    .work-step-desc { font-size: 13px; }
}

/* --- RTL Support (Arabic) --- */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .main-nav a::after { left: auto; right: 0; }
html[dir="rtl"] .hero-gradient {
    left: auto; right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0) 100%);
}
html[dir="rtl"] .hero-right-controls { right: auto; left: 50px; align-items: flex-start; }
html[dir="rtl"] .section-header { flex-direction: row-reverse; }
html[dir="rtl"] .section-link { flex-direction: row-reverse; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .footer-contact-item { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .footer-contact-item i { margin-top: 3px; }
html[dir="rtl"] .footer-social { justify-content: flex-end; }
html[dir="rtl"] .rich-content blockquote { border-left: none; border-right: 3px solid #1a6fb5; }
html[dir="rtl"] .rich-content ul, html[dir="rtl"] .rich-content ol { padding-left: 0; padding-right: 25px; }
html[dir="rtl"] .contact-info-item { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .btn-back { flex-direction: row-reverse; }
html[dir="rtl"] .featured-info { flex-direction: row-reverse; }
@media (max-width: 900px) {
    html[dir="rtl"] .hero-right-controls { left: 15px; right: auto; }
}
