@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
    --primary: #d4af37;
    --dark: #2c3e50;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-bottom: 90px;
}

/* ========== Top Navbar ========== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    background: var(--dark);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 9998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-logo {
    height: 60px;
    margin-right: 10%;
    border-radius: 50%;
    padding: 7px;
}

.navbar-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

/* ========== Hero Slider ========== */
.hero-section {
    height: auto;
    min-height: 50vh;
    max-height: 60vh;
    margin-top: 70px;
    position: relative;
}

.hero-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 10px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active,
.indicator:hover {
    background: var(--primary);
}

/* ========== Intro Card ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 40px auto 50px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.intro-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.intro-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.intro-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

/* ========== Services ========== */
.services-section,
.py-5 {
    padding: 50px 0;
}

.service-card {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ========== Floating Social Icons ========== */
.floating-social {
    position: fixed;
    left: 20px;
    top: 30%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .floating-social {
        left: 10px;
        top: 25%;
    }
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    /* خفّض الشفافية */
    opacity: 0.6;
}

.social-icon:hover {
    transform: scale(1.1) translateY(-3px);
    opacity: 1;
}

.social-icon.phone { background: #007bff; }
.social-icon.whatsapp { background: #25d366; }
.social-icon.instagram { background: #e1306c; }
.social-icon.tiktok { background: #000; }
.social-icon.snapchat { background: #fffc00; color: #000; }

/* ========== Bottom Navigation ========== */
.mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-item {
    text-align: center;
    color: #666;
    font-size: 16px;
    
    text-decoration: none;
     width: 20%;
    padding: 8px 0;
}

.nav-icon {
    font-size: 30px;
     margin-bottom: 6px;
    color: var(--dark);
}

.nav-item.active .nav-icon,
.nav-item.active {
    color: var(--primary);
}

/* ========== Section Title ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

/* ========== Contact Section ========== */
.contact-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding-top: 80px;
    padding-bottom: 50px;
}

.contact-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    padding: 15px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: white;
}

.form-label {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin: 0 auto 20px;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    margin-top: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark);
    color: #ddd;
    padding: 25px 0;
    text-align: center;
}

/* ========== Blog Post ========== */
.blog-post {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-post-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
}

.blog-post-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.blog-post-content {
    line-height: 1.8;
    color: #555;
}

.blog-post-content p {
    margin-bottom: 15px;
}

/* ========== Pricing & Services ========== */
.list-unstyled li {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.text-gold {
    color: var(--primary) !important;
}

/* Gallery Section */
.gallery-section {
    margin-top: 80px;
    padding: 50px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
    height: 320px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img,
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img,
.gallery-item:hover .gallery-video {
    transform: scale(1.1);
}

.gallery-video {
    background: black;
}

/* Section Styling */
.about-section {
    margin-top: 80px;
    padding: 50px 0;
}

.section-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.vision-list li:last-child {
    border-bottom: none;
}

.vision-list i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.team-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 480px) {
    .top-navbar { height: 60px; padding: 0 15px; }
    .navbar-logo { height: 40px; }
    .navbar-title { font-size: 1.2rem; }
    .hero-section { height: 50vh; margin-top: 60px; }
    .intro-card { padding: 20px; margin: 30px 15px; }
    .intro-title { font-size: 1.5rem; }
    .intro-content { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .gallery-item { height: 250px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .top-navbar { height: 65px; }
    .hero-section { height: 55vh; }
    .intro-card { padding: 25px; margin: 35px 20px; }
    .section-title { font-size: 2rem; }
    .gallery-item { height: 280px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section { height: 55vh; }
    .intro-card { max-width: 800px; }
    .gallery-item { height: 300px; }
}

@media (min-width: 1441px) {
    .container, .intro-card { max-width: 1200px; }
    .hero-section { height: 65vh; }
    .section-title { font-size: 2.8rem; }
}

@supports (padding-top: env(safe-area-inset-top)) {
    .top-navbar {
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    .mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 80px; /* فوق القائمة السفلية */
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary); /* لون ذهبي */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 9997;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #c19a2e; /* لون ذهبي غامق قليلاً */
    transform: translateY(-3px);
}   