/* ========================================
   EaseMyRentals - Modern Rental Platform
   Inspired by Flent.in
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a3a4a;
    --primary-light: #2d5a6a;
    --accent: #3d9eb5;
    --accent-light: #5cb8cc;
    --accent-gradient: linear-gradient(135deg, #3d9eb5 0%, #5cb8cc 100%);
    --text-primary: #1a3a4a;
    --text-secondary: #3d6070;
    --text-muted: #6a8a9a;
    --bg-primary: #f8fcfd;
    --bg-secondary: #e0f1f5;
    --bg-tertiary: #c5e8f0;
    --bg-warm: #3d9eb5;
    --border: #d0e8ef;
    --border-light: #e8f4f8;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;   
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn svg {
    flex-shrink: 0;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled,
.navbar.navbar-solid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-gradient);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 500px;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

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

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

.hero-image-1 {
    grid-row: span 2;
}

.hero-image-2,
.hero-image-3 {
    grid-column: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* ========================================
   Featured Section / Homes Grid
   ======================================== */
.featured-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.homes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.homes-grid.large {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.home-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.home-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.home-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.home-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.home-card:hover .home-card-image img {
    transform: scale(1.08);
}

.home-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.home-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.home-badge.new {
    background: var(--accent);
    color: white;
}

.home-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.home-card-content {
    padding: 24px;
}

.home-card-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.home-card-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.home-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.home-card-location svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
}

.home-card-specs {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.home-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.home-spec svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
}

.home-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-price {
    font-family: var(--font-display);
}

.home-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.home-price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.home-card-btn {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3d9eb5 0%, #1a3a4a 100%);
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    color: white;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 200px;
    margin: 0 auto;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 700;
    color: var(--bg-tertiary);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.step-icon svg {
    stroke: var(--accent);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    flex-shrink: 0;
    padding-top: 120px;
    color: var(--border);
}

/* ========================================
   Owners Section
   ======================================== */
.owners-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.owners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.owners-content .section-label {
    text-align: left;
}

.owners-content .section-title {
    text-align: left;
    font-size: 42px;
}

.owners-content .section-desc {
    text-align: left;
    margin: 0 0 32px 0;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefits-list svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke: var(--success);
    margin-top: 2px;
}

.benefits-list strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 4px;
}

.benefits-list span {
    font-size: 14px;
    color: var(--text-secondary);
}

.owners-visual {
    display: flex;
    justify-content: center;
}

.owner-stats-card {
    background: linear-gradient(135deg, #e0f1f5 0%, #3d9eb5 50%, #1a3a4a 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: white;
    width: 100%;
    max-width: 400px;
}

.owner-stat {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.owner-stat:last-child {
    border-bottom: none;
}

.owner-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.owner-stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.author-info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-content .section-label {
    text-align: left;
}

.contact-content .section-title {
    text-align: left;
    font-size: 42px;
}

.contact-content .section-desc {
    text-align: left;
    margin: 0 0 32px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-tertiary);
}

.contact-item svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

.contact-item span {
    font-size: 15px;
    font-weight: 500;
}

.contact-form-wrap {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #1a3a4a;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-accent {
    color: var(--accent-light);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

/* ========================================
   Page Header (for inner pages)
   ======================================== */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-secondary);
    text-align: center;
}

.page-title {
    font-size: 48px;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ========================================
   Filters Section
   ======================================== */
.filters-section {
    padding: 24px 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.filters-bar {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 12px 40px 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-btn {
    margin-left: auto;
}

/* ========================================
   Homes Listing
   ======================================== */
.homes-listing {
    padding: 60px 0 120px;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.homes-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.homes-count span {
    font-weight: 600;
    color: var(--text-primary);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-results svg {
    margin-bottom: 24px;
    opacity: 0.3;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.no-results p {
    margin-bottom: 24px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3d9eb5 0%, #1a3a4a 100%);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ========================================
   Property Page
   ======================================== */
.property-page {
    padding-top: 72px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 16px;
    color: var(--text-muted);
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Gallery */
.property-gallery {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    max-height: 70vh;
}

.gallery-main {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 100%;
    overflow-y: auto;
    align-content: start;
}

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

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Header */
.property-header {
    padding: 48px 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.property-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.property-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.property-name {
    font-size: 42px;
    margin-bottom: 8px;
}

.property-tagline {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.property-location svg {
    stroke: var(--accent);
}

.property-pricing {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 32px;
    min-width: 320px;
    text-align: center;
}

.price-main {
    margin-bottom: 8px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.price-deposit {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Property Details */
.property-details {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.details-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
}

.detail-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.detail-subtitle {
    color: var(--text-secondary);
    margin-top: -16px;
    margin-bottom: 24px;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-info-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.quick-info-item svg {
    stroke: var(--accent);
    margin-bottom: 12px;
}

.quick-info-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 4px;
}

.quick-info-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.property-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Rooms Grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.room-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.room-card:hover {
    border-color: var(--accent);
}

.room-card.unavailable {
    opacity: 0.6;
}

.room-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.room-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.room-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-feature {
    padding: 4px 10px;
    background: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
}

.room-status {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
}

.room-status.available {
    color: var(--success);
}

.room-status.occupied {
    color: var(--text-muted);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.amenity-item svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

.amenity-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Sidebar */
.details-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.booking-price {
    margin-bottom: 24px;
}

.booking-price-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
}

.booking-price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.booking-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.booking-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 14px;
}

.booking-highlight svg {
    stroke: var(--success);
    flex-shrink: 0;
}

.booking-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.sidebar-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
}

.sidebar-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.ideal-for-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ideal-for-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
}

/* Other Homes */
.other-homes {
    padding: 80px 0;
    background: white;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 48px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image-grid {
        height: 400px;
    }
    
    .homes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homes-grid.large {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .steps-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .step-connector {
        display: none;
    }
    
    .step-card {
        flex: 0 0 calc(50% - 10px);
        max-width: none;
    }
    
    .owners-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .details-sidebar {
        position: static;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .property-header-content {
        flex-direction: column;
    }
    
    .property-pricing {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero .container {
        padding: 0 32px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-image-grid {
        height: 300px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    
    .hero-image-1 {
        grid-row: auto;
    }
    
    .hero-image-2,
    .hero-image-3 {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .homes-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .step-card {
        flex: 0 0 100%;
    }
    
    .step-number {
        font-size: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .filters-bar {
        flex-wrap: wrap;
    }
    
    .filter-group {
        flex: 1 1 calc(50% - 12px);
    }
    
    .filter-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-name {
        font-size: 28px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .home-card-content {
        padding: 20px;
    }
    
    .home-card-name {
        font-size: 18px;
    }
    
    .home-price-value {
        font-size: 20px;
    }
}
