/*
 * RealState Theme Main Styles
 */

:root {
    --primary-color: #0b2d39; /* Deep Teal */
    --primary-dark: #071e26;
    --accent-color: #c59b27;  /* Gold */
    --accent-hover: #b48c1e;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9fbfb;
    --bg-white: #ffffff;
    --border-color: #e5e9ea;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --font-primary: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}
.section-subtitle {
    text-align: center;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 50px;
}

/* Site Header / Navigation */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.logo-accent {
    color: var(--accent-color);
}
.nav-menu {
    display: flex;
    gap: 30px;
}
.nav-menu a {
    font-weight: 500;
    color: var(--primary-color);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu li.active a {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-profile-btn {
    font-size: 1.6rem;
    color: var(--primary-color);
}
.user-profile-btn:hover {
    color: var(--accent-color);
}
.add-property-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(11, 45, 57, 0.2);
}
.add-property-btn:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(197, 155, 39, 0.3);
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Header Viewport Carousel Section */
.hero-carousel-section {
    position: relative;
    height: calc(100vh - 150px);
    min-height: 550px;
    width: 100%;
    overflow: visible;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 45, 57, 0.4), rgba(11, 45, 57, 0.75));
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    text-align: center;
    padding: 0 20px;
}
.hero-content {
    max-width: 800px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}
.stat-item h3 {
    font-size: 2.2rem;
    color: var(--accent-color);
    font-weight: 800;
}
.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Carousel Search Panel */
.search-container {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 25px;
    width: calc(100% - 40px);
    max-width: 900px;
}
.search-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.search-tab {
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
}
.search-tab.active, .search-tab:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 60px;
    gap: 15px;
    align-items: end;
}
.search-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.search-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}
.search-field input, .search-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-weight: 500;
}
.search-btn {
    background-color: var(--accent-color);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    height: 48px;
    width: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}
.search-btn:hover {
    background-color: var(--accent-hover);
}

/* Section: Neighborhoods */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.neighborhood-card {
    position: relative;
    border-radius: var(--border-radius);
    height: 320px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.neighborhood-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.neighborhood-card:hover img {
    transform: scale(1.1);
}
.neighborhood-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--bg-white);
}
.neighborhood-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Section: Company Benefits */
.benefits-section {
    background-color: var(--bg-white);
}
.benefits-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.benefits-images {
    flex: 1;
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-img-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    position: absolute;
}
.benefit-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.benefit-img-circle:nth-child(1) {
    top: 20px;
    left: 20px;
    z-index: 1;
}
.benefit-img-circle:nth-child(2) {
    bottom: 20px;
    right: 20px;
    z-index: 2;
}
.benefit-img-circle:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 3;
}
.benefits-content {
    flex: 1;
}
.benefits-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.benefit-item {
    display: flex;
    gap: 20px;
}
.benefit-icon {
    font-size: 2rem;
    color: var(--accent-color);
    background-color: #fdfaf3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-text h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}
.benefit-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Property Cards Styles */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.property-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.property-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.property-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.property-card:hover .property-image-container img {
    transform: scale(1.05);
}
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.property-type-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(11, 45, 57, 0.85);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.property-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.property-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}
.property-address {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.property-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-light);
}
.property-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.property-stats i {
    color: var(--accent-color);
}
.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}
.property-price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 800;
}
.property-fav-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}
.property-fav-btn:hover {
    color: #e74c3c;
}

/* CTA Video Banner Section */
.cta-video-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-video-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.cta-text-side {
    flex: 1.2;
}
.cta-text-side h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.cta-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 20px;
}
.cta-video-side {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-lg);
}
.cta-video-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.6);
    animation: pulsePlay 2s infinite;
}

/* Section: Featured Tabs Grid */
.featured-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.featured-tab {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.featured-tab.active, .featured-tab:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Partners Logos */
.partners-section {
    background-color: var(--bg-white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.partners-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.partner-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #cbd5e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section: Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}
.testimonial-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}
.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-slider {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}
.quote-icon {
    font-size: 3rem;
    color: #e2e8f0;
    position: absolute;
    top: 20px;
    right: 30px;
}
.rating-stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}
.client-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}
.client-info p {
    font-size: 0.85rem;
    color: var(--accent-color);
}

/* Section: Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.blog-image {
    height: 200px;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-content {
    padding: 20px;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 600;
}
.blog-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Section: Home Owner / Newsletter */
.homeowner-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0;
    position: relative;
}
.homeowner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.homeowner-content {
    flex: 1.2;
}
.homeowner-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.homeowner-content p {
    opacity: 0.9;
    margin-bottom: 30px;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
}
.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}
.newsletter-form button {
    background-color: var(--accent-color);
    color: var(--bg-white);
    border: none;
    padding: 0 30px;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form button:hover {
    background-color: var(--accent-hover);
}
.homeowner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.homeowner-image img {
    max-height: 250px;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary-dark);
    color: #a0aec0;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}
.company-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.03);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-socials a:hover {
    background-color: var(--accent-color);
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a:hover {
    color: var(--accent-color);
}
.address-col p {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.address-col i {
    color: var(--accent-color);
    margin-top: 4px;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* Front-end Form Layout styles (Image 2) */
.add-property-section {
    background-color: var(--bg-light);
}
.form-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}
.form-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}
.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.form-group-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.form-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-control label {
    font-weight: 600;
    color: var(--primary-color);
}
.form-control input[type="text"],
.form-control input[type="number"],
.form-control input[type="url"],
.form-control select,
.form-control textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}
.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.1);
}
.upload-box {
    border: 2px dashed var(--border-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.upload-box:hover {
    border-color: var(--accent-color);
    background-color: #fdfaf3;
}
.upload-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.upload-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.map-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}
.map-container-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 380px;
}
.submit-form-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(11, 45, 57, 0.2);
    transition: var(--transition);
}
.submit-form-btn:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(197, 155, 39, 0.3);
}

/* Success / Error Notification Messages */
.form-notification {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    font-weight: 600;
}
.form-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Video Modal Popup */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.video-modal-content {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background-color: #000;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--bg-white);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Keyframes & Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(197, 155, 39, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 155, 39, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .nav-menu {
        display: none; /* Mobile menu sidebar logic can be loaded via js */
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }
    .search-btn {
        grid-column: span 2;
        width: 100%;
    }
    .neighborhood-grid {
        grid-template-columns: 1fr 1fr;
    }
    .benefits-container {
        flex-direction: column-reverse;
    }
    .property-grid, .featured-grid, .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .homeowner-container {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-group-grid, .form-group-3col {
        grid-template-columns: 1fr;
    }
    .checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
    .map-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .property-grid, .featured-grid, .blog-grid, .neighborhood-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* Blog Banner Header */
.blog-header-banner {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 60px;
}
.blog-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 45, 57, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    text-align: center;
    padding: 0 20px;
}
.blog-header-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.blog-header-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}
.blog-header-desc {
    max-width: 600px;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Sidebar Styling matching screenshots */
.sidebar-widget {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.sidebar-widget h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}
.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.widget-search-form {
    display: flex;
    position: relative;
}
.widget-search-form input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.widget-search-form input:focus {
    border-color: var(--accent-color);
}
.widget-search-form button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
}
.widget-search-form button:hover {
    color: var(--accent-color);
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.widget-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-white);
    transition: var(--transition);
}
.widget-list li:hover {
    border-color: var(--accent-color);
    background-color: #fdfaf3;
}
.widget-list li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}
.widget-list li a:hover {
    color: var(--accent-color);
}
.widget-list-count {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.widget-popular-post {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.widget-popular-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}
.widget-popular-post-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.widget-popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.widget-popular-post-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 4px;
}
.widget-popular-post-info h4 a:hover {
    color: var(--accent-color);
}
.widget-popular-post-info span {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 500;
}

.widget-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.widget-tags-list a {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}
.widget-tags-list a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* Single Post Specific layout styling */
.single-post-meta {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    gap: 15px;
}
.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.single-post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}
.post-detail-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.post-detail-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
}
.post-detail-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Post Images Gallery Grid (from single screenshot) */
.post-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin: 35px 0;
}
.post-gallery-main {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 340px;
}
.post-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.post-gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    height: 160px;
}
.post-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Share & Tags Bottom Row */
.post-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    margin-top: 35px;
}
.post-footer-tags {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}
.post-footer-tags a {
    font-weight: 500;
    color: var(--text-light);
    margin-left: 5px;
}
.post-footer-tags a:hover {
    color: var(--accent-color);
}
.post-footer-share {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}
.post-footer-share-icons {
    display: flex;
    gap: 10px;
}
.post-footer-share-icons a {
    width: 32px;
    height: 32px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.post-footer-share-icons a:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

/* Comments Section */
.post-comments-section {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.comments-header-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}
.comments-header-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.comment-item-box {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.comment-avatar-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.comment-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-details-box {
    flex: 1;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    position: relative;
}
.comment-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}
.comment-author-name {
    font-weight: 700;
    color: var(--primary-color);
}
.comment-posted-date {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 500;
}
.comment-text-content {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}
.comment-links-row {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
}
.comment-links-row a {
    cursor: pointer;
}
.comment-links-row a:hover {
    color: var(--primary-color);
}

/* Property Detail Gallery Styling */
.property-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.property-detail-gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.property-detail-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.property-detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .property-detail-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .property-detail-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Nearby Places Tabs Styling */
.nearby-tab-btn {
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}
.nearby-tab-btn.active {
    color: var(--accent-color) !important;
}
.nearby-tab-pane {
    display: none;
}
.nearby-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Blueprints Grid Layout */
.property-detail-blueprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}
.property-detail-blueprint-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.property-detail-blueprint-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.property-detail-blueprint-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Lightbox Modal Zoom */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 45, 57, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
    background-color: var(--bg-white);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--bg-white);
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}
.lightbox-close:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .property-detail-blueprint-grid {
        grid-template-columns: 1fr;
    }
}

/* Thumbnail Preview in Frontend Form */
.thumbnail-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}
.thumbnail-preview-item {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    background-color: var(--bg-white);
}
.thumbnail-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
