/* assets/css/style.css */

/* ===== VARIABLES ===== */
:root {
    /* New color palette */
    --primary-orange: #f39121;
    --primary-blue: #00579f;
    --accent-blue: #1f5785;
    --dark-orange: #e35c14;

    /* Legacy variable names (pointing to new colors) */
    --gold: var(--primary-orange);
    --navy: var(--primary-blue);

    /* RGB variants for rgba() usage */
    --gold-rgb: 243, 112, 33;   /* #f37021 */
    --navy-rgb: 0, 115, 207;    /* #0073cf */

    /* Background & neutral colors (unchanged) */
    --light-bg: #f5f2e8;
    --gray-bg: #e6e9f0;
    --white: #ffffff;
    --black: #000000;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Readex Pro', sans-serif;
    background-color: var(--light-bg);
    color: var(--navy);
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Cairo', sans-serif;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== COLOR UTILITIES ===== */
.gold { color: var(--gold); }
.gold-bg { background-color: var(--gold); }
.gold-border { border-color: var(--gold); }
.navy { color: var(--navy); }
.navy-bg { background-color: var(--navy); }

/* Additional utilities from second part */
.gold-text {
    background: linear-gradient(145deg, var(--gold), var(--dark-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navy-light { color: var(--navy); }
.navy-light-bg { background-color: var(--navy); }

/* ===== GLASS EFFECTS ===== */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 32px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 30px -10px rgba(var(--gold-rgb), 0.3);
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-radius: 40px;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    border: 1px solid var(--gold);
    font-weight: 600;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold:hover {
    background: var(--dark-orange);
    border-color: var(--dark-orange);
    box-shadow: 0 10px 20px -5px var(--gold);
}

.btn-navy {
    background: var(--navy);
    color: var(--gold);
    border-radius: 40px;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    border: 1px solid var(--navy);
    font-weight: 600;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-navy:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px -5px var(--navy);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 40px;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ===== WISHLIST BADGE ===== */
.wishlist-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    color: var(--navy);
    cursor: pointer;
    border: 1px solid var(--gold);
    transition: var(--transition);
    z-index: 5;
}

.wishlist-badge:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--navy);
}

.wishlist-badge.active {
    background: var(--gold);
    color: var(--navy);
}

/* ===== GALLERY ITEMS ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 15px 25px -10px rgba(var(--navy-rgb), 0.3);
}

.gallery-item img {
    transition: transform 0.8s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--navy), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===== TOUR CARDS ===== */
.tour-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--gold);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px var(--navy);
}

/* ===== STORY TIMELINE ===== */
.story-timeline {
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--navy));
    border-radius: 2px;
}

@media (min-width: 768px) {
    .story-timeline::before {
        left: 50%;
        margin-left: -1px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--navy);
    color: var(--gold);
    white-space: nowrap;
    padding: 10px 0;
}

.ticker-move {
    display: inline-block;
    animation: ticker 25s linear infinite;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--navy);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-item:hover,
.pagination-item.active {
    background: var(--gold);
    color: var(--navy);
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    border: 1px solid var(--gold);
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

/* ===== RATING STARS ===== */
.rating-stars {
    color: var(--gold);
    display: inline-flex;
    gap: 2px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--navy);
    text-decoration: none;
    opacity: 0.7;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--gold);
}

.breadcrumb span {
    color: var(--gold);
    font-weight: 600;
}

/* ===== LANGUAGE DROPDOWN (from second part) ===== */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 16px;
    right: 0;
    top: 30px;
    border: 1px solid var(--gold);
}

.lang-dropdown-content a {
    color: var(--navy);
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.lang-dropdown-content a:last-child {
    border-bottom: none;
}

.lang-dropdown-content a:hover {
    background-color: var(--gold);
    color: var(--navy);
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

/* ===== MOBILE MENU (from second part) ===== */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu-content {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        z-index: 100;
        padding: 20px;
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .mobile-menu-content a {
        display: block;
        padding: 12px;
        border-bottom: 1px solid #eee;
        color: var(--navy);
        text-decoration: none;
    }

    .mobile-menu-content a:last-child {
        border-bottom: none;
    }

    .mobile-menu-content a:hover {
        background-color: var(--gold);
        color: var(--navy);
    }
}

/* ===== RESPONSIVE (merged) ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        width: 100%;
    }
}