﻿:root {
    --primary-color: #025f70;
    --secondary-color: #c5a065;
    --gold-color: #c5a065;
    --light-color: #FFFAF6;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

/* Top Bar */
.top-bar {
    background-color: #0A1363;
    padding: 8px 0;
    color: var(--light-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--light-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.contact-info a i {
    margin-left: 5px;
}

.social-links a {
    color: var(--light-color);
    margin-right: 15px;
    font-size: 14px;
}

/* Navbar */
.navbar {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 84px;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.get-quote {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.get-quote:hover {
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 576px) {
    .top-bar {
        font-size: 12px;
    }

    .contact-info a {
        margin-left: 10px;
    }

    .social-links a {
        margin-right: 10px;
    }
}


.top-bar {
    background: #0A1363;
    color: #fff;
    padding: 8px 0;
    font-size: 15px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .contact-info a {
    color: #fff;
    margin-right: 15px;
    text-decoration: none;
}

.top-bar .contact-info a i {
    margin-left: 5px;
}

.top-bar .social-links a {
    color: #fff;
    margin-left: 12px;
    font-size: 16px;
}

/* ---------------------- */
/*   R E S P O N S I V E  */
/* ---------------------- */


/* للأجهزة الأصغر من 768px */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .top-bar .contact-info a {
        display: block;
        margin: 3px 0;
    }
}

/* للأجهزة الأصغر من 480px & 350px support */
@media (max-width: 480px) {
    .top-bar {
        font-size: 13px;
        /* Smaller font */
        padding: 5px 0;
    }

    .top-bar .social-links a {
        font-size: 13px;
        margin-left: 8px;
    }

    .navbar-brand img {
        height: 60px;
        /* Smaller logo for mobile */
    }

    .brand-text .brand-name {
        font-size: 1.1rem;
    }

    .brand-text .brand-subtitle {
        font-size: 0.7rem;
    }
}

/* تخصيص زر القائمة المنسدلة */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.5rem 0.75rem;
    background-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(10, 19, 99, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Global Inner Hero Styles */
.inner-hero {
    position: relative;
    height: 360px;
    background-image: url('/images/Still.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(28, 30, 37, 0.7), rgba(42, 41, 40, 0.6));
    z-index: 1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

/* Breadcrumbs Global Styles */
.inner-hero-content .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 0;
}

.inner-hero-content .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.inner-hero-content .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.inner-hero-content .breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.inner-hero-content .breadcrumb-item.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Breadcrumb Separator */
.inner-hero-content .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.inner-hero-content .breadcrumb-item i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* ==============================================
   MOBILE OFFCANVAS SIDEBAR
   ============================================== */

/* Offcanvas container */
.offcanvas.offcanvas-start {
    width: 320px;
    background: linear-gradient(180deg, #1a3a60 0%, #0f2847 100%);
    border-left: none;
    border-right: 4px solid var(--secondary-color);
}

.offcanvas-header {
    padding: 1.5rem;
    background: #fff;
    border-bottom: 3px solid var(--secondary-color);
}

.offcanvas-header .btn-close {
    opacity: 0.8;
    transition: all 0.2s ease;
    width: 1.2rem;
    height: 1.2rem;
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Sidebar brand */
.sidebar-logo {
    border-radius: 10px;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
}

.sidebar-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0A1363;
    text-shadow: none;
}

.sidebar-brand-subtitle {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Offcanvas body */
.offcanvas-body {
    padding: 1.5rem;
    overflow-y: auto;
}

/* Sidebar navigation */
.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-item {
    margin-bottom: 0.75rem;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.25rem;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s ease;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav-link i:first-child {
    width: 26px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background: rgba(197, 160, 101, 0.2);
    color: #fff;
    transform: translateX(-6px);
    border-color: rgba(197, 160, 101, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-nav-link:hover i:first-child,
.sidebar-nav-link.active i:first-child {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Submenu icon rotation */
.sidebar-nav-link .submenu-icon {
    margin-right: auto;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-nav-link[aria-expanded="true"] .submenu-icon {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

/* Sidebar submenu */
.sidebar-submenu {
    list-style: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 0;
}

.sidebar-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-right: 2px solid transparent;
}

.sidebar-submenu-link i {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

.sidebar-submenu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-right-color: var(--secondary-color);
    padding-right: 1.25rem;
}

/* CTA Button */
.sidebar-cta {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #d4af75);
    color: #0A1363;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 101, 0.3);
}

.sidebar-cta-btn:hover {
    background: linear-gradient(135deg, #d4af75, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 101, 0.4);
    color: #0A1363;
}

.sidebar-cta-btn i {
    font-size: 0.9rem;
}

/* Social Links */
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    background: var(--secondary-color);
    color: #0A1363;
    transform: translateY(-3px);
}

/* Offcanvas backdrop */
.offcanvas-backdrop.show {
    opacity: 0.7;
}

/* Animation for sidebar opening */
.offcanvas.offcanvas-end.showing,
.offcanvas.offcanvas-end.show:not(.hiding) {
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 350px) {
    .offcanvas.offcanvas-end {
        width: 280px;
    }

    .sidebar-nav-link {
        padding: 0.75rem 0.85rem;
        font-size: 0.9rem;
    }

    .sidebar-cta-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}