/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #c2954a; /* Premium Gold */
    --primary-dark: #a67c3b;
    --primary-light: #fef8eb;
    --secondary: #2c3e50; /* Deep Navy Blue */
    --accent: #e74c3c;
    --whatsapp: #25D366;
    
    /* Neutral Colors */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-light: #f9fbfd;
    --white: #ffffff;
    --border: #e0e5ea;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 10px 25px rgba(194, 149, 74, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.bg-light { background-color: var(--bg-light); }

/* ==========================================================================
   Typography & Sections
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.location-content .section-header h2::after {
    left: 0;
    transform: none;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.location-content .section-header p {
    margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(194, 149, 74, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-white {
    background: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 100px; /* space above sticky bar */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--secondary);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 60%, rgba(15, 23, 42, 0.5) 100%);
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1.2;
    color: var(--white);
}

.badge {
    display: inline-block;
    background: rgba(194, 149, 74, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
}

.quick-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Hero Form */
.hero-form-wrapper {
    flex: 0.8;
}

.lead-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.lead-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

.lead-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--secondary);
}

.lead-form-card p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-main);
    appearance: none;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(194, 149, 74, 0.1);
    background: var(--white);
}

.form-group i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-group select {
    cursor: pointer;
}

.form-footer {
    margin-top: 20px;
    font-size: 0.85rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888 !important;
    margin-bottom: 0 !important;
}

.form-footer i {
    color: #4CAF50;
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-section {
    background: var(--secondary);
    padding: 30px 0;
    color: var(--white);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================================================
   Amenities
   ========================================================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.amenity-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: default;
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

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

.amenity-card:hover .amenity-icon {
    background: var(--primary);
    color: var(--white);
}

.amenity-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.amenity-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   Gudi Padwa Offer
   ========================================================================== */
.offer-section {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.offer-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.offer-content {
    flex: 1;
}

.offer-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.offer-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.offer-list {
    margin-bottom: 40px;
}

.offer-list li {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.offer-list li i {
    color: #4CAF50;
    background: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.offer-image {
    flex: 1;
    position: relative;
    background-color: #fdbb2d;
    border-radius: 20px;
    min-height: 300px;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 5px solid rgba(255,255,255,0.2);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-header {
    background: var(--bg-light);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.area {
    color: var(--text-muted);
    font-weight: 500;
}

.card-body {
    padding: 30px;
}

.spec-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
    font-weight: 500;
}

.spec-list li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.spec-list li:last-child {
    border-bottom: none;
}

.price-reveal {
    margin-top: 30px;
}

.premium {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 40px;
    transform: rotate(45deg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Floor Plan Section
   ========================================================================== */
.floor-plan-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.fp-card {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.fp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fp-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transition: var(--transition);
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 2;
}

.lock-overlay i {
    font-size: 3rem;
    color: var(--secondary);
}

.fp-details {
    padding-top: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fp-details h4 {
    font-size: 1.1rem;
    margin-bottom: auto; /* This pushes the button to the bottom for perfect alignment */
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    display: block;
    background-color: var(--bg-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Video Walkthrough Specifics
   ========================================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-wrapper:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.container-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.location-content {
    flex: 1;
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.location-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

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

.loc-text {
    font-size: 1.1rem;
}

.location-map {
    flex: 1;
}

.map-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-md);
    background-color: var(--bg-light);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ==========================================================================
   Site Visit Section
   ========================================================================== */
.site-visit-wrapper {
    background: var(--secondary);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visit-info {
    flex: 1;
    padding: 60px;
    color: var(--white);
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwa3AiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGtwKSIvPjwvc3ZnPg==');
}

.visit-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.visit-info p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.visit-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vb-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 500;
}

.vb-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.visit-form-container {
    flex: 1;
    background: var(--white);
    padding: 60px;
}

.visit-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.visit-form .form-group input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
}

.visit-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .half {
    flex: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #111827;
    color: var(--white);
    padding: 40px 0 100px 0; /* Extra padding bottom for sticky bar */
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 15px;
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.7;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    color: #fff;
}

/* ==========================================================================
   Sticky Bottom Bar
   ========================================================================== */
.bottom-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.sticky-btn:hover {
    opacity: 0.9;
}

.sticky-call {
    background: var(--secondary);
}

.sticky-wa {
    background: var(--whatsapp);
}

.sticky-brochure {
    background: var(--primary);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    z-index: 2001;
    display: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
}

.modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    background: rgba(0,0,0,0.1);
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--secondary);
}

.modal-content p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s forwards;
    opacity: 0;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* ==========================================================================
   PDF Modal Specifics
   ========================================================================== */
.pdf-modal {
    max-width: 900px;
    height: 85vh;
}

.pdf-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.pdf-modal-content h3 {
    text-align: center;
    margin-bottom: 20px;
}

#pdf-iframe {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: 8px;
    background: var(--bg-light);
}

@media (max-width: 992px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }
    
    .hero-content {
        order: 1;
    }

    .hero-form-wrapper {
        order: 2;
        width: 100%;
        max-width: 500px;
    }
    
    .quick-highlights {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }
    
    .highlight-item {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .offer-container, .container-flex, .site-visit-wrapper {
        flex-direction: column;
    }
    
    .pricing-grid, .floor-plan-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh; /* Use small viewport height to avoid browser chrome issues */
        padding-bottom: 90px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .badge {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }

    .quick-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .highlight-item {
        font-size: 0.9rem;
    }

    .hero-cta {
        gap: 12px;
    }

    .hero-cta .btn-large {
        padding: 12px 22px;
        font-size: 1rem;
        flex: 1;
        text-align: center;
    }

    .lead-form-card {
        padding: 25px 20px;
    }

    .lead-form-card h3 {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .gallery-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-sticky-bar {
        font-size: 0.9rem;
    }
    
    .sticky-btn {
        padding: 10px 0;
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    .header-actions .btn-outline {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .quick-highlights {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta .btn-large {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    .lead-form-card {
        padding: 20px 16px;
    }

    .lead-form-card h3 {
        font-size: 1.3rem;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.8) 100%);
    }
}
