:root {
    --gold: #D4AF37;
    --gold-hover: #b4932d;
    --gold-light: #F9F1D8;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --card-bg: #111111;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-weight: 400;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =========================================
   Buttons
   ========================================= */
.btn-gold {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--gold);
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border: 1px solid var(--gold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold-hover);
    z-index: -2;
}

.btn-gold:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    transition: var(--transition);
    z-index: -1;
}

.btn-gold:hover {
    color: var(--black);
    border-color: #fff;
}

.btn-gold:hover:before {
    width: 100%;
}

.btn-gold-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: 1px solid var(--gold);
}

.btn-gold-outline:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-transparent {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}

.btn-transparent:hover {
    background-color: #fff;
    color: var(--black);
    border-color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* =========================================
   Loader Animation
   ========================================= */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-logo img {
    width: 180px;
    margin-bottom: 25px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loading-text {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    letter-spacing: 6px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 15s infinite ease-in-out alternate;
}

.blob-1 { width: 500px; height: 500px; background: var(--gold); top: -100px; left: -100px; }
.blob-2 { width: 600px; height: 600px; background: #5c4d0e; bottom: -150px; right: -150px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: var(--gold-hover); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -8s; }

/* =========================================
   Top Bar
   ========================================= */
.top-bar {
    background-color: #050505;
    border-bottom: 1px solid #1a1a1a;
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.top-bar-left a, .top-bar-right a {
    color: #888;
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.top-bar-left a:last-child, .top-bar-right a:last-child {
    margin-right: 0;
}

.top-bar i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 0.9rem;
}

.social-icons {
    display: inline-flex;
    margin-left: 20px;
    border-left: 1px solid #333;
    padding-left: 20px;
}

.social-icons a {
    margin-right: 15px;
}

.top-bar a:hover {
    color: #fff;
}

/* =========================================
   Navigation
   ========================================= */
.main-nav {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 25px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ddd;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

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

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

/* =========================================
   Hero Section (Imposing)
   ========================================= */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=1920&auto=format&fit=crop') no-repeat center center;
    background-attachment: fixed; /* Parallax Effect */
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.9)); /* Increased Opacity/Darkness */
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-logo img {
    width: 350px; /* Bigger Logo */
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #ddd;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =========================================
   Section Headers
   ========================================= */
.features-section, .listings-section, .contact-section, .advisor-section {
    padding: 120px 0;
}

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

.section-eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.divider-gold {
    width: 80px;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto;
}

.divider-gold-left {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 20px 0 30px 0;
}

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

/* =========================================
   Features Grid
   ========================================= */
.features-section {
    background-color: var(--dark-bg);
}

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

.feature-card {
    background: #111;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #222;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

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

/* =========================================
   Advisor Section (New)
   ========================================= */
.advisor-section {
    background-color: #0d0d0d;
    position: relative;
    border-top: 1px solid #1a1a1a;
}

.advisor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.advisor-image {
    position: relative;
    padding: 20px;
}

.image-frame {
    position: relative;
    z-index: 1;
    border: 1px solid #333;
    padding: 15px;
}

.image-frame:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50%;
    height: 50%;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    z-index: -1;
}

.image-frame:after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 50%;
    height: 50%;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(110%);
    transition: var(--transition);
}

.advisor-image:hover .image-frame img {
    filter: grayscale(0%) contrast(100%);
}

.advisor-content {
    padding-right: 20px;
}

.advisor-name {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1;
}

.advisor-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.advisor-content p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.8;
}

.advisor-signature {
    margin: 30px 0 40px;
    padding-left: 20px;
    border-left: 2px solid var(--gold);
    font-style: italic;
}

.advisor-signature p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.signature-text {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 0.9rem;
    font-style: normal;
}

/* =========================================
   Listings
   ========================================= */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.listing-card {
    background-color: var(--card-bg);
    border: 1px solid #222;
    overflow: hidden;
    group: hover;
    transition: var(--transition);
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.listing-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.listing-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.listing-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--gold);
    color: #000;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.listing-details {
    padding: 30px;
}

.listing-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.listing-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.listing-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.listing-location i {
    margin-right: 8px;
    color: var(--gold);
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #888;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    position: relative;
    padding: 150px 0;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=1920&auto=format&fit=crop') fixed center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #ddd;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    background-color: #080808;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: #111;
    border: 1px solid #222;
    padding: 60px;
}

.contact-info-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.contact-info-box > p {
    color: #999;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
    font-size: 1.1rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.info-item p {
    color: #888;
    font-size: 0.9rem;
}

.contact-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #333;
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
}

.contact-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.contact-form-box h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

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

input, select, textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    background-color: #222;
}

/* =========================================
   Modal
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 40px 0;
}

.modal-content {
    background-color: #111;
    margin: 20px auto;
    width: 90%;
    max-width: 1100px;
    border: 1px solid #333;
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    color: var(--gold);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-gallery {
    flex: 1 1 55%;
    position: relative;
    min-height: 500px;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-price-tag {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(0,0,0,0.8);
    color: var(--gold);
    padding: 15px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    backdrop-filter: blur(5px);
}

.modal-info {
    flex: 1 1 45%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-type {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.modal-info h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-address {
    color: #999;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

.amenity-item {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.amenity-item i {
    color: var(--gold);
    margin-right: 10px;
    width: 20px;
}

.modal-description h4 {
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.modal-description p {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* =========================================
   Footer
   ========================================= */
.main-footer {
    background-color: #050505;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand img {
    width: 280px;
    margin-bottom: 5px;
    margin-top: -20px; /* Pull it up if needed to reduce perceived top space */
}

.footer-brand p {
    color: #666;
    max-width: 300px;
}

.footer-links h4, .footer-newsletter h4 {
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
}

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

.footer-links a {
    color: #888;
}

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

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    border-right: none;
}

.newsletter-form button {
    background-color: var(--gold);
    border: 1px solid var(--gold);
    color: #000;
    width: 60px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    color: #444;
    font-size: 0.85rem;
}

.company-link {
    color: #666;
}

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

/* Media queries have been moved to css/responsive.css */
