* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-listings .container,
.listings-page .container,
.package-deals .container,
.about-us .container {
    max-width: 1400px;
    padding: 0 40px;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #11998e;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
    color: #11998e;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
    min-height: calc(100vh - 80px);
}

.page.active {
    display: block;
}

/* Home Page Styles */
.hero {
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.9), rgba(56, 239, 125, 0.9));
    color: white;
    padding: 100px 0;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-button {
    background: #2ecc71;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

/* Featured Listings */
.featured-listings {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.featured-listings h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.listing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    max-width: 350px;
    margin: 0 auto;
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.listing-image {
    height: 200px;
    background: linear-gradient(45deg, #11998e, #38ef7d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.listing-info {
    padding: 1.5rem;
}

.listing-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.listing-price {
    color: #11998e;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sustainability Section */
.sustainability {
    padding: 80px 0;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.sustainability-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sustainability h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.sustainability-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 100px 20px;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #11998e;
}

.form-button {
    width: 100%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
}

/* Enhanced Listings Page Styles */
.listings-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.listings-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.listings-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.listings-stats {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.search-filters {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-section {
    margin-bottom: 2rem;
}

.search-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    max-width: 600px;
}

.search-bar input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
}

.filters-section {
    border-top: 1px solid #e1e5e9;
    padding-top: 2rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #11998e;
}

.view-toggle {
    display: flex;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    overflow: hidden;
}

.view-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.view-btn.active {
    background: #11998e;
    color: white;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.filter-btn {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.clear-btn {
    background: transparent;
    color: #666;
    border: 2px solid #e1e5e9;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    border-color: #11998e;
    color: #11998e;
}

.active-filters {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: #11998e;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag .remove {
    cursor: pointer;
    font-weight: bold;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.results-count {
    font-weight: 600;
    color: #333;
}

.results-actions {
    display: flex;
    gap: 1rem;
}

.save-search-btn, .create-alert-btn {
    background: white;
    border: 2px solid #e1e5e9;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.save-search-btn:hover, .create-alert-btn:hover {
    border-color: #11998e;
    color: #11998e;
}

.listings-container {
    margin-bottom: 3rem;
}

.listings-grid.list-view {
    display: block;
}

.listings-grid.list-view .listing-card {
    display: flex;
    max-width: 100%;
    margin-bottom: 1rem;
}

.listings-grid.list-view .listing-image {
    width: 200px;
    height: 150px;
    border-radius: 15px 0 0 15px;
}

.listings-grid.list-view .listing-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-btn {
    background: white;
    border: 2px solid #e1e5e9;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: #11998e;
    color: #11998e;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-number.active {
    background: #11998e;
    border-color: #11998e;
    color: white;
}

.page-number:hover:not(.active) {
    border-color: #11998e;
    color: #11998e;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.suggested-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.category-suggestion {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-suggestion:hover {
    transform: translateY(-2px);
}

/* Enhanced Listing Cards */
.listing-card {
    position: relative;
    transition: all 0.3s ease;
}

.listing-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listing-card:hover::before {
    opacity: 1;
}

.listing-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2ecc71;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.listing-info .listing-meta {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.rent-btn {
    flex: 1;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.rent-btn:hover {
    transform: translateY(-2px);
}

.favorite-btn, .share-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.favorite-btn:hover, .share-btn:hover {
    border-color: #11998e;
    color: #11998e;
}

/* Package Deals */
.package-deals {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.95);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-header {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    padding: 2rem;
    text-align: center;
}

.package-items {
    padding: 2rem;
}

.package-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e1e5e9;
}

.package-item:last-child {
    border-bottom: none;
}

/* About Us */
.about-us {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.95);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.mission-vision {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .listing-card {
        max-width: 100%;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-listings .container,
    .listings-page .container,
    .package-deals .container,
    .about-us .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .listing-info {
        padding: 1rem;
    }
    
    .listing-info h3 {
        font-size: 1.2rem;
    }
}

/* Flash Animation */
.flash {
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

/* Add New Listing Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

.add-listing-form {
    padding: 2rem;
}

.form-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 1.5rem;
}

.form-section h4 {
    margin: 0 0 1rem 0;
    color: #11998e;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.form-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photo-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e5e9;
}

.cancel-btn {
    background: transparent;
    color: #666;
    border: 2px solid #e1e5e9;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.submit-btn {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
