/* ===========================
   Shaheen Travel - Custom Styles
   =========================== */

/* ===========================
   Custom Fonts
   =========================== */

/* Arabic Fonts - Ping Family */
@font-face {
    font-family: 'Ping';
    src: url('assets/fonts/ar/Ping-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Ping';
    src: url('assets/fonts/ar/Ping-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Ping';
    src: url('assets/fonts/ar/Ping-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Ping';
    src: url('assets/fonts/ar/Ping-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Kurdish Fonts - Rabar Family */
@font-face {
    font-family: 'Rabar';
    src: url('assets/fonts/ku/Rabar_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Rabar';
    src: url('assets/fonts/ku/Rabar_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --gold: #B8904B;
    --dark-charcoal: #2A2A2A;
    --light-bg: #F7F7F7;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-charcoal);
    overflow-x: hidden;
}

/* Apply Kurdish font when Kurdish language is active */
html[lang="ku"] body,
html[lang="ku"] * {
    font-family: 'Rabar', 'Segoe UI', Tahoma, sans-serif !important;
}

/* Apply Arabic font when Arabic language is active */
html[lang="ar"] body,
html[lang="ar"] * {
    font-family: 'Ping', 'Segoe UI', Tahoma, sans-serif !important;
}

html {
    scroll-behavior: smooth;
}

/* ===========================
   Navigation
   =========================== */

#mainNav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    padding: 0.8rem 0;
}

.navbar-brand {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.navbar-brand:hover {
    transform: scale(1.08);
}

.navbar-brand img {
    transition: all 0.3s ease;
    height: 65px;
}

.navbar-dark {
    background: transparent !important;
}

.navbar-toggler {
    border-color: var(--gold);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23B8904B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--dark-charcoal) !important;
    font-weight: 600;
    margin: 0 8px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: var(--gold) !important;
    background: rgba(184, 144, 75, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 6px;
    background: rgba(184, 144, 75, 0.08);
    padding: 4px;
    border-radius: 25px;
    border: 1px solid rgba(184, 144, 75, 0.2);
}

.btn-outline-gold {
    border: none;
    color: var(--dark-charcoal);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-outline-gold:hover {
    background-color: rgba(184, 144, 75, 0.15);
    color: var(--dark-charcoal);
    transform: translateY(-1px);
}

.btn-outline-gold.active {
    background: linear-gradient(135deg, var(--gold), #a07a3d);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 144, 75, 0.3);
    transform: translateY(-1px);
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(42, 42, 42, 0.7) 0%, 
                rgba(184, 144, 75, 0.4) 50%,
                rgba(42, 42, 42, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1.2s ease;
}

.hero-section .btn {
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Buttons
   =========================== */

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #a07a3d 100%);
    color: var(--white);
    border: none;
    padding: 14px 45px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(184, 144, 75, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #a07a3d 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(184, 144, 75, 0.5);
    color: var(--white);
}

/* ===========================
   Sections
   =========================== */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--dark-charcoal));
    margin: 0 auto 50px;
    border-radius: 10px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 11px;
    background: var(--gold);
    border-radius: 10px;
}

/* ===========================
   Service Cards
   =========================== */

.service-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(184, 144, 75, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-charcoal));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(184, 144, 75, 0.25);
    border-color: rgba(184, 144, 75, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gold), #d4a962);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
}

.service-card h4 {
    color: var(--dark-charcoal);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   Visa Cards
   =========================== */

.visa-card {
    padding: 0;
    overflow: hidden;
}

.visa-image-wrapper {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.visa-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.visa-card:hover .visa-image-wrapper img {
    transform: scale(1.12);
}

.visa-country-badge {
    position: absolute;
    bottom: 14px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0,0,0,0.65);
    color: #fff;
    letter-spacing: 0.5px;
}

/* RTL fix for badge placement */
[dir="rtl"] .visa-country-badge {
    left: auto;
    right: 16px;
}

.visa-card-body {
    background: #fff;
}

.visa-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 4px;
}

.visa-meta i {
    color: var(--gold);
    font-size: 1rem;
}

.visa-note {
    font-size: 0.8rem;
    color: #999;
}

/* ===========================
   Generic package cards (hotel / tours / offers)
   =========================== */

.package-card {
    padding: 0;
    overflow: hidden;
}

.package-image-wrapper {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.package-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.package-card:hover .package-image-wrapper img {
    transform: scale(1.12);
}

.package-badge {
    position: absolute;
    bottom: 14px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0,0,0,0.65);
    color: #fff;
    letter-spacing: 0.5px;
}

/* RTL for package badge */
[dir="rtl"] .package-badge {
    left: auto;
    right: 16px;
}

.package-card-body {
    background: #fff;
}

.package-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 4px;
}

.package-meta i {
    color: var(--gold);
    font-size: 1rem;
}

.package-note {
    font-size: 0.8rem;
    color: #999;
}

/* ===========================
   Background Colors
   =========================== */

.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-dark {
    background-color: var(--dark-charcoal) !important;
}

/* ===========================
   About Section - Stat Cards
   =========================== */

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
    padding: 35px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(184, 144, 75, 0.1);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(184, 144, 75, 0.2);
    border-color: rgba(184, 144, 75, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold), #d4a962);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-charcoal);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* ===========================
   About Section - Content
   =========================== */

.about-content h3 {
    color: var(--dark-charcoal);
    font-weight: 700;
    font-size: 1.8rem;
}

.about-content p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* ===========================
   About Section - Feature Boxes
   =========================== */

.feature-box {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(184, 144, 75, 0.1);
    text-align: center;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(184, 144, 75, 0.2);
}

.feature-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(184, 144, 75, 0.1), rgba(184, 144, 75, 0.05));
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-box {
    background: linear-gradient(135deg, var(--gold), #d4a962);
    transform: rotateY(360deg);
}

.feature-icon-box i {
    font-size: 2.5rem;
    color: var(--gold);
    transition: color 0.3s ease;
}

.feature-box:hover .feature-icon-box i {
    color: var(--white);
}

.feature-box h5 {
    color: var(--dark-charcoal);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===========================
   Contact Section
   =========================== */

.contact-info {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 144, 75, 0.1);
}

.contact-info h4 {
    color: var(--dark-charcoal);
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.contact-info p:hover {
    background: rgba(184, 144, 75, 0.05);
    transform: translateX(5px);
}

.contact-info i {
    font-size: 1.3rem;
}

.text-gold {
    color: var(--gold);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(184, 144, 75, 0.15);
    transform: translateY(-2px);
}

/* ===========================
   Footer
   =========================== */

footer {
    background-color: var(--dark-charcoal);
}

footer p {
    margin: 0;
}

/* ===========================
   RTL Support for Arabic
   =========================== */

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: 0 !important;
    margin-left: auto !important;
}

[dir="rtl"] .language-switcher {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 991px) {
    .navbar-brand img {
        height: 55px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 12px 20px !important;
        margin: 5px 0;
    }
    
    .language-switcher {
        margin-top: 20px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 85vh;
    }
    
    .hero-video {
        min-width: auto;
        width: 100%;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.85rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-gold {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ===========================
   Smooth Scroll Offset
   =========================== */

section {
    scroll-margin-top: 80px;
}

/* ===========================
   Loading Animations
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===========================
   Scroll Reveal Animation
   =========================== */

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===========================
   Custom Scrollbar
   =========================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--dark-charcoal));
    border-radius: 10px;
    border: 2px solid var(--light-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4a962, var(--dark-charcoal));
}
