/* CSS Variables - Premium Minimalist Theme */
:root {
    --bg-color: #0A0A0A;
    --surface-color: #161616;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #b49129;
    --overlay-dark: rgba(10, 10, 10, 0.6);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

::selection {
    background-color: var(--accent-gold);
    color: #fff;
}

/* Typography Utility */
p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 300;
}

/* Buttons */
.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--bg-color);
}

.btn-solid {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-solid:hover {
    background-color: var(--accent-gold);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--accent-gold);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 15px;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.btn-text:hover::after {
    width: 100%;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.logo span {
    font-weight: 300;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn-outline) {
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

.nav-links a:not(.btn-outline):hover {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 30px;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: -40vh;
    /* Start hidden above */
    left: 0;
    width: 100%;
    height: 40vh;
    /* Cover 40% of screen */
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    display: none;
    /* Hidden entirely on PC to prevent peeking */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 99;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border at bottom */
}

.mobile-nav.active {
    top: 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.05);
    /* For slight parallax effect */
    transition: transform 0.5s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: #E0E0E0;
    margin-bottom: 40px;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent-gold);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.gold-line {
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
    margin: 20px auto;
}

/* Properties Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    perspective: 1000px;
    /* Added for 3D effect */
}

.property-card {
    background-color: var(--surface-color);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    /* Faster transform for responsiveness */
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.property-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    /* Enhanced shadow */
}

.img-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.property-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.price-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    color: var(--text-primary);
    padding: 8px 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.property-info {
    padding: 30px;
}

.property-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.property-info .location {
    color: var(--accent-gold);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.details {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.dot {
    width: 3px;
    height: 3px;
    background-color: var(--text-secondary);
    border-radius: 50%;
}

/* Philosophy Section */
.philosophy-section {
    background-color: var(--surface-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.philosophy-text .gold-line {
    margin: 30px 0;
}

.philosophy-text p {
    margin-bottom: 25px;
}

.philosophy-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: brightness(0.85);
    /* Premium moody feel */
}

/* Footer */
.footer {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    padding: 100px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.footer-links a,
.footer-contact p,
.footer-brand p {
    display: block;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--text-secondary);
    padding-bottom: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #000;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials a {
    margin-left: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.socials a:hover {
    color: var(--accent-gold);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .flex-between {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .socials a {
        margin: 0 15px;
    }
}