/* ============================================
   OMRA WEBSITE - COMPLETE REDESIGN
   Modern Islamic Design with Gold & Deep Blue
   ============================================ */

/* ========================================
   CSS Variables - New Design System
   ======================================== */
:root {
    /* Primary Colors - Islamic Gold & Deep Blue */
    --primary-gold: #D4AF37;
    --gold-light: #E8C968;
    --gold-dark: #B8941F;

    --primary-dark: #1a365d;
    --blue-darker: #0f2847;
    --blue-lighter: #2d4a7c;

    /* Accent Colors */
    --accent-green: #059669;
    --accent-teal: #0D9488;

    /* Neutral Colors */
    --warm-beige: #f5f1e8;
    --soft-white: #fafafa;
    --pure-white: #ffffff;
    --light-gray: #f3f4f6;
    --border-gray: #e5e7eb;

    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 54, 93, 0.12);
    --shadow-lg: 0 10px 30px rgba(26, 54, 93, 0.15);
    --shadow-xl: 0 20px 40px rgba(26, 54, 93, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;

    /* Typography */
    --font-primary: 'Tajawal', 'Cairo', sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--soft-white);
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100%;
}

/* Islamic Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.02) 35px, rgba(212, 175, 55, 0.02) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(26, 54, 93, 0.02) 35px, rgba(26, 54, 93, 0.02) 70px);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

/* ========================================
   Buttons - New Design
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
}

.btn:hover::before {
    transform: translateX(100%);
}

/* Primary Gold Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Dark Blue Button */
.btn-dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--blue-darker));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--text-white);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1FAA52);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Phone Button */
.btn-phone {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    color: var(--text-white);
}

.btn-phone:hover {
    transform: translateY(-3px);
}

/* Large Button */
.btn-large {
    padding: 18px 40px;
    font-size: var(--font-size-lg);
}

/* Button with Icon */
.btn i {
    font-size: 1.1em;
}

/* ========================================
   Header - New Design
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-base);
}

.header.scrolled .logo .icon-circle {
    width: 45px;
    height: 45px;
}

.logo .site-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.header.scrolled .logo .site-name {
    color: var(--primary-dark);
    text-shadow: none;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list a {
    color: var(--text-white);
    font-weight: 500;
    font-size: var(--font-size-base);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.header.scrolled .nav-list a {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform: translateX(50%);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 80%;
}

.nav-list a:hover {
    color: var(--primary-gold);
}

.header.scrolled .nav-list a:hover {
    color: var(--primary-gold);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-header-booking {
    padding: 10px 24px;
    font-size: var(--font-size-sm);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-white);
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.header.scrolled .mobile-menu-btn {
    color: var(--primary-dark);
    text-shadow: none;
}

/* ========================================
   Hero Section - Completely New Design
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-darker) 100%);
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 54, 93, 0.92) 0%,
            rgba(15, 40, 71, 0.88) 50%,
            rgba(26, 54, 93, 0.92) 100%);
}

/* Animated Pattern Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L45 15L30 30L15 15z M30 30L45 45L30 60L15 45z' fill='%23D4AF37' fill-opacity='0.05'/%3E%3C/svg%3E");
    animation: patternMove 30s linear infinite;
    opacity: 0.5;
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-sm);
}

.hero-info {
    max-width: 900px;
    margin: 0 auto;
}

/* Logo in Hero */
.info-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 1s ease;
}

.info-logo .icon-circle,
.info-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.info-logo .icon-circle {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.info-logo img {
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.info-logo-text {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hero Title */
.info-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.info-title span {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.info-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Typewriter Container */
.typewriter-container {
    min-height: 80px;
    margin: var(--spacing-lg) 0;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.typewriter-line {
    font-size: var(--font-size-xl);
    color: var(--primary-gold);
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}

/* Hero Actions */
.info-actions {
    margin: var(--spacing-xl) 0;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.action-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Hero Badges */
.info-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    animation: fadeInUp 1s ease 1s backwards;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge-item i {
    font-size: var(--font-size-lg);
    color: var(--primary-gold);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Special Offer Banner
   ======================================== */
.special-offer-banner {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    padding: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
}

.special-offer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.offer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.offer-icon {
    font-size: var(--font-size-3xl);
    color: var(--text-white);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.offer-text h4 {
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: 4px;
}

.offer-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-base);
}

.offer-badge {
    padding: 8px 20px;
    background: var(--text-white);
    color: var(--primary-gold);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-label {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    color: var(--primary-gold);
    border-radius: var(--radius-full);
    border: 2px solid rgba(212, 175, 55, 0.2);
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Alternate Section Backgrounds */
section:nth-child(even) {
    background: var(--pure-white);
}

section:nth-child(odd) {
    background: var(--warm-beige);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .nav.active {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list a {
        color: var(--primary-dark);
        display: block;
        text-align: center;
        padding: 10px;
        font-size: var(--font-size-lg);
    }

    .nav-list a:hover {
        color: var(--primary-gold);
        background: rgba(212, 175, 55, 0.1);
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 32px;
        --spacing-xxl: 48px;
    }

    .hero {
        min-height: 100svh;
    }

    .info-logo .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .action-row .btn {
        width: 100%;
    }

    .info-badges {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .badge-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: var(--font-size-sm);
        white-space: normal;
        text-align: center;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: var(--font-size-base);
    }
}