/**
 * HURGHADA TOURS HUB - PREMIUM STYLESHEET
 * Ultra-luxurious design system for European travel market
 * Version: 2.1 (Fixed Layouts)
 */

/* ========================================
   PREMIUM COLOR PALETTE
======================================== */
:root {
    /* Primary Brand Colors */
    --hurghada-deep-teal: #0A4D4E;
    --hurghada-azure: #0E7490;
    --hurghada-turquoise: #06B6D4;
    --hurghada-coral: #F97316;
    --hurghada-gold: #D97706;
    --hurghada-sunset: #FB923C;

    /* Elegant Neutrals */
    --cream: #FEF7E8;
    --sand-light: #F5EFE6;
    --sand: #E8DCC5;
    --warm-white: #FAFAF9;
    --charcoal: #1F2937;
    --slate: #475569;
    --white: #FFFFFF;
    --border-light: rgba(0, 0, 0, 0.08);

    /* Premium Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 5rem;
}

/* ========================================
   ANIMATION UTILITIES (Fixed)
   ======================================== */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--warm-white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 160px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 77, 78, 0.6) 0%, rgba(6, 41, 41, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    font-weight: 900;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-plus {
    color: var(--hurghada-coral);
    font-size: 1.5rem;
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    height: 50px;
}

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

.btn-hero-primary {
    background: var(--hurghada-coral);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    transition: transform 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--hurghada-deep-teal);
}

.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.7;
    font-size: 0.8rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* ========================================
   DASHBOARD SECTION
   ======================================== */
.dashboard {
    position: relative;
    margin-top: -80px;
    z-index: 20;
    padding-bottom: 4rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.dash-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.dash-card:hover {
    transform: translateY(-5px);
}

.dash-card.highlight {
    background: linear-gradient(135deg, var(--hurghada-deep-teal), var(--hurghada-azure));
    color: white;
}

.dash-card.highlight .dash-label {
    color: rgba(255, 255, 255, 0.7);
}

.dash-card.highlight .dash-value {
    color: white;
}

.dash-card.highlight .dash-note {
    color: rgba(255, 255, 255, 0.7);
}

.dash-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.dash-info {
    display: flex;
    flex-direction: column;
}

.dash-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dash-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hurghada-deep-teal);
    margin-bottom: 0.15rem;
}

.dash-note {
    font-size: 0.8rem;
    color: var(--hurghada-azure);
}

/* ========================================
   BENTO GRID (EXPLORE)
   ======================================== */
.explore {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--sand-light);
    color: var(--hurghada-deep-teal);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--hurghada-deep-teal);
    margin: 0 0 1rem;
}

.section-header p {
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--hurghada-coral);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.bento-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bento-card:hover .bento-image img {
    transform: scale(1.05);
}

.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
}

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

.bento-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.bento-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: var(--hurghada-coral);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.bento-card p {
    font-size: 0.9rem;
    align-items: center;
    opacity: 0.9;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hurghada-coral);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Grid layout logic */
.bento-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card:nth-child(2) {
    grid-column: span 1;
}

.bento-card:nth-child(3) {
    grid-column: span 1;
}

.bento-card:nth-child(4) {
    grid-column: span 1;
}

.bento-card:nth-child(5) {
    grid-column: span 1;
}

.bento-card:nth-child(6) {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-featured {
        grid-column: span 2;
        height: 400px;
    }

    .bento-card {
        height: 300px;
    }

    .bento-card:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-featured,
    .bento-card:nth-child(6) {
        grid-column: span 1;
    }
}

/* ========================================
   PERSONAL SECTION
   ======================================== */
.personal {
    padding: var(--section-spacing) 0;
    background: white;
}

.personal-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.personal-image {
    position: relative;
}

.image-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 3/4;
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--hurghada-deep-teal);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    z-index: 5;
}

.exp-years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--hurghada-coral);
}

.exp-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    text-align: center;
}

.personal-content .personal-tag {
    color: var(--hurghada-coral);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.personal-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 1rem 0 2rem;
    color: var(--hurghada-deep-teal);
}

.personal-content h2 .translation {
    display: block;
    font-size: 1.5rem;
    color: var(--slate);
    font-weight: 400;
    font-family: var(--font-body);
    margin-top: 0.5rem;
    margin-left: 2rem;
    font-style: italic;
}

.personal-content p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--hurghada-deep-teal);
}

.personal-content p {
    color: var(--slate);
    margin-bottom: 1.5rem;
}

.btn-text {
    color: var(--hurghada-coral);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .personal-wrapper {
        grid-template-columns: 1fr;
    }

    .image-frame {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   TIPS SECTION
   ======================================== */
.tips-section {
    padding: var(--section-spacing) 0;
    background: var(--hurghada-deep-teal);
    color: white;
}

.tips-section .section-header .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--hurghada-coral);
}

.tips-section h2 {
    color: white;
}

.tips-grid,
.tips-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.tip-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.tip-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -1rem;
    font-family: var(--font-heading);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--hurghada-coral);
}

.tip-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ========================================
   MORE GUIDES (SHOWCASE)
   ======================================== */
.more-guides {
    padding: var(--section-spacing) 0;
}

.guides-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.guide-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

.guide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

.guide-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
}

.guide-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hurghada-coral);
}

.guide-card.featured {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .guides-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .guides-showcase {
        grid-template-columns: 1fr;
    }

    .guide-card.featured {
        grid-column: span 1;
    }
}

/* ========================================
   INTERESTS SECTION
   ======================================== */
.interests {
    padding-bottom: var(--section-spacing);
}

.interests-grid.expanded {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.interest-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid var(--border-light);
    display: block;
    text-decoration: none;
    color: var(--charcoal);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--hurghada-coral);
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.interest-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.interest-card p {
    font-size: 0.85rem;
    color: var(--slate);
    margin: 0;
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-section {
    padding: var(--section-spacing) 0;
    background: var(--sand-light);
}

.section-link {
    float: right;
    color: var(--hurghada-coral);
    font-weight: 700;
    margin-top: -3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    line-height: 1.4;
    color: var(--charcoal);
}

.blog-content p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--hurghada-coral);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 77, 78, 0.9);
    z-index: -1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--hurghada-coral);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--hurghada-deep-teal);
}