/* ============================================== */
/* === WADHWA REAL ESTATES - FINAL STYLESHEET === */
/* ============================================== */

:root {
    --primary-color: #FFD700; --secondary-color: #1a1a1a; --text-color: #f0f0f0;
    --background-color: #111111; --subtle-grey: #222; --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif; --font-hindi: 'Tiro Devanagari Hindi', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-primary); background-color: var(--background-color); color: var(--text-color); overflow-x: hidden; }

/* --- Shloka & Typing Bars --- */
.shloka-bar { text-align: center; padding: 8px 0; background-color: #000; color: var(--primary-color); font-family: var(--font-hindi); font-size: 1.1rem; border-bottom: 1px solid rgba(255, 215, 0, 0.2); letter-spacing: 1px; }
.typing-container { background-color: var(--primary-color); color: #000; padding: 12px 0; font-weight: bold; text-align: center; font-size: 1rem; height: 45px; display: flex; align-items: center; justify-content: center; }
#typed-text-index::after, #typed-text-contact::after { content: '|'; display: inline-block; animation: blink 0.7s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* --- NEW STICKY HEADER --- */
header { 
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.header-left { display: flex; align-items: center; gap: 1rem; }
.logo img { height: 70px; width: auto; }
.header-text h1 { font-family: var(--font-secondary); font-size: 1.8rem; color: var(--text-color); margin-bottom: 5px; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }
.nav-links { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-links li { margin: 0 0 0 1.5rem; }
.nav-links a { color: var(--text-color); text-decoration: none; font-size: 1rem; font-weight: 500; position: relative; transition: color 0.3s ease; }
.nav-links a.active-page { color: var(--primary-color); font-weight: bold; } /* Active page style */
.nav-links a:hover { color: var(--primary-color); }
.language-switcher a { color: var(--text-color); text-decoration: none; margin: 0 5px; cursor: pointer; }
.language-switcher a.lang-active { color: var(--primary-color); font-weight: bold; }

/* --- Hero Section --- */
.hero { min-height: 90vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/1396122/pexels-photo-1396122.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover; display: flex; justify-content: center; align-items: center; text-align: center; padding: 0 5%; }
.hero-content h1 { font-family: var(--font-secondary); font-size: 4.5rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-button { background-image: linear-gradient(45deg, var(--primary-color), #FFC300); color: #000; padding: 1rem 3rem; text-decoration: none; font-weight: bold; border-radius: 5px; transition: all 0.3s ease; display: inline-block; border: none; box-shadow: 0 4px 15px rgba(255,215,0,0.3); }
.cta-button:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(255,215,0,0.4); }

/* --- General Sections --- */
.content-section { padding: 100px 5%; text-align: center; }
.content-section h2 { font-family: var(--font-secondary); font-size: 2.8rem; margin-bottom: 1rem; color: var(--primary-color); }
.section-subtitle { color: #aaa; max-width: 600px; margin: 0 auto 50px auto; line-height: 1.6; }

/* --- NEW 2x2 Services Grid & Clickable Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
}
.service-card-link { text-decoration: none; color: inherit; }
.service-card { background: var(--subtle-grey); border-radius: 10px; transition: all 0.3s ease; padding: 2.5rem 1.5rem; border-bottom: 3px solid transparent; text-align: center; height: 100%; }
.service-card:hover { transform: translateY(-10px); border-bottom-color: var(--primary-color); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.service-icon svg { color: var(--primary-color); margin-bottom: 1rem; width: 48px; height: 48px; }
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.service-card p { color: #aaa; line-height: 1.6; }

/* --- Property Grid & Cards --- */
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.property-card { background: var(--subtle-grey); border-radius: 10px; overflow: hidden; text-align: left; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease; }
.property-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.property-card img { width: 100%; height: 220px; object-fit: cover; }
.property-card h3 { padding: 1rem 1.5rem 0.5rem; }
.property-card p { padding: 0 1.5rem 1rem; color: #aaa; line-height: 1.6; }
.property-card .card-button { background-image: linear-gradient(45deg, var(--primary-color), #FFC300); color: #000; padding: 0.8rem 1.5rem; text-decoration: none; font-weight: bold; border-radius: 5px; transition: all 0.3s ease; display: inline-block; border: none; margin: 0 1.5rem 1.5rem; cursor: pointer; text-align: center; }
.property-card .card-button:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(255,215,0,0.3); }

/* --- Other Sections & Footer --- */
.business-card-section { background-color: var(--secondary-color); }
.dual-card-container { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.dual-card-container img { max-width: 450px; width: 100%; border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); transition: transform 0.4s ease; }
.dual-card-container img:hover { transform: scale(1.05); }
.cta-section { padding: 100px 5%; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('https://images.pexels.com/photos/209296/pexels-photo-209296.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover; background-attachment: fixed; text-align: center; }
.cta-content p { max-width: 600px; margin: 0 auto 2.5rem; }
footer { background-color: #000; padding: 60px 5% 30px; text-align: center; }
.footer-content h3 { font-family: var(--font-secondary); font-size: 1.8rem; margin-bottom: 0.5rem; }
.footer-content p { line-height: 1.8; color: #aaa; }
.footer-content a { color: var(--text-color); text-decoration: none; transition: color 0.3s ease; }
.footer-content a:hover { color: var(--primary-color); }
.social-links a { margin: 0 15px; font-size: 1.5rem; }
.social-links a:hover { transform: scale(1.2); }
.footer-bottom { border-top: 1px solid rgba(255,215,0,0.2); padding-top: 30px; margin-top: 40px; font-size: 0.9rem; color: #777; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Inner Page Specific Styles --- */
.page-header { text-align: center; padding: 120px 5%; }
.about-section { padding: 100px 10%; display: flex; gap: 4rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.about-section img { max-width: 400px; width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.about-text { text-align: left; flex: 1; min-width: 300px; }
.contact-main-column { max-width: 800px; margin: 0 auto; }
.contact-details-box { background-color: var(--subtle-grey); border-radius: 10px; padding: 2rem; text-align: left; line-height: 1.8; }
.contact-details-box p { margin-bottom: 1rem; }
.contact-details-box strong { color: var(--primary-color); font-weight: 600; }
.contact-details-box a { color: var(--text-color); text-decoration: none; transition: color 0.3s ease; }
.contact-details-box a:hover { color: var(--primary-color); }
.contact-map { margin-top: 2rem; }
.contact-map iframe { width: 100%; height: 300px; border-radius: 10px; border: 0; }
.instagram-follow-box { margin: 2rem auto 0 auto; padding: 1.5rem; background-color: var(--subtle-grey); border-radius: 10px; display: inline-flex; align-items: center; gap: 1rem; border-left: 4px solid #E1306C; max-width: 100%; }
.insta-icon svg { color: #E1306C; }
.insta-text p { margin: 0; color: #aaa; text-align: left; }
.insta-text a { font-weight: bold; color: var(--text-color); font-size: 1.1rem; }
.booking-section { background-color: var(--secondary-color); border-top: 1px solid rgba(255, 215, 0, 0.1); }
.qr-code-container { margin-top: 30px; display: inline-block; padding: 25px 25px 15px 25px; background-color: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); text-align: center; }
.qr-code-container img { max-width: 250px; width: 100%; display: block; border-radius: 8px; margin: 0 auto; }
.upi-id { margin-top: 15px; font-weight: bold; color: #333; font-size: 0.9rem; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    header { flex-direction: column; gap: 1rem; }
    .header-left, .header-right { width: 100%; }
    .header-right { align-items: center; }
    .header-left { justify-content: center; }
    .nav-links li { margin: 0 0.8rem; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .content-section h2 { font-size: 2.2rem; }
    .page-header h1 { font-size: 2.5rem; }
    .content-section, .business-card-section, .cta-section { padding: 80px 5%; }
    .about-section { padding: 80px 5%; }
    .about-text { text-align: center; }
    .dual-card-container img { max-width: 90%; }
    .header-left { flex-direction: column; }
    .header-text h1 { font-size: 1.5rem; text-align: center; }
    .nav-links { justify-content: center; flex-wrap: wrap; }
    .nav-links li { margin: 5px 0.6rem; }
}