/* 
    Sindibad Travel & Tourism - Premium Styles
    Colors:
    - Primary: #0B5ED7 (Blue)
    - Secondary: #20C997 (Turquoise)
    - Accent: #FFC107 (Gold)
    - Background: #F8F9FA (Light Gray)
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0B5ED7;
    --secondary-color: #20C997;
    --accent-color: #FFC107;
    --dark-color: #1A1A1A;
    --light-color: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0848a5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 94, 215, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--white);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

header.scrolled .logo h1 {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
}

header.scrolled .nav-links a {
    color: var(--dark-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 60px;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.slide-item.active h2, .slide-item.active p {
    transform: translateY(0);
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 10px;
}

/* Search Form */
.search-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray);
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

/* Card Styles */
.package-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-img {
    height: 250px;
    overflow: hidden;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .package-img img {
    transform: scale(1.1);
}

.package-content {
    padding: 25px;
}

.package-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.package-price {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* RTL Support */
body[dir="rtl"] {
    text-align: right;
}

body[dir="rtl"] .package-tag {
    left: auto;
    right: 20px;
}

body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--dark-color) !important;
        font-size: 20px;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        color: var(--white);
        cursor: pointer;
        z-index: 1002;
    }

    header.scrolled .mobile-menu-toggle {
        color: var(--primary-color);
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 35px;
    }
    
    .hero-content p {
        font-size: 16px;
    }

    .search-form {
        flex-direction: column;
        margin: -30px 20px 0;
        padding: 20px;
    }

    .form-group {
        width: 100%;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

@media (min-width: 993px) {
    .mobile-menu-toggle {
        display: none;
    }
}
