:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1505142468610-359e7d316be0?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Condos Section */
.condos-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.condos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.condo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.condo-card * {
    cursor: pointer;
}

.condo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.condo-image {
    height: 250px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.condo-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.condo-badge.beachfront {
    background: rgba(46, 213, 115, 0.9);
}

.condo-badge.soundside {
    background: rgba(255, 159, 10, 0.9);
}

.price-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: baseline;
    gap: 2px;
    z-index: 2;
}

.price-symbol {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
}

.price-number {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
}

.price-slash {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    margin-left: 2px;
}

.condo-content {
    padding: 2rem;
}

.condo-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.condo-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.condo-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.book-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    pointer-events: auto;
}

.book-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.success-content {
    background: white;
    margin: 20% auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.success-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #2ecc71;
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.success-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.success-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-info {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    font-size: 1rem;
    margin-right: 1rem;
}

.contact-value {
    color: var(--text-dark);
    font-size: 1.1rem;
    flex: 1;
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Policies Section */
.policies-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.policies-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.policy-link-btn {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.policy-link-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Policy Modals */
.policy-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.policy-modal-content {
    background: white;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-policy-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-policy-modal:hover {
    color: var(--accent-color);
}

.policy-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-right: 2rem;
}

.policy-modal-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.policy-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.policy-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.policy-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

.policy-update {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* View Details Button */
.view-details-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.view-details-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Properties Header */
.properties-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1505142468610-359e7d316be0?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.properties-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1505142468610-359e7d316be0?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    z-index: 0;
    transform: scale(1.05);
}

.properties-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.properties-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.properties-section {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Property Detail Modal */
.property-modal {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.property-modal-content {
    position: relative;
    max-width: 1200px;
    margin: 2% auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-property-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-property-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* Property Detail Content */
.property-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.property-images {
    position: relative;
    background: #000;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    color: var(--primary-color);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.property-info {
    padding: 3rem;
    overflow-y: auto;
    max-height: 600px;
}

.property-header {
    margin-bottom: 2rem;
}

.property-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.property-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.property-badge.beachfront {
    background: rgba(46, 213, 115, 0.2);
    color: #2ecc71;
}

.property-badge.soundside {
    background: rgba(255, 159, 10, 0.2);
    color: #ff9f0a;
}

.property-location {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.spec-item {
    text-align: center;
}

.spec-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.property-amenities {
    margin-bottom: 2rem;
}

.property-amenities h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.amenity-item::before {
    content: '✓';
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
}

.property-actions {
    display: flex;
    gap: 1rem;
}

.book-property-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-property-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .condos-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .property-detail {
        grid-template-columns: 1fr;
    }

    .property-images {
        height: 400px;
    }

    .image-carousel {
        height: 400px;
    }

    .property-info {
        padding: 2rem;
        max-height: none;
    }

    .property-header h2 {
        font-size: 2rem;
    }

    .property-specs {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .property-actions {
        flex-direction: column;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
        margin: 2rem auto 0;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-label {
        min-width: auto;
        margin-right: 0;
    }

    .contact-value {
        font-size: 1rem;
    }

    .policies-links {
        flex-direction: column;
        align-items: center;
    }

    .policy-link-btn {
        width: 100%;
        max-width: 300px;
    }

    .policy-modal-content {
        padding: 2rem 1.5rem;
        margin: 10% auto;
        max-height: 90vh;
    }

    .policy-modal-content h2 {
        font-size: 1.75rem;
        padding-right: 1.5rem;
    }
}

/* Condo Detail Page Styles */
.condo-detail-page {
    padding-top: 70px;
}

.condo-carousel-section {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-preview-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 3;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.carousel-preview-text[style*="display: none"] {
    pointer-events: none !important;
    z-index: -1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.overlay-content {
    text-align: center;
}

.overlay-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.detail-carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.detail-carousel-image {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 15;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.carousel-nav-btn[style*="display: none"] {
    pointer-events: none !important;
    z-index: -1;
}

.carousel-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.carousel-prev-btn {
    left: 30px;
}

.carousel-next-btn {
    right: 30px;
}

.carousel-indicators-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.carousel-indicators-wrapper[style*="display: none"] {
    pointer-events: none !important;
    z-index: -1;
}

.detail-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-carousel-indicator.active {
    background: white;
    transform: scale(1.3);
}

.image-counter {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 15;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.image-counter[style*="display: none"] {
    pointer-events: none !important;
    z-index: -1;
}

.condo-info-section {
    padding: 60px 0;
    background: white;
}

.condo-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.condo-header-detail {
    margin-bottom: 3rem;
    text-align: center;
}

.header-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.condo-header-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.property-badge-detail,
.rating-badge,
.no-pets-badge,
.dog-friendly-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    height: auto;
    vertical-align: middle;
    margin: 0;
}

.property-badge-detail.beachfront {
    background: rgba(46, 213, 115, 0.2);
    color: #2ecc71;
}

.property-badge-detail.soundside {
    background: rgba(255, 159, 10, 0.2);
    color: #ff9f0a;
}

.rating-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #f57c00;
}

.property-badge-detail.no-pets-badge {
    background: rgba(244, 67, 54, 0.2);
    color: #c62828;
}

.property-badge-detail.dog-friendly-badge {
    background: rgba(46, 213, 115, 0.2);
    color: #2ecc71;
}

.condo-location-detail {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.price-display {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
}

.condo-description-section {
    margin-bottom: 3rem;
}

.condo-description-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.condo-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.condo-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.spec-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.spec-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.spec-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.spec-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.amenities-section {
    margin-bottom: 3rem;
}

.amenities-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.amenities-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.amenity-item-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.amenity-item-detail::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.amenity-item-detail:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
}

.amenity-item-detail:hover::before {
    background: var(--secondary-color);
    transform: scale(1.5);
}

/* Sleeping Arrangements */
.sleeping-arrangements-section {
    margin-bottom: 3rem;
}

.sleeping-arrangements-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.sleeping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.sleeping-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.sleeping-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.sleeping-bedroom-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.sleeping-bedroom-details {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Additional Information */
.additional-info-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.additional-info-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.additional-info-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.booking-section-detail {
    text-align: center;
    padding: 3rem 0;
}

.book-now-btn-large {
    padding: 1.25rem 3rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.book-now-btn-large:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Fullscreen Image Viewer */
.fullscreen-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.fullscreen-image-container {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#fullscreenImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-fullscreen {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-fullscreen:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg) scale(1.1);
}

.fullscreen-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fullscreen-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fullscreen-prev {
    left: 30px;
}

.fullscreen-next {
    right: 30px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .condo-carousel-section {
        height: 50vh;
        min-height: 400px;
    }

    .carousel-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .carousel-prev-btn {
        left: 15px;
    }

    .carousel-next-btn {
        right: 15px;
    }

    .carousel-indicators-wrapper {
        bottom: 15px;
        padding: 8px 15px;
    }

    .image-counter {
        top: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .condo-header-detail h1 {
        font-size: 2rem;
    }

    .condo-specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .amenities-grid-detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .amenity-item-detail {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .condo-description-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .modal-content {
        padding: 1.25rem;
    }

    .condo-carousel-section {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .fullscreen-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .fullscreen-prev {
        left: 15px;
    }

    .fullscreen-next {
        right: 15px;
    }

    .close-fullscreen {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

