/* ============================================
   UAE Investment Hub - Custom Styles
   Design Philosophy: Modern Luxury Minimalism
   ============================================ */

/* Root Variables */
:root {
    --primary: #1a2f4d;
    --accent: #d4a574;
    --light-bg: #f5f3f0;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
}

p {
    color: #555;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-sm {
    font-size: 0.875rem;
}

.italic {
    font-style: italic;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    text-decoration: none;
    font-weight: 700;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.brand-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent) !important;
    color: white !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #c49563 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 47, 77, 0.8), rgba(26, 47, 77, 0.4), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    line-height: 1.8;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 900px;
}

.search-box .form-label {
    color: var(--primary);
    font-size: 0.95rem;
}

.search-box .form-select,
.search-box .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-box .form-select:focus,
.search-box .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Divider */
.divider-gold {
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    margin: 0;
}

/* Sections */
.section-padding {
    padding: 4rem 0;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Advantage Icon */
.advantage-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.property-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(26, 47, 77, 0.2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.property-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

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

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

/* Area Cards */
.area-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.area-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.area-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.area-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
}

.stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Insight Cards */
.insight-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.insight-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.insight-list {
    list-style: none;
    padding: 0;
}

.insight-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.check-icon {
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a6d 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form .form-label {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .search-box {
        padding: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
    }

    .d-flex.flex-wrap.gap-3 .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .area-icon {
        font-size: 2.5rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .brand-title {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

.ms-auto {
    margin-left: auto;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}
