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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 169, 110, 0.3);
    color: #FDF0EF;
}

/* === Side Navigation === */
.side-nav {
    transform: translateX(-100%);
}

.side-nav.open {
    transform: translateX(0);
}

.nav-link {
    position: relative;
    color: rgba(253, 240, 239, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: #C9A96E;
    background: rgba(201, 169, 110, 0.05);
}

.nav-link.active .nav-icon {
    background: rgba(201, 169, 110, 0.15) !important;
}

.nav-link.active .nav-icon svg {
    color: #C9A96E !important;
}

.nav-icon svg {
    transition: color 0.3s ease;
}

/* === Buttons === */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    color: #C9A96E;
}

/* === Service Cards === */
.service-card {
    position: relative;
}

/* === Property Cards === */
.property-card {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 169, 110, 0.08);
}

/* === Process Steps === */
.process-step::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C9A96E;
    opacity: 0.4;
}

/* === Scroll Animations === */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* === Scroll Line Animation === */
@keyframes scrollLine {
    0% { top: -16px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

.scroll-line {
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* === Mobile Menu === */
.mobile-menu-btn {
    z-index: 200;
}

.mobile-overlay {
    z-index: 150;
}

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

/* === Section Spacing === */
.section {
    position: relative;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #2A050C;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 110, 0.5);
}

/* === Select styling === */
select option {
    background: #2A050C;
    color: #FDF0EF;
}

/* === Responsive === */
@media (max-width: 1023px) {
    .side-nav {
        box-shadow: none;
    }

    .side-nav.open {
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
    }

    #mainContent {
        margin-left: 0 !important;
    }
}

@media (min-width: 1024px) {
    #mainContent {
        margin-left: 280px;
    }
}
