/* 
   LEGGI'O PROPERTIES - Landing Page Stylesheet
   Designed with Premium Ocean-Dark Aesthetics, Glassmorphism, and Fluid Animations
*/

/* --- Design Variables --- */
:root {
    --primary: #002C4A;
    --primary-dark: #001C30;
    --primary-light: #00406D;
    --accent: #D4AF37; /* Elegant Gold */
    --accent-hover: #C5A028;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0A1118;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --text-light: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* --- Typography Helpers --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-tag.tag-white {
    color: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-weight: 300;
}

.accent-text {
    color: var(--accent);
}

.hidden {
    display: none !important;
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 44, 74, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo a {
    display: block;
}

.logo img {
    max-height: 52px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-bold {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.logo-sub {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-top: -3px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

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

/* Dropdown styling */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-menu .dropdown-trigger .arrow {
    font-size: 9px;
    transition: var(--transition);
}

.nav-menu .dropdown:hover .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 200px;
    background-color: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.nav-menu .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.nav-menu .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    padding-left: 24px;
}

/* Nav CTA */
.nav-cta {
    background-color: var(--accent);
    color: var(--primary-dark) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.nav-cta:hover {
    background-color: var(--white);
    color: var(--primary-dark) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: var(--primary-dark);
    z-index: 999;
    padding: 40px 24px;
    transition: var(--transition);
}

.mobile-drawer.open {
    left: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 600;
}

.mobile-nav a:hover {
    color: var(--accent);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 550px;
    max-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('mock_hero.png'); /* Placed via mock script */
    background-size: cover;
    background-position: center;
    padding: 100px 24px;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 44, 74, 0.8) 0%, rgba(0, 16, 28, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 35px auto;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.2s ease-out;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- Search Bar Section --- */
.search-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding: 0 24px;
}

.search-container {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.05);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: flex-end;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.search-group input,
.search-group select {
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    background-color: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.search-group input:focus,
.search-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 44, 74, 0.1);
}

.btn-search {
    background-color: var(--primary);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 44, 74, 0.2);
}

.btn-search:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

/* --- Featured Properties Section --- */
.featured-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.collection-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #E2E8F0;
    background-color: var(--white);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 44, 74, 0.15);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.property-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.property-image {
    position: relative;
    height: 230px;
    background-color: #E2E8F0;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.badge-sale { background-color: var(--primary); }
.badge-rent { background-color: var(--accent); color: var(--primary-dark); }

.property-details {
    padding: 24px;
}

.property-location {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.property-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 8px 0 12px 0;
}

.property-specs {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-card {
    background-color: var(--bg-light);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #E2E8F0;
}

.btn-card:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.grid-categories-sub {
    border-top: 1px solid #E2E8F0;
    padding-top: 50px;
    text-align: center;
}

.sub-categories-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.categories-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cat-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cat-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 44, 74, 0.1);
}

/* --- Why Us (Pillars) Section --- */
.pillars-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    color: var(--white);
}

.pillars-section .section-title {
    color: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pillar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px);
}

.pillar-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.5;
}

/* --- Buying Process Section --- */
.process-section {
    padding: 100px 0;
    background-color: var(--white);
}

.process-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.process-intro {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

.steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 35px;
    width: 2px;
    height: calc(100% - 30px);
    background-color: #E2E8F0;
    z-index: 1;
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 30px;
    z-index: 2;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px #F1F5F9;
}

.step-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.step-text p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
}

.process-image .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-color: #E2E8F0;
}

/* --- DR Advantages Section --- */
.dr-advantages-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.dr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dr-card {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 30px 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.dr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.dr-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.dr-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* --- Lead Magnet Section --- */
.lead-magnet-section {
    padding: 80px 0;
    background-color: var(--white);
}

.lead-magnet-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background-color: var(--primary);
    border-radius: 16px;
    padding: 60px;
    color: var(--white);
    box-shadow: 0 15px 50px rgba(0, 44, 74, 0.2);
    align-items: center;
    gap: 40px;
}

.lead-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.lead-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 30px;
}

.lead-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.lead-bullets li {
    font-size: 15px;
    font-weight: 400;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-bullets li span {
    color: var(--accent);
    font-weight: 700;
}

/* Book Cover mockup */
.lead-image-column {
    display: flex;
    justify-content: center;
}

.guide-mockup {
    width: 210px;
    height: 290px;
    background-color: var(--white);
    border-radius: 4px 12px 12px 4px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4),
                -2px 0 5px rgba(255, 255, 255, 0.2) inset;
    padding: 15px;
    border-left: 8px solid var(--accent);
    position: relative;
    transform: rotate(3deg);
    transition: var(--transition);
}

.guide-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

.mockup-cover {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 44, 74, 0.1);
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.mockup-cover h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.mockup-cover p {
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin: 10px 0 20px 0;
    font-weight: 600;
}

.mockup-cover span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 44, 74, 0.02);
}

.faq-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--accent);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- Consultation Section --- */
.consultation-section {
    padding: 100px 0;
    background-color: var(--white);
}

.consultation-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background-color: var(--bg-light);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.cta-text-col {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-direct-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.cta-direct-contact a {
    color: var(--accent);
}

.cta-direct-contact a:hover {
    color: var(--white);
}

.cta-form-col {
    padding: 60px;
    background-color: var(--white);
}

.cta-form-col h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 44, 74, 0.1);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-grid h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--accent);
}

.footer-col-about p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-weight: 300;
}

.footer-col-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-col-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 300;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: #128c7e;
    box-shadow: 2px 6px 20px rgba(0,0,0,0.4);
}

/* --- Modal Popup Dialog --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 16, 28, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 300;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
    .process-layout {
        grid-template-columns: 1fr;
    }
    .lead-magnet-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .lead-image-column {
        display: none;
    }
    .consultation-card {
        grid-template-columns: 1fr;
    }
    .cta-text-col {
        padding: 30px;
    }
    .cta-form-col {
        padding: 30px;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* --- Journey Section --- */
.journey-section {
    padding: 100px 0;
    background-color: var(--white);
    border-bottom: 1px solid #E2E8F0;
}

.journey-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.journey-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.journey-subtitle-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.journey-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 30px;
    font-weight: 300;
}

.journey-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.journey-image-col {
    display: flex;
    justify-content: center;
}

.journey-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #E2E8F0;
    background-color: #E2E8F0;
}

.journey-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Categories Grid Section --- */
.categories-section {
    padding: 80px 0;
    background-color: var(--white);
    border-bottom: 1px solid #E2E8F0;
}

.categories-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    height: 450px;
}

.category-grid-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.category-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cat-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.category-grid-card:hover .cat-card-bg {
    transform: scale(1.08);
}

.cat-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 28, 48, 0.95) 0%, rgba(0, 44, 74, 0.4) 50%, rgba(0, 44, 74, 0.1) 100%);
    z-index: 1;
}

.cat-card-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
}

.cat-card-count {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 6px;
}

.cat-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cat-card-link {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
    transition: var(--transition);
}

.category-grid-card:hover .cat-card-link {
    opacity: 1;
    color: var(--accent);
}

.cat-card-link .arrow-right {
    transition: var(--transition);
}

.category-grid-card:hover .cat-card-link .arrow-right {
    transform: translateX(4px);
}


/* --- Process Actions Button --- */
.process-actions {
    margin-top: 40px;
}


/* --- Broker Section --- */
.broker-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid #E2E8F0;
}

.broker-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.broker-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.broker-subtitle-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.broker-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 300;
}

.broker-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 15px;
}

.btn-linkedin {
    background-color: #0077b5;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
    display: flex;
    align-items: center;
}

.btn-linkedin:hover {
    background-color: #005a8a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.4);
}

.broker-image-col {
    display: flex;
    justify-content: center;
}

.broker-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
    background-color: #E2E8F0;
    height: 480px;
    width: 100%;
}

.broker-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* --- Vantiz-Style Property Details Page --- */
/* --- Dorr Brokers Style Property Details Page --- */
.property-detail-page {
    background-color: #F8F8F8 !important;
}

/* Breadcrumbs & Navigation Bar Offset */
.dorr-layout-sec {
    padding: 120px 0 60px; /* Offset for fixed header navigation */
    background-color: #F8F8F8;
    min-height: 100vh;
}

.dorr-breadcrumbs-bar {
    max-width: 1200px;
    margin: 0 auto 24px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.dorr-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.dorr-back-link:hover {
    color: var(--accent);
}

.dorr-arrow-icon {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

.dorr-back-link:hover .dorr-arrow-icon {
    transform: translateX(-3px);
}

.dorr-breadcrumbs-path {
    color: var(--text-muted);
}

.dorr-breadcrumbs-path a {
    color: var(--primary-light);
    font-weight: 500;
    transition: var(--transition);
}

.dorr-breadcrumbs-path a:hover {
    color: var(--accent);
}

/* Main Grid Layout */
.dorr-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

.dorr-main-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0; /* Fixes grid column stretching from horizontal scroll elements */
}

.dorr-sidebar-col {
    position: sticky;
    top: 100px;
}

/* Card General Style */
.dorr-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.dorr-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.dorr-sub-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.dorr-card-divider {
    height: 1px;
    background-color: #F1F5F9;
    margin: 20px 0;
}

/* Image Slider Component */
.dorr-slider-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.dorr-slider-viewport {
    position: relative;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
}

.dorr-slider-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.dorr-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: var(--transition);
    z-index: 10;
}

.dorr-slider-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.dorr-slider-nav-btn svg {
    width: 20px;
    height: 20px;
}

.dorr-slider-nav-btn.prev {
    left: 20px;
}

.dorr-slider-nav-btn.next {
    right: 20px;
}

.dorr-slider-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
}

.dorr-thumbnails-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.dorr-thumbnails-row::-webkit-scrollbar {
    height: 6px;
}

.dorr-thumbnails-row::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 10px;
}

.dorr-thumb {
    width: 120px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: var(--transition);
}

.dorr-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.dorr-thumb:hover img, .dorr-thumb.active img {
    opacity: 1;
}

.dorr-thumb.active {
    border-color: var(--primary-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header Flex Styling */
.dorr-card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.dorr-header-left-side {
    display: flex;
    flex-direction: column;
}

.dorr-header-right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.dorr-pin-icon {
    width: 15px;
    height: 15px;
    color: var(--accent);
    margin-right: 6px;
}

/* Key Stats Grid Styling */
.dorr-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
}

.dorr-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dorr-spec-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #F8FAFC;
    border: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.dorr-spec-icon-box svg {
    width: 22px;
    height: 22px;
}

.dorr-spec-texts {
    display: flex;
    flex-direction: column;
}

.dorr-spec-val {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.dorr-spec-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Summary Grid Table Styling */
.dorr-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
}

.dorr-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dorr-summary-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.dorr-summary-val {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* Description Text Styling */
.dorr-desc-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 400;
}

.dorr-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    padding: 0;
    list-style: none;
}

.dorr-checklist li {
    font-size: 14px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.dorr-check-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Amenities Grid Styling */
.dorr-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dorr-amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Sticky Advisor Card Styling */
.dorr-sticky-advisor-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.dorr-advisor-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dorr-advisor-avatar-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #F1F5F9;
}

.dorr-advisor-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dorr-advisor-info {
    display: flex;
    flex-direction: column;
}

.dorr-advisor-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.dorr-advisor-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.dorr-advisor-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.dorr-advisor-contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dorr-contact-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.dorr-contact-link {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 600;
    transition: var(--transition);
}

.dorr-contact-link:hover {
    color: var(--accent);
}

.dorr-advisor-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.dorr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dorr-btn-icon {
    width: 16px;
    height: 16px;
}

.dorr-btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.dorr-btn-whatsapp:hover {
    background-color: #1ebd58;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.dorr-btn-primary {
    background-color: var(--primary-light);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 64, 109, 0.1);
}

.dorr-btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 64, 109, 0.2);
}

/* Responsiveness Rules */
@media (max-width: 1024px) {
    .dorr-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .dorr-sidebar-col {
        position: relative;
        top: 0;
    }
    .dorr-slider-viewport {
        height: 380px;
    }
    .dorr-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dorr-card-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .dorr-header-right-side {
        align-items: flex-start;
    }
    .dorr-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dorr-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dorr-checklist {
        grid-template-columns: 1fr;
    }
    .dorr-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Explicit centering and width boundary for details page container */
.dorr-layout-sec .container {
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
