/* 
 * O'Khaima Main Styles
 * Imports variables and sets base styles
 */

@import url('variables.css');

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--luxe-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--maroc-gold);
    margin-bottom: 1.5rem;
    font-weight: 400; /* More elegant, less bold */
    letter-spacing: 0.5px;
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; position: relative; display: inline-block; }
h3 { font-size: 1.5rem; color: var(--luxe-text); }

/* Decorative underline for H2 */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--maroc-gold-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--luxe-text-muted);
    font-weight: 300;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) var(--transition-bounce);
}

ul {
    list-style: none;
}

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

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* --- Common Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px; /* Pill shape is more modern */
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--maroc-gold-gradient);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
    z-index: -1;
    transition: opacity var(--transition-speed) ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Cards (Glassmorphism) */
.card, .offer-card, .category-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-bounce);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card:hover, .offer-card:hover, .category-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--maroc-gold);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Offer Card Specifics */
.offer-image {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.offer-card:hover .offer-image {
    transform: scale(1.1);
}

.offer-content {
    padding: 2rem;
}

.offer-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--maroc-gold);
    margin: 1rem 0;
    background: -webkit-linear-gradient(#F3E5AB, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
}

.offer-features li::before {
    content: "✦"; /* More elegant than checkmark */
    color: var(--maroc-gold);
    margin-right: 12px;
    font-size: 0.8rem;
}

.book-btn {
    width: 100%;
    padding: 16px;
    margin-top: 1.5rem;
    background: transparent;
    border: 1px solid var(--maroc-gold);
    color: var(--maroc-gold);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-btn:hover {
    background: var(--maroc-gold);
    color: var(--dark);
    box-shadow: var(--shadow-glow);
}

/* --- Header & Navigation --- */
header {
    background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0) 100%);
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
}

.logo-container {
    text-align: center;
}

.logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

nav {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    color: var(--luxe-text);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

nav a:hover {
    color: var(--maroc-gold);
}

nav a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1543349689-9a4d426bee8e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 2;
}

.hero h2 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- Grids --- */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.city-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

.city-card:hover {
    border-color: var(--maroc-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

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

/* --- Footer --- */
footer {
    background: #050505;
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    margin-top: 4rem;
}

footer p {
    color: var(--luxe-text-muted);
    font-size: 0.9rem;
}

/* --- Background Pattern --- */
.zellij-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--maroc-gold) 1%, transparent 3%),
        radial-gradient(circle at 80% 20%, var(--maroc-gold) 1%, transparent 3%);
    background-size: 60px 60px;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Utilities --- */
.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--maroc-gold);
}

.my-3 { margin: 3rem 0; }
.mb-3 { margin-bottom: 3rem; }

/* Page Header */
.page-header {
    text-align: center;
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 3rem;
}

.back-btn {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--maroc-gold);
    font-weight: 500;
}

.back-btn:hover {
    text-decoration: underline;
}

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

/* Adventure Page Specifics */
.page-adventures {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://zupimages.net/up/25/48/dy8z.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.adventure-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.adventure-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.2); /* Changed to Gold for premium look */
    animation: float 6s ease-in-out infinite;
}

.icon-1 { top: 10%; left: 5%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 10%; animation-delay: 1s; }
.icon-3 { top: 60%; left: 15%; animation-delay: 2s; }
.icon-4 { top: 40%; right: 5%; animation-delay: 3s; }
.icon-5 { top: 80%; left: 8%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}


