/* Root Variables - Airbnb Inspired */
:root {
    --primary-color: #FF385C;
    --secondary-color: #222222;
    --accent-color: #00A699;
    --dark-color: #222222;
    --light-color: #FFFFFF;
    --gray-light: #F7F7F7;
    --gray-medium: #717171;
    --gray-border: #DDDDDD;
    --text-color: #222222;
    --text-light: #717171;
    --border-color: #DDDDDD;
    --shadow: 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-lg: 0 6px 20px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 28px rgba(0,0,0,0.16);
    --transition: all 0.2s cubic-bezier(0.35,0.57,0.39,1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--light-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; font-weight: 600; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 500; }

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    display: none;
}

/* Buttons - Airbnb Style */
.btn {
    display: inline-block;
    padding: 14px 24px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    background: linear-gradient(to right, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
}

.btn-primary:hover {
    background: linear-gradient(to right, #D61E4D 0%, #D31C5F 50%, #C70466 100%);
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--gray-light);
    border-color: var(--text-color);
    transform: translateY(-2px);
}

/* Navigation - Airbnb Style */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--gray-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 100%;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - Carl's Hafen Style */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.2)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 24px;
}

.hero-header {
    margin-bottom: 24px;
}

.hero-header h1 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars i {
    color: var(--primary-color);
    font-size: 12px;
}

.rating-number {
    font-weight: 600;
}

.rating-separator {
    color: var(--text-light);
}

.review-count,
.location {
    color: var(--text-color);
    text-decoration: underline;
    cursor: pointer;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-meta-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-meta-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.hero-meta-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

.hero .btn-primary {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.hero .btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.gallery-main {
    grid-column: span 2;
    grid-row: span 2;
    position: relative;
    overflow: hidden;
}

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

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-grid {
    grid-column: span 2;
    grid-row: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-light);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-last .gallery-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.btn-show-photos {
    background: white;
    border: 1px solid var(--text-color);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-show-photos:hover {
    background: var(--gray-light);
}

/* Host Info */
.host-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-border);
}

.host-avatar i {
    font-size: 40px;
    color: var(--text-light);
}

.host-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.host-details p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Right Booking Panel */
.hero-right {
    position: sticky;
    top: 100px;
}

.booking-panel {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    background: white;
}

.booking-header {
    margin-bottom: 24px;
}

.price {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-color);
}

.price-unit {
    font-size: 16px;
    color: var(--text-light);
    margin-left: 4px;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-dates {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.date-input,
.time-inputs {
    display: flex;
}

.date-input {
    border-bottom: 1px solid var(--gray-border);
}

.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.time-input:first-child {
    border-right: 1px solid var(--gray-border);
}

.date-input label,
.time-input label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-input,
.time-input {
    padding: 12px;
    flex: 1;
}

.date-input input,
.time-input input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
    background: transparent;
}

.guests-input {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.guests-input label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guests-input select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
    background: transparent;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.booking-notice {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin: 16px 0 0 0;
}


/* Services Section - Airbnb Style */
.services {
    padding: 48px 24px;
    background: white;
    border-top: 1px solid var(--gray-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.service-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    text-align: left;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    margin-top: 16px;
}

.service-features li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 12px;
}

/* Facilities Section - Airbnb Style */
.facilities {
    padding: 48px 24px;
    background: var(--light-color);
    border-top: 1px solid var(--gray-border);
}

.facility-info {
    margin-bottom: 3rem;
}

.info-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    min-width: 180px;
}

.info-item i {
    font-size: 1.25rem;
    color: var(--text-light);
    min-width: 20px;
}

.info-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.info-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Carl's Hafen Inspired Masonry Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 16px;
    margin: 48px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    background: var(--gray-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Mixed Heights - Masonry Style */
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(7) { grid-row: span 2; }
.gallery-item:nth-child(10) { grid-row: span 2; }
.gallery-item:nth-child(13) { grid-row: span 2; }
.gallery-item:nth-child(16) { grid-row: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay i {
    font-size: 14px;
    color: var(--text-color);
}

.features-list {
    margin-top: 3rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 5px;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.tour-360 {
    text-align: center;
    margin-top: 3rem;
}

/* Equipment Section */
.equipment {
    padding: 80px 0;
    background: white;
}

.equipment-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.equipment-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.equipment-category h3 i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.equipment-grid {
    display: grid;
    gap: 1rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 5px;
}

.equipment-item i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--light-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price .duration {
    display: block;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card .features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card .features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
    text-align: center;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--light-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form h3,
.contact-info h3 {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.info-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .equipment-tabs,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

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

.loader {
    border: 3px solid var(--light-color);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* 360° Tour Modal Styles */
.tour360-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.tour360-content {
    background: white;
    border-radius: 15px;
    max-width: 95vw;
    max-height: 95vh;
    width: 1200px;
    height: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.tour360-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tour360-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.tour360-close {
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    padding: 5px;
    border-radius: 50%;
}

.tour360-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.tour360-body {
    flex: 1;
    position: relative;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour360-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    color: var(--text-color);
}

.loader-spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.tour360-loading p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

#tour360Iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#tour360Iframe.loaded {
    opacity: 1;
}

.tour360-footer {
    background: var(--light-color);
    padding: 15px 30px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    text-align: center;
}

.tour360-footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tour360-footer i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* 360° Tour Button Enhancement */
.tour-360 .btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
}

.tour-360 .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.tour-360 .btn-secondary:hover::before {
    left: 100%;
}

.tour-360 .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

/* Responsive Design for 360° Tour */
@media (max-width: 768px) {
    .tour360-content {
        width: 95vw;
        height: 90vh;
        margin: 0;
    }
    
    .tour360-header {
        padding: 15px 20px;
    }
    
    .tour360-header h3 {
        font-size: 1.2rem;
    }
    
    .tour360-close {
        font-size: 25px;
    }
    
    .tour360-footer {
        padding: 10px 20px;
    }
    
    .tour360-footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .tour360-modal {
        padding: 10px;
    }
    
    .tour360-content {
        border-radius: 10px;
        height: 85vh;
    }
    
    .tour360-header h3 {
        font-size: 1rem;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
    }
}

/* 360° Tour Error State */
.loader-error {
    text-align: center;
    color: #fff;
    max-width: 400px;
    margin: 0 auto;
}

.loader-error p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.loader-error p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.loader-error button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.loader-error button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.loader-error button.btn-secondary {
    background: #6c757d;
    margin-left: 10px;
}

.loader-error button.btn-secondary:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        min-height: 500px;
        max-height: 600px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

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

    .hero-meta {
        gap: 1rem;
    }

    .booking-panel {
        width: 350px;
    }
}

/* Mobile-First Responsive Design - Airbnb Style */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar .container {
        padding: 12px 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        top: 100%;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 16px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-border);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 500px;
        max-height: none;
        height: 70vh;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-meta-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        margin-bottom: 0;
        border-radius: 15px;
        text-align: center;
    }

    .hero-meta-item i {
        font-size: 0.9rem;
        margin-right: 0.25rem;
    }

    .hero-meta-item span {
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    /* Services Mobile */
    .services {
        padding: 32px 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    /* Facilities Mobile */
    .facilities {
        padding: 32px 16px;
    }
    
    .info-grid {
        flex-direction: column;
        gap: 12px;
    }
    
    .info-item {
        min-width: auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        grid-auto-rows: 200px;
        gap: 12px;
    }

    /* Simpler mobile masonry */
    .gallery-item:nth-child(odd) { grid-row: span 1; }
    .gallery-item:nth-child(even) { grid-row: span 1; }
    .gallery-item:nth-child(3n) { grid-row: span 2; }
    
    /* Equipment Mobile */
    .equipment {
        padding: 32px 16px;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Mobile */
    .contact {
        padding: 32px 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }

    .hero-meta-item {
        padding: 0.3rem 0.4rem;
        font-size: 0.7rem;
        border-radius: 12px;
        text-align: center;
    }

    .hero-meta-item i {
        font-size: 0.8rem;
        margin-right: 0.2rem;
    }

    .hero-meta-item span {
        font-size: 0.65rem;
        font-weight: 500;
        display: block;
        margin-top: 0.1rem;
    }

    .hero .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: auto;
        max-width: 160px;
        margin: 0 auto;
        display: block;
        border-radius: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 8px;
    }

    .gallery-item {
        grid-row: span 1 !important;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
}

/* Additional Airbnb-inspired enhancements */
.sticky-header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--gray-border);
    z-index: 100;
    padding: 16px 0;
}

.section-divider {
    border-bottom: 1px solid var(--gray-border);
    margin: 48px 0;
}

/* Smooth scrolling improvements */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

/* Footer - Simplified Airbnb Style */
.footer {
    background: var(--light-color);
    border-top: 1px solid var(--gray-border);
    padding: 32px 0;
    margin-top: 48px;
}

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

.footer-center {
    text-align: center;
}

.footer-center p {
    margin: 0 0 16px 0;
    color: var(--text-light);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Legal Modal - Airbnb Style */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.legal-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.legal-modal-close:hover {
    background: var(--gray-light);
    color: var(--text-color);
}

.legal-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.legal-modal-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-modal-body ul {
    color: var(--text-light);
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-modal-body li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-modal-body strong {
    color: var(--text-color);
    font-weight: 600;
}

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

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

/* Mobile responsive for legal modal */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .legal-modal-header {
        padding: 20px 24px;
    }
    
    .legal-modal-body {
        padding: 24px;
    }
    
    .footer-legal {
        gap: 16px;
    }
    
    .footer-legal a {
        font-size: 13px;
    }
}