:root {
    --navy: #002147;
    --navy-soft: rgba(0, 33, 71, 0.08);
    --gold: #C5A059;
    --gold-light: #E0C080;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --dark: #1a1a1a;
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.playfair {
    font-family: 'Playfair Display', serif;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links a {
    color: var(--gold);
    font-size: 15px;
}

.social-links a:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 35px rgba(0, 33, 71, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Brand */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-icon {
    height: 54px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-name {
    height: 34px;
    width: auto;
    object-fit: contain;
    margin-top: 4px;
    flex-shrink: 1;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 34px;
}

.nav-menu a {
    position: relative;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.4px;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--gold);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-logo-wrap {
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.footer-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    max-width: 520px;
}

.footer h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 21px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 5px;
    min-width: 18px;
}

/* Global Page Headers */
.page-header {
    min-height: 45vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
    /* Accounts for navbar */
    position: relative;
}

.page-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.4));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 20px;
    color: var(--gold);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Enhanced Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.subtitle {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--navy);
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto;
}

/* Premium Cards */
.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 33, 71, 0.05);
    border: 1px solid rgba(0, 33, 71, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 33, 71, 0.1);
    border-color: rgba(197, 160, 89, 0.2);
}

.service-icon {
    font-size: 44px;
    color: var(--gold);
    margin-bottom: 30px;
    background: var(--navy-soft);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.48);
}

/* Premium Property Cards (Glassmorphism) */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.property-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 33, 71, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 33, 71, 0.12);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(197, 160, 89, 0.3);
}

.property-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    margin: 12px;
    border-radius: 12px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.property-info {
    padding: 10px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-info h3 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.location {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location i {
    color: var(--gold);
}

.features {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 33, 71, 0.05);
    border-bottom: 1px solid rgba(0, 33, 71, 0.05);
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--navy);
    font-weight: 500;
}

.features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.features i {
    color: var(--gold);
    font-size: 14px;
}

.price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.btn-view {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
}

.btn-view::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-view:hover::after {
    transform: scaleX(1);
}

/* Utilities */
.section-padding {
    padding: 120px 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.divider-left {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 25px;
}

.mt-50 {
    margin-top: 50px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .contact-info {
        justify-content: center;
        gap: 12px;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo-icon {
        height: 46px;
    }

    .logo-name {
        height: 30px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 14px);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        padding: 24px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        box-shadow: 0 18px 50px rgba(0, 33, 71, 0.14);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin-left: 0;
    }

    .nav-menu a {
        display: block;
        font-size: 14px;
        padding: 4px 0;
    }

    .nav-menu a::after {
        bottom: -4px;
    }

    .footer {
        padding: 60px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-logo {
        height: 90px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .top-bar {
        font-size: 13px;
        padding: 9px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 6px;
    }

    .social-links {
        gap: 14px;
    }

    .logo-icon {
        height: 42px;
    }

    .logo-name {
        height: 26px;
    }

    .nav-menu {
        left: 16px;
        right: 16px;
        padding: 22px;
        border-radius: 16px;
    }

    .whatsapp-btn {
        width: 56px;
        height: 56px;
        bottom: 22px;
        right: 22px;
        font-size: 27px;
    }

    .footer {
        margin-top: 35px;
        padding-top: 50px;
    }

    .footer h3 {
        font-size: 20px;
    }

    .footer-bottom {
        margin-top: 45px;
        font-size: 13px;
    }
}

/* Very Small Mobile */
@media (max-width: 480px) {
    .logo-name {
        display: none;
    }

    .brand-wrap {
        gap: 0;
    }

    .logo-icon {
        height: 46px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}