/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Navbar */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

.nav-line {
    transition: transform 0.3s ease, width 0.3s ease;
}

#menu-toggle.active .nav-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-toggle.active .nav-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .nav-line:nth-child(3) {
    width: 6rem;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    font-size: 1.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    display: block;
}

.mobile-link:hover {
    color: #c9982e;
}

/* Hero */
.hero-section {
    position: relative;
}

.hero-img {
    transition: transform 8s ease;
}

.hero-section:hover .hero-img {
    transform: scale(1.03);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: border-color 0.3s ease;
}

.scroll-indicator:hover {
    border-color: #d4a843;
}

/* Service Cards */
.service-card {
    backdrop-filter: blur(4px);
}

/* Property Cards */
.property-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.1);
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-triggered animations (progressive enhancement — content visible without JS) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: #d4a843;
    color: #0a1628;
}
