/* Main Styles */
:root {
    --brand-navy: #0b2a50;
    --brand-gold: #b89040;
    --airbnb-dark: #222222;
    --airbnb-light: #f7f7f7;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding-top: 80px;
    color: var(--airbnb-dark);
    background-color: #ffffff;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Listing Cards */
.listing-card {
    position: relative;
}

.listing-img {
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.rating {
    font-size: 0.9rem;
}

.star {
    color: var(--brand-gold);
}

/* Buttons */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Forms */
.form-control:focus {
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 0.2rem rgba(11, 42, 80, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-gold) 100%);
    color: white;
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .listing-img {
        height: 200px;
    }
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
}

.main-image {
    grid-column: span 2;
    grid-row: span 2;
    height: 400px;
}

.side-image {
    height: 196px;
}

/* Booking Widget */
.booking-widget {
    position: sticky;
    top: 100px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Profile */
.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loader */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--brand-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Badges */
.badge-airbnb {
    background-color: var(--brand-navy);
    color: white;
}