/* Reset & Base Styles */
:root {
    --color-navy: #002349;
    --color-gold: #C5A059;
    --color-gold-hover: #b08d48;
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-text: #333333;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-navy);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.btn-nav {
    border: 1px solid var(--color-navy);
    padding: 8px 20px;
    border-radius: 2px;
}

.btn-nav:hover {
    background-color: var(--color-navy);
    color: var(--color-white) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 73, 0.4);
    /* Navy overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-price {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--color-gold);
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 20px auto 0;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
    background-color: var(--color-navy);
    color: var(--color-white);
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Details Section */
.bg-light {
    background-color: var(--color-light-gray);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.detail-card {
    background: var(--color-white);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--color-gold);
}

.detail-card h3 {
    color: var(--color-navy);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.detail-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.detail-card ul li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.contact .section-title {
    color: var(--color-white);
}

.contact-subtitle {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.agent-info {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.disclaimer {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Footer */
.footer {
    background-color: #001833;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
        /* Simple hide for mobile for now, can add burger menu if requested */
    }

    .nav {
        justify-content: center;
    }
}