/* ========================================
   EGYPT TOURS PAGE - ULTRA PROFESSIONAL
   Premium Design System
   ======================================== */

/* ============ HERO BANNER - EGYPT TOURS ============ */
.egypt-tours-hero {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.egypt-tours-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 31, 46, 0.85) 0%,
            rgba(0, 61, 92, 0.75) 50%,
            rgba(0, 31, 46, 0.90) 100%);
    z-index: 1;
}

.egypt-tours-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #f8f9fa 0%, transparent 100%);
    z-index: 2;
}

.egypt-tours-hero-content {
    position: relative;
    z-index: 10;
    padding: 180px 0 120px;
    text-align: center;
}

.egypt-tours-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.egypt-tours-hero h1 span {
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.egypt-tours-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.egypt-tours-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.egypt-tours-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.egypt-tours-breadcrumb a:hover {
    color: #F4B400;
}

.egypt-tours-breadcrumb span.current {
    color: #F4B400;
    font-weight: 700;
}

/* ============ TOURS SECTION ============ */
.egypt-tours-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #FFFFFF 50%, #f8f9fa 100%);
    padding: 100px 0;
    position: relative;
}

.egypt-tours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #f8f9fa 0%, transparent 100%);
    pointer-events: none;
}

.egypt-tours-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.egypt-tours-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.egypt-tours-title h2 span {
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.egypt-tours-title p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #64748b;
    line-height: 1.8;
}

/* ============ TOUR CARDS - PREMIUM ============ */
.egypt-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.egypt-tour-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.egypt-tour-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(145deg,
            #F4B400 0%,
            #008B8B 50%,
            #003D5C 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.egypt-tour-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 24px 60px rgba(0, 61, 92, 0.15),
        0 8px 24px rgba(244, 180, 0, 0.1);
}

.egypt-tour-card:hover::before {
    opacity: 1;
}

/* Card Image */
.tour-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.egypt-tour-card:hover .tour-card-image img {
    transform: scale(1.15);
}

.tour-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    pointer-events: none;
}

/* Duration Badge */
.tour-duration-badge {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 12px 24px;
    background: linear-gradient(135deg, #003D5C 0%, #002838 100%);
    color: #FFFFFF;
    border-radius: 0 50px 50px 0;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 61, 92, 0.4);
    z-index: 10;
}

.tour-duration-badge i {
    color: #F4B400;
    font-size: 16px;
}

/* Price Tag */
.tour-price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    color: #1a202c;
    border-radius: 16px;
    font-weight: 800;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 6px 20px rgba(244, 180, 0, 0.4);
    z-index: 10;
}

/* Location Overlay */
.tour-location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 10;
}

.tour-location-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-location-overlay h3 i {
    color: #F4B400;
}

/* Card Content */
.tour-card-content {
    padding: 28px;
}

.tour-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.tour-card-title a:hover {
    color: #008B8B;
}

/* Rating */
.tour-card-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tour-stars {
    display: flex;
    gap: 4px;
    color: #F4B400;
    font-size: 16px;
}

.tour-reviews {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748b;
}

/* Card Footer */
.tour-card-footer {
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-book-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #003D5C 0%, #002838 100%);
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tour-book-btn:hover {
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    color: #1a202c;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(244, 180, 0, 0.4);
}

.tour-book-btn i {
    transition: transform 0.3s ease;
}

.tour-book-btn:hover i {
    transform: translateX(4px);
}

/* Per Day Label */
.tour-per-day {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748b;
    text-align: right;
}

.tour-per-day strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #F4B400;
    line-height: 1;
}

/* ============ EMPTY STATE ============ */
.egypt-tours-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.egypt-tours-empty-icon {
    font-size: 80px;
    margin-bottom: 24px;
    display: block;
}

.egypt-tours-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 12px;
}

.egypt-tours-empty p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #64748b;
}

/* ============ LOADING STATE ============ */
.egypt-tours-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.egypt-tours-loading .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top-color: #F4B400;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.egypt-tours-loading p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #64748b;
}

/* ============ FOOTER - EGYPT TOURS ============ */
.egypt-tours-footer {
    background: linear-gradient(145deg, #001F2E 0%, #003D5C 100%);
    padding: 60px 0 40px;
    position: relative;
}

.egypt-tours-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F4B400, #008B8B, #F4B400);
}

.egypt-tours-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.egypt-tours-footer span {
    color: #F4B400;
    font-weight: 700;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1200px) {
    .egypt-tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .egypt-tours-hero-content {
        padding: 140px 0 80px;
    }

    .egypt-tours-hero h1 {
        font-size: 40px;
    }

    .egypt-tours-section {
        padding: 60px 0;
    }

    .egypt-tours-title {
        margin-bottom: 50px;
    }

    .egypt-tours-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tour-card-image {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .egypt-tours-hero h1 {
        font-size: 32px;
    }

    .egypt-tours-hero p {
        font-size: 16px;
    }

    .tour-card-content {
        padding: 24px 20px;
    }

    .tour-book-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}