/**
 * HighlanderStay - Main Stylesheet
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #1a1a2e;
}

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

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

/* Layout */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* ==================== Navbar ==================== */
.navbar {
    background-color: #16213e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #f39c12;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #f39c12;
    color: #f39c12;
}

.btn-outline:hover {
    background: #f39c12;
    color: #fff;
}

.btn-primary {
    background: #f39c12;
    border: 2px solid #f39c12;
    color: #fff;
}

.btn-primary:hover {
    background: #e67e22;
    border-color: #e67e22;
}

/* ==================== Hero Section ==================== */
.hero {
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Search Bar ==================== */
.search-bar {
    background: linear-gradient(135deg, #f39c12, #d35400);
    padding: 2rem;
    border-radius: 16px;
    margin: -50px auto 2rem;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.search-bar-inline {
    margin: 0 auto 2rem;
    max-width: 1200px;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 150px;
}

.search-field label {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: #16213e;
    color: #e0e0e0;
}

.search-btn {
    padding: 0.8rem 2rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: #c0392b;
}

/* ==================== Features Section ==================== */
.features {
    background: #1f1f3a;
    padding: 4rem 2rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #16213e;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #9a9ab0;
    font-size: 0.9rem;
}

/* ==================== Property Section ==================== */
.property-section {
    padding: 4rem 2rem;
}

.property-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 2rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ==================== Property Card ==================== */
.property-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-card-link:hover .property-card {
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.2);
}

.property-card {
    background: #16213e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.property-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.type-putra {
    background: #f39c12;
}

.type-putri {
    background: #e91e63;
}

.type-campur {
    background: #9b59b6;
}

.available-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.8rem;
    background: #27ae60;
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.promo-badge {
    position: absolute;
    top: 48px;
    right: 12px;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: promo-pulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

@keyframes promo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-content {
    padding: 1.25rem;
}

.property-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    font-size: 0.9rem;
    color: #9a9ab0;
    margin: 0 0 1rem;
}

.property-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.facility-tag {
    padding: 0.3rem 0.6rem;
    background: #f0f4f8;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #b0b0b0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #2a2a4a;
}

.price-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e74c3c;
}

.price-info .price.promo {
    color: #27ae60;
}

.price-info .price-original {
    font-size: 0.85rem;
    color: #8a8a9a;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.price-info .per-month {
    font-size: 0.8rem;
    color: #8a8a9a;
}

.detail-btn {
    padding: 0.5rem 1rem;
    background: #f39c12;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.detail-btn:hover {
    background: #e67e22;
}

/* Hide scroll indicator on desktop */
.property-scroll-indicator {
    display: none;
}

/* ==================== CTA Section ==================== */
.cta-section {
    background: linear-gradient(135deg, #f39c12, #d35400);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* ==================== Promo Section ==================== */
.promo-section {
    padding: 3rem 2rem;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.promo-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-size: 1.8rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    background: linear-gradient(145deg, #1e2a4a, #16213e);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.15);
    position: relative;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e74c3c, #f39c12);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.25);
    border-color: rgba(243, 156, 18, 0.4);
}

.promo-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.promo-card-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.promo-card-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

.promo-card-placeholder .promo-icon {
    font-size: 3rem;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.promo-card-content {
    padding: 1.25rem 1.5rem;
}

.promo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.promo-card-header h3 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    flex: 1;
    font-weight: 600;
    line-height: 1.3;
}

.promo-discount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    flex-shrink: 0;
}

.promo-card-desc {
    color: #adb5c0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.promo-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-code {
    background: rgba(243, 156, 18, 0.12);
    color: #f5b041;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px dashed rgba(243, 156, 18, 0.5);
    font-family: 'Consolas', 'Monaco', monospace;
    letter-spacing: 0.5px;
}

.promo-code strong {
    font-weight: 700;
    color: #f39c12;
}

.promo-expire {
    color: #7f8c9a;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.promo-expire::before {
    content: '⏰';
    font-size: 0.75rem;
}

.promo-cta {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: auto;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.promo-cta:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

/* Hide scroll indicator on desktop */
.promo-scroll-indicator {
    display: none;
}

/* Mobile Slider for Promo */
@media (max-width: 768px) {
    .promo-section {
        padding: 2rem 0;
    }
    
    .promo-section .section-title {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .promo-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1rem;
        padding: 0.5rem 1.5rem 1.5rem;
    }
    
    .promo-grid::-webkit-scrollbar {
        display: none;
    }
    
    .promo-grid .promo-card {
        flex: 0 0 85%;
        min-width: 280px;
        max-width: 320px;
        scroll-snap-align: center;
    }
    
    .promo-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .promo-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    /* Scroll indicator dots */
    .promo-scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 0 0;
    }
    
    .promo-scroll-indicator .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .promo-scroll-indicator .dot.active {
        background: #f39c12;
        width: 24px;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .promo-grid .promo-card {
        flex: 0 0 90%;
        min-width: 260px;
    }
    
    .property-grid .property-card-link {
        flex: 0 0 90%;
        min-width: 260px;
    }
}

/* ==================== Footer ==================== */
.footer {
    background: #0f0f1a;
    color: #fff;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: #bdc3c7;
    margin-bottom: 0.8rem;
}

.footer-contact li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #f39c12;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f39c12;
    color: #16213e;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    text-align: center;
    padding: 1.5rem;
    color: #9a9ab0;
}

/* ==================== Property Detail Page ==================== */
.property-detail {
    min-height: 100vh;
    background: #1f1f3a;
    padding-top: 2rem;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    color: #9a9ab0;
}

.breadcrumb a {
    color: #f39c12;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.detail-main {
    background: #16213e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.detail-image {
    position: relative;
    height: 400px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #fff;
}

/* Image Gallery */
.image-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.gallery-main {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #000;
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.gallery-nav button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.gallery-nav button:hover {
    background: rgba(0, 0, 0, 0.85);
}

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 10;
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.gallery-main:hover .gallery-zoom-hint {
    opacity: 1;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f5f5f5;
    overflow-x: auto;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    border-color: #3b82f6;
    opacity: 1;
}

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

.detail-info {
    padding: 2rem;
}

.detail-info h1 {
    font-size: 1.8rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

.location {
    color: #9a9ab0;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.map-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    color: white;
}

.availability-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #1f1f3a;
    border-radius: 8px;
    flex-wrap: wrap;
}

.status {
    font-weight: 600;
}

.status.available {
    color: #27ae60;
}

.status.unavailable {
    color: #e74c3c;
}

.room-count {
    color: #a0a0a0;
}

.description,
.facilities,
.rules {
    margin-bottom: 2rem;
}

.description h3,
.facilities h3,
.rules h3 {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.description p {
    color: #b0b0b0;
    line-height: 1.8;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.facility-item {
    color: #27ae60;
    font-size: 0.95rem;
}

.rules ul {
    padding-left: 1.5rem;
    color: #b0b0b0;
}

.rules li {
    margin-bottom: 0.5rem;
}

/* Sidebar */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-card {
    background: #16213e;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.price-display {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a4a;
}

.price-display .price {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

.price-display .price.promo {
    color: #27ae60;
}

.price-display .period {
    color: #8a8a9a;
    font-size: 1rem;
}

/* Promo Styles for Booking Card */
.promo-banner {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: promo-glow 2s ease-in-out infinite;
}

@keyframes promo-glow {
    0%, 100% { box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(243, 156, 18, 0.5); }
}

.promo-banner .promo-icon {
    font-size: 1.25rem;
}

.promo-banner .promo-text {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-display.has-promo {
    background: rgba(39, 174, 96, 0.15);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px dashed #27ae60;
}

.price-display .price-original-detail {
    font-size: 1.1rem;
    color: #8a8a9a;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.price-display .discount-badge {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.booking-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #2a2a4a;
}

.info-row span:first-child {
    color: #a0a0a0;
}

.info-row span:last-child {
    font-weight: 500;
}

.booking-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 0.75rem;
    text-align: center;
    text-decoration: none;
}

.booking-btn:hover:not(.disabled) {
    background: #219a52;
}

.booking-btn.disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.7;
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: #f39c12;
    border: 2px solid #f39c12;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.contact-btn:hover:not(:disabled) {
    background: #f39c12;
    color: #fff;
}

.contact-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-note {
    font-size: 0.85rem;
    color: #8a8a9a;
    text-align: center;
    margin-top: 1rem;
}

.map-card {
    background: #16213e;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.map-card h4 {
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.map-placeholder {
    height: 200px;
    background: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* ==================== Not Found ==================== */
.not-found {
    text-align: center;
    padding: 4rem 2rem;
}

.not-found h2 {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f39c12;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #a0a0a0;
}

/* ==================== Error Screen ==================== */
.error-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-screen h2 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.error-screen p {
    color: #a0a0a0;
    max-width: 500px;
}

.error-hint {
    margin-top: 1rem;
    padding: 1rem;
    background: #1f1f3a;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ==================== Pages ==================== */
.properties-page,
.about-page {
    min-height: 70vh;
}

.page-header {
    background: linear-gradient(135deg, #f39c12, #d35400);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.results-header {
    margin-bottom: 1.5rem;
}

.results-header h2 {
    font-size: 1.3rem;
    color: #f0f0f0;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #f39c12, #d35400);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.about-section p,
.about-section li {
    color: #b0b0b0;
    line-height: 1.8;
}

.about-section ul {
    padding-left: 1.5rem;
}

.about-section li {
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: #1f1f3a;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.feature-box .feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.feature-box h3 {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.9rem;
}

.contact-section {
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .navbar-container {
        flex-wrap: wrap;
    }
    
    .nav-menu,
    .nav-buttons {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .nav-menu.show,
    .nav-buttons.show {
        display: flex;
        flex-direction: column;
        background: #16213e;
        padding: 0.5rem 1rem;
    }
    
    .nav-menu.show {
        gap: 0;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.show .nav-item {
        padding: 0.75rem 0;
    }
    
    .nav-buttons.show {
        gap: 0.75rem;
        padding-bottom: 1rem;
    }
    
    .nav-toggle {
        display: block;
        color: #f0f0f0;
    }
    
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .search-bar {
        margin: -30px 1rem 2rem;
        padding: 1.5rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-field {
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Property Grid Mobile Slider */
    .property-section {
        padding: 2rem 0;
    }
    
    .property-section .section-title {
        padding: 0 1.5rem;
    }
    
    .property-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1rem;
        padding: 0.5rem 1.5rem 1rem;
    }
    
    .property-grid::-webkit-scrollbar {
        display: none;
    }
    
    .property-grid .property-card-link {
        flex: 0 0 85%;
        min-width: 280px;
        max-width: 320px;
        scroll-snap-align: center;
    }
    
    .property-grid .property-card-link:hover {
        transform: none;
    }
    
    .property-scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 0 0;
    }
    
    .property-scroll-indicator .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .property-scroll-indicator .dot.active {
        background: #f39c12;
        width: 24px;
        border-radius: 4px;
    }
    
    .detail-image {
        height: 250px;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .availability-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Properties Page Specific Mobile Styles */
    .properties-page .page-header {
        padding: 2rem 1.5rem;
    }
    
    .properties-page .page-header h1 {
        font-size: 1.75rem;
    }
    
    .properties-page .page-header p {
        font-size: 0.95rem;
    }
    
    .properties-page .search-bar-inline {
        padding: 1.5rem 1rem;
        margin: 0 1rem 2rem;
        border-radius: 12px;
    }
    
    /* Property Grid on Properties Page - Regular Grid (Not Slider) */
    .properties-page .property-grid {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0 1.5rem;
    }
    
    .properties-page .property-grid .property-card {
        flex: none;
        min-width: auto;
        max-width: none;
        scroll-snap-align: none;
    }
    
    .property-container {
        padding: 0;
    }
    
    .results-header {
        padding: 0 1.5rem;
    }
}

/* ==================== Lightbox Modal ==================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ef4444;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.35);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

@media (max-width: 768px) {
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-nav {
        padding: 0.75rem;
        font-size: 1.3rem;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-close {
        top: -40px;
        font-size: 2rem;
    }
    
    .gallery-main {
        height: 280px;
    }
    
    .gallery-nav button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .gallery-thumbnails {
        padding: 0.5rem;
        gap: 0.4rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

/* ==================== Carousel Banner / Hero ==================    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
== */
.carousel-hero {
    padding: 0;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #0f0f1a;
}

.carousel-hero .carousel-wrapper {
    height: 600px;
    min-height: calc(100vh - 200px);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content:00 cent100er;
}

.carousel-hero-slide.active {
    position: relative !important;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    displ00ay: b100lock;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    color: #f0f0f0;
    padding: 2rem;
    text-align: left;
}

.hero-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 3rem 2rem;
    min-height: 200px;
}

.carousel-caption h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.hero-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #fff;
}

.carousel-caption p {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    color: #e0e0e0;
    max-width: 600px;
}

.hero-caption p {
    font-size: 1.25rem;
    margin: 0 0 1.5rem 0;
    color: #e0e0e0;
    max-width: 600px;
    opacity: 0.95;
}

.carousel-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f39c12;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.carousel-cta:hover {
    background: #e67e22;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(243, 156, 18, 0.7);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, left 0.3s ease, right 0.3s ease;
    z-index: 10;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(230, 126, 34, 0.9);
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicator.active {
    background: #f39c12;
    border-color: #f39c12;
}

.carousel-indicator:hover {
    background: rgba(243, 156, 18, 0.7);
}

@media (max-width: 768px) {
    .carousel-wrapper {
        height: 300px;
    }
    
    .carousel-hero .carousel-wrapper {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.3rem;
    }
    
    .hero-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
    
    .hero-caption p {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 0.75rem;
    }
    
    .carousel-control-prev {
        left: 0.5rem;
    }
    
    .carousel-control-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        height: 200px;
    }
    
    .carousel-hero .carousel-wrapper {
        height: 280px;
        min-height: auto;
    }
    
    .carousel-caption {
        padding: 0.75rem;
    }
    
    .hero-caption {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }
    
    .carousel-caption h2 {
        font-size: 1rem;
    }
    
    .hero-caption h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.75rem;
        display: none;
    }
    
    .hero-caption p {
        display: none;
    }
    
    .carousel-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Properties Page - Extra Small Screens */
    .properties-page .page-header h1 {
        font-size: 1.5rem;
    }
    
    .properties-page .search-bar-inline {
        padding: 1rem 0.75rem;
        margin: 0 0.5rem 1.5rem;
    }
    
    .properties-page .property-grid {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .results-header {
        padding: 0 1rem;
    }
}
