/* =========================================== */
/* MAIN STYLES FOR SAUDI TRAVEL SITE */
/* =========================================== */

/* Base Styles */
:root {
    --primary: #2a2d52;
    --primary-dark: #1d1f3a;
    --primary-light: #3a3e6e;
    --secondary: #e6e9f2;
    --accent: #66d38b;
    --accent-dark: #4db874;
    --danger: #ff6b6b;
    --warning: #ffd166;
    --success: #06d6a0;
    --info: #118ab2;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #0f1226;
    color: #e6e9f2;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* =========================================== */
/* HEADER */
/* =========================================== */

.header {
    background: var(--primary);
    border-bottom: 1px solid var(--primary-light);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-light);
    color: #ffffff;
}

/* =========================================== */
/* BUTTONS */
/* =========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* Large Button */
.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 211, 139, 0.3);
}

/* =========================================== */
/* GRID & CARDS */
/* =========================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.card {
    background: #15183a;
    border: 1px solid #222544;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* =========================================== */
/* FORMS */
/* =========================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #111436;
    border: 1px solid #2a2d52;
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(102, 211, 139, 0.1);
}

/* =========================================== */
/* HIGHLIGHT TEXT */
/* =========================================== */

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(102, 211, 139, 0.2);
    z-index: -1;
    border-radius: 3px;
}

/* =========================================== */
/* UTILITIES */
/* =========================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* =========================================== */
/* FOOTER */
/* =========================================== */

.footer {
    background: var(--primary-dark);
    padding: var(--space-xl) 0;
    margin-top: auto;
    border-top: 1px solid var(--primary-light);
}

/* =========================================== */
/* RESPONSIVE */
/* =========================================== */

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
