/* css/style.css - Easy Address Consultancy Premium Styles (Apple Light Theme) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Apple Bright Light Theme */
    --apple-bg: #ffffff;
    --apple-bg-light: #f5f5f7;
    --apple-border: #d2d2d7;
    --apple-text: #1d1d1f;
    --apple-text-gray: #86868b;
    --apple-text-gray-dark: #6e6e73;
    --apple-link: #0066cc;
    --apple-link-hover: #0044b3;

    --easy-green: #00b074;
    --easy-green-rgb: 0, 176, 116;
    --easy-gold: #b8972f;

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Transitions */
    --apple-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.015em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--apple-text);
    letter-spacing: -0.02em;
}

/* Global Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--apple-bg-light);
}
::-webkit-scrollbar-thumb {
    background: #d2d2d7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #acacb0;
}

/* 1. Global Navigation Bar */
.apple-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--apple-transition);
}

.apple-nav .navbar-brand {
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--apple-text) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apple-nav .navbar-brand img {
    height: 32px;
    width: auto;
}

.apple-nav .navbar-brand span {
    background: linear-gradient(135deg, #1d1d1f 30%, var(--easy-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.65);
    font-size: 13px;
    font-weight: 500;
    transition: var(--apple-transition);
}

.navbar-nav .nav-link:hover {
    color: var(--apple-text);
}

/* 2. Hero Section */
.hero-spotlight {
    padding: 110px 0 85px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(var(--easy-green-rgb), 0.04) 0%, rgba(255,255,255,0) 75%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(48px, 8vw, 76px);
    font-weight: 300;
    color: #1d1d1f;
    letter-spacing: normal;
    margin-bottom: 8px;
    line-height: 1.05;
    display: inline-block;
}

.hero-punchline {
    font-size: clamp(16px, 2.5vw, 22px);
    color: #86868b;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 21px);
    color: var(--apple-text-gray);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.btn-apple-primary {
    background: var(--apple-link);
    color: #fff;
    border: none;
    font-weight: 400;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 980px;
    transition: var(--apple-transition);
    text-decoration: none;
    display: inline-block;
}

.btn-apple-primary:hover {
    background: var(--apple-link-hover);
    color: #fff;
}

.btn-apple-secondary {
    color: var(--apple-link);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: transparent;
    border: none;
}

.btn-apple-secondary:hover {
    color: var(--apple-link-hover);
    text-decoration: underline;
}

/* 3. Category Card Grid styles (Premium hover scaling images) */
.category-card-wrapper {
    transition: var(--apple-transition);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.category-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    border-color: rgba(var(--easy-green-rgb), 0.25);
}

.category-card-wrapper img {
    transition: transform 0.5s ease;
}

.category-card-wrapper:hover img {
    transform: scale(1.05);
}

/* 4. Horizontal Scrolling Sliders Section */
.horizontal-scroll-section {
    background-color: var(--apple-bg-light);
    padding: 80px 0;
    overflow: hidden;
}

.section-headline {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.section-subheading {
    font-size: 17px;
    color: var(--apple-text-gray);
    margin-bottom: 40px;
}

/* Scroll Container Flexbox Track */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding: 10px 4px 30px 4px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.horizontal-scroll-container:active {
    cursor: grabbing;
}

/* Scroll Card Layout (Flex Snap Item) */
.horizontal-scroll-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    position: relative;
    transition: var(--apple-transition);
}

.horizontal-scroll-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transform: scale(1.01);
}

.property-image-frame {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f5f5f7;
}

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

/* Color dot switches */
.color-dot-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--apple-transition);
}

.color-dot.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--apple-link);
}

.selected-option-desc {
    font-size: 12px;
    color: var(--apple-text-gray-dark);
    min-height: 44px;
    margin-bottom: 15px;
}

.card-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 13px;
    color: var(--apple-text-gray-dark);
    text-align: left;
}

.card-spec-list li {
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-spec-list li i {
    color: var(--easy-green);
    font-size: 11px;
}

.card-price-rent {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

.card-price-emi {
    font-size: 11px;
    color: var(--apple-text-gray);
    margin-bottom: 15px;
}

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

/* 5. Custom dynamic 15-question Form Styles */
.form-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 45px rgba(0,0,0,0.02);
}

@media(max-width: 768px) {
    .form-card {
        padding: 25px 15px;
    }
}

.form-label {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-control, .form-select {
    background: #f5f5f7;
    border: 1px solid rgba(0,0,0,0.08);
    color: #1d1d1f;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14.5px;
    transition: var(--apple-transition);
}

.form-control:focus, .form-select:focus {
    background: #ffffff;
    border-color: var(--apple-link);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.15);
    color: #1d1d1f;
}

.form-check-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 14px;
    background: #f5f5f7;
    cursor: pointer;
    transition: var(--apple-transition);
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.form-check-card:hover {
    border-color: var(--apple-link);
    background: #ffffff;
}

.form-check-input {
    margin: 0;
}

.form-check-input:checked + .form-check-card-label {
    color: var(--apple-link);
    font-weight: 600;
}

.form-check-card-label {
    font-size: 13.5px;
    color: var(--apple-text-gray-dark);
    margin: 0;
    cursor: pointer;
}

/* 6. Why We are the Best */
.why-best-section {
    background: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.why-card {
    background: var(--apple-bg-light);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    transition: var(--apple-transition);
}

.why-icon {
    font-size: 32px;
    color: var(--apple-link);
    margin-bottom: 15px;
}

/* 7. Guided Tour / Slide viewer */
.tour-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--apple-bg-light);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.tour-card {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 45px;
}

.tour-player-wrapper {
    background: #f5f5f7;
    border-radius: 16px;
    margin: 25px auto;
    overflow: hidden;
}

.tour-slide {
    display: none;
    padding: 40px 30px;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tour-slide.active {
    display: flex;
    animation: slideFade 0.4s ease-out;
}

@keyframes slideFade {
    from { opacity: 0; transform: scale(0.99); }
    to { opacity: 1; transform: scale(1); }
}

.tour-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.tour-indicator-dots {
    display: flex;
    gap: 8px;
}

.tour-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d2d2d7;
    transition: var(--apple-transition);
}

.tour-indicator-dot.active {
    background: var(--easy-green);
    width: 16px;
    border-radius: 3px;
}

/* 8. Apple Specialist Chat Widget */
.broker-widget {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 25px;
    max-width: 750px;
    margin: 40px auto 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.broker-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.broker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--easy-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.broker-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d674;
    display: inline-block;
    margin-left: 6px;
}

.chat-box {
    height: 200px;
    overflow-y: auto;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.chat-bubble {
    max-width: 75%;
    padding: 8px 14px;
    border-radius: 18px;
    font-size: 13.5px;
}

.chat-bubble.broker {
    background: #e8e8ed;
    color: #1d1d1f;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: var(--apple-link);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex-grow: 1;
    background: #f5f5f7;
    border: 1px solid rgba(0,0,0,0.08);
    color: #1d1d1f;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13.5px;
}

.chat-send-btn {
    background: var(--apple-link);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 13px;
    cursor: pointer;
}

/* 9. High-End Lead Management Dashboard */
.admin-dashboard-container {
    background-color: var(--apple-bg-light);
    min-height: 100vh;
    padding: 40px 0;
}

.admin-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
    margin-bottom: 40px;
}

.admin-stats-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
}

.admin-stats-num {
    font-size: 32px;
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 5px;
}

.lead-table-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.lead-row-expandable {
    cursor: pointer;
    transition: var(--apple-transition);
}

.lead-row-expandable:hover {
    background: #f5f5f7;
}

.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-block;
}

.status-new { background-color: #ffebe5; color: #bf4800; }
.status-contacted { background-color: #deebff; color: #0071e3; }
.status-followup { background-color: #fff0b3; color: #1d1d1f; }
.status-closed_won { background-color: #e3fcef; color: #00875a; }
.status-closed_lost { background-color: #f4f5f7; color: #5e6c84; }

.lead-details-overlay {
    background: #f5f5f7;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-top: 10px;
    display: none;
    animation: slideUpDetails 0.3s ease-out;
}

@keyframes slideUpDetails {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.remarks-timeline {
    border-left: 2px solid #d2d2d7;
    padding-left: 15px;
    margin-top: 15px;
}

.remarks-entry {
    background: #f5f5f7;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 13.5px;
    margin-top: 10px;
}

.remarks-submit-btn {
    background: var(--easy-green);
    border: none;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    padding: 6px 12px;
    cursor: pointer;
}

/* 10. Apple Sitemap Footer */
.apple-footer {
    background: var(--apple-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--apple-text-gray-dark);
    font-size: 11.5px;
    padding: 50px 0 30px 0;
    line-height: 1.6;
}

.apple-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Testimonial Marquee */
.marquee-container { overflow: hidden; white-space: nowrap; position: relative; width: 100%; padding: 20px 0; }
.marquee-track { display: inline-flex; gap: 30px; animation: marqueeScroll 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-card { width: 380px; white-space: normal; flex-shrink: 0; }

/* Global Logo Fix to remove white background */
img[src*="logo.png"] {
    mix-blend-mode: multiply;
}
