/* ==========================================
   ASHAPURA BUILDERS - LANDING PAGE STYLES
   Custom Designed for Premium Conversion
   ========================================== */



@font-face {
    font-family: 'Trajan Pro';
    src: url('../font/trajan-pro-semi-bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #493114;
    --primary-dark: #653f12;
    --primary-light: #e9f0f0;
    --accent: #d4af37;
    --accent-dark: #b8952b;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}


::-webkit-scrollbar {
  width: 6px; 
}

::-webkit-scrollbar-track {
  background: #c6cbdb;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to top, #493114,#201608);
  border-radius: 5px;
  cursor: pointer;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Trajan Pro', 'Playfair Display', serif;
    font-weight: 600;
}

h1.display-1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    h1.display-1 {
        font-size: 2.2rem;
    }
}

.text-gold {
    color: var(--accent) !important;
}

.bg-teal {
    background-color: var(--primary) !important;
}

.text-teal {
    color: var(--primary) !important;
}

/* Spinner styling */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn-gold {
    background-color: var(--accent);
    color: var(--dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid var(--accent);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--accent);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 4px;
    border: 2px solid var(--accent);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-teal {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-teal:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

/* Floating Elements */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.whatsapp-float .pulse-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-brand img, .nav-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    margin: 0;
    padding: 2px 0;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

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

/* Hero Section */
.hero-wrapper {
    position: relative;
    background-color: var(--primary-dark);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 550px;
}

@media (max-width: 991px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
}

.carousel-item {
    height: 90vh;
    min-height: 550px;
}

@media (max-width: 991px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.4);
}

.hero-overlay-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
}

@media (max-width: 991px) {
    .hero-overlay-text {
        position: relative;
        top: 0;
        transform: none;
        padding: 40px 20px;
        max-width: 100%;
    }
}

/* Hero Lead Form Box */
.hero-form-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    max-width: 400px;
}

@media (max-width: 991px) {
    .hero-form-container {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin: 0 auto;
        padding: 0 20px 40px 20px;
    }
}

.lead-form-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-top: 5px solid var(--accent);
}

.lead-form-box h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--dark);
    text-align: center;
}

.lead-form-box p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 20px;
    text-align: center;
}

.form-control, .form-select {
    padding: 12px;
    font-size: 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(33, 92, 92, 0.15);
    border-color: var(--primary);
    outline: none;
}

/* Section Header */
.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Stats / Milestones Section */
.stats-section {
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    z-index: 5;
}

.stat-card {
    padding: 30px 15px;
    text-align: center;
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .stat-card {
        border-right: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    }
    .stat-card:last-child {
        border-bottom: none;
    }
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* About Section */
.about-img-box {
    position: relative;
}

.about-img-box::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--accent);
    z-index: -1;
    transition: var(--transition);
}

.about-img-box img {
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Projects Tabs & Cards */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.btn-filter {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    padding: 8px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 30px;
    color: var(--gray);
}

.btn-filter.active, .btn-filter:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f1f5f9;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.project-body {
    padding: 25px;
}

.project-title-name {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.project-location {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.feature-tag {
    font-size: 0.8rem;
    color: var(--dark);
    font-weight: 500;
}

.feature-tag i {
    color: var(--accent);
    margin-right: 6px;
}

/* Amenities styling */
.amenity-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    height: 100%;
}

.amenity-card:hover {
    box-shadow: 0 10px 25px rgba(33, 92, 92, 0.08);
    border-color: rgba(33, 92, 92, 0.2);
    transform: translateY(-5px);
}

.amenity-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
    background-color: var(--accent);
    color: var(--dark);
}

.amenity-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Contact Info Area */
.contact-info-list {
    list-style: none;
    padding-left: 0;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-text h6 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-info-text p, .contact-info-text a {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: none;
}

/* MahaRERA Note Banner */
.rera-banner {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 6px;
    padding: 15px 20px;
    color: #b45309;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--light);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    position: relative;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Footer styling */
.footer-top {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding: 80px 0 50px 0;
}

.footer-logo {
    max-height: 100px;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #0c2b2b;
    color: #64748b;
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form success overlay */
.form-success-alert {
    display: none;
    margin-top: 15px;
    font-weight: 600;
}

/* Responsive Fixes for Mobile Viewports */
@media (max-width: 576px) {
    .project-filters {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
        justify-content: center;
    }
    
    .btn-filter {
        padding: 6px 14px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}