/* Enhanced UI Design for Zic Voyayage */
:root {
    --primary-color: #e63946;
    --primary-color-rgb: 230, 57, 70;
    --primary-dark: #c1121f;
    --secondary-color: #1d3557;
    --secondary-color-rgb: 29, 53, 87;
    --accent-color: #f1faee;
    --text-color: #333;
    --text-light: #777;
    --light-color: #fff;
    --gray-color: #e5e5e5;
    --dark-gray: #555;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
    direction: rtl;
}

/* Enhanced Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-weight: 800;
}

.logo p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: -5px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-right: 2.5rem;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 2px;
    position: relative;
    transition: var(--transition);
    color: var(--text-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Enhanced Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(var(--primary-color-rgb), 0.2);
}

.btn-small:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Enhanced Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--light-color);
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 180px;
    margin: 0;
    padding: 12px 25px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.hero-buttons .btn-primary:hover:before {
    left: 100%;
}

/* Enhanced Card Styles */
.destination-card, .offer-card, .destination-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card:hover, .offer-card:hover, .destination-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.destination-img, .destination-image, .offer-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.destination-img img, .destination-image img, .offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-img img, 
.destination-item:hover .destination-image img,
.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.destination-info, .destination-content, .offer-body {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-info h3, .destination-content h3, .offer-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.destination-meta, .offer-details {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.destination-meta span, .offer-detail {
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.destination-meta span i, .offer-detail i {
    margin-left: 5px;
    color: var(--primary-color);
}

.destination-price, .offer-price {
    margin-top: auto;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.destination-price span, .new-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.destination-badge, .offer-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Enhanced Sections */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, #f9f9f9, transparent);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 20px;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    margin-bottom: 10px;
}

/* Filter and Form Styles */
.filter-bar, .offers-filter {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.filter-bar::before, .offers-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.filter-select, .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius-sm);
    font-family: 'Tajawal', Arial, sans-serif;
    transition: var(--transition);
    background-color: white;
}

.filter-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    outline: none;
}

/* Limited Offer Section */
.limited-offer {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    margin: 4rem 0;
}

.limited-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.9) 0%, rgba(var(--secondary-color-rgb), 0.9) 100%);
    opacity: 0.85;
    z-index: 1;
}

.limited-offer-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
}

.limited-offer-title {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.limited-offer-text {
    color: white;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.countdown {
    margin: 2.5rem 0;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Category Buttons */
.offer-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    background-color: var(--light-color);
    border: 1px solid var(--gray-color);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.05;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-content form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-family: 'Tajawal', Arial, sans-serif;
}

.newsletter-content .btn {
    padding: 15px 30px;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #eee;
    padding: 4rem 0 2rem;
}

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

.footer-about h3, .footer-links h3, .footer-contact h3, .footer-social h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-about h3::after, .footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-left: 10px;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease;
}

/* Language Selector */
.lang-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.lang-selector select {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--gray-color);
    background-color: white;
    font-family: 'Tajawal', Arial, sans-serif;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(var(--primary-color-rgb), 0.4);
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    transition: all 0.3s ease;
    transform-origin: bottom left;
    transform: scale(0.9);
    opacity: 0;
}

.chat-box.active {
    display: block;
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    cursor: pointer;
}

.chat-messages {
    height: 250px;
    overflow-y: auto;
    padding: 15px;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--gray-color);
    padding: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--gray-color);
    border-radius: 20px;
    margin-left: 10px;
    font-family: 'Tajawal', Arial, sans-serif;
}

.chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Weather Cards */
.weather-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-color);
}

.weather-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.weather-icon {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services Section */
.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-lg);
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--secondary-color-rgb), 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
}

/* Tools Page Styles */
.converter-box {
    border-radius: var(--border-radius-lg);
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.converter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.converter-result {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-md);
    color: white;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    display: none;
    animation: fadeIn 0.5s ease;
}

.tip-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.tip-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.tip-card:hover .tip-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .limited-offer-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 1rem 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    nav.active ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 8px 0;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        cursor: pointer;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about h3::after, .footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .limited-offer-title {
        font-size: 1.8rem;
    }
    
    .newsletter-content form {
        flex-direction: column;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .countdown-item {
        width: 70px;
        height: 70px;
    }
} 