/* ========================================
   PROFESSIONAL DESIGN - Based on Reference
   Dark Navy Theme with Premium Cards
   ======================================== */

/* ============ WHY TRAVEL SECTION - REFERENCE STYLE ============ */
.why-nile-section {
    background: linear-gradient(180deg, #0f172a 0%, #1a202c 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.why-nile-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(244, 180, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(0, 139, 139, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Container */
.why-nile-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Styling */
.why-nile-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 8px;
}

.why-nile-section h2 span {
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid Layout - 3 Columns */
.why-nile-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

/* Professional Card Design */
.why-nile-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-nile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(244, 180, 0, 0.5) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-nile-card:hover::before {
    opacity: 1;
}

.why-nile-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(244, 180, 0, 0.3);
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(244, 180, 0, 0.1);
}

/* Icon Box - Semi-transparent */
.why-nile-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.4s ease;
}

.why-nile-card:hover .why-nile-icon {
    background: rgba(244, 180, 0, 0.1);
    border-color: rgba(244, 180, 0, 0.3);
    transform: scale(1.05);
}

.why-nile-icon i {
    font-size: 36px;
    color: #FFFFFF;
}

/* Typography - Clean and Organized */
.why-nile-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.why-nile-card p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Checklist with Golden Checkmarks */
.why-nile-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-nile-card ul li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 400;
}

.why-nile-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(244, 180, 0, 0.3);
}

/* ============ NILE CRUISE CATEGORIES - REFERENCE STYLE ============ */
.nile-section-shell {
    background: #FFFFFF;
    padding: 100px 0;
    position: relative;
}

.nile-section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.nile-section-heading p:first-child {
    color: #F4B400;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.nile-section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1a202c;
}

.nile-section-heading h2 span {
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nile-section-subtext {
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    margin-top: 16px;
}

/* Categories Grid */
.nile-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Card */
.nile-category-card {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nile-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #F4B400;
}

.category-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nile-category-card:hover .category-image-wrapper img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #F4B400 0%, #FF8C00 100%);
    color: #1a202c;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 16px rgba(244, 180, 0, 0.4);
}

.category-content {
    padding: 32px 28px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.category-description {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

.category-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-count {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.category-link {
    color: #008B8B;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.category-link::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: #F4B400;
    gap: 12px;
}

/* Skeleton Loader */
.nile-card-skeleton {
    background: linear-gradient(90deg, #f1f5f9 0px, #e2e8f0 40px, #f1f5f9 80px);
    background-size: 400px;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
    height: 480px;
}

@keyframes shimmer {
    0% {
        background-position: -400px;
    }

    100% {
        background-position: 400px;
    }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1024px) {
    .why-nile-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .nile-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .why-nile-section {
        padding: 60px 0;
    }

    .why-nile-section h2 {
        font-size: 36px;
    }

    .why-nile-section .grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .why-nile-card {
        padding: 36px 28px;
    }

    .nile-section-heading h2 {
        font-size: 38px;
    }

    .nile-categories-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-image-wrapper {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .why-nile-section h2 {
        font-size: 28px;
    }

    .why-nile-card h3 {
        font-size: 24px;
    }

    .why-nile-icon {
        width: 70px;
        height: 70px;
    }

    .why-nile-icon i {
        font-size: 32px;
    }

    .nile-section-heading h2 {
        font-size: 32px;
    }

    .category-title {
        font-size: 24px;
    }
}