/* Premium Luxury CSS Design System */
:root {
    --primary: #B38E44; /* Slightly deeper luxury gold for better contrast on white */
    --primary-dark: #8C6D35;
    --secondary: #FFFFFF; /* Pure white background */
    --bg-alt: #FAF9F6; /* Luxury cream background for contrast */
    --accent: #1B4332; /* Keep Emerald Islamic Green */
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.7); /* Light glass effect */
    --glass-border: rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Softer shadow for light theme */
}

img {
    max-width: 100%;
    height: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary);
    color: var(--text-dark);
    line-height: 1.6;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

h1, h2, h3, .luxury-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

[data-lucide], i svg {
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Enhanced Bubble Action Animations */
.bubble-action {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    border-radius: 50px;
    background: var(--primary); /* Brand Brown/Gold */
    color: white !important;
    text-decoration: none;
    transition: all 0.5s ease;
    animation: bubblePulse 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(179, 142, 68, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.bubble-action i {
    animation: arrowSlideSlow 2s infinite;
}

@keyframes bubblePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 15px rgba(179, 142, 68, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 10px 30px rgba(179, 142, 68, 0.5); }
}

@keyframes arrowSlideSlow {
    0% { transform: translateX(0); }
    50% { transform: translateX(8px); }
    100% { transform: translateX(0); }
}

.bubble-action:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.08) !important;
    box-shadow: 0 15px 35px rgba(179, 142, 68, 0.6);
}

/* Typography & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero_main.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.4);
    transition: transform 10s linear;
}

.hero:hover .hero-bg {
    transform: scale(1.1);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(40px, 8vw, 80px);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background: #fff;
    color: var(--primary); /* Gold text on white background */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff !important; /* Ensure white text on gold background */
}

/* Service Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--bg-alt);
    padding: 100px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    stroke-width: 2px;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(179, 142, 68, 0.2);
}

.social-links a:hover i {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links { justify-content: center; }
    footer ul li a:hover { padding-left: 0; }
}

/* Animations */
[data-aos] {
    transition-duration: 1000ms !important;
}

/* Circular Review Cards */
.reviews-slider {
    display: flex;
    gap: 30px;
    padding: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 300px;
    padding: 30px;
    border-radius: 50% / 20%; /* Subtly oval/circular style */
    text-align: center;
    scroll-snap-align: center;
}

.review-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
    object-fit: cover;
}

/* Responsive */
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: left;
        border-radius: 30px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        border: 1px solid var(--glass-border);
        z-index: 2000;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 16px 30px;
        background: var(--bg-alt);
        border-radius: 50px;
        font-weight: 700;
        color: var(--text-dark);
        border: 1px solid var(--glass-border);
        transition: transform 0.2s ease;
    }

    .nav-links a:active {
        transform: scale(0.98);
        background: #f0f0f0;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }


    .navbar {
        top: 15px;
        width: 92%;
        left: 4%;
        transform: none;
        padding: 0 15px;
    }

    .logo img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

/* Consolidated Shared Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.6);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 10s linear;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--bg-alt);
    padding: 60px 0;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.small-review-card {
    min-width: 280px;
    max-width: 280px;
    margin-right: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    position: relative;
}

.google-logo {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 15px;
    right: 15px;
}

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

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.overview-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.overview-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.overview-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.overview-content {
    padding: 24px;
}

/* Floating Action Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.floating-btn.call-btn {
    left: 30px;
    background: var(--primary);
    animation: pulse-gold 2s infinite;
}

.floating-btn.whatsapp-btn {
    right: 30px;
    background: #25D366;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(179, 142, 68, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(179, 142, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(179, 142, 68, 0); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-btn.call-btn {
        left: 20px;
    }
    .floating-btn.whatsapp-btn {
        right: 20px;
    }
}
