/* ============================================
   Moving Experts UAE - Dubai Luxury & Trust
   Modern • Aesthetic • Premium
   ============================================ */

:root {
    --gold: #B8860B;
    --gold-light: #D4AF37;
    --gold-soft: rgba(212, 175, 55, 0.15);
    --navy: #050D18;
    --navy-mid: #0C1929;
    --navy-light: #152536;
    --cream: #FAF9F6;
    --cream-dark: #F0EDE8;
    --white: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #5C5C5C;
    --font-display: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 4px 32px rgba(5, 13, 24, 0.06);
    --shadow-luxury: 0 24px 64px rgba(5, 13, 24, 0.12);
    --shadow-gold: 0 8px 32px rgba(184, 134, 11, 0.2);
    --radius: 12px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Trust Bar */
.trust-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--navy);
    padding: 10px 0;
    font-size: 0.8rem;
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.trust-item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.trust-item strong {
    color: var(--gold-light);
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.12);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 60px;
    height: 60px;
}

.logo {
    text-decoration: none;
    color: var(--navy);
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--gold);
}

.logo-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-top: -1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav a:hover {
    color: var(--gold);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy) !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    color: var(--gold);
    font-weight: 600;
}

.lang-sep {
    color: var(--text-muted);
    font-size: 0.85rem;
    user-select: none;
}

/* Services dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-link-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-icon {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.nav-item-dropdown:hover .nav-dropdown-icon,
.nav-item-dropdown.open .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 220px;
    background: var(--white);
    border: 1px solid rgba(184, 134, 11, 0.15);
    border-radius: var(--radius);
    box-shadow: var(--shadow-luxury);
    list-style: none;
    padding: 12px 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s ease;
    z-index: 100;
}

.nav-item-dropdown:hover .nav-dropdown {
    visibility: visible;
    opacity: 1;
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: var(--gold-soft);
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

/* Service page hero (shorter) */
.hero.hero-short {
    min-height: 90vh;
    padding: 140px 24px 80px;
}

/* Service detail content */
.service-detail {
    padding: 80px 0 100px;
}

.service-detail .container {
    max-width: 720px;
}

.service-detail .section-header {
    margin-bottom: 32px;
}

.service-detail .service-body p {
    margin-bottom: 1.25rem;
    color: var(--text);
    line-height: 1.7;
}

.service-detail .service-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-detail .service-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-detail .btn {
    margin-top: 24px;
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(184, 134, 11, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
    padding: 160px 24px 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v80H0V0zm79 0h1v80h-1V0zM0 0v1h80V0H0zm0 79v1h80v-1H0z' fill='%23D4AF37' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--gold-light) 0%, #F5E6B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(184, 134, 11, 0.4);
}

.btn-full {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold-light), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 18px;
    font-weight: 600;
}

.section-header p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Services */
.services {
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(184, 134, 11, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(184, 134, 11, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    border-radius: var(--radius);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* About */
.about {
    padding: 120px 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about .section-label {
    color: var(--gold-light);
}

.about h2 {
    color: var(--white);
}

.about h2 .highlight {
    color: var(--gold-light);
}

.about-content p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
}

.about-features li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-light);
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
}

.trust-badge span {
    font-size: 1.25rem;
}

.trust-badge strong {
    color: var(--white);
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
    min-height: 340px;
}

.about-pattern {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23D4AF37' stroke-opacity='0.08' stroke-width='0.5'/%3E%3C/svg%3E");
    border-radius: var(--radius-xl);
}

/* Quote Form */
.quote {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.quote-form {
    max-width: 740px;
    margin: 0 auto;
    background: var(--white);
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(184, 134, 11, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #E8E6E3;
    border-radius: var(--radius);
    background: var(--cream);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--gold-soft);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    cursor: pointer;
    color: var(--text);
    padding: 12px 16px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition);
}

.checkbox-label:hover {
    border-color: rgba(184, 134, 11, 0.2);
}

.checkbox-label input {
    width: auto;
    accent-color: var(--gold);
}

.quote-form .btn {
    margin-top: 8px;
    padding: 18px;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}

.footer-brand .logo {
    color: var(--white);
}

.logo-container-footer {
    display: flex;

}

.logo-image-footer {
    width: 60px;
    height: 60px;
    margin-right: 30px;
}

.footer-brand .logo-accent {
    color: var(--gold-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    margin-bottom: 16px;
    max-width: 320px;
}

.footer-phone {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 13, 24, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 56px 48px;
    border-radius: var(--radius-xl);
    max-width: 460px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(184, 134, 11, 0.15);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--navy);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 28px;
}

.modal-content h3 {
    font-family: var(--font-display);
    color: var(--navy);
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .trust-bar {
        display: none;
    }

    .header {
        top: 0;
    }

    .header-inner {
        height: 72px;
        padding: 0 16px;
    }

    /* Smaller logo text next to logo on mobile */
    .logo-image {
        width: 44px;
        height: 44px;
    }

    .logo-container .logo-text {
        font-size: 0.95rem;
    }

    .logo-container .logo-tagline {
        font-size: 0.5rem;
        letter-spacing: 0.15em;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
        gap: 20px;
        border-bottom: 1px solid rgba(184, 134, 11, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        text-align: center;
    }

    /* Mobile: Services submenu – centered */
    .nav-item-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-link-trigger {
        justify-content: center;
    }

    .nav-dropdown {
        position: static;
        margin-top: 8px;
        margin-left: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        text-align: center;
    }

    .nav-item-dropdown.open .nav-dropdown {
        max-height: 400px;
    }

    .nav-dropdown a {
        padding: 8px 0;
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
    }

    .lang-switcher {
        margin-top: 4px;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 130px 24px 80px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        min-height: 220px;
    }

    .trust-badges {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-form {
        padding: 40px 28px;
    }

    .services {
        padding: 80px 0;
    }

    .quote {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL (Arabic) */
[dir="rtl"] .nav-dropdown {
    left: auto;
    right: 0;
}

[dir="rtl"] .nav-item-dropdown.open .nav-dropdown {
    margin-right: 0;
    margin-left: 0;
}

[dir="rtl"] .about-features li::before {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .footer-grid,
[dir="rtl"] .about-inner {
    text-align: right;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .section-header {
    text-align: center;
}
