/* Custom Design Styles */
/* Add your custom design customizations here */

/* =====================================================
   DARK HEADER / TOP BAR
   ===================================================== */

.top-bar {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
}

.top-bar .btn-link,
.top-bar a {
    color: #e2e8f0 !important;
}

.top-bar .btn-link:hover,
.top-bar a:hover {
    color: #ffffff !important;
}

/* Top Bar Moving to Norfolk Button - Pulsating */
.topbar-moving-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 0.375rem;
    padding: 0.35rem 0.85rem;
    font-weight: 500;
    font-size: 0.8rem;
    text-decoration: none;
    animation: topbarPulse 2s ease-in-out infinite;
}

.topbar-moving-btn:hover {
    color: #ffffff !important;
    transform: scale(1.05);
    animation: none;
}

@keyframes topbarPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(17, 153, 142, 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(17, 153, 142, 0);
    }
}

/* Top Bar Layout */
.topbar-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.topbar-row-2 {
    margin-top: 0 !important;
}

.topbar-signin {
    white-space: nowrap;
}

/* Mobile Top Bar */
@media (max-width: 767px) {
    .topbar-wrapper {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .topbar-row-2 {
        margin-top: 0 !important;
    }
}

/* Theme Toggle Button - Force white */
.btn.btn-link#headerThemeToggle,
.btn.btn-link#headerThemeToggle:focus,
.btn.btn-link#headerThemeToggle:active,
button#headerThemeToggle {
    color: #ffffff !important;
    font-size: 1.1rem;
    text-decoration: none;
}

i#headerThemeIcon,
i.fa-moon#headerThemeIcon,
i.fa-sun#headerThemeIcon,
#headerThemeIcon.fas {
    color: #ffffff !important;
    display: inline-block !important;
    font-size: 1.1rem !important;
}

/* Navbar links - always white on dark header */
.navbar-dark .nav-link {
    color: #ffffff !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
    color: #38ef7d !important;
}

/* Dark mode - Keep same header colors */
body.dark-mode .top-bar {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
}

body.dark-mode .navbar {
    background-color: #1e293b !important;
    border-bottom: 1px solid #334155;
}

/* =====================================================
   GLOBAL PAGE STYLING
   ===================================================== */

/* Global Page Header - Clean Title Style */
.page-header {
    background: #ffffff;
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-title .title-dark {
    color: #1a1a1a;
}

.page-title .title-accent,
.page-title .title-blue {
    color: #11998e;
}

.page-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* Dark mode page headers */
body.dark-mode .page-header {
    background: #1e293b;
    border-bottom-color: #334155;
}

body.dark-mode .page-title .title-dark {
    color: #f1f5f9;
}

body.dark-mode .page-subtitle {
    color: #94a3b8;
}

/* Featured Section - Green Gradient */
.featured-banner {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

.featured-banner h2,
.featured-banner h3 {
    color: #ffffff;
    font-weight: 700;
}

.featured-banner p {
    color: rgba(255, 255, 255, 0.9);
}

.featured-banner .btn-light {
    background: #ffffff;
    color: #1a202c;
    font-weight: 600;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 30px;
}

.featured-banner .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Global Header Border */
.navbar {
    border-bottom: 1px solid #334155;
}

/* Breadcrumb Styling */
.breadcrumb {
    padding: 10px;
    border-radius: 8px;
}

/* Real Estate Section */
.real-estate-section {
    background: #ffffff;
}

.real-estate-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
}

.real-estate-subtitle {
    font-size: 1rem;
    color: #6c757d;
}

.property-card {
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-color: #ff8c00;
}

.property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-mls {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: #ff8c00;
    color: #000;
    border-radius: 4px;
    font-weight: 600;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.property-address {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.property-sqft {
    font-size: 0.85rem;
    color: #6c757d;
}

.property-features {
    display: flex;
    gap: 1rem;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #333;
}

.feature-item i {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Dark Mode - Real Estate Section */
body.dark-mode .real-estate-section {
    background: #111827;
}

body.dark-mode .real-estate-title {
    color: #fff;
}

body.dark-mode .real-estate-subtitle {
    color: #8b93a7;
}

body.dark-mode .property-card {
    background: transparent;
    border-color: #2d3348;
}

body.dark-mode .property-card:hover {
    border-color: #ff8c00;
}

body.dark-mode .property-mls {
    background: #ff8c00;
    color: #000;
}

body.dark-mode .property-price {
    color: #fff;
}

body.dark-mode .property-address {
    color: #e5e7eb;
}

body.dark-mode .property-sqft {
    color: #8b93a7;
}

body.dark-mode .feature-item {
    color: #e5e7eb;
}

body.dark-mode .feature-item i {
    color: #8b93a7;
}

/* Custom Carousel Navigation Arrows */
.carousel-custom-nav {
    display: flex;
    gap: 0.5rem;
}

.carousel-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

body.dark-mode .carousel-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark-mode .carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Owl Carousel Pagination Dots - Orange */
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.owl-carousel .owl-dots .owl-dot span {
    background: rgba(255, 140, 0, 0.3);
    width: 10px;
    height: 10px;
    margin: 5px;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
    background: #ff8c00;
}

body.dark-mode .owl-carousel .owl-dots .owl-dot span {
    background: rgba(255, 140, 0, 0.4);
}

body.dark-mode .owl-carousel .owl-dots .owl-dot.active span,
body.dark-mode .owl-carousel .owl-dots .owl-dot:hover span {
    background: #ff8c00;
}

@media (max-width: 767px) {
    .carousel-custom-nav {
        display: none;
    }
}

/* Homepage Hero Section Typography */
.hero-section-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-title-main {
    display: block;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.hero-title-sub {
    display: block;
    font-weight: 400;
    font-size: 0.65em;
    color: #2c3e50;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: #4a5568;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

.hero-description strong {
    color: #2c3e50;
    font-weight: 600;
}

.hero-link {
    color: #11998e;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-link:hover {
    color: #0d7a72;
    border-bottom-color: #38ef7d;
}

@media (max-width: 768px) {
    .hero-section-header {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Remove duplicates and make dots subtle */
.owl-carousel .owl-dots .owl-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.2) !important;
    margin: 0 4px !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    transform: none !important;
}

.owl-carousel .owl-dots .owl-dot span {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: rgba(17, 153, 142, 0.6) !important;
    width: 8px !important;
    height: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

.owl-carousel .owl-dots .owl-dot.active span {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Moving Guide Hero Section */
.moving-hero-section {
    min-height: 400px;
}

.moving-hero-text {
    background: #1a202c;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.moving-hero-content h1 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.moving-hero-cta {
    border: 2px solid #38ef7d;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    display: inline-block;
    margin-top: 1rem;
}

.moving-hero-cta p {
    color: #38ef7d;
    font-weight: 600;
    margin: 0;
}

.moving-hero-image {
    position: relative;
    overflow: hidden;
}

.moving-hero-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.moving-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moving-sponsor-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 4px;
    margin: 0;
}

.moving-sponsor-text strong {
    color: #38ef7d;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .moving-hero-text {
        padding: 3rem 2rem;
        min-height: 300px;
    }
    
    .moving-hero-image-wrapper {
        min-height: 300px;
    }
}

/* Footer Typography & Design */
.footer-main {
    background: #1a202c !important;
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: translateY(-2px);
}

.footer-brand {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.footer-description {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.01em;
    max-width: 400px;
}

.footer-heading {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.875rem;
    line-height: 1.6;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: #38ef7d;
    transform: translateX(4px);
}

.footer-link i {
    font-size: 0.9em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-link:hover i {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
    color: #38ef7d;
    font-size: 1.1em;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 20px;
}

.footer-contact-name {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}

.footer-contact-title {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
}

.footer-address {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 0.25rem;
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2.5rem 0;
}

.footer-copyright,
.footer-sponsor {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.01em;
    line-height: 1.6;
    margin: 0;
}

.footer-sponsor-name {
    color: #38ef7d;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.social-link:hover {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3);
}

@media (max-width: 768px) {
    .footer-heading {
        margin-bottom: 1.25rem;
    }
    
    .footer-list li {
        margin-bottom: 0.75rem;
    }
    
    .footer-contact-item {
        margin-bottom: 1rem;
    }
    
    .footer-divider {
        margin: 2rem 0;
    }
}

/* Moving Banner Styles */
.moving-banner {
    border-top: 3px solid #38ef7d !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.moving-banner h3 {
    color: #2c3e50;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.moving-banner .btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-color: #11998e;
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.moving-banner .btn-success:hover {
    background: linear-gradient(135deg, #0d7a72 0%, #2dd66a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3);
}

/* Moving Guide Page Styles */
.list-group-item.active {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-color: #11998e;
    color: #fff;
    font-weight: 600;
}

.list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.list-group-item:hover:not(.active) {
    background-color: #f8f9fa;
    border-left-color: #11998e;
    padding-left: calc(1rem - 1px);
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    right: 10px;
    bottom: 20px;
    width: 60px;
    height: 100px;
    background: #1a202c;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 10px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    background: #2d3748;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top-btn i {
    font-size: 18px;
}

.scroll-to-top-btn span {
    font-size: 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 50px;
        height: 80px;
        right: 8px;
        bottom: 15px;
        font-size: 12px;
    }
    
    .scroll-to-top-btn i {
        font-size: 16px;
    }
    
    .scroll-to-top-btn span {
        font-size: 10px;
    }
}
