:root {
    --primary-color: #F4D03F;
    --secondary-color: #fff;
    --text-color: #333;
}

/* Header Styles */
.navbar {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.8rem 1.5rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--text-color) !important;
    background: linear-gradient(180deg, #FFF176, #fff);
}

.nav-link.active {
    background: linear-gradient(180deg, #FFF176, #fff);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFF8E1, #FFF176);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 2rem;
}
img {
    max-width: 100%;
}
.hero-image {
    width: 100%;
}

.golden-text {
    color: #DAA520;
}

/* About Us Section */
.about-section {
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    overflow-x: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/pattern-bg.png');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    text-align: right;
    margin-bottom: 3rem;
    position: relative;
}

.about-content {
    display: flex;
    gap: 30px;
    position: relative;
    flex-direction: column;
    margin-top: -70px;
}

.about-box {
    flex: 1;
    position: relative;
}

.about-header {
    position: relative;
    white-space: nowrap;
}

.about-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    display: inline-block;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 2px solid #a48919;
}

.about-text {
    padding: 47px;
    position: relative;
    background: #fff;
    width: 100%;
    border-top-right-radius: 100px;
}
.about-text h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
    direction: ltr;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        margin-top: 0;
    }
    
    .about-box {
        width: 100%;
        flex-direction: column !important;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    .about-content .about-box .about-header:before {
        display: none;
    }
}

/* Services Section */
.services-section {
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.services-section h2 {
    padding: 10px 0;
    background-image: linear-gradient(to right, #fff17600, #dfbf3c, #dfbf3c, #fff17600);
    color: #fff;
    font-weight: 600;
}

.services-wrapper {
    position: relative;
    padding: 0 50px;
    direction: ltr;
}

.services-container {
    overflow: hidden;
}

.services-track {
    display: flex;
    transition: transform 0.5s ease;
    margin-right: 0;
    margin-left: auto;
}

.service-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.service-item {
    flex: 0 0 calc(25% - 20px);
    margin: 0 10px;
    direction: rtl;
}

/* Responsive service items */
@media (max-width: 768px) {
    .service-item {
        flex: 0 0 calc(100% - 20px);
    }
    
    .service-image {
        height: 300px;
    }
    
    .services-wrapper {
        padding: 0 30px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .service-image {
        height: 350px;
    }
}

@media (min-width: 1025px) {
    .service-item {
        flex: 0 0 calc(25% - 20px);
    }
    
    .service-image {
        height: 400px;
    }
}

.service-card {
    background-color: white;
    border-radius: 60px 0 30px 30px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    border: 2px solid #a48919;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    text-align: center;
    border-top: 2px solid #a48919;
    border-radius: 200px;
    margin-top: -30px;
    background: #fff;
    padding: 5px 5px;
}

.service-card .card-body * {
    margin: 0;
}

.service-nav {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

.service-prev {
    right: 0;
}

.service-next {
    left: 0;
}

/* Contact Button */
.contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}

.call-button {
    position: fixed;
    bottom: 20px;
    right: 100px;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}

.book-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}

.contact-button:hover, .call-button:hover, .book-button:hover {
    transform: scale(1.1);
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* RTL Specific */
.navbar-nav {
    margin-left: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
} 

.navbar-container {
    display: flex;
    flex-direction: row-reverse;
}
.navbar-nav li.nav-item:last-child {
    border: none;
}

li.nav-item {
    border-left: 2px solid #f7da6b;
    padding: 0 4px;
    display: flex;
    align-items: center;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
}
.call-icon {
    width: 60px;
    height: 60px;
}
.book-icon {
    height: 60px;
    border-radius: 20px;
}

.about-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-content .about-box:last-child {
    display: flex;
    flex-direction: row-reverse;
}

.about-content .about-box:first-child .about-header:before {
    content: '';
    right: -142px;
    width: 142px;
    border-bottom: 2px solid #a48919;
    height: 1px;
    position: absolute;
    top: 23px;
}

.about-content .about-box:last-child .about-header:before {
    content: '';
    left: -142px;
    width: 142px;
    border-bottom: 2px solid #a48919;
    height: 1px;
    position: absolute;
    top: 23px;
}

.services-bg {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
    transform: translate(-81%, -24%) scale(-2.5);
    z-index: -1;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.location-info {
    max-width: 600px;
    margin: 0 auto;
}

.location-info h3 {
    color: #333;
    margin-bottom: 15px;
}

.location-info p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.location-info .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.location-info .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.location-info .btn-primary i {
    margin-left: 8px;
}

/* Add padding to body to prevent content from hiding under fixed navbar */
body {
    padding-top: 80px; /* Adjust this value based on your navbar height */
}

/* Optional: Add a class for when navbar is scrolled */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}