/* ========================================
   GREENHEIGHTS - PREMIUM REAL ESTATE WEBSITE
   Modern, Luxury Design System
   ======================================== */

/* === ROOT VARIABLES === */
:root {
    --primary: hsl(210, 100%, 45%);
    --primary-dark: hsl(210, 100%, 35%);
    --primary-light: hsl(210, 100%, 55%);

    --secondary: hsl(280, 70%, 55%);
    --accent: hsl(45, 100%, 55%);

    --dark: hsl(220, 15%, 15%);
    --gray-900: hsl(220, 15%, 20%);
    --gray-800: hsl(220, 12%, 30%);
    --gray-700: hsl(220, 10%, 45%);
    --gray-600: hsl(220, 8%, 60%);
    --gray-500: hsl(220, 6%, 70%);
    --gray-400: hsl(220, 5%, 80%);
    --gray-300: hsl(220, 4%, 90%);
    --gray-200: hsl(220, 3%, 95%);
    --gray-100: hsl(220, 2%, 98%);
    --white: #ffffff;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--gray-900) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --container-max: 1200px;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* === CONTAINER === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px hsla(210, 100%, 50%, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px hsla(210, 100%, 50%, 0.4);
}

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

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    gap: 8px;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggler span {
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* === STICKY CTA BAR === */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--gradient-dark);
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.sticky-cta-actions {
    display: flex;
    gap: 12px;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background-color: var(--gray-900);
    /* Fallback background */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

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

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 60px 24px;
}

.hero-title {
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: inline-block;
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* === ANIMATIONS === */
.animate-up {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.animate-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-up.delay-2 {
    animation-delay: 0.4s;
}

.animate-up.delay-3 {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SECTIONS === */
section {
    padding: 80px 0;
}

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

.section-header.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* === ABOUT SECTION === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.highlight-content h4 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.highlight-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* === FLOOR PLANS === */
.floor-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.floor-plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.floor-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.floor-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: var(--gradient-primary);
    color: var(--white);
}

.floor-plan-header h3 {
    color: var(--white);
    margin: 0;
}

.floor-plan-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
}

.floor-plan-details {
    display: flex;
    justify-content: space-around;
    padding: 24px;
    border-bottom: 1px solid var(--gray-300);
}

.floor-plan-spec {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floor-plan-spec i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floor-plan-spec div {
    text-align: left;
}

.floor-plan-spec strong {
    display: block;
    font-size: 1.25rem;
    color: var(--dark);
}

.floor-plan-spec span {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.floor-plan-price {
    padding: 24px;
    text-align: center;
    background: var(--gray-100);
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.price {
    color: var(--primary);
    margin: 0;
}

.floor-plan-image {
    padding: 24px;
}

.floor-plan-image img {
    border-radius: var(--radius-md);
}

.floor-plan-actions {
    padding: 0 24px 24px;
}

.floor-plan-features {
    padding: 0 24px 24px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* === AMENITIES === */
.amenities-section {
    background: var(--gray-100);
}

.amenities-category {
    margin-bottom: 60px;
}

.amenities-category:last-child {
    margin-bottom: 0;
}

.amenities-category-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.amenity-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.75rem;
    border-radius: 50%;
}

.amenity-image {
    width: 100%;
    height: 150px;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.amenity-card:hover .amenity-image img {
    transform: scale(1.1);
}

.amenity-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.amenity-description {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* === MASTER PLAN === */
.master-plan-section {
    background: var(--white);
}

.master-plan-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.875rem;
    margin: 0;
}

/* === LOCATION === */
.location-section {
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.location-category-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-list {
    list-style: none;
}

.location-list li {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-300);
}

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

.location-list strong {
    color: var(--dark);
}

.location-list span {
    color: var(--primary);
    font-weight: 500;
}

/* === CTA SECTION === */
.cta-section {
    position: relative;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === MODAL === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 2;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-header {
    padding: 40px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-300);
}

.modal-header h2 {
    margin-bottom: 8px;
}

.modal-body {
    padding: 32px;
}

/* === FORMS === */
.form-group {
    margin-bottom: 20px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* === FOOTER === */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

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

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-legal {
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer {
    margin-top: 12px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === MESSAGES === */
.messages-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 1500;
    max-width: 400px;
}

.message {
    position: relative;
    padding: 16px 48px 16px 20px;
    margin-bottom: 12px;
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
}

.message-success {
    border-left-color: hsl(120, 60%, 50%);
}

.message-error {
    border-left-color: hsl(0, 70%, 60%);
}

.message-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === THANK YOU PAGE === */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
}

.thank-you-icon {
    font-size: 5rem;
    color: hsl(120, 60%, 50%);
    margin-bottom: 24px;
}

.thank-you-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

/* === RESPONSIVE === */
/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Navbar Mobile Menu */
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        transition: transform var(--transition-base);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .navbar-toggler {
        display: flex;
    }

    /* Hide desktop actions container completely to fix alignment */
    .navbar-actions {
        display: none;
    }

    /* Sticky CTA Mobile Layout */
    .sticky-cta-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 12px 24px;
    }

    .sticky-cta-actions {
        width: 100%;
        justify-content: center;
    }

    .sticky-cta h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    /* Hero Mobile Layout */
    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Grid Adjustments */
    .floor-plans-grid {
        grid-template-columns: 1fr;
    }

    /* Switch amenities key to 1 column to prevent overflow and ensure readability */
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .amenity-card {
        padding: 24px 16px;
    }

    /* Fix for long text URLs causing horizontal scroll */
    .amenity-description {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .amenity-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .amenity-image {
        height: 120px;
    }

    /* Keep Gallery as 2 columns but ensure no overflow */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-overlay h4 {
        font-size: 0.875rem;
    }

    .gallery-overlay p {
        font-size: 0.75rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 48px 0;
    }

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

    .btn {
        padding: 12px 20px;
    }

    .modal-content {
        width: 95%;
        margin: 16px;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .highlight-icon {
        margin-bottom: 8px;
    }
}