:root {
    --dark-charcoal: #1a1f2b;
    --deep-navy: #2a3142;
    --warm-gray: #3a4255;
    --soft-gold: #d4af37;
    --champagne: #f7e7ce;
    --pearl: #f8f5f0;
    --platinum: #e8e6e1;
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 30px 60px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-charcoal);
    color: var(--pearl);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s ease;
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(26, 31, 43, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

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

.logo-icon {
    color: var(--soft-gold);
    font-size: 28px;
    animation: pulse 2s infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--pearl);
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--soft-gold);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--pearl);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--soft-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--soft-gold), transparent);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(to right, var(--soft-gold), var(--champagne));
    color: var(--dark-charcoal);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-light);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--pearl);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(26, 31, 43, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 30px 30px;
    transition: right 0.5s ease;
    z-index: 999;
    box-shadow: var(--shadow-heavy);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--pearl);
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--pearl);
    cursor: pointer;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--deep-navy) 50%, var(--warm-gray) 100%);
    z-index: -2;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-icon {
    font-size: 60px;
    color: var(--soft-gold);
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--soft-gold), var(--champagne));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(248, 245, 240, 0.7);
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--pearl);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--soft-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(248, 245, 240, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--soft-gold);
    animation: bounce 2s infinite;
}

/* Featured Properties */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(248, 245, 240, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background: var(--deep-navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(212, 175, 55, 0.3);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(to right, var(--soft-gold), var(--champagne));
    color: var(--dark-charcoal);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-image {
    height: 250px;
    width: 100%;
    background-color: var(--warm-gray);
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.property-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(26, 31, 43, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--soft-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 5;
}

.property-content {
    padding: 25px;
}

.property-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.property-card:hover .property-title {
    color: var(--soft-gold);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(248, 245, 240, 0.6);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    color: var(--soft-gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-value {
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-label {
    font-size: 0.8rem;
    color: rgba(248, 245, 240, 0.5);
}

.property-btn {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.1), transparent);
    color: var(--soft-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.property-card:hover .property-btn {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.2));
    border-color: rgba(212, 175, 55, 0.4);
}

/* Value Proposition */
.value-section {
    background: linear-gradient(to bottom, var(--dark-charcoal), rgba(58, 66, 85, 0.3));
}

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

@media (min-width: 992px) {
    .value-content {
        grid-template-columns: 1fr 1fr;
    }
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--soft-gold), var(--champagne));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-text {
    font-size: 1.1rem;
    color: rgba(248, 245, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.glass-card-bg {
    width: 100%;
    height: 250px;
    /* Increased height for team photo */
    background: url('../images/team.png') no-repeat center center/cover;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.1), rgba(247, 231, 206, 0.1));
    backdrop-filter: blur(10px);
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
}

/* Contact Form */
.contact-section {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, rgba(58, 66, 85, 0.5) 100%);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    color: var(--pearl);
}

.form-control:focus {
    outline: none;
    border-color: var(--soft-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: rgba(248, 245, 240, 0.4);
}

/* Fix for select dropdown options text color */
select.form-control option {
    color: var(--dark-charcoal);
    background-color: var(--pearl);
}

.focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--soft-gold), transparent);
    transition: width 0.3s;
}

.form-control:focus+.focus-line {
    width: 100%;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(to right, var(--soft-gold), var(--champagne));
    color: var(--dark-charcoal);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-light);
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.form-btn i {
    font-size: 1.2rem;
}

.form-success {
    text-align: center;
    color: var(--soft-gold);
    font-weight: 500;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Footer */
footer {
    background-color: var(--deep-navy);
    color: var(--pearl);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    color: var(--soft-gold);
    font-size: 28px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
}

.footer-logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--soft-gold);
}

.footer-description {
    color: rgba(248, 245, 240, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-gold);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--soft-gold);
    color: var(--dark-charcoal);
}

.footer-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--soft-gold);
    margin-bottom: 25px;
}

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

.footer-link {
    margin-bottom: 15px;
}

.footer-link a {
    color: rgba(248, 245, 240, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link a:hover {
    color: var(--soft-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(248, 245, 240, 0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--deep-navy);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-heavy);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--pearl);
    font-size: 24px;
    cursor: pointer;
}

.modal-title {
    color: var(--soft-gold);
    margin-bottom: 20px;
}

.modal-text {
    color: rgba(248, 245, 240, 0.8);
    margin-bottom: 30px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}