/* Global Styles */
:root {
    --primary-color: #D4AF37; /* Gold color for Dubai luxury theme */
    --primary-dark: #B8860B; /* Darker gold */
    --primary-light: #F5E7C1; /* Light gold */
    --secondary-color: #1E3A8A; /* Deep blue */
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #F9F9F9;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

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

a:hover {
    color: var(--primary-dark);
}

.btn {
    border-radius: 0; /* Square buttons for modern look */
    padding: 12px 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000; /* Black text on gold background */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #000;
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

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

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

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

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.8); /* Dark transparent navbar */
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color) !important; /* Gold color for brand */
    letter-spacing: 2px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
    width: 70%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1546412414-e1885259563a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center; /* Dubai skyline */
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    animation: fadeInUp 1s ease-out;
    transform: translateZ(0);
}

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

.hero-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 25px 0;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline-light {
    border-width: 2px;
}

.hero-buttons .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    display: block;
    color: var(--white);
    font-size: 16px;
    text-align: center;
}

.hero-scroll-indicator .material-icons {
    font-size: 36px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* About Section */
.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
}

.about-content {
    padding: 20px;
}

.about-content h3 {
    margin-bottom: 20px;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-item .material-icons {
    color: var(--primary-color);
    font-size: 30px;
    margin-right: 15px;
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Properties Section */
.property-card {
    margin-bottom: 30px;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.property-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-img .badge {
    position: absolute;
    top: 15px;
    left: 0;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    letter-spacing: 1px;
}

.badge.bg-info {
    background-color: var(--primary-color) !important;
    color: #000;
}

.badge.bg-warning {
    background-color: var(--secondary-color) !important;
    color: var(--white);
}

.property-location {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-location .material-icons {
    font-size: 16px;
    margin-right: 5px;
    color: var(--primary-color);
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.property-features span {
    display: flex;
    align-items: center;
}

.property-features .material-icons {
    font-size: 16px;
    margin-right: 5px;
    color: var(--primary-color);
}

.property-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Section */
.contact-info {
    padding: 20px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item .material-icons {
    color: var(--primary-color);
    font-size: 30px;
    margin-right: 15px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form {
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 0;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Footer */
.footer {
    background-color: #111111;
    color: #fff;
    padding: 70px 0 0;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #000;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-newsletter h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0;
    color: #fff;
    margin-bottom: 10px;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.footer-newsletter button:hover {
    background-color: var(--primary-dark);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright p {
    margin-bottom: 0;
}

.copyright .material-icons {
    color: var(--primary-color);
    font-size: 16px;
    vertical-align: middle;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px;
        margin-top: 10px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer [class^="col-"] {
        margin-bottom: 30px;
    }
}