/* Premium Glassmorphic property Management Styles */
:root {
    --navy-blue: #001a38; /* Deeper, richer navy */
    --gold: #d4af37; /* Metallic gold */
    --gold-glow: rgba(212, 175, 55, 0.4);
    --white: #ffffff;
    --text-dark: #1a202c;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

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

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

/* 
   Header: Transparent & Floating
   Eliminated the "crazy white block" on top. It now floats elegantly over the hero image.
*/
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0 5px 0; /* Minimized native header padding to pull the whole stack upwards to fit on one page */
    z-index: 100;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255,255,255,0) 100%);
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo-container {
    max-width: clamp(230px, 28vw, 380px); /* Slightly reigned in so it doesn't force a page scroll */
    transition: transform 0.4s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
}

/* Navigation Links */
.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px; /* Modern pill shape */
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--navy-blue);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover {
    color: var(--navy-blue-light);
}

.nav-link:hover::after {
    width: 100%;
}

.brand-logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1));
}

.header-phone {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    font-weight: 700;
    color: var(--navy-blue);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px; /* Modern pill shape */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--navy-blue);
    color: var(--white);
    border-color: var(--navy-blue);
    box-shadow: 0 8px 25px rgba(0, 26, 56, 0.3);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full viewport height for premium feel */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Image zoom animation */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
    animation: slowZoom 20s infinite alternate ease-in-out;
}

/* Elegant gradient overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0) 70%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    padding-top: 180px; /* Restored safe clearance under the massive logo so it never bleeds into text */
    padding-bottom: 10px;
}

/* Modern Glassmorphic Card */
.hero-glass-card {
    max-width: 650px;
    padding: 25px 35px; /* Tightly compressed inside padding so the card is less tall */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--navy-blue);
    margin-bottom: 8px; /* Compressed margins for fit */
    letter-spacing: -1px;
}

.sub-headline {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 4px;
}

.tagline {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px; /* Compressed */
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.gold-bullet {
    color: var(--gold);
    margin: 0 12px;
    font-size: 1.5rem;
    line-height: 1;
}

/* Services List with sleek hover effects */
.services-list {
    list-style: none;
    margin-bottom: 15px;
}

.services-list li {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 500;
    color: var(--navy-blue);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.services-list li:hover {
    transform: translateX(8px);
}

.services-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Call To Action */
.cta-box {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 26, 56, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cta-text-content {
    display: flex;
    flex-direction: column;
}

.cta-label {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 2px;
    opacity: 0.8;
}

.cta-phone {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* Shrunk massively to fit elegantly next to the QR code */
    font-weight: 800;
    color: var(--navy-blue);
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.cta-phone:hover {
    color: var(--gold);
    transform: scale(1.02);
}

.cta-subtext {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--navy-blue);
    opacity: 0.9;
}

.qr-image-hero {
    width: 65px;
    height: 65px;
    border: 3px solid var(--white);
    border-radius: 6px;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.qr-image-hero:hover {
    transform: scale(1.1);
}

/* Footer Section */
.site-footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-left p {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 400;
    opacity: 0.9;
}

.footer-left p:first-child {
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 1;
    color: var(--gold);
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-nav-list {
    display: flex;
    gap: 25px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 5px;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.qr-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin: 0;
}

.qr-image {
    width: 90px;
    height: 90px;
    border: 3px solid var(--white);
    border-radius: 6px;
    background-color: var(--white);
    transition: transform 0.4s ease;
}

.qr-image:hover {
    transform: scale(1.1);
}

/* Responsive Tablet & Mobile */
@media (max-width: 900px) {
    .site-header {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255,255,255,0.95) 100%);
        padding: 15px 0;
    }
    .site-header .container {
        justify-content: center; /* Center everything */
        flex-direction: column; /* Stack vertically */
        text-align: center;
        gap: 12px;
    }
    .logo-container {
        max-width: 230px; /* Increased from 170px to give it much more authority on mobile screens while still remaining vertically stacked */
        margin: 0 auto;
    }
    .header-nav {
        flex-wrap: wrap; /* Prevent overflow if too many links */
        justify-content: center;
        gap: 10px;
        padding: 8px 15px;
    }
    .header-phone {
        font-size: 0.9rem; /* Hardcode a smaller font on mobile due to the long CTA text length */
        padding: 8px 16px;
        white-space: normal; /* Allow the text to wrap if the screen is absolutely tiny */
    }
    .hero-gradient-overlay {
        background: rgba(255, 255, 255, 0.88); /* Stronger white wash to ensure massive contrast on narrow screens */
    }
    .hero-content-wrapper {
        justify-content: center;
        padding-top: 280px; /* Iron-clad vertical space securing the massive stacked header above off the glass card */
    }
    .hero-glass-card {
        padding: 25px 20px;
        text-align: center;
    }
    .primary-headline {
        font-size: clamp(2rem, 6vw, 2.8rem); /* Shrink headline aggressively on mobile */
        margin-bottom: 12px;
    }
    .cta-phone {
        font-size: clamp(1.8rem, 5vw, 2.5rem); /* Shrink giant CTA to fit */
    }
    .tagline {
        margin-bottom: 15px;
        justify-content: center;
    }
    .services-list {
        display: inline-block; /* Wraps tightly around the longest item so the entire list itself centers inside the card without zigzagging */
        margin-bottom: 25px;
        text-align: left;
    }
    .cta-box {
        flex-direction: column; /* Stack QR and Phone vertically on tiny mobile screens */
        align-items: center; /* Force horizontal centering */
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
    .services-list li {
        justify-content: flex-start; /* Forces the gold bullet dots to form a perfectly straight vertical line */
        text-align: left;
    }
    .services-list li:hover {
        transform: none; /* Disable hover shift on mobile to avoid weird UX */
    }
    .footer-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}
