/* --- 1. MODERN DESIGN TOKENS --- */
:root {
    --primary: #27ae60;
    --primary-hover: #219150;
    --dark: #2d3436;
    --light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. NAVIGATION (STYLISH & STICKY) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 80px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { height: 45px; border-radius: 8px; }
.logo span { color: var(--primary); }

.nav-right-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links li a:hover { color: var(--primary); }

.signin-text {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

#theme-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
}

/* --- 3. MOBILE MENU (THE FIX) --- */
.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

@media (max-width: 768px) {
    nav { padding: 0 5%; }
    .menu-icon { display: block; }

    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px 0;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active { display: flex; animation: slideDown 0.4s ease forwards; }
    .nav-links li { margin: 15px 0; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 4. HERO SECTION --- */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('your-chitral-photo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 15px; }
#typing-text { color: var(--primary); border-right: 3px solid var(--primary); padding-right: 5px; }

/* --- 5. CARDS & GRID --- */
.container { padding: 60px 8%; }
.house-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.house-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.house-card:hover { transform: translateY(-10px); }

.house-image {
    height: 220px;
    background-color: #dfe6e9;
    background-size: cover;
    background-position: center;
}

.house-info { padding: 20px; }
.house-info h3 { margin-bottom: 10px; font-size: 1.25rem; }
.price-tag { color: var(--primary); font-size: 1.4rem; font-weight: 700; display: block; margin-bottom: 10px; }

/* --- 6. DARK MODE COLORS --- */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode nav, 
body.dark-mode .nav-links, 
body.dark-mode .house-card {
    background-color: #1e1e1e;
    color: white;
}

body.dark-mode .nav-links li a { color: #e0e0e0; }
body.dark-mode .logo { color: white; }

/* --- 7. FOOTER --- */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 60px 8% 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 { margin-bottom: 20px; color: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* --- Logo & Navigation Adjustments --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem; /* Slightly larger for professionalism */
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    height: 50px; /* Adjusted logo size */
    width: auto;
    border-radius: 8px; /* Smooth edges for the logo image */
    object-fit: contain;
}

/* --- Professional Hero Refinements --- */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('your-chitral-photo.jpg');
    border-bottom-left-radius: 40px; /* Modern curved edges */
    border-bottom-right-radius: 40px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Professional Card Design --- */
.house-card {
    border: none;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Soft professional shadow */
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.house-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.house-image {
    height: 230px;
    border-radius: 20px 20px 0 0;
}

/* --- Global Button Polish --- */
.nav-btn {
    padding: 10px 22px;
    border-radius: 12px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post-btn:hover {
    background-color: #219150;
    transform: scale(1.05);
}

/* --- 1. CENTERING & LAYOUT --- */
.content-wrapper {
    max-width: 1200px; /* Limits width so it doesn't stretch too far on big screens */
    margin: 0 auto;    /* Centers the block */
    padding: 0 20px;   /* Prevents text from touching edges on mobile */
}

/* --- 2. LOGO SIZE & ALIGNMENT --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 48px;      /* Standard professional height */
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

/* --- 3. PROFESSIONAL FOOTER --- */
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px 0;
    margin-top: 80px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Gives the brand description more space */
    gap: 40px;
    padding: 0 20px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col h3 span { color: #27ae60; }

.footer-col h4 {
    color: #27ae60;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover { color: #27ae60; transform: translateY(-3px); }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #7f8c8d;
}

/* --- 4. RESPONSIVE FOOTER (MOBILE) --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stacks columns on phone */
        text-align: center;
    }
    .social-links { justify-content: center; }
}

/* --- STATS & SOCIAL SECTION --- */
.stats-social-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff; /* Keeps it clean and white */
}

.stats-container {
    margin-bottom: 40px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #27ae60;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 25px;
}

/* Styled Start Exploring Link */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.cta-button:hover {
    background-color: #219150;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

/* Journey / Social Section */
.journey-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2d3436;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 1.8rem;
    color: #2d3436;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #27ae60;
    transform: scale(1.1);
}

.developer-tag {
    font-size: 0.9rem;
    color: #b2bec3;
}

.developer-tag a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
}

.developer-tag a:hover {
    text-decoration: underline;
}

/* --- CENTERED HERO LAYOUT --- */
.hero-section {
    padding: 100px 0 60px 0; /* More space at the top for a professional look */
    text-align: center;
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive text size */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #2d3436;
}

#typing-text {
    color: #27ae60;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #636e72;
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- BUTTON & SOCIAL SPACING --- */
.hero-cta {
    margin-bottom: 80px; /* Space between button and social links */
}

.journey-container h3 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Ensure the purple link on the left is gone */
.hero-section a:not(.cta-button):not(.social-icons a):not(.developer-tag a) {
    display: none;
}

/* --- Interaction Bar --- */
.interaction-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.action-btn {
    background: none;
    border: none;
    color: #636e72;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover { color: #27ae60; }
.like-btn.liked { color: #e74c3c; font-weight: bold; }

.view-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* --- THE MODAL (Pop-up) --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
}

video { width: 100%; border-radius: 10px; margin-top: 15px; }

/* --- Comment Bar --- */
.comment-section {
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.comment-input-wrapper {
    display: flex;
    gap: 10px;
}

.comment-input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.send-comment-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 50%;
    cursor: pointer;
}

/* --- Share Menu --- */
.share-menu {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.share-item {
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-decoration: none;
    color: white;
    background: #333;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.share-item.wa { background: #25D366; }
.share-item.fb { background: #1877F2; }
.share-item:hover { opacity: 0.8; }

.section-label {
    text-align: left;
    margin: 40px 0 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-weight: 700;
    color: #636e72;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.section-label i { color: #27ae60; margin-right: 8px; }

.post-cta {
    margin: 80px 0;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.3);
}

.cta-card h2 { font-size: 2.2rem; margin-bottom: 10px; }
.cta-card p { margin-bottom: 30px; opacity: 0.9; }

.cta-button.large {
    background: white;
    color: #27ae60;
    padding: 18px 45px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-button.large:hover {
    transform: scale(1.05);
    background: #f8f9fa;
}

/* Hero Search Area */
.search-hero {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.search-hero h1 { font-size: 2.8rem; font-weight: 800; color: #2d3436; margin-bottom: 10px; }

/* The Big Search Box */
.pro-search-container {
    max-width: 900px;
    margin: 30px auto;
    display: flex;
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid #eee;
}

.search-input-group:last-of-type { border-right: none; }

.search-input-group i { color: #27ae60; margin-right: 15px; font-size: 1.2rem; }

.search-input-group input, .search-input-group select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 0;
    background: transparent;
}

.main-search-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0 40px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.main-search-btn:hover { background: #219150; transform: scale(1.02); }

/* Section Dividers */
.section-divider {
    margin: 50px 0 30px;
    text-align: left;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.section-divider span {
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #636e72;
}

/* Post CTA at bottom */
.bottom-post-section {
    background: #f1f2f6;
    border-radius: 20px;
    padding: 60px;
    margin: 80px 0;
    text-align: center;
}

.big-post-btn {
    display: inline-block;
    margin-top: 20px;
    background: #2d3436;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* Professional Grid for the 3 Examples */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.property-card:hover { transform: translateY(-5px); }

.property-image {
    height: 200px;
    background-color: #f0f0f0;
    position: relative;
    background-size: cover;
}

.property-details { padding: 20px; }

/* Interaction Bar Styling */
.interaction-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #636e72;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover { color: #27ae60; }

/* The "Hidden" Comment Box */
.comment-box {
    display: none; /* Hidden by default */
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-box input {
    width: 80%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.view-btn {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

/* Comment "Search Bar" Style */
.comment-pane {
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.search-style-input {
    display: flex;
    background: #f1f2f6;
    padding: 5px 15px;
    border-radius: 25px; /* Makes it look like a search bar */
    align-items: center;
}

.search-style-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    outline: none;
}

/* Share Menu Style */
.share-pane {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.share-opt {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
}

.share-opt.link { background: #747d8c; }
.share-opt.wa { background: #25D366; }
.share-opt.fb { background: #1877F2; }

/* Hide mobile button by default (for Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2d3436;
    cursor: pointer;
    margin-left: 15px;
}

/* 1. Hide the hamburger button on Desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
    padding: 10px;
}

@media (max-width: 768px) {
    .nav-links {
        /* 1. This hides the menu by default */
        display: none !important; 
        
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        z-index: 1000;
    }

    /* 2. This shows the menu ONLY when it has the active class */
    .nav-links.active {
        display: flex !important;
    }
}

/* 3. Make sure your button is on top so you can click the X */
#mobile-menu-btn {
    z-index: 1001;
    position: relative;
}

/* Dark Mode support */
body.dark-mode .nav-links {
    background-color: #1a1a1a;
    color: white;
}


/* Desktop Styles (Hide hamburger on big screens) */
@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }
    .nav-links {
        display: flex;
    }
}
/* Circular Profile Icon in Nav */
.nav-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #00d2ff; /* Your signature blue */
    object-fit: cover;
}

/* Welcoming Character Styles */
.welcome-character {
    text-align: center;
    margin-bottom: 20px;
}

.avatar-welcome {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.auth-submit {
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    transition: background 0.3s ease;
}

/* Dark Mode Colors */
body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.dark-mode nav {
    background: #2d2d2d;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.logo span { color: #00d2ff; }

.nav-right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/* User Icon Styling */
.nav-profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #00d2ff;
    object-fit: cover;
}

/* Auth Container (Center of Page) */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

body.dark-mode .auth-box {
    background: #2d2d2d;
}

/* Character Image */
.avatar-welcome {
    width: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
}

/* Form Styling */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.auth-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.g_id_signin {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* Example CSS needed for the toggle to work */
body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode nav, 
body.dark-mode .auth-box,
body.dark-mode footer {
    background-color: #2d2d2d !important;
    color: #f9f9f9 !important;
}

/* --- Professional About Page Styles --- */
.about-hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* A strong, leader-like gradient */
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 10px; }
.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px;
    display: inline-block;
}

.about-container {
    max-width: 900px;
    margin: -60px auto 60px;
    padding: 0 20px;
}

.about-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.about-section-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.skill-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: #34495e;
    transition: 0.3s;
}

.skill-item:hover { transform: translateY(-5px); background: #3498db; color: white; }

.highlight-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Dark Mode Support */
body.dark-mode .about-card { background: #1e1e1e; color: #ddd; }
body.dark-mode .about-section-title { color: #3498db; }
body.dark-mode .skill-item { background: #2c2c2c; color: #bbb; }
body.dark-mode .highlight-box { background: #2c2610; border-color: #f1c40f; color: #f1c40f; }


.nav-profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%; /* Makes it a circle */
    object-fit: cover;
    border: 2px solid #3498db;
    cursor: pointer;
    vertical-align: middle;
}

.nav-profile-container {
    position: relative;
    cursor: pointer;
}

.profile-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    min-width: 150px;
    border-radius: 8px;
    padding: 10px;
    z-index: 2000;
}

.nav-profile-container:hover .profile-dropdown {
    display: block; /* Show on hover */
}

.user-name-display {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

#logout-btn {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    padding: 5px 0;
}

#logout-btn:hover {
    text-decoration: underline;
}

/* Dark Mode Support */
body.dark-mode .profile-dropdown {
    background: #2c2c2c;
}
body.dark-mode .user-name-display {
    color: #fff;
}

.admin-badge {
    background-color: #28a745; /* Green color for trust */
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    position: absolute; /* Place it over the image */
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('5.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.tagline {
    font-style: italic;
    font-size: 1.2rem;
    color: #f1c40f; /* Match your logo's gold/yellow */
}

.section-padding { padding: 60px 20px; }

.goal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.goal-item {
    background: var(--card-bg, #fff);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.goal-item:hover { transform: translateY(-5px); }

.goal-item i {
    font-size: 2rem;
    color: #27ae60; /* Your theme's primary green */
    margin-bottom: 15px;
}

.developer-section {
    background-color: var(--secondary-bg, #f9f9f9);
    padding: 80px 0;
}

.dev-card {
    background: var(--card-bg, #fff);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #27ae60;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.dev-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.dev-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #27ae60;
}

/* Dark Mode Overrides */
.dark-mode .developer-section { background-color: #1a1a1a; }
.dark-mode .dev-card { background-color: #2d2d2d; color: white; }

/* Contact Page Styles */
.contact-wrapper {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    background: var(--secondary-bg, #f4f7f6);
    min-height: 80vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    max-width: 1000px;
    background: var(--card-bg, #fff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.contact-info-panel {
    background: #27ae60; /* Your theme Green */
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-panel h2 { font-size: 2rem; }

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i { font-size: 1.5rem; color: #f1c40f; }

.info-item span { display: block; font-weight: bold; font-size: 0.9rem; opacity: 0.8; }

.contact-form-panel { padding: 40px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group { margin-bottom: 20px; }

.input-group label { display: block; margin-bottom: 8px; font-weight: 600; }

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--input-bg, #fff);
    color: var(--text-color, #333);
}

.contact-submit-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-submit-btn:hover { background: #219150; transform: scale(1.02); }

/* Dark Mode Support */
.dark-mode .contact-container { background: #2d2d2d; }
.dark-mode .contact-form-panel { color: white; }
.dark-mode .input-group input { background: #3d3d3d; border-color: #444; color: white; }

/* Responsive */
@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* Home Page Contact CTA */
.home-contact-cta {
    background: linear-gradient(135px, #27ae60 0%, #2ecc71 100%);
    padding: 60px 20px;
    margin: 40px 20px;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-main, .cta-btn-wa {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-btn-main {
    background: white;
    color: #27ae60;
}

.cta-btn-wa {
    background: #25D366; /* WhatsApp Green */
    color: white;
    border: 2px solid white;
}

.cta-btn-main:hover, .cta-btn-wa:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive fix for small phones in the valley */
@media (max-width: 600px) {
    .cta-content h2 { font-size: 1.8rem; }
    .cta-actions { flex-direction: column; }
}

.nav-welcome-link {
    font-weight: bold;
    color: var(--primary-color); /* This uses your Dur Khoj brand color */
    text-decoration: none;
}

.nav-welcome-link:hover {
    text-decoration: underline;
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--primary-color);
}

#map {
    width: 100%;
    height: 300px;
    z-index: 1; /* Ensures it doesn't hide behind other elements */
}

/* About Page Professional Styling */
:root {
    --primary-gold: #d4af37;
    --dark-bg: #1a1a1a;
    --text-gray: #555;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-gold);
    margin-top: 10px;
}

/* Advantage Cards */
.goal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.goal-item {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.goal-item:hover { transform: translateY(-10px); }

.goal-item i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

/* Professional Social Links */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: opacity 0.3s;
}

.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.youtube   { background: #ff0000; }
.tiktok    { background: #000000; }
.facebook  { background: #1877f2; }

.social-link:hover { opacity: 0.8; }

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}

/* Social Media Grid Styling */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Specific Brand Colors */
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.facebook  { background: #1877f2; }
.tiktok    { background: #000000; }
.youtube   { background: #ff0000; }

.social-btn i {
    font-size: 1.2rem;
}

/* Footer Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: #333; /* Default gray before hover */
}

/* Professional Brand Hovers */
.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-5px);
}

.social-icon.facebook:hover {
    background: #1877f2;
    transform: translateY(-5px);
}

.social-icon.youtube:hover {
    background: #ff0000;
    transform: translateY(-5px);
}

.social-icon.tiktok:hover {
    background: #000000;
    transform: translateY(-5px);
}

/* Shadow effect on hover */
.social-icon:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#typing-text {
    border-right: 3px solid #d4af37; /* The "cursor" color */
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

/* Contact CTA Section - Theme Green */
.home-contact-cta {
    background: linear-gradient(135deg, #1e7e34 0%, #2ecc71 100%); /* Deep green to bright green */
    padding: 60px 0;
    color: #ffffff; /* Ensures text stays white */
    text-align: center;
    border-radius: 15px; /* Gives it a modern, rounded look */
    margin: 40px auto;
    width: 95%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-text h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-text p {
    color: #eafff0; /* Very light green-white for the subtitle */
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Button Adjustments to stand out against green */
.cta-btn-main {
    background-color: #ffffff;
    color: #1e7e34 !important; /* Green text on white button */
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-right: 10px;
}

.cta-btn-main:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.cta-btn-wa {
    background-color: #25d366; /* Official WhatsApp Green */
    color: white !important;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #ffffff; /* White border to separate from section green */
    transition: 0.3s;
    display: inline-block;
}

.cta-btn-wa:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
}

/* Make the Sign In link look like a professional button */
#signin-link {
    background-color: #2ecc71; /* Your new theme green */
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    font-size: 14px; /* Standard readable size for mobile */
}

#signin-link:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}

/* Adjust the spacing in the nav for mobile */
@media (max-width: 768px) {
    .nav-links li {
        margin: 15px 0; /* Gives more space between menu items */
    }
    
    #signin-link {
        font-size: 16px; /* Slightly larger on mobile for better touch */
        width: 100%;    /* Optional: Makes it a full-width button in the mobile menu */
        text-align: center;
    }
}

#signin-link {
    background-color: #2ecc71;
    color: white !important;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* --- SIGN IN PAGE REPAIR --- */

/* 1. Make the whole page use the theme background */
body.auth-page {
    background-color: #f4f7f6 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 2. Style the white box in the middle */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.auth-box {
    background: #ffffff !important;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

/* 3. Style the Green Button */
.auth-submit {
    background-color: #2ecc71 !important; /* Theme Green */
    color: white !important;
    border: none !important;
    padding: 14px !important;
    width: 100% !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer;
    margin-top: 20px;
}

.auth-submit:hover {
    background-color: #27ae60 !important;
}

/* 4. Fix the "Small" Navbar Sign In link */
#signin-link {
    background-color: #2ecc71 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-size: 16px !important; /* Makes it bigger on mobile */
    text-decoration: none;
    display: inline-block;
}

/* ===== ABOUT PAGE MOBILE FIX ===== */
@media (max-width: 768px) {

    .about-grid {
        display: flex;
        flex-direction: column; /* 🔥 STACK */
        gap: 20px;
    }

    .about-text {
        width: 100%;
        text-align: left;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.8;
    }

    .about-image-container {
        width: 100%;
    }

    .about-image-container img {
        width: 100%;
        height: auto;
    }

    /* ADVANTAGES CARDS STACK */
    .goal-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* DEVELOPER SECTION */
    .dev-info {
        flex-direction: column;
        text-align: center;
    }

    .dev-avatar {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        right: 20px;
        top: 70px;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
}



.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.actions button {
    flex: 1;
    margin: 2px;
}




.grid {
    display: grid;
    grid-template-columns: 1fr; /* ✅ ONE column on mobile */
    gap: 15px;
    padding: 20px;
}
body {
    background: #f5f7fa;
    font-family: Arial, sans-serif;
}
.property-card {
    border-radius: 16px;
    overflow: hidden;
}

.property-image {
    height: 160px; /* smaller for mobile */
}

.property-details h4 {
    font-size: 16px;
}

.property-details p {
    font-size: 14px;
}


.actions {
    display: flex;
    gap: 5px;
}

.actions button {
    font-size: 12px;
    padding: 6px;
}


nav {
    padding: 10px 15px;
}

.logo {
    font-size: 16px;
}

.actions button:hover {
    background: #28a745;
    color: white;
    transform: scale(1.05);
}

.property-details h4 {
    margin-bottom: 5px;
}

.property-details p {
    margin: 5px 0;
}


nav {
    padding: 10px 15px;
}

.logo {
    font-size: 16px;
}

.search-bar input {
    flex: 100%; /* full width on mobile */
}

.search-bar select {
    flex: 1;
}

.search-bar button {
    width: 100%;
    padding: 10px;
}

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 200px;

        display: none;           /* hidden by default */
        flex-direction: column;  /* vertical menu */

        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-links.show {
        display: flex;   /* 👈 THIS IS KEY */
    }

    .menu-toggle {
        display: block;
    }
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.bottom-nav a {
    text-align: center;
    color: #555;
    text-decoration: none;
    font-size: 12px;
}

.bottom-nav i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

.bottom-nav a.active {
    color: #28a745;
}
body {
    padding-bottom: 70px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #333;
    color: white;
}


/* ===== DASHBOARD ===== */

.dashboard-header {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-header h2 {
    margin: 0;
}

.dashboard-header p {
    color: gray;
    margin-top: 5px;
}

.actions {
    margin: 20px;
}

.actions button {
    padding: 10px 20px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.actions button:hover {
    background: #0056b3;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.cards-container div {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.cards-container div:hover {
    transform: translateY(-5px);
}

.cards-container img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

body {
    background-image: url("your-image.jpg");
    background-size: cover;        /* makes it fit nicely */
    background-position: center;   /* keeps it centered */
    background-repeat: no-repeat;  /* stops repeating */
}

img {
    max-width: 100%;
    height: auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

button {
    margin: 5px 5px 0 0;
    padding: 8px;
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.comments-box {
    margin-top: 10px;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    margin: 10px;
    font-size: 18px;
}

.card p {
    margin: 5px 10px;
    color: #555;
}

.image-slider {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.image-slider img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }


.image-slider {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 15px;
}

/* 🔥 SLIDER */
.image-slider {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* 🔥 CARD */
.details {
    background: white;
    padding: 20px;
    margin-top: -30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 🔥 TITLE */
.details h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 🔥 INFO BOX */
.info p {
    background: #f1f3f5;
    padding: 10px;
    border-radius: 8px;
    margin: 5px 0;
}

/* PRICE STYLE */
#price {
    font-size: 20px;
    color: #28a745;
    font-weight: bold;
}

/* 🔥 DESCRIPTION */
#description {
    margin-top: 15px;
    line-height: 1.6;
    color: #444;
}

/* 🔥 MAP */
.map iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
}

/* 🔥 BUTTONS */
.actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.actions button {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* COLORS */
#likeBtn {
    background: #ff4d4d;
    color: white;
}

#contactBtn {
    background: #007bff;
    color: white;
}

.actions button:hover {
    opacity: 0.9;
}

/* 🔥 COMMENTS */
.comments {
    margin-top: 25px;
}

.commentBox {
    background: #f1f3f5;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}

/* INPUT */
#commentInput {
    width: 70%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.comments button {
    padding: 10px 15px;
}

/* 📱 MOBILE */
@media (max-width: 600px) {
    .image-slider {
        height: 220px;
    }

    .actions {
        flex-direction: column;
    }

    #commentInput {
        width: 100%;
        margin-bottom: 10px;
    }
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#closeViewer {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.image-slider img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-slider img:hover {
    transform: scale(1.05);
}

#commentInput {
    width: 70%;
    padding: 10px;
    margin-top: 10px;
}

.like {
    background: #ff4d4d;
    color: white;
    font-weight: bold;
}

.blue-tick {
    color: #1da1f2;
    font-size: 14px;
    margin-left: 6px;
    font-weight: bold;
}