/**
 * Saudi Travel - Main Stylesheet
 * Color Palette:
 * Primary: #EB8C28 (Orange)
 * Secondary: #8A4F09 (Dark Brown)
 * Button: #338A99 (Teal)
 * Backgrounds: #E6DFCD, #F2F2F2, #F0EAEC, #F3F3F3
 */

/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Brand Colors */
    --color-primary: #EB8C28;
    --color-secondary: #8A4F09;
    --color-button-bg: #338A99;
    --color-button-hover: #2a7280;
    --color-button-text: #FFFFFF;
    
    /* Background Colors */
    --color-bg-1: #E6DFCD;
    --color-bg-2: #F2F2F2;
    --color-bg-3: #F0EAEC;
    --color-bg-4: #F3F3F3;
    --color-white: #FFFFFF;
    
    /* Text Colors */
    --color-text-dark: #2c3e50;
    --color-text-light: #6c757d;
    --color-text-muted: #95a5a6;
    
    /* Font Family */
    --font-family: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-speed: 0.3s;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

/* ===================================
   Utility Classes
   =================================== */
.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.bg-1 {
    background-color: var(--color-bg-1);
}

.bg-2 {
    background-color: var(--color-bg-2);
}

.bg-3 {
    background-color: var(--color-bg-3);
}

.bg-4 {
    background-color: var(--color-bg-4);
}

/* ===================================
   Cookie Notice
   =================================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.95);
    color: var(--color-white);
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-notice p {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.cookie-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--color-white);
}

/* ===================================
   Top Bar (Header with Logo)
   =================================== */
.top-bar {
    background-color: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.logo {
    max-width: 300px;
    max-height: 120px;
    height: auto;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--color-text-dark);
}

.contact-item a:hover {
    color: var(--color-primary);
}

/* ===================================
   Main Menu Navigation
   =================================== */
.main-menu {
    background: #EA8B27;
    box-shadow: var(--shadow-md);
    padding: 0;
}

.main-menu .navbar-nav {
    gap: 0.5rem;
}

.main-menu .nav-link {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    transition: all var(--transition-speed) ease;
    border-radius: 5px;
    position: relative;
}

.main-menu .nav-link:hover,
.main-menu .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.main-menu .nav-link i {
    margin-right: 0.5rem;
}

.main-menu .dropdown-menu {
    background-color: var(--color-white);
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.main-menu .dropdown-item {
    color: var(--color-text-dark);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-speed) ease;
}

.main-menu .dropdown-item:hover {
    background-color: var(--color-bg-1);
    color: var(--color-primary);
    padding-left: 2rem;
}

.main-menu .dropdown-item i {
    margin-right: 0.5rem;
    color: var(--color-primary);
}

.navbar-toggler {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 79, 9, 0.7) 0%, rgba(235, 140, 40, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: var(--shadow-text);
    color: var(--color-white);
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: var(--shadow-text);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    background-color: var(--color-button-bg);
    border-color: var(--color-button-bg);
    color: var(--color-button-text);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-button-hover);
    border-color: var(--color-button-hover);
    color: var(--color-button-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: var(--color-button-hover);
    border-color: var(--color-button-hover);
    color: var(--color-button-text);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background-color: transparent;
    transition: all var(--transition-speed) ease;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Two Column Sections
   =================================== */
.two-column-section {
    padding: 5rem 0;
}

.two-column-section .content-image {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    transition: transform var(--transition-speed) ease;
}

.two-column-section .content-image:hover {
    transform: scale(1.03);
}

.two-column-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.two-column-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.two-column-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* ===================================
   Benefits/Features Cards
   =================================== */
.benefits-section {
    padding: 5rem 0;
    background-color: var(--color-bg-2);
}

.benefit-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--color-white);
    transition: all var(--transition-speed) ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(360deg);
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ===================================
   Parallax Section
   =================================== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8rem 0;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(235, 140, 40, 0.85);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.parallax-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: var(--shadow-text);
}

.parallax-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: var(--shadow-text);
}

/* ===================================
   Destination Cards (Tours)
   =================================== */
.destination-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
    background-color: var(--color-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.destination-card .card-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-bg-2);
}

.tour-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

.tour-duration {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.tour-duration i {
    color: var(--color-primary);
    margin-right: 0.25rem;
}

/* ===================================
   Breadcrumbs
   =================================== */
.breadcrumb-nav {
    padding: 1.5rem 0;
    background-color: var(--color-bg-4);
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0 0 0 1rem;
}

.breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary);
}

.breadcrumb-item a {
    color: var(--color-text-light);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* ===================================
   Accordion
   =================================== */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background-color: var(--color-bg-1);
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23EB8C28'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* ===================================
   Forms
   =================================== */
.form-control {
    border: 2px solid var(--color-bg-2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(235, 140, 40, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===================================
   Modal
   =================================== */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #C66C0D;
    color: var(--color-white);
    padding-top: 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.company-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 1);
}

.company-info p {
    color: rgba(255, 255, 255, 1);
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

.footer-menu i {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Lazy Load Images
   =================================== */
img.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.lazy-load.loaded {
    opacity: 1;
}

/* ===================================
   Page Content
   =================================== */
.page-content {
    padding: 3rem 0;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.page-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

/* ===================================
   Contact Info Boxes
   =================================== */
.contact-box {
    background-color: var(--color-bg-1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-sm);
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-box i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-box h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.contact-box p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

.contact-box a {
    color: var(--color-primary);
    font-weight: 600;
}