/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #52005c;
    --primary-dark: #3a0045;
    --secondary: #fcb900;
    --secondary-dark: #e0a500;
    --bg-light: #f9f7f4;
    --text-dark: #1e1e1e;
    --text-muted: #555555;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(82, 0, 92, 0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: 3.2rem; }
h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 4px;
}
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.highlight { color: var(--secondary); }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Cairo', sans-serif;
}
.btn-primary {
    background: var(--secondary);
    color: var(--text-dark);
    border-color: var(--secondary);
}
.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(252, 185, 0, 0.35);
    color: var(--text-dark);
}
.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 0, 92, 0.35);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Header / Nav ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-icon { font-size: 1.8rem; }
.logo-highlight { color: var(--secondary); }

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-menu ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}
.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}
.nav-external {
    background: var(--secondary);
    padding: 0.4rem 1.2rem !important;
    border-radius: 30px;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    border-bottom: none !important;
}
.nav-external:hover {
    background: var(--secondary-dark);
    color: var(--text-dark) !important;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 500px;
    min-height: 500px;
    overflow: hidden;
    width: 1280px;
    margin: 30px auto;
    border-radius: 25px;
    border: 2px solid #fcb900;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
}
.slide.active { opacity: 1; }
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.slide-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(82, 0, 92, 0.6);
}
.slide-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.slide-content .badge {
    display: inline-block;
    background: rgba(252, 185, 0, 0.2);
    color: var(--secondary);
    padding: 0.3rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(252, 185, 0, 0.3);
    font-family: 'Cairo', sans-serif;
}
.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.slide-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.9);
}
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 2;
}
.slider-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots button.active {
    background: var(--secondary);
    border-color: var(--secondary);
}
.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 2;
    pointer-events: none;
}
.slider-arrows button {
    pointer-events: all;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.slider-arrows button:hover {
    background: var(--secondary);
    color: var(--text-dark);
}
.slider-arrows .prev { order: 1; }
.slider-arrows .next { order: 0; }

/* ===== Stats ===== */
.stats-section {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Cards & Grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    text-align: right;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(82, 0, 92, 0.12);
}
.card h3 { color: var(--primary); }
.card ul {
    padding-right: 1.2rem;
    padding-left: 0;
}
.card ul li {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

/* ===== Quick Links ===== */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    margin-top: 1rem;
}
.quick-links a {
    background: #f0ebf5;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    color: #52005c;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
    white-space: nowrap;
    font-family: 'Cairo', sans-serif;
}
.quick-links a:hover {
    background: var(--secondary);
    color: #1e1e1e;
}
.quick-links a i {
    margin-left: 6px;
    margin-right: 0;
}

/* ===== Features ===== */
.feature-item {
    text-align: center;
    padding: 1.5rem;
}
.feature-item .icon {
    font-size: 2.5rem;
    background: rgba(252, 185, 0, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: var(--secondary);
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 4rem 0 3rem;
    color: var(--white);
    text-align: center;
}
.page-hero h1 { font-size: 2.8rem; }
.page-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ===== Attractions ===== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}
.attraction-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: right;
}
.attraction-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.attraction-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}
.attraction-image {
    background: var(--primary);
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height:250px;
}
.attraction-emoji { font-size: 4rem; }
.attraction-badge {
    background: var(--secondary);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    margin-top: 0.5rem;
    font-family: 'Cairo', sans-serif;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.attraction-content { padding: 1.8rem; }
.attraction-content h3 { color: var(--primary); }
.attraction-content small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Map ===== */
.map-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}
.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
}

/* ===== Hotel Cards ===== */
.hotel-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--secondary);
    text-align: right;
}
.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.hotel-card h4 { color: var(--primary); }
.hotel-card .hotel-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.hotel-card .hotel-contact i {
    margin-left: 6px;
    margin-right: 0;
}
.hotel-card .stars { color: var(--secondary); letter-spacing: 2px; }

/* ===== Food Cards ===== */
.food-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: right;
}
.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.food-card .food-image { 
    padding: 0;
    font-size: 4rem;
    background: rgba(252, 185, 0, 0.08);
}
.food-card .food-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.food-card .food-content { padding: 1rem 1.5rem 1.5rem; }
.food-card .food-content h4 { color: var(--primary); font-weight: 700; }

/* ===== Culture Cards ===== */
.culture-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-right: 6px solid var(--secondary);
    transition: var(--transition);
    text-align: right;
}
.culture-card:hover {
    transform: translateX(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.culture-card h3 { color: var(--primary); }
.culture-card h3 i { color: var(--secondary); margin-left: 8px; }
.culture-card ul {
    padding-right: 1.2rem;
    padding-left: 0;
}
.culture-card ul li { margin-bottom: 0.3rem; }
.culture-card ul li strong { color: var(--primary); }

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
    text-align: center;
}
.footer a { color: var(--secondary); }
.footer a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .slide-content h1 { font-size: 2.6rem; }
    .hero-slider { height: 70vh; min-height: 400px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .attraction-card.featured { grid-template-columns: 1fr; }
    
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: var(--white);
        padding: 1.5rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 16px 16px;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    .nav-menu.active {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-menu ul li a {
        display: block;
        width: 100%;
        padding: 0.6rem 0;
    }
    .slider-arrows { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .attractions-grid { grid-template-columns: 1fr; }
    .quick-links { justify-content: center; }
    .quick-links a { font-size: 0.8rem; padding: 0.2rem 0.8rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2rem; }
    .slide-content h1 { font-size: 2rem; }
    .hero-slider { height: 60vh; min-height: 350px; }
    .card { padding: 1.2rem; }
    .attraction-image { min-height: 120px; }
    .attraction-emoji { font-size: 3rem; }
    .map-wrapper iframe { height: 250px; }
}

/* ===== Section Utilities ===== */
.section-padding { padding: 4rem 0; }
.section-bg-white { background: #ffffff; }
.section-bg-light { background: #f9f7f4; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 16px rgba(82,0,92,0.3);
    z-index: 999;
}
.scroll-top:hover {
    background: var(--secondary);
    color: #1e1e1e;
    transform: translateY(-4px);
}