/**
 * Kosan Frontpage Styles
 * Color scheme matching Tenant Dashboard (Tosca & Yellow)
 */

:root {
    /* Tosca & Yellow Color Palette - Matching Tenant Dashboard */
    --primary-color: #14B8A6;
    --primary-light: #5EEAD4;
    --primary-dark: #0D9488;
    --secondary-color: #F59E0B;
    --secondary-light: #FCD34D;
    --secondary-dark: #D97706;
    --accent-color: #FBBF24;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --success-color: #10B981;
    --dark-color: #1F2937;
    --gray-100: #F9FAFB;
    --gray-200: #F3F4F6;
    --gray-300: #E5E7EB;
    --gray-400: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

/* Reset and Base */
.kosan-frontpage {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.kosan-frontpage * {
    box-sizing: border-box;
}

/* Sticky Header - Hidden by default, shows on scroll */
.frontpage-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.frontpage-header.visible {
    transform: translateY(0);
}

.frontpage-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

.header-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-brand .brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav .nav-link svg {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.header-nav .nav-link:hover {
    color: var(--primary-color);
}

.header-nav .nav-link:hover svg {
    color: var(--secondary-color);
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.header-nav .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-header-wa:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.btn-header-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-header-login:hover {
    background: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
}

.header-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gray-700);
}

.header-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 15px 0;
    border-top: 1px solid var(--gray-200);
}

.header-mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-login-link {
    margin-top: 10px;
    padding: 12px 16px;
    background: var(--secondary-color);
    color: white !important;
    border-radius: 8px;
    justify-content: center;
}

.mobile-login-link:hover {
    background: var(--secondary-dark);
    color: white !important;
}

@media (max-width: 768px) {
    .header-right {
        display: none;
    }

    .header-mobile-toggle {
        display: block;
    }

    .header-brand .brand-name {
        font-size: 1.1rem;
    }
}

/* Hero Section with Slideshow */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.85) 0%, rgba(13, 148, 136, 0.9) 100%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-indicator.active,
.hero-indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-cta-primary:hover {
    background: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 26px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Features Section */
.features-section {
    background: #fff;
}

.feature-card {
    padding: 30px 20px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    color: white;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
}

/* Catalog Section */
.catalog-section {
    background: var(--gray-100);
}

.filter-bar {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-bar .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.btn-filter {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: var(--secondary-dark);
    color: white;
}

/* Property Section */
.property-section {
    background: #f8f9fa;
}

/* Property Fullwidth Slider */
.property-fullwidth-slider {
    position: relative;
}

.property-slide-fullwidth {
    display: none;
    animation: fadeIn 0.5s ease;
}

.property-slide-fullwidth.active {
    display: block;
}

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

.property-card-fullwidth {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Property Gallery Fullwidth */
.property-gallery-fullwidth {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.property-main-image {
    position: relative;
    flex: 1;
    min-height: 320px;
    overflow: hidden;
}

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

.property-main-image:hover img {
    transform: scale(1.02);
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-700);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev-btn {
    left: 15px;
}

.gallery-next-btn {
    right: 15px;
}

.property-fullwidth-badges {
    position: absolute;
    top: 15px;
    left: 15px;
}

.property-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.property-badge.badge-available {
    background: var(--primary-color);
    color: white;
}

.property-badge.badge-full {
    background: var(--gray-500);
    color: white;
}

/* Thumbnails */
.property-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--gray-100);
    overflow-x: auto;
}

.property-thumb {
    flex: 0 0 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-thumb.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.property-thumb:hover {
    opacity: 1;
}

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

.property-no-image-fullwidth {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-400);
}

.property-no-image-fullwidth p {
    margin-top: 10px;
}

/* Property Details Fullwidth */
.property-details-fullwidth {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-title-fullwidth {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.property-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.property-info-item .info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.property-info-item .info-content {
    display: flex;
    flex-direction: column;
}

.property-info-item .info-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.property-info-item .info-value {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* Stats Grid */
.property-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.stat-box {
    background: var(--gray-100);
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.stat-box.stat-available {
    background: rgba(20, 184, 166, 0.1);
}

.stat-box.stat-available .stat-number {
    color: var(--primary-color);
}

.stat-box.stat-occupied {
    background: rgba(245, 158, 11, 0.1);
}

.stat-box.stat-occupied .stat-number {
    color: var(--secondary-color);
}

/* Nearby Fullwidth */
.property-nearby-fullwidth {
    margin: 16px 0;
}

.property-nearby-fullwidth h6 {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.nearby-tags-fullwidth {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nearby-tag-fullwidth {
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* Actions Fullwidth */
.property-actions-fullwidth {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.property-actions-fullwidth .btn {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.property-actions-fullwidth .btn:hover {
    transform: translateY(-2px);
}

/* Slider Controls */
.property-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.property-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
}

.property-nav-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.property-slider-dots {
    display: flex;
    gap: 10px;
}

.property-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-dot.active {
    background: var(--secondary-color);
    width: 36px;
    border-radius: 6px;
}

.property-dot:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .property-gallery-fullwidth {
        min-height: 300px;
    }

    .property-main-image {
        min-height: 250px;
    }

    .property-details-fullwidth {
        padding: 20px;
    }

    .property-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-title-fullwidth {
        font-size: 1.3rem;
    }

    .property-actions-fullwidth {
        flex-direction: column;
    }

    .gallery-nav-btn {
        width: 36px;
        height: 36px;
    }
}

/* Room Cards */
.room-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.room-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

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

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

.room-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.room-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-card-property {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.room-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.room-card-location {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-card-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.room-card-facilities .badge {
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary-dark);
    font-weight: 400;
    font-size: 0.75rem;
    padding: 4px 8px;
}

.room-card-price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.room-card-price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.room-card-price-period {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.room-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.room-card-actions .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
}

.room-card-actions .btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.room-card-actions .btn-outline-primary:hover {
    background: var(--secondary-color);
    color: white;
}

.room-card-actions .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.room-card-actions .btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* No Image Placeholder */
.room-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    color: var(--gray-400);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-card .form-label {
    font-weight: 500;
    color: var(--dark-color);
}

.contact-card .form-control,
.contact-card .form-select {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    transition: all 0.3s ease;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.btn-submit {
    background: var(--secondary-color);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

/* Footer Section */
.footer-section {
    background: var(--secondary-color);
    color: white;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    color: white;
    opacity: 0.8;
}

/* Room Detail Modal */
#roomDetailModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

#roomDetailModal .btn-close {
    filter: brightness(0) invert(1);
}

#roomDetailModal .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

#roomDetailModal .btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.room-detail-gallery {
    margin-bottom: 20px;
}

.room-detail-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.room-detail-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}

.room-detail-gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.room-detail-gallery-thumbs img:hover,
.room-detail-gallery-thumbs img.active {
    opacity: 1;
}

.room-detail-info h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.room-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.room-detail-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.room-detail-facilities .badge {
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary-dark);
    font-size: 0.9rem;
    padding: 8px 12px;
}

.room-detail-prices {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 8px;
}

.room-detail-prices h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.room-detail-prices table {
    width: 100%;
}

.room-detail-prices td {
    padding: 5px 0;
    color: var(--gray-700);
}

.room-detail-prices td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--dark-color);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

/* Success State */
.text-success {
    color: var(--success-color) !important;
}

/* Global Button Styles - All Yellow */
.kosan-frontpage .btn-outline-primary {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    background: transparent !important;
}

.kosan-frontpage .btn-outline-primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.kosan-frontpage .btn-primary {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.kosan-frontpage .btn-primary:hover {
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: white !important;
}

.kosan-frontpage .btn-secondary {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.kosan-frontpage .btn-secondary:hover {
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 25px;
    }

    .filter-bar .col-md-4,
    .filter-bar .col-md-3,
    .filter-bar .col-md-2 {
        margin-bottom: 10px;
    }

    .room-card-image {
        height: 180px;
    }

    .hero-indicators {
        bottom: 20px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.room-card {
    animation: fadeInUp 0.5s ease forwards;
}

.room-card:nth-child(2) { animation-delay: 0.1s; }
.room-card:nth-child(3) { animation-delay: 0.2s; }
.room-card:nth-child(4) { animation-delay: 0.3s; }
.room-card:nth-child(5) { animation-delay: 0.4s; }
.room-card:nth-child(6) { animation-delay: 0.5s; }

/* Room Pagination */
.room-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.room-pagination-info {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.room-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-page {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
}

.btn-page:hover:not(:disabled) {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

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

.btn-page-num {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    background: white;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-700);
}

.btn-page-num:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-page-num.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.page-ellipsis {
    padding: 0 8px;
    color: var(--gray-400);
}

@media (max-width: 576px) {
    .room-pagination-controls {
        gap: 4px;
    }

    .btn-page,
    .btn-page-num {
        width: 36px;
        height: 36px;
        min-width: 36px;
        padding: 0 8px;
        font-size: 0.85rem;
    }

    .page-ellipsis {
        padding: 0 4px;
    }
}
