* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --dark-gold: #B8941E;
    --sand: #F4E4C1;
    --light-sand: #FFF8E7;
    --nile-blue: #4A90A4;
    --dark-blue: #2C5F75;
    --egyptian-red: #A52A2A;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #666666;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-blue) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.nav-brand i {
    font-size: 2rem;
}

.flag-icon {
    height: 25px;
    width: auto;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.1) 35px, rgba(212, 175, 55, 0.1) 70px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
}

.about {
    padding: 5rem 0;
    background: var(--light-sand);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.header-line {
    width: 100px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: justify;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 5px solid var(--gold);
}

.highlights {
    padding: 5rem 0;
    background: var(--white);
}

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

.highlight-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-sand);
    border-radius: 10px;
    transition: transform 0.3s;
    border: 2px solid var(--gold);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.highlight-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.featured-destinations {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.destination-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 3px solid var(--gold);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination-info {
    padding: 1.5rem;
}

.destination-info h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.card-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 10px;
}

.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--nile-blue) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
}

.page-hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.destinations-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image23.png');
}

.activities-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image25.png');
}

.culture-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image14.jpg');
}

.guide-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image1.png');
}

.gallery-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image7.png');
}

.destinations-content,
.activities-content,
.culture-content,
.guide-content {
    padding: 5rem 0;
}

.destination-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.destination-detail.reverse {
    direction: rtl;
}

.destination-detail.reverse > * {
    direction: ltr;
}

.destination-text h2 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.destination-text h2 i {
    color: var(--gold);
}

.destination-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--gold);
}

.destination-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid var(--gold);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray);
}

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

.culture-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--gold);
    transition: transform 0.3s;
}

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

.culture-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.culture-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.culture-values {
    background: var(--light-sand);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.regional-diversity {
    margin-top: 3rem;
}

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

.region-card {
    background: var(--nile-blue);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s;
}

.region-card:hover {
    background: var(--dark-blue);
}

.region-card h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.guide-section {
    margin-bottom: 4rem;
}

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

.phrase-card {
    background: var(--light-sand);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--gold);
}

.arabic-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.transliteration {
    font-style: italic;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.english {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.etiquette-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.etiquette-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.etiquette-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

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

.season-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--gray);
}

.season-card.best {
    border-color: var(--gold);
    border-width: 3px;
    position: relative;
}

.season-card.best::before {
    content: '⭐ RECOMMENDED';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--black);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.season-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.season-temp {
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

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

.tip-card,
.transport-card {
    background: var(--light-sand);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--gold);
}

.tip-card i,
.transport-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.tip-card h4,
.transport-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.tip-card ul,
.transport-card ul {
    list-style: none;
}

.tip-card li,
.transport-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.tip-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.quick-facts {
    background: var(--nile-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.quick-facts h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.fact-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 5px;
}

.gallery-content {
    padding: 3rem 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    color: var(--dark-blue);
    border: 2px solid var(--gold);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--black);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    border: 3px solid var(--gold);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--gold);
}

.gallery-item.hidden {
    display: none;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--gold);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--black);
    border: none;
    font-size: 30px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--dark-gold);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .destination-detail {
        grid-template-columns: 1fr;
    }

    .destination-detail.reverse {
        direction: ltr;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 0.5rem 1rem;
        font-size: 20px;
    }
}
