/* ==========================================================================
   Royal Cleaning Services - Color Refined & Hero WhatsApp Icon Styling
   ========================================================================== */

:root {
    --primary-blue: #0A1128;         /* Exact Royal Navy Blue from Logo */
    --primary-blue-light: #162447;   /* Lighter Navy accent */
    --gold-accent: #C59B27;          /* Exact Metallic Gold from Logo */
    --gold-hover: #A8811A;
    --gold-light: #FDF9F0;           /* Soft cream gold tint */
    --emerald-green: #25D366;        /* Official WhatsApp Green */
    --emerald-hover: #1EBE5D;
    --dark-slate: #060B1A;
    --text-dark: #1A1F2C;
    --text-muted: #64748B;
    --bg-light: #FAF9F6;             /* Clean warm ivory background */
    --white: #FFFFFF;
    --shadow-sm: 0 2px 10px rgba(10, 17, 40, 0.06);
    --shadow-md: 0 10px 30px rgba(10, 17, 40, 0.1);
    --shadow-lg: 0 20px 40px rgba(10, 17, 40, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Cairo', 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.gold-text {
    color: var(--gold-accent);
}

.gold-gradient {
    background: linear-gradient(135deg, #E5BA45 0%, #C59B27 50%, #F5CE62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Footer Logo Image Styling */
.header-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    background: var(--white);
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.visual-logo-img {
    max-height: 120px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--white);
    padding: 10px;
    box-shadow: var(--shadow-md);
}

/* Hero WhatsApp Icon Button */
.btn-hero-whatsapp-icon {
    width: 58px;
    height: 58px;
    background-color: var(--emerald-green);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    border: 2px solid var(--white);
}

.btn-hero-whatsapp-icon:hover {
    background-color: var(--emerald-hover);
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--emerald-green);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--emerald-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid var(--gold-accent);
}

.btn-secondary:hover {
    background-color: var(--gold-accent);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* 1. Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 155, 39, 0.25);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info span {
    margin-left: 20px;
    opacity: 0.95;
}

.top-info i, .top-social i {
    color: var(--gold-accent);
    margin-left: 6px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a:hover {
    color: var(--gold-accent);
}

/* 2. Navigation Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
    border-bottom: 2px solid var(--gold-accent);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Compact Icon-Only WhatsApp Header Button */
.btn-whatsapp-icon-only {
    width: 46px;
    height: 46px;
    background-color: var(--emerald-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-whatsapp-icon-only:hover {
    background-color: var(--emerald-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--gold-hover);
}

.btn-nav-highlight {
    background-color: var(--gold-accent);
    color: var(--primary-blue) !important;
    padding: 8px 20px !important;
    border-radius: 30px;
    font-weight: 800 !important;
}

.btn-nav-highlight:hover {
    background-color: var(--gold-hover);
    color: var(--white) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.94) 0%, rgba(22, 36, 71, 0.94) 100%),
                url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 90px 0 70px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 155, 39, 0.2);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Stats Bar */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 155, 39, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: right;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 155, 39, 0.2);
    color: var(--gold-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-accent);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Section Header Commons */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--gold-hover);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--gold-accent);
    margin: 0 auto 16px;
    border-radius: 4px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 4. Services Section */
.services-section {
    padding: 90px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid rgba(197, 155, 39, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-accent);
    background: var(--white);
}

.featured-service {
    border: 2px solid var(--gold-accent);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.badge-featured {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--gold-accent);
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--gold-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-features i {
    color: var(--emerald-green);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 17, 40, 0.05);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.service-btn:hover {
    background-color: var(--primary-blue);
    color: var(--gold-accent);
}

/* 5. Why Choose Us */
.why-us-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #FAF9F6 0%, #FDF9F0 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 18px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border-right: 4px solid var(--gold-accent);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-light);
    color: var(--gold-hover);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.visual-card-main {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold-accent);
}

.visual-card-main h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gold-accent);
}

.visual-card-main p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.visual-phone {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-accent);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.visual-badge-floating {
    position: absolute;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--gold-accent);
    color: var(--primary-blue);
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

/* 6. Gallery Section */
.gallery-section {
    padding: 90px 0;
    background-color: var(--white);
}

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

.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.gallery-img-box {
    position: relative;
    height: 240px;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--gold-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* 7. Testimonials */
.reviews-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

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

.review-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 155, 39, 0.2);
}

.review-stars {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-bottom: 14px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--gold-light);
    color: var(--gold-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* 8. Booking Section */
.booking-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.booking-info .section-subtitle {
    color: var(--gold-accent);
}

.booking-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-direct {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(197, 155, 39, 0.3);
    transition: var(--transition);
}

.c-item:hover {
    background: rgba(197, 155, 39, 0.2);
}

.c-item i {
    font-size: 1.8rem;
    color: var(--gold-accent);
}

.c-item div {
    display: flex;
    flex-direction: column;
}

.c-item span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.booking-form-card {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold-accent);
}

.booking-form-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-form-card h3 i {
    color: var(--gold-accent);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.form-group .req {
    color: #EF4444;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.98rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: var(--emerald-green);
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--emerald-hover);
}

/* Footer */
.main-footer {
    background-color: var(--dark-slate);
    color: var(--white);
    padding-top: 60px;
    border-top: 3px solid var(--gold-accent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 380px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-contact-list i {
    color: var(--gold-accent);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Action Widgets */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--emerald-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    z-index: 999;
    animation: pulse 2s infinite;
}

.floating-call {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 55px;
    height: 55px;
    background-color: var(--primary-blue);
    color: var(--gold-accent);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(10, 17, 40, 0.4);
    z-index: 999;
}

.floating-whatsapp:hover, .floating-call:hover {
    transform: scale(1.1);
}

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

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-title { font-size: 2.3rem; }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid, .booking-wrapper { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; gap: 15px; align-items: flex-start; }
}

@media (max-width: 576px) {
    .top-bar-content { flex-direction: column; text-align: center; }
    .hero-title { font-size: 1.8rem; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.7rem; }
    .services-grid { grid-template-columns: 1fr; }
}
