/* ============================================================
   Quest Properties — Public Site Stylesheet
   Palette: Deep Teal (#1a6b6b), Sand (#f5efe6), Warm White (#fdfaf6),
            Coral accent (#e8785a), Dark (#1c2b2b)
   ============================================================ */

:root {
    --qp-teal:       #1a6b6b;
    --qp-teal-dark:  #134f4f;
    --qp-teal-light: #e8f4f4;
    --qp-sand:       #f5efe6;
    --qp-warm-white: #fdfaf6;
    --qp-coral:      #e8785a;
    --qp-dark:       #1c2b2b;
    --qp-muted:      #6b8080;
    --font-serif:    'Playfair Display', Georgia, serif;
    --font-sans:     'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--qp-dark);
    background: var(--qp-warm-white);
    margin: 0;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, .serif { font-family: var(--font-serif); }

/* ── NAVBAR ── */
.qp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: transparent;
    transition: all 0.3s ease;
}
.qp-nav.scrolled,
.qp-nav.solid {
    background: rgba(28, 43, 43, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.qp-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.brand-icon {
    font-size: 1.6rem;
    color: var(--qp-coral);
    line-height: 1;
}
.brand-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.brand-accent { color: var(--qp-coral); }
.qp-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.75rem !important;
    transition: color 0.2s;
}
.qp-nav .nav-link:hover,
.qp-nav .nav-link.active { color: #fff !important; }
.qp-nav .nav-link.active { border-bottom: 2px solid var(--qp-coral); }

/* ── BUTTONS ── */
.qp-btn-primary {
    background: var(--qp-coral);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.qp-btn-primary:hover {
    background: #d4664a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232,120,90,0.4);
}
.qp-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.qp-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
.qp-btn-teal {
    background: var(--qp-teal);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.qp-btn-teal:hover {
    background: var(--qp-teal-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26,107,107,0.35);
}

/* ── HERO ── */
.qp-hero {
    min-height: 100vh;
    background:
        linear-gradient(160deg, rgba(28,43,43,0.72) 0%, rgba(26,107,107,0.55) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.qp-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: var(--qp-warm-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--qp-coral);
    margin-bottom: 1rem;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-title span { color: var(--qp-coral); }
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--qp-coral);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}
@@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTIONS ── */
.qp-section { padding: 5rem 0; }
.qp-section-sand { background: var(--qp-sand); }
.qp-section-teal-light { background: var(--qp-teal-light); }

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--qp-coral);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--qp-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--qp-muted);
    line-height: 1.7;
    max-width: 580px;
}

/* ── PROPERTY CARDS ── */
.property-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(28,43,43,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(28,43,43,0.15);
    color: inherit;
    text-decoration: none;
}
.property-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--qp-teal-light), var(--qp-sand));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--qp-muted);
    font-size: 3rem;
}
.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--qp-coral);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}
.property-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.property-card-address {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--qp-dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
.property-card-location {
    font-size: 0.85rem;
    color: var(--qp-muted);
    margin-bottom: 1rem;
}
.property-card-location i { color: var(--qp-coral); }
.property-card-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--qp-teal);
    transition: gap 0.2s;
}
.property-card:hover .property-card-cta { gap: 0.75rem; }

/* ── FEATURES / WHY US ── */
.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--qp-teal-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--qp-teal);
    margin-bottom: 1.25rem;
    transition: all 0.25s;
}
.feature-card:hover .feature-icon {
    background: var(--qp-teal);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}
.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(26,107,107,0.08);
    transition: box-shadow 0.25s;
    height: 100%;
}
.feature-card:hover {
    box-shadow: 0 8px 30px rgba(26,107,107,0.12);
}
.feature-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--qp-dark);
    margin-bottom: 0.5rem;
}
.feature-text {
    font-size: 0.92rem;
    color: var(--qp-muted);
    line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(28,43,43,0.06);
    position: relative;
}
.testimonial-quote {
    font-size: 3rem;
    color: var(--qp-coral);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--qp-dark);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-author { font-weight: 600; color: var(--qp-teal); font-size: 0.9rem; }
.testimonial-role   { font-size: 0.82rem; color: var(--qp-muted); }
.stars { color: #f5b731; letter-spacing: 2px; margin-bottom: 0.75rem; }

/* ── CTA BAND ── */
.qp-cta-band {
    background: linear-gradient(135deg, var(--qp-teal-dark), var(--qp-teal));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.qp-cta-band::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.qp-cta-band .section-title { color: #fff; }
.qp-cta-band .section-subtitle { color: rgba(255,255,255,0.75); max-width: 100%; }

/* ── CONTACT FORM ── */
.qp-form-control {
    background: #fff;
    border: 1.5px solid rgba(26,107,107,0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--qp-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.qp-form-control:focus {
    outline: none;
    border-color: var(--qp-teal);
    box-shadow: 0 0 0 3px rgba(26,107,107,0.12);
}
.qp-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--qp-dark);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

/* ── ABOUT PAGE ── */
.about-hero {
    background:
        linear-gradient(160deg, rgba(28,43,43,0.8) 0%, rgba(26,107,107,0.65) 100%),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600&q=80') center/cover no-repeat;
    padding: 10rem 0 6rem;
    text-align: center;
}
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.team-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--qp-teal-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    color: var(--qp-teal);
    margin: 0 auto 1rem;
}
.stat-highlight {
    background: var(--qp-teal);
    color: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}
.stat-highlight .number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--qp-coral);
    line-height: 1;
}
.stat-highlight .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.35rem;
}

/* ── PAGE HEROES (inner pages) ── */
.page-hero {
    background:
        linear-gradient(160deg, rgba(28,43,43,0.82) 0%, rgba(26,107,107,0.65) 100%),
        url('https://images.unsplash.com/photo-1448630360428-65456885c650?w=1600&q=80') center/cover no-repeat;
    padding: 9rem 0 4rem;
    text-align: center;
}
.page-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.page-hero-sub {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    font-weight: 300;
}

/* ── FOOTER ── */
.qp-footer {
    background: var(--qp-dark);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
}
.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.footer-tagline { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--qp-coral);
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--qp-coral); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { font-size: 0.9rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.social-link:hover { background: var(--qp-coral); border-color: var(--qp-coral); color: #fff; }
.footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}
.footer-admin-link {
    color: rgba(255,255,255,0.15);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
}
.footer-admin-link:hover { color: rgba(255,255,255,0.5); }

/* ── ADMIN LOGIN ── */
.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--qp-teal-dark), var(--qp-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.admin-login-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ── UTILITIES ── */
.text-teal   { color: var(--qp-teal) !important; }
.text-coral  { color: var(--qp-coral) !important; }
.text-muted-qp { color: var(--qp-muted) !important; }
.bg-sand     { background: var(--qp-sand) !important; }
.divider-coral {
    width: 50px; height: 3px;
    background: var(--qp-coral);
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}
.divider-coral.centered { margin: 1rem auto 1.5rem; }

@@media (max-width: 768px) {
    .qp-nav { background: rgba(28,43,43,0.97); }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 1.5rem; }
}
