﻿/* Omani Center OS - Luxury Design */
/* Color Palette */
/* #1E3A5F - Deep Blue */
/* #5D7FA3 - Soft Blue */
/* #C7A76C - Gold */
/* #F8FAFC - Almost White */

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    direction: rtl;
    lang: ar;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #f8faFC;
    overflow-x: hidden;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #34495e;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #1e3a5f;
    color: white;
}

.btn-primary:hover {
    background-color: #152b42;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
    background-color: #5d7fa3;
    color: white;
}

.btn-secondary:hover {
    background-color: #4a637e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(93, 127, 163, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
}

.btn-outline:hover {
    background-color: #1e3a5f;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-fab {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: #c7a76c;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(199, 167, 108, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-fab:hover {
    background-color: #b5955a;
    transform: scale(1.1);
}

.btn-fab span {
    display: none;
}

/* Header */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-header .logo h1 {
    font-size: 1.8rem;
    color: #1e3a5f;
    margin: 0;
}

.site-header .logo p {
    font-size: 0.9rem;
    color: #5d7fa3;
    margin: 0;
}

.site-header .main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.site-header .main-nav ul li a {
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.site-header .main-nav ul li a:hover {
    color: #1e3a5f;
}

.site-header .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e3a5f;
    cursor: pointer;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1e3a5f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0f7 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 500px;
    text-align: right;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #1e3a5f, #5d7fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image .image-placeholder {
    background: linear-gradient(135deg, #c7a76c, #f8fafc);
    width: 80%;
    height: 80%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1e3a5f;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-image .image-placeholder span {
    font-size: 1.1rem;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #1e3a5f, #5d7fa3);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #5d7fa3;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    display: inline-block;
}

/* About Section */
.about {
    background-color: white;
    padding: 4rem 0;
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
}

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

.about-text h3 {
    color: #1e3a5f;
    margin-bottom: 0.75rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #34495e;
}

.about-image .image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e8f0f7, #f8fafc);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5d7fa3;
}

.about-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Services Carousel */
.services {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.services-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: 0 -1rem;
}

.services-carousel::-webkit-scrollbar {
    height: 8px;
}

.services-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.services-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, #1e3a5f, #5d7fa3);
    border-radius: 4px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    flex: 0 0 260px;
    scroll-snap-align: start;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #c7a76c;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f7ff, #e8f0f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: #1e3a5f;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: #1e3a5f;
}

.service-card p {
    color: #5d7fa3;
    font-size: 0.95rem;
}

/* Therapists Section */
.therapists {
    background-color: white;
    padding: 4rem 0;
}

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

.therapist-card {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.therapist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.therapist-image {
    height: 200px;
    background: linear-gradient(135deg, #e8f0f7, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.therapist-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5d7fa3;
}

.therapist-image .image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.therapist-card h3 {
    margin: 1rem 0 0.5rem;
}

.therapist-card .specialty {
    color: #c7a76c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.therapist-card .bio {
    color: #34495e;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

/* Areas Served */
.areas {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    text-align: center;
}

.area-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #c7a76c;
}

.area-item i {
    font-size: 1.8rem;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
}

.area-item span {
    font-weight: 600;
    color: #2c3e50;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #e8f0f7, #f8fafc);
    padding: 3rem 0;
    text-align: center;
}

.contact-cta h2 {
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #34495e;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

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

/* Footer */
.site-footer {
    background-color: #1e3a5f;
    color: white;
    padding: 3rem 0 1rem;
}

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

.site-footer .footer-col h3,
.site-footer .footer-col h4 {
    color: #c7a76c;
    margin-bottom: 1rem;
}

.site-footer .footer-col ul {
    list-style: none;
}

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

.site-footer .footer-col ul li a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer .footer-col ul li a:hover {
    color: white;
}

.site-footer .social-icons {
    display: flex;
    gap: 1rem;
}

.site-footer .social-icons a {
    color: #b0c4de;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.site-footer .social-icons a:hover {
    color: white;
}

.site-footer .footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b0c4de;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero {
        padding: 4rem 0 2rem;
    }
    .hero-image {
        height: 300px;
    }
    .about-grid,
    .therapists-grid,
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-header .main-nav {
        position: fixed;
        top: 80px;
        right: 0;
        width: 250px;
        height: calc(100vh - 80px);
        background-color: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .site-header .main-nav.active {
        transform: translateX(0);
    }
    .site-header .mobile-menu-toggle {
        display: block;
    }
    .site-header .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .site-header .main-nav ul li a {
        width: 100%;
        padding: 0.5rem 0;
    }
    .hero-content {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image {
        margin-top: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .booking-fab {
        bottom: 1rem;
        left: 1rem;
    }
    .btn-fab span {
        display: inline;
        margin-left: 0.5rem;
    }
    .btn-fab i {
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .services-carousel {
        padding: 0.5rem 0;
    }
    .service-card {
        flex: 0 0 220px;
        padding: 1rem;
    }
    .therapists-grid,
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .area-item {
        padding: 1rem;
    }
    .contact-cta h2 {
        font-size: 1.6rem;
    }
}

/* Glassmorphism effects for certain elements */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delay animations for staggered effect */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
