/* CSS Variables */
:root {
    --primary-color: #00a6fb;
    --secondary-color: #0582ca;
    --accent-color: #40e0d0;
    --gradient-start: #00a6fb;
    --gradient-end: #40e0d0;
    --dark-bg: #1a1a2e;
    --light-bg: #f8fdff;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 166, 251, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 166, 251, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Location Section Styles */
.location-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 166, 251, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 166, 251, 0.3);
    box-shadow: 0 10px 30px rgba(0, 166, 251, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.feature-content h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 166, 251, 0.1);
}

.map-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
}

.map-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.map-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.map-footer {
    padding: 1.5rem;
    background: rgba(248, 253, 255, 0.8);
}

.transport-info {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.transport-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .transport-info {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .map-header {
        padding: 1rem;
    }
    
    .map-footer {
        padding: 1rem;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
    background: #128C7E;
}

.whatsapp-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 15px;
        left: 15px;
    }
}

/* Footer Slideshow */
.apartment-slideshow {
    text-align: center;
}

.apartment-slideshow h5 {
    margin-bottom: 15px;
    color: white;
}

.slideshow-container {
    position: relative;
    width: 200px;
    height: 120px;
    margin: 0 auto 10px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide.active {
    opacity: 1;
}

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

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
}

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

/* Amenities Section - Clean & Readable Design */
.amenities-section {
    background: var(--dark-bg);
    position: relative;
}

/* Popular Highlights - Clean & Visible */
.popular-highlights {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    color: #2c3e50;
    transition: all 0.3s ease;
    min-height: 60px;
}

.highlight-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 166, 251, 0.3);
}

.highlight-item:hover i {
    color: white;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Clean Accordion */
.amenities-accordion .accordion-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.amenities-accordion .accordion-button {
    background: white;
    color: #2c3e50;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.amenities-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    box-shadow: none;
}

.amenities-accordion .accordion-button:not(.collapsed) .item-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.amenities-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 166, 251, 0.25);
}

.amenities-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c3e50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    font-size: 1.2rem;
}

.amenities-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.item-count {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(0, 166, 251, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.amenities-accordion .accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Clean Grid for Amenities */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.compact-grid span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 10px;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    min-height: 50px;
}

.compact-grid span:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 166, 251, 0.2);
}

.compact-grid span:hover i {
    color: white;
}

.compact-grid span i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .compact-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-highlights {
        padding: 1.5rem;
    }
    
    .amenities-accordion .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .amenities-accordion .accordion-body {
        padding: 1rem;
    }
    
    .highlight-item {
        padding: 0.75rem 1rem;
        min-height: 50px;
    }
    
    .highlight-item i {
        font-size: 1.25rem;
    }
    
    .highlight-item span {
        font-size: 0.9rem;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 166, 251, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.brand-text {
    color: var(--primary-color);
}

.brand-accent {
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.btn-book {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Language Switcher */
.language-switcher {
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 5;
    pointer-events: none;
}

.hero-content {
    color: white;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-weight: 300;
}

.title-accent {
    display: block;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #e0f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

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

.hero-rating {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    color: var(--text-dark);
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rating-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rating-reviews {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Apartment Section */
.apartment-section {
    padding: 5rem 0;
}

.apartment-gallery {
    position: relative;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.thumb-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumb-img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.apartment-details {
    height: 100%;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.detail-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.detail-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Amenities Section */
.amenities-section {
    background: var(--light-bg);
}

.amenity-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

.amenity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.amenity-icon i {
    font-size: 2rem;
    color: white;
}

.amenity-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.amenity-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.location-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
}

.location-item div {
    flex: 1;
}

.location-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.location-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location-rating {
    margin-top: 2rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    border-radius: 15px;
}

/* Reviews Section */
.reviews-section {
    background: var(--light-bg);
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

.review-rating {
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Booking Section */
.booking-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-bg), rgba(64, 224, 208, 0.05));
}

.booking-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.booking-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.booking-header h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.booking-header p {
    color: var(--text-muted);
}

.booking-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.booking-form .form-control,
.booking-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 251, 0.25);
}

.booking-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-item i {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
}

.footer-brand h3 {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

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

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

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .amenity-card,
    .review-card {
        margin-bottom: 2rem;
    }
    
    /* Mobile Rating Card Adjustments */
    .rating-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .rating-score {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .rating-label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .rating-reviews {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .rating-stars {
        font-size: 1rem;
    }
}


/* Desktop - Original Layout */
@media (min-width: 769px) {
    .mobile-rating {
        display: none !important;
    }
    
    .desktop-rating {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 70px;
        min-height: calc(100vh - 100px);
    }
    
    .hero .row {
        height: auto;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-bottom: 0;
    }
    
    .mobile-rating {
        display: block !important;
        width: 100% !important;
        margin-top: 1rem !important;
        position: relative !important;
    }
    
    .desktop-rating {
        display: none !important;
    }
    
    .rating-card {
        width: 100%;
        max-width: none;
        padding: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .rating-score {
        font-size: 2.5rem;
    }
    
    .rating-text {
        text-align: left;
        flex-grow: 1;
        margin-left: 1rem;
    }
    
    .rating-stars {
        margin-left: auto;
    }
    
    .gallery-thumbs {
        grid-template-columns: 1fr;
    }
    
    .booking-card {
        padding: 2rem 1.5rem;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .amenity-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding: 3rem 0; }
.px-3 { padding: 0 1rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

@media (min-width: 768px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
    .d-md-flex { display: flex; }
}

/* Smooth transitions for all interactive elements */
a, button, .btn, .card, .nav-link {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
