/*
Theme Name: Sampra Realty Custom
Theme URI: https://samprarealty.com/
Author: Do Digitals
Author URI: 
Description: Custom WordPress Theme for Sampra Realty - Land Investment Consultants.
Version: 1.0
Text Domain: samprarealty
*/

/* Add your custom CSS resets and base styles here */
/* =========================================
   GLOBAL RESET & CONTAINER
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333333;
    background-color: #fcfcfc;
}

/* Yahan hai aapka Container - Ye sab ko center karega aur width lock karega */
.container {
    width: 100%;
    max-width: 1300px; /* Ya 1140px / 1280px jo aapko theek lage */
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: #0A2416; /* Dark Green from your brand */
    margin-top: 0;
}

section {
    padding: 80px 0;
}
/* =========================================
   ADVANCED HEADER VARIABLES
   ========================================= */
:root {
    --header-bg-solid: #0A2416; /* Dark Green from your banner */
    --gold-accent: #D4AF37;
    --text-white: #ffffff;
    --transition-speed: 0.4s;
}

/* =========================================
   DESKTOP / LAPTOP STYLES (Default: Min 1025px)
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

/* Initial Transparent State */
.transparent-header {
    background-color: transparent;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.transparent-header img, .site-header.scrolled img {
	width:80px;
	height:auto;
}

/* Scrolled Solid State */
.site-header.scrolled {
    background-color: var(--header-bg-solid);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: none;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-img {
    height: 70px;
    width: auto;
    transition: height var(--transition-speed) ease;
    /* CSS filter to make logo white/bright if it's black originally, 
       remove this filter if your logo is already visible on dark bg */
    filter: drop-shadow(0px 0px 2px rgba(255,255,255,0.8)); 
}

.site-header.scrolled .logo-img {
    height: 55px; /* Shrinks logo slightly on scroll */
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--gold-accent);
}

/* Button */
.btn-consult {
    background-color: var(--gold-accent);
    color: var(--header-bg-solid);
    padding: 12px 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-consult:hover {
    background-color: var(--text-white);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.hamburger-btn, .close-menu-btn {
    display: none; /* Hidden on Desktop */
}

/* =========================================
   TABLET STYLES (768px to 1024px)
   ========================================= */
@media screen and (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu li a {
        font-size: 13px;
    }
    
    .btn-consult {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .logo-img {
        height: 55px;
    }
}

/* =========================================
   MOBILE STYLES (Max 767px)
   ========================================= */
@media screen and (max-width: 767px) {
    .transparent-header {
        padding: 15px 0;
        /* On mobile, sometimes a slight gradient helps readability over banner */
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    }
    
    .site-header.scrolled {
        padding: 10px 0;
    }

    .logo-img { height: 45px; }
    .site-header.scrolled .logo-img { height: 40px; }

    .btn-consult { display: none; } /* Hide button on mobile to save space */

    /* Hamburger Icon */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    .hamburger-btn .bar {
        width: 30px;
        height: 2px;
        background-color: var(--text-white);
    }

    /* Off-Canvas Mobile Menu */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen by default */
        width: 280px;
        height: 100vh;
        background-color: var(--header-bg-solid);
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        transition: right 0.4s ease;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        padding: 60px 20px;
    }

    .main-navigation.active {
        right: 0; /* Slides in */
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: var(--text-white);
        font-size: 35px;
        cursor: pointer;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
    }
    
    .nav-menu li a {
        font-size: 18px;
    }
}

/* =========================================
   PREMIUM HERO SECTION STYLES
   ========================================= */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center right; 
    background-repeat: no-repeat;
    min-height: 90vh; 
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-section .container {
    position: relative;
    z-index: 2; 
    width: 100%;
}

/* --- Modern Frosted Glass Box for Text --- */
.hero-content {
    max-width: 700px;
    padding: 50px 45px;
    animation: fadeInUp 1s ease-out; /* Smooth entry animation */
}

/* --- Typography Upgrade --- */
.hero-badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
    color: #ffffff; /* Pure white for contrast */
}

.hero-content h1 .text-gold {
    color: #D4AF37; /* Making the locations pop in Gold */
}

.hero-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #e8e8e8; /* Soft white for paragraph */
    font-weight: 400;
}

/* --- Premium Buttons --- */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: #D4AF37; 
    color: #0A2416; 
    border: 2px solid #D4AF37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background-color: #ffffff;
    color: #0A2416;
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #0A2416;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Mobile Check */
@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 75vh;
        background-position: left;
        padding: 120px 0 60px;
    }
    .hero-content {
        padding: 30px 25px;
    }
    .hero-content h1 { 
        font-size: 28px; 
    }
    .hero-content p { 
        font-size: 15px; 
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   THE PARALLAX REVEAL FOOTER
   ========================================= */

/* To make the reveal work, the main content area needs a solid background and relative positioning */
.site-main {
    position: relative;
    z-index: 10;
    background-color: #fcfcfc; /* Or your main body color */
    margin-bottom: 0; 
}

.reveal-footer {
    position: relative;
    /* This makes the footer tall enough to show off the beautiful image */
    min-height: 80vh; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    /* Gold separator line from the rest of the site */
    border-top: 3px solid #D4AF37; 
}

/* THE MAGIC: Fixed Background */
.reveal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed; /* This creates the window reveal effect */
    z-index: 1;
}

.reveal-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-bottom: 40px;
    width: 100%;
}

.reveal-center-box {
    max-width: 800px;
    margin: 0 auto;
}

.reveal-logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.reveal-heading {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.reveal-heading .text-gold {
    color: #D4AF37;
}

.reveal-quick-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 15px;
}

.reveal-quick-info a {
    color: #e0e0e0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.3s;
}

.reveal-quick-info a:hover {
    color: #D4AF37;
}

.reveal-quick-info .dot {
    color: #D4AF37;
    font-size: 12px;
}

/* --- Bottom Copyright Bar --- */
.reveal-bottom-bar {
    position: relative;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-flex p {
    margin: 0;
    color: #aaaaaa;
    font-size: 13px;
    letter-spacing: 1px;
}

.reveal-social {
    display: flex;
    gap: 20px;
}

.reveal-social a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
}

.reveal-social a:hover {
    color: #ffffff;
}

/* =========================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================= */
@media screen and (max-width: 768px) {
    .reveal-bg {
        /* Disable fixed attachment on mobile as it bugs out on iOS */
        background-attachment: scroll; 
    }
    .reveal-heading {
        font-size: 28px;
    }
    .reveal-quick-info {
        flex-direction: column;
        gap: 10px;
    }
    .reveal-quick-info .dot {
        display: none;
    }
    .bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* =========================================
   LUXURY EDITORIAL CONTENT STYLES
   ========================================= */

.lux-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.lux-subtitle {
    display: block;
    color: #D4AF37;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.lux-title {
    color: #0A2416;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.lux-gold-line {
    width: 60px;
    height: 3px;
    background-color: #D4AF37;
    margin-bottom: 30px;
}

.center-line {
    margin: 0 auto 30px auto;
}

/* --- About Section --- */
.lux-about-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.lux-about-split {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.lux-about-left {
    flex: 1;
    position: sticky;
    top: 120px;
}

.lux-about-right {
    flex: 1.2;
}

.lux-lead-text {
    font-size: 22px;
    color: #222222;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 25px;
}

.lux-sub-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.lux-vision-box {
    background-color: #fcfcfc;
    border-left: 2px solid #D4AF37;
    padding: 30px 40px;
}

.lux-vision-box h4 {
    color: #0A2416;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.lux-vision-box p {
    color: #666666;
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* --- Features Section (Big Numbers) --- */
.lux-features-section {
    padding: 120px 0;
    background-color: #f7f9f8; /* Very soft mint/grey */
    border-top: 1px solid #eaeaec;
}

.lux-section-header {
    margin-bottom: 80px;
}

.lux-desc {
    font-size: 18px;
    color: #666;
}

.lux-numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    margin-bottom: 80px;
}

.lux-number-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 30px;
    transition: transform 0.3s ease;
}

.lux-number-item:hover {
    transform: translateX(10px);
}

.lux-big-number {
    font-size: 56px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px #D4AF37; /* Hollow Gold Numbers */
    line-height: 0.8;
}

.lux-number-content h3 {
    color: #0A2416;
    font-size: 20px;
    margin-bottom: 12px;
}

.lux-number-content p {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   ENHANCED SERVICES BLOCK (WITH BG & OVERLAY)
   ========================================= */

.lux-services-block {
    position: relative;
    text-align: center;
    padding: 70px 40px; /* Thoda padding badhaya hai taaki image achhe se dikhe */
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* Overlay aur image ko bahar nikalne se rokega */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* The Dark Green / Black Overlay */
.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for a rich luxury feel */
    background: linear-gradient(135deg, rgba(10, 36, 22, 0.9) 0%, rgba(3, 10, 6, 0.7) 100%);
    z-index: 1;
}

/* Ensure Content Stays Above the Overlay */
.services-content {
    position: relative;
    z-index: 2;
}

.lux-services-title {
    color: #D4AF37; /* Gold */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
}

.lux-services-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.lux-services-list span {
    color: #ffffff; /* White text for contrast */
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lux-services-list .dot {
    color: #D4AF37; /* Gold Dot */
}

/* Mobile Responsive adjustment */
@media screen and (max-width: 768px) {
    .lux-services-block {
        padding: 50px 20px;
    }
}

/* =========================================
   BENTO BOX UI STYLES
   ========================================= */

.sampra-bento-section {
    background-color: #020704; /* Ultra deep rich green/black */
    padding: 100px 0;
    color: #ffffff;
}

.bento-header {
    margin-bottom: 60px;
    text-align: center;
}

.bento-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    border-radius: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.bento-main-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.bento-main-title .text-gold {
    color: #D4AF37;
}

.bento-desc {
    font-size: 18px;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- The Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px; /* Base height for grid items */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- The Cards --- */
.bento-card {
    background: #06140b; /* Slightly lighter than background */
    border-radius: 32px; /* Super smooth rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 40px rgba(212, 175, 55, 0.03);
}

.bento-card-inner {
    position: relative;
    z-index: 2;
}

/* Sizing Classes */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Card Content Typography */
.bento-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.bento-card h3 {
    color: #D4AF37;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.bento-large h3 {
    font-size: 32px;
}

.bento-card p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.bento-large p {
    font-size: 17px;
}

/* Special Gold Tint Card */
.gold-tint {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(6, 20, 11, 1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Lists */
.bento-check-list {
    list-style: none;
    padding: 0; margin: 0;
}

.bento-check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #e0e0e0;
    font-size: 15px;
}

.bento-check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #D4AF37;
}

/* Tags */
.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.btag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s;
}

.bento-card:hover .btag {
    border-color: #D4AF37;
    color: #D4AF37;
}

/* =========================================
   RESPONSIVE BENTO
   ========================================= */
@media screen and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .bento-large, .bento-wide { grid-column: span 2; }
    .bento-small, .bento-tall { grid-column: span 1; grid-row: span 1; min-height: 250px;}
}

@media screen and (max-width: 768px) {
    .bento-main-title { font-size: 32px; }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-small, .bento-tall, .bento-wide {
        grid-column: span 1;
        grid-row: auto;
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media screen and (max-width: 1024px) {
    .lux-about-split {
        flex-direction: column;
        gap: 40px;
    }
    .lux-about-left {
        position: static;
    }
    .lux-portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .lux-title { font-size: 36px; }
    .lux-numbers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lux-services-list {
        flex-direction: column;
        gap: 10px;
    }
    .lux-services-list .dot {
        display: none;
    }
    .lux-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .lux-market-card p {
        opacity: 1; /* Always show text on mobile */
        transform: translateY(0);
    }
}
