/* Base reset and variables */
:root {
    --bg: #0b0d10;
    --surface: #111418;
    --text: #e6eaf2;
    --muted: #a7b0c0;
    --primary: #4f8cff;
    --primary-600: #3e74d6;
    --accent: #22c55e;
    --card: #151921;
    --border: #222736;
    --chip: #1b2130;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 800px at 10% -10%, rgba(79, 140, 255, 0.08), transparent 60%),
        radial-gradient(1000px 600px at 110% 10%, rgba(34, 197, 94, 0.08), transparent 60%),
        var(--bg);
    /* background-image: url('images/Self1.png');
    background-size: contain;
    background-position: top 65px left 10px;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.fixed-top-left-image {
    position: fixed;
    top: 65px;
    left: 10px;
    width: auto;
    height: auto;
    max-width: 30vw;
    max-height: 30vh;
    object-fit: contain;
    z-index: -1111;
    pointer-events: none;
}

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

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

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
}

.site-nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--text);
    opacity: 0.9;
}

.site-nav a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

/* Hero */
.hero {
    padding: 96px 0 64px;
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.15), rgba(79, 140, 255, 0) 40%),
        linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0) 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 20px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    box-shadow: var(--shadow);
}

.btn.primary {
    background: var(--primary);
    border-color: transparent;
    color: white;
}

.btn.primary:hover {
    background: var(--primary-600);
}

.btn.ghost {
    background: transparent;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 40%);
}

.section h2 {
    font-size: 28px;
    margin: 0 0 8px;
}

.section-lead {
    color: var(--muted);
    margin: 0 0 24px;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
}

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

.card .emoji {
    font-size: 36px;
    margin-bottom: 8px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 12px;
    list-style: none;
}

.chip {
    background: var(--chip);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 999px;
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
}

.contact-icon {
    flex-shrink: 0;
    color: var(--muted);
    opacity: 0.8;
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0f131a;
    color: var(--text);
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 12px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.back-to-top {
    color: var(--muted);
}

.back-to-top:hover {
    color: var(--text);
}

/* Carousel */
.property-carousel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 520px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.carousel-slide.is-active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.carousel-overlay {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 11, 18, 0), rgba(8, 11, 18, 0.4));
    backdrop-filter: blur(6px);
    color: var(--text);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.carousel-overlay h3 {
    margin: 0 0 4px;
}

.carousel-overlay .address {
    margin: 0 0 8px;
    color: var(--muted);
}

.carousel-overlay .badge {
    display: inline-block;
    background: rgba(79, 140, 255, 0.9);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.carousel-overlay .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.carousel-overlay .pill {
    background: rgba(21, 25, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--chip);
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.carousel-btn:hover {
    background: var(--border);
    transform: translateY(-1px);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--chip);
    cursor: pointer;
    padding: 0;
}

.carousel-dot.is-active {
    background: var(--primary);
    border-color: var(--primary);
}

.carousel-status {
    display: none;
}

/* Responsive */
@media (max-width: 960px) {
    .grid.four {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid.three {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-nav {
        position: absolute;
        top: 64px;
        right: 0;
        z-index: 999;
        background: var(--bg);
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }

    .site-nav ul {
        flex-direction: column;
        padding: 12px;
    }

    .nav-open .site-nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-block;
    }

    .grid.four,
    .grid.three {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 72px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .carousel-slide img {
        height: 320px;
    }
}