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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0ea5e9;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #0ea5e9;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-right: 2rem;
    background: #f3f4f6;
    border-radius: 25px;
    padding: 0.25rem;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.lang-btn.active {
    background: #0ea5e9;
    color: white;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
}

.lang-btn:hover:not(.active) {
    background: #e5e7eb;
    color: #374151;
}

/* Hero Section with Carousel */
.hero {
    margin-top: 80px;
    position: relative;
    height: 70vh;
    min-height: 500px;
}

.carousel-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

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

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #374151;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

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

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

.indicator.active,
.indicator:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    z-index: 10;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.location i {
    color: #ef4444;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
}

.price .period {
    font-size: 1rem;
    color: #6b7280;
}

/* Main Content */
.main {
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Description Section */
.description h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: #e0f7fa;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-item div {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    font-weight: 600;
    color: #1f2937;
}

.feature-item span {
    color: #6b7280;
    font-size: 0.9rem;
}

.description-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.description-text p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

/* Amenities */
.amenities {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.amenities h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.amenity-item i {
    width: 30px;
    height: 30px;
    background: #e0f7fa;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.amenity-item span {
    color: #4b5563;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 100px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    width: 100%;
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Footer */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0ea5e9;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section i {
    width: 16px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-selector {
        margin-right: 1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .burger-menu {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero-content {
        bottom: 20px;
        left: 10px;
        right: 10px;
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .price .amount {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-form {
        position: static;
    }
    .availability-section h2 {
        font-size: 2rem;
    }

    .calendar-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .current-month {
        font-size: 1.4rem;
    }

    .calendar-day {
        padding: 0.5rem;
        min-height: 40px;
        font-size: 0.9rem;
    }

    .calendar-legend {
        gap: 1rem;
    }

    .legend-item {
        font-size: 0.8rem;
    }

    .legend-color {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .description h2 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    .amenities,
    .contact-form {
        padding: 1.5rem;
    }
    .calendar-day {
        padding: 0.3rem;
        min-height: 35px;
        font-size: 0.8rem;
    }

    .calendar-day-header {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

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

.description,
.amenities,
.contact-form {
    animation: fadeIn 0.6s ease-out;
}

/* Hover effects */
.amenity-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: -0.5rem;
    padding: 1rem;
}

.amenity-item:hover {
    background: rgba(14, 165, 233, 0.05);
    transform: translateX(5px);
}

.feature-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: -0.5rem;
    padding: 1rem;
}

.feature-item:hover {
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
}

/* Availability Calendar */
.availability-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: #f8fafc;
    border-radius: 20px;
}

.availability-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

.sync-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.sync-status i {
    color: #0ea5e9;
}

.sync-recent {
    color: #10b981;
}

.sync-old {
    color: #f59e0b;
}

.sync-never {
    color: #ef4444;
}

.btn-sync {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-sync:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-sync:active {
    transform: translateY(0);
}

.calendar-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.calendar-nav {
    background: #0ea5e9;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #0284c7;
    transform: scale(1.1);
}

.current-month {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.calendar-day-header {
    background: #374151;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-day {
    background: #ffffff;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.calendar-day:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: #9ca3af;
    background: #f9fafb;
}

.calendar-day.available {
    background: #ecfdf5;
    color: #065f46;
    border: 2px solid transparent;
}

.calendar-day.available:hover {
    background: #d1fae5;
    border-color: #10b981;
}

.calendar-day.booked {
    background: #fef2f2;
    color: #991b1b;
    cursor: not-allowed;
}

.calendar-day.booked:hover {
    background: #fef2f2;
    transform: none;
}

.calendar-day.selected {
    background: #0ea5e9;
    color: white;
    font-weight: 700;
}

.calendar-day.in-range {
    background: #e0f7fa;
    color: #0891b2;
}

.calendar-day.unavailable {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.calendar-day.unavailable:hover {
    background: #f3f4f6;
    transform: none;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
}

.legend-color.available {
    background: #ecfdf5;
    border-color: #10b981;
}

.legend-color.booked {
    background: #fef2f2;
    border-color: #ef4444;
}

.legend-color.selected {
    background: #0ea5e9;
    border-color: #0ea5e9;
}

.legend-color.unavailable {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.selection-info {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.selection-info h4 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.selection-details {
    margin-bottom: 1.5rem;
}

.selection-details p {
    margin: 0.5rem 0;
    color: #374151;
}

.btn-reserve {
    background: #10b981;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.btn-reserve:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
