:root {
    --primary: #1976d2;
    --primary-dark: #1565c0;
    --primary-light: #e6f2ff;
    --secondary: #ff5722;
    --gray-light: #f7f7f7;
    --gray-medium: #717171;
    --border-color: #dddddd;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 48px rgba(0,0,0,0.12);
}

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

body {
    font-family: Circular, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #222222;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
}

/* Main Layout */
.main-wrapper {
    min-height: calc(100vh - 80px);
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 48px;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: brightness(0.85);
}

.hero-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 16px;
}

.hero-overlay .lead {
    font-size: 24px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Property Cards Section */
.properties-section {
    padding: 0 24px;
    margin-bottom: 48px;
}

.property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-2px);
}

.property-carousel {
    position: relative;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.property-carousel img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.property-card:hover .property-carousel img {
    transform: scale(1.02);
}

/* Property Badges */
.property-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-superhost {
    background: white;
    color: #222;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.badge-special {
    background: linear-gradient(45deg, #ff385c, #e61e4d);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.badge-new {
    background: #1976d2;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.9;
    transition: transform 0.2s, opacity 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite:hover {
    transform: scale(1.1);
    opacity: 1;
}

.btn-favorite svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.property-details {
    padding: 0;
}

.property-title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-subtitle {
    font-size: 14px;
    line-height: 18px;
    color: var(--gray-medium);
    margin: 0 0 8px 0;
}

.property-price {
    font-size: 14px;
    line-height: 18px;
    color: #222;
    margin: 0;
}

.property-price strong {
    font-weight: 700;
    font-size: 15px;
}

.property-rating {
    font-size: 14px;
    line-height: 18px;
    color: #222;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* Delivery Section */
.delivery-section {
    background: var(--gray-light);
    padding: 80px 0;
}

.delivery-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    height: 100%;
    text-align: center;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 32px;
}

/* Forms */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background-color: white;
    color: #222;
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background-color: var(--gray-light);
    border-color: var(--gray-medium);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* Footer */
.main-footer {
    background: var(--gray-light);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    padding: 48px 0 24px;
}

.main-footer h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-footer a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.main-footer a:hover {
    color: #222;
    text-decoration: underline;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--gray-light) !important;
}

.text-muted {
    color: var(--gray-medium) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.rounded-3 {
    border-radius: 12px !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-overlay h1 {
        font-size: 40px;
    }
    
    .hero-overlay .lead {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .hero-image {
        height: 500px;
    }
    
    .properties-section {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 400px;
    }
    
    .hero-overlay {
        bottom: 40px;
        padding: 0 20px;
    }
    
    .hero-overlay h1 {
        font-size: 32px;
    }
    
    .property-carousel img {
        height: 240px;
    }
    
    .property-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-image {
        height: 300px;
    }
    
    .hero-overlay h1 {
        font-size: 24px;
    }
    
    .property-carousel img {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-medium);
}