/* Shiva Housing - Custom Styles */
/* Bootstrap 5 + Custom CSS */

:root {
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary: #f8f9fa;
    --dark: #0b1120;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --whatsapp: #25D366;
    --border: #e2e8f0;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.brand-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Property Slider */
.property-slider-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.slider-card {
    position: relative;
}

.slider-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.slider-content {
    padding: 1.5rem;
    background: white;
}

.slider-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.slider-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.slider-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.slider-details i {
    margin-right: 0.25rem;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    opacity: 1;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Property Badge */
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

/* Section Styles */
.section-badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-badge-light {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Trust Section */
.trust-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.12);
}

.trust-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.trust-value {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.trust-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.property-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

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

.property-image {
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-content {
    padding: 1.25rem;
}

.property-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.property-details {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.813rem;
    margin-bottom: 1rem;
}

.property-details i {
    margin-right: 0.25rem;
}

/* Service Cards */
.service-card {
    background: var(--secondary);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* NRI Section */
.nri-title {
    font-size: 2rem;
    font-weight: 800;
}

@media (min-width: 992px) {
    .nri-title {
        font-size: 2.25rem;
    }
}

.nri-desc {
    opacity: 0.9;
    line-height: 1.7;
}

.nri-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nri-features li {
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-location {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.testimonials-section .carousel-indicators {
    bottom: -50px;
}

/* Area Section */
.area-title {
    font-size: 2rem;
    font-weight: 800;
}

.area-desc {
    opacity: 0.85;
    line-height: 1.7;
}

.area-feature {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.area-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.area-feature i {
    font-size: 1.25rem;
    color: var(--primary);
}

.area-section .col-lg-6:last-child {
    position: relative;
}

.area-stat {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.813rem;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

textarea.form-control {
    height: auto;
}

/* Map Section */
.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--dark);
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer .brand-icon {
    background: var(--primary);
}

.footer .brand-text {
    color: white;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.7;
}

.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-email:hover {
    color: var(--primary);
}

.footer-email i {
    margin-right: 0.5rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.813rem;
    margin: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-nav {
    margin-top: 1.5rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}

/* About Page */
.about-content {
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.12);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.team-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .property-slider-wrapper {
        margin-top: 2rem;
    }
    
    .area-stat {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Utility Classes */
.rounded-4 {
    border-radius: 1rem !important;
}

/* Page-specific styles */
.property-list-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.property-list-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.property-list-card .row {
    align-items: stretch;
}

.property-list-image {
    height: 100%;
    min-height: 200px;
}

.property-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-list-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.amenity-item i {
    color: var(--primary);
}
