/* Enhanced Ad Show Page Styles */

/* Force White Background for Mobile Elements */
@media (max-width: 768px) {
    header.mobile-header,
    .mobile-header,
    .mobile-price-card {
        background-color: #ffffff !important;
        background: #ffffff !important;
    }
    
    header.mobile-header *,
    .mobile-header *,
    .mobile-price-card * {
        background-color: transparent !important;
        background: transparent !important;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: white !important;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    }
    
    .mobile-header * {
        background: transparent !important;
    }
    
    .mobile-price-card {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 40;
        background: white !important;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
        animation: slideUp 0.3s ease-out;
    }
    
    .mobile-price-card * {
        background: transparent !important;
    }
    
    .mobile-content {
        padding-bottom: 120px; /* Space for fixed price card */
    }
    
    .image-gallery-mobile {
        height: 300px;
        border-radius: 0.75rem;
        overflow: hidden;
    }
    
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Mobile-specific card styles */
    .mobile-card {
        margin: 0.75rem 1rem 1.5rem 1rem !important;
        border-radius: 1rem !important;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
        background: #ffffff !important;
        padding: 1.5rem !important;
        border: 1px solid #e5e7eb !important;
        margin-top:1rem !important;
    }
    
    /* Mobile typography */
    .mobile-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        font-weight: 700 !important;
        color: #1f2937 !important;
    }
    
    .mobile-info-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .mobile-info-item {
        background: #f9fafb !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        text-align: center !important;
        transition: all 0.2s ease !important;
        margin-bottom: 0 !important;
    }
    
    .mobile-info-item:hover {
        background: #f3f4f6 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-info-icon {
        font-size: 1.5rem !important;
        color: #10b981 !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
    }
    
    .mobile-info-label {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: #6b7280 !important;
        margin-bottom: 0.25rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        display: block !important;
    }
    
    .mobile-info-value {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #1f2937 !important;
        display: block !important;
    }
    
    .mobile-location {
        background: #f0f9ff !important;
        border: 1px solid #bae6fd !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    .mobile-location-icon {
        font-size: 1.25rem !important;
        color: #0ea5e9 !important;
    }
    
    .mobile-location-text {
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: #1e40af !important;
    }
}

/* Minimal Desktop Layout */
@media (min-width: 769px) {
    .desktop-layout {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .desktop-sidebar {
        position: sticky;
        top: 1rem;
        height: fit-content;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .image-gallery-desktop {
        height: 400px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .desktop-card {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 1.25rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }
    
    .desktop-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px);
    }
    
    .desktop-card h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 0.5rem;
    }
    
    .desktop-card h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 24px;
        height: 2px;
        background: #374151;
        border-radius: 1px;
    }
    
    /* Minimal Info Grid */
    .desktop-info-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .desktop-info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f3f4f6;
        transition: all 0.2s ease;
    }
    
    .desktop-info-item:hover {
        background: #f9fafb;
        margin: 0 -1.25rem;
        padding: 0.5rem 1.25rem;
        border-radius: 8px;
    }
    
    .desktop-info-item:last-child {
        border-bottom: none;
    }
    
    .desktop-info-label {
        font-size: 0.8rem;
        font-weight: 500;
        color: #6b7280;
    }
    
    .desktop-info-value {
        font-size: 0.8rem;
        font-weight: 600;
        color: #1f2937;
    }
}
    
    /* Minimal Desktop Header */
@media (min-width: 769px) {
    .desktop-header {
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 50;
    }
    
    .desktop-header .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
    }
    
    .desktop-header .logo {
        display: flex;
        align-items: center;
        font-size: 1.25rem;
        font-weight: 700;
        color: #1f2937;
        text-decoration: none;
    }
    
    .desktop-header .logo img {
        height: 32px;
        width: auto;
        margin-left: 8px;
    }
    
    .desktop-header .nav-links {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
    
    .desktop-header .nav-link {
        color: #6b7280;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.875rem;
        padding: 6px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    .desktop-header .nav-link:hover {
        color: #1f2937;
        background: #f9fafb;
    }
    
    .desktop-header .login-btn {
        background: #10b981;
        color: white;
        padding: 8px 16px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.875rem;
        text-decoration: none;
        transition: all 0.2s ease;
        box-shadow: 0 1px 2px rgba(16, 185, 129, 0.3);
    }
    
    .desktop-header .login-btn:hover {
        background: #059669;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.4);
        text-decoration: none;
        color: white;
    }
}

/* Minimal Breadcrumb */
@media (min-width: 769px) {
    .desktop-breadcrumb {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0.8rem 1rem;
        margin-bottom: 1rem;
    }
    
    .desktop-breadcrumb ol {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8rem;
        color: #6b7280;
    }
    
    .desktop-breadcrumb a {
        color: #6b7280;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .desktop-breadcrumb a:hover {
        color: #1f2937;
    }
    
    .desktop-breadcrumb .breadcrumb-separator {
        color: #d1d5db;
        font-size: 0.7rem;
    }
    
    .desktop-breadcrumb .breadcrumb-current {
        color: #1f2937;
        font-weight: 500;
    }
}

/* Minimal Main Content */
@media (min-width: 769px) {
    .desktop-main-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .desktop-content-section {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }
    
    .desktop-content-section:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px);
    }
    
    .desktop-content-section h2 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 0.5rem;
    }
    
    .desktop-content-section h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 32px;
        height: 2px;
        background: #374151;
        border-radius: 1px;
    }
    
    .desktop-content-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #4b5563;
        margin-bottom: 1rem;
    }
}

/* Lock Overlay Enhancements */
.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 0.5rem;
    backdrop-filter: blur(2px);
}

.lock-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 300px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { 
        transform: translateY(100%); 
    }
    to { 
        transform: translateY(0); 
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Enhanced Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Info Card Enhancements */
.info-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.info-card.green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.info-card.blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.info-card.purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #d8b4fe;
}

.info-card.orange {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-color: #fdba74;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Typography */
@media (max-width: 640px) {
    .mobile-title {
        font-size: 1.25rem;
    }
    
    .mobile-subtitle {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .desktop-title {
        font-size: 2rem;
    }
    
    .desktop-subtitle {
        font-size: 1.125rem;
    }
}

/* Feature List Enhancements */
.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #f1f5f9;
    transform: translateX(-2px);
}

.feature-item i {
    color: #10b981;
    margin-left: 0.5rem;
}

/* Minimal Price Display */
.price-display {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.price-display:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #374151;
    border-radius: 12px 12px 0 0;
}

.price-display .price-header {
    background: #f9fafb;
    padding: 1rem 1.25rem 0.75rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.price-display .price-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: #374151;
    border-radius: 1px;
}

.price-display .price-content {
    padding: 1.25rem;
    background: #ffffff;
}

.price-display .price-main {
    margin-bottom: 1rem;
}

.price-display .price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
    font-family: 'Shabnam', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.price-display .price-currency {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-display .price-deposit {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 1rem;
    position: relative;
}

.price-display .price-deposit::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 1px;
    background: #6b7280;
    border-radius: 8px 8px 0 0;
}

.price-display .deposit-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-display .deposit-amount {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
}

.price-display .price-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #374151;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.price-display .price-nightly {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.price-display .price-nightly .price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-display .price-nightly .price-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
}

.price-display .price-nightly .price-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e40af;
}

.price-display .price-nightly .price-currency {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e40af;
    margin-right: 0.25rem;
}

.price-display .price-footer {
    background: #f9fafb;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
}

/* Minimal Contact Card */
.contact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #10b981;
    border-radius: 12px 12px 0 0;
}

.contact-card .contact-header {
    background: #f0fdf4;
    padding: 1rem 1.25rem 0.75rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.contact-card .contact-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: #10b981;
    border-radius: 1px;
}

.contact-card .contact-content {
    padding: 1.25rem;
    background: #ffffff;
}

.contact-card .contact-icon {
    width: 48px;
    height: 48px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: #10b981;
    font-size: 18px;
}

.contact-card .contact-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-card .contact-button {
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
    gap: 0.75rem;
}

.contact-card .contact-button:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: white;
}

.contact-card .contact-button i {
    font-size: 12px;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .info-card {
        border-width: 2px;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border-width: 2px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mobile-header {
        background: rgba(17, 24, 39, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-price-card {
        background: #1f2937;
        border-top-color: #374151;
    }
}
