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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #2c7873;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --dark-color: #264653;
    --light-color: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 70vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/homepage.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px; /* increased to better accommodate rotated phones */
    padding: 20px;
}

/* Site name (moved into hero) */
.hero h1 {
    font-size: 2.4rem; /* slightly smaller than before, but prominent */
    margin-bottom: 8px;
    animation: fadeInUp 1s ease;
}

.hero .hero-title {
    font-size: 1.6rem; /* tagline size */
    margin-bottom: 18px;
    animation: fadeInUp 1s ease 0.05s backwards;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

/* Buttons */
.btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

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

.btn-secondary {
    background: var(--primary-color);
    color: var(--white) !important;
    border: 2px solid var(--primary-color);
    text-decoration: none;
}

.btn-secondary:hover {
    background: color-mix(in srgb, var(--primary-color) 80%, black 20%);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
}

/* Unified features styles */
.services-features {
    padding: 60px 0;
    background: var(--light-color);
}

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

.feature-card {
    background: var(--white);
    padding: 22px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-card h3 {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--dark-color);
}

.feature-card p {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    /* removed background to show only the icon design */
    background: transparent;
    border-radius: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Ensure SVGs use stroke-only style and scale nicely */
.feature-icon[aria-hidden="true"] {
    width: 44px;
    height: 44px;
}

.feature-icon {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
} 

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Rooms Section */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.room-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.room-gallery {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.room-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.room-img.active {
    opacity: 1;
}

.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

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

.gallery-btn:hover {
    background: var(--white);
}

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

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

.room-details {
    padding: 30px;
}

.room-details h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.room-meta {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.room-amenities {
    list-style: none;
    margin-bottom: 25px;
}

.room-amenities li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.room-amenities li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Services Section */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
}

/* Map Sections */
.map-section {
    background: var(--white);
}

.map-section:nth-child(even) {
    background: var(--light-color);
}

.map-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

/* Weather and Beach Section */
.weather-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.weather-card,
.recommendation-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.weather-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-icon {
    font-size: 4rem;
    transition: transform 0.5s ease;
}

.weather-details p {
    margin: 5px 0;
    color: var(--text-light);
}

.wind-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.recommendation-card {
    text-align: center;
}

.recommendation-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.beach-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.beach-reason {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews {
    padding: 40px 0;
}

.review-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
    color: var(--white);
}

.review-section h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.review-subtext {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-links {
    margin-top: 20px;
}

.review-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.review-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* POI Categories and Items */
.poi-map-section {
    padding: 60px 0;
    background: var(--light-color);
}

.poi-map-section h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
}

.poi-map-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.poi-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 0 10px;
}

.poi-filter-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.poi-filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(44, 120, 115, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.poi-filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.poi-filter-btn:hover,
.poi-filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 120, 115, 0.3);
}

.poi-categories {
    margin-top: 40px;
}

.poi-category {
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease-out;
}

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

.poi-category h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    padding-left: 8px;
    border-left: 5px solid var(--primary-color);
}

.poi-category h3 .icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(44, 120, 115, 0.1);
    border-radius: 8px;
    padding: 6px;
}

/* Map and List Container */
.map-list-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 30px;
    align-items: start;
}

/* Interactive POI List */
.poi-interactive-list {
    height: 600px;
    overflow-y: auto;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: #2c7873 #f0f4f8;
}
.poi-interactive-list::-webkit-scrollbar { width: 5px; }
.poi-interactive-list::-webkit-scrollbar-track { background: #f0f4f8; border-radius: 4px; }
.poi-interactive-list::-webkit-scrollbar-thumb { background: #2c7873; border-radius: 4px; }

.poi-list-item {
    background: white;
    padding: 14px 16px;
    border-radius: 10px;
    border-left: 4px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.poi-list-item:hover {
    border-left-color: var(--primary-color);
    box-shadow: 0 3px 12px rgba(44, 120, 115, 0.15);
    transform: translateX(3px);
}

.poi-list-item.selected {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(44, 120, 115, 0.08) 0%, rgba(44, 120, 115, 0.03) 100%);
    box-shadow: 0 3px 15px rgba(44, 120, 115, 0.2);
}

.poi-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.poi-list-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.poi-list-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poi-list-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

.poi-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.poi-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.poi-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.poi-item:hover::before {
    height: 100%;
}

.poi-item:hover {
    box-shadow: 0 6px 20px rgba(44, 120, 115, 0.15);
    transform: translateY(-3px) translateX(2px);
    border-left-color: var(--secondary-color);
}

.poi-item h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.poi-item .poi-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
    font-style: italic;
    line-height: 1.4;
}

.poi-item .poi-address {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.poi-item .poi-address::before {
    content: '📍';
    font-size: 0.7rem;
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

/* Compact Contact Layout */
.contact-compact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.contact-details {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item-compact .contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.5;
}

.contact-value a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--primary-color);
}

.contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1fb855;
}

.social-links-compact {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon.facebook {
    background: #1877f2;
    color: white;
}

.social-icon.facebook:hover {
    background: #145dbf;
    transform: scale(1.1);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.social-icon.instagram:hover {
    transform: scale(1.1);
}

.contact-map {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.social-btn.whatsapp:hover {
    background: #1ea952;
    transform: translateX(5px);
}

.social-btn.facebook {
    background: #1877F2;
    color: var(--white);
}

.social-btn.facebook:hover {
    background: #145dbf;
    transform: translateX(5px);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-btn.instagram:hover {
    transform: translateX(5px);
    opacity: 0.9;
}

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

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ── Main page mobile improvements ── */

/* Sections breathe less on mobile */
@media (max-width: 640px) {
    section { padding: 52px 0; }
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.55rem; }
    .section-header p { font-size: 0.95rem; }
    .divider { margin: 14px auto; }

    /* Hero */
    .hero { height: auto; min-height: 60vh; padding: 80px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero .hero-title { font-size: 1.1rem; }
    .hero p { font-size: 0.95rem; }

    /* Rooms — single column, smaller gallery */
    .rooms-grid { grid-template-columns: 1fr; gap: 24px; }
    .room-gallery { height: 220px; }
    .room-details { padding: 20px; }
    .room-details h3 { font-size: 1.4rem; }

    /* Features — 2-col grid */
    .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .feature-card { padding: 16px 14px; }
    .feature-card h3 { font-size: 0.9rem; margin-top: 8px; }
    .feature-card p { font-size: 0.82rem; }
    .feature-icon { width: 36px; height: 36px; }

    /* POI map section */
    .poi-map-section { padding: 48px 0; }
    .poi-map-section h2 { font-size: 1.5rem; margin-bottom: 28px; }
    .poi-filters { gap: 6px; padding: 0 8px; }
    .poi-filter-btn { padding: 9px 14px; font-size: 0.82rem; }
    .map-list-container { grid-template-columns: 1fr; gap: 16px; }
    .map-container { height: 340px; }
    .poi-interactive-list { max-height: 300px; order: 2; }

    /* Contact */
    .contact-compact { grid-template-columns: 1fr; }
    .contact-map { height: 280px; }
    .contact-actions { flex-direction: column; }
    .contact-actions .btn { width: 100%; text-align: center; }

    /* Reviews */
    .review-section { padding: 28px 18px; }
    .review-section h3 { font-size: 1.3rem; }
    .review-btn { padding: 11px 22px; font-size: 0.9rem; width: 100%; text-align: center; box-sizing: border-box; }

    /* Lang buttons smaller */
    .lang-btn { padding: 5px 8px !important; font-size: 1rem !important; }

    /* Nav brand */
    .nav-brand img { width: 38px; height: 38px; }
}

/* Responsive Design */
@media (max-width: 900px) {
    /* Hide the full nav/menu: we replace it with a single visible login button */
    .nav-menu {
        display: none !important;
    }

    .hamburger {
        display: none !important; /* remove hamburger on mobile per request */
    }

    /* show prominent mobile login button */
    .mobile-login {
        display: inline-block;
        margin-left: 10px;
        padding: 8px 12px;
        font-size: 0.95rem; /* slightly increased to remain legible on larger rotated screens */
        border-radius: 6px;
    }

    .nav-brand {
        flex: 1 1 auto;
        min-width: 0; /* allow text to truncate instead of pushing other items */
        font-size: 1.05rem; /* reduce brand size on small screens */
    }

    .brand-name {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.95rem; /* keep site name readable without overflowing */
    }

    /* New site title styles (site name lives in hero now) */
    .hero .site-name {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 8px;
        display: block;
        color: var(--white); /* keep site name visible on dark hero */
    }

    .hero .hero-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
        color: var(--white);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px; /* ensure menu appears just below navbar */
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        z-index: 1250; /* ensure menu overlays content */
    }

    .nav-menu.active {
        left: 0;
    }

    /* make flags smaller and keep them to the right of the brand */
    .language-switcher {
        margin-left: auto; /* push language switcher to the right */
        gap: 6px;
        z-index: 1100;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 1.15rem;
        border-width: 1px;
    }

    /* ensure hamburger is above other elements */
    .hamburger {
        z-index: 1300;
        position: relative; /* keep it on top */
    }
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .rooms-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile: Stack map and list vertically */
    .map-list-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .poi-interactive-list {
        max-height: 400px;
        order: 2;
    }

    /* Mobile: Stack contact info and map vertically */
    .contact-compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-map {
        height: 350px;
    }

    .contact-actions {
        flex-direction: column;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .weather-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }

    .poi-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .poi-map-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .poi-map-section h2::after {
        width: 60px;
        height: 3px;
        margin-top: 12px;
    }

    .poi-category h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
        padding-left: 6px;
        border-left-width: 4px;
    }

    .poi-category h3 .icon {
        width: 28px;
        height: 28px;
    }

    .poi-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .poi-item {
        padding: 12px 14px;
    }

    .poi-item h4 {
        font-size: 0.9rem;
    }

    .poi-item .poi-desc {
        font-size: 0.75rem;
    }

    .poi-item .poi-address {
        font-size: 0.7rem;
    }

    /* Mobile-optimized filter buttons */
    .poi-filters {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .poi-filter-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px; /* WCAG touch target */
    }

    /* Mobile typography improvements */
    .nav-brand {
        font-size: 1rem;
    }

    .poi-list-item {
        padding: 16px;
        min-height: 60px;
    }

    .poi-list-name {
        font-size: 0.9rem;
    }

    .poi-list-desc {
        font-size: 0.78rem;
    }

    /* Mobile: Hide old POI categories, show only interactive list */
    .poi-categories {
        display: none;
    }

    /* Mobile contact improvements */
    .contact-details {
        padding: 20px;
    }

    .contact-item-compact {
        padding: 12px 0;
    }

    .social-links-compact {
        justify-content: center;
        padding-top: 10px;
    }
}

@media (max-width: 400px) {
    .poi-map-section h2 {
        font-size: 1.6rem;
    }

    .poi-category h3 {
        font-size: 1.2rem;
        gap: 10px;
    }

    .poi-list {
        grid-template-columns: 1fr;
    }

    /* Smaller filter buttons with wrap */
    .poi-filters {
        gap: 6px;
    }

    .poi-filter-btn {
        padding: 10px 14px;
        font-size: 0.82rem;
        min-height: 44px;
    }

    /* Very small screens: improve layouts */
    .section-header h2 {
        font-size: 1.4rem;
    }

    .map-list-container {
        gap: 15px;
    }

    .poi-interactive-list {
        max-height: 350px;
        padding: 12px;
        gap: 8px;
    }

    .poi-list-item {
        padding: 12px 14px;
    }

    .contact-details {
        padding: 18px;
        gap: 16px;
    }

    .contact-actions {
        gap: 10px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    /* Improve map readability on very small screens */
    .map-container {
        height: 350px;
    }

    .contact-map {
        height: 300px;
    }

    .brand-name {
        display: none; /* brand moved into hero, hide if still present */
    }

    .logo {
        width: 36px;
        height: 36px;
    }

    .mobile-login {
        font-size: 0.85rem; /* slightly smaller touch target on very small screens */
        padding: 6px 10px;
    }

    .language-switcher {
        gap: 4px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .room-details {
        padding: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Mobile: Optimize room cards */
    .room-gallery {
        height: 250px;
    }

    .room-content {
        padding: 20px;
    }

    .room-features {
        gap: 10px;
        font-size: 0.85rem;
    }

    /* Mobile: Optimize hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.room-card:hover .room-img.active {
    animation: pulse 2s infinite;
}

/* Leaflet Map Custom Styles */
.custom-marker {
    animation: markerBounce 0.5s ease;
}

@keyframes markerBounce {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    margin: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-popup-content b {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Enhanced Map Controls for Mobile */
.leaflet-control-zoom a {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 24px !important;
}

.leaflet-control-fullscreen a {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 20px !important;
}

.leaflet-center-home {
    width: 40px;
    height: 40px;
    font-size: 20px;
    background: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.leaflet-center-home:hover {
    background: #f4f4f4;
    transform: scale(1.05);
}

.leaflet-container.leaflet-fullscreen-on {
    width: 100% !important;
    height: 100% !important;
}

.leaflet-popup-content a {
    color: var(--accent-color);
    font-weight: 600;
}

.leaflet-popup-content a:hover {
    text-decoration: underline;
}

/* Custom map markers */
.custom-marker {
    font-size: 1.5rem;
    text-align: center;
    line-height: 30px;
}

/* SVG Icons for features */
.feature-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    color: var(--primary-color);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
}

/* Guest Modal Styles */
.guest-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.guest-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.guest-info-content {
    max-width: 900px;
}

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

.guest-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.guest-modal-close:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

.guest-modal-content h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.guest-modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Guest Login Form */
#guest-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#guest-password {
    padding: 15px;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#guest-password:focus {
    outline: none;
    border-color: var(--primary-color);
}

.guest-login-help {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Guest Info Sections */
.guest-info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.guest-info-section {
    background: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.guest-info-section.emergency {
    border-left-color: var(--accent-color);
    background: #fff5f5;
}

.guest-info-section h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.guest-info-section p {
    margin: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.guest-info-section ul {
    list-style: none;
    padding: 0;
}

.guest-info-section ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
}

.guest-info-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Small security note style */
.security-note {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.guest-info-section a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Availability Request Form */
.availability-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
}

/* Room Gallery Enhancement */
.room-gallery {
    position: relative;
    cursor: zoom-in;
}

.room-gallery:hover::after {
    content: '🔍 Click to zoom';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Mobile Responsiveness for New Features */
@media (max-width: 900px) {
    .guest-modal-content {
        padding: 30px 20px;
    }

    .guest-info-sections {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .guest-modal-content h2 {
        font-size: 1.5rem;
    }

    .guest-info-section {
        padding: 20px;
    }
}

/* Waste Collection Calendar Styles */
.waste-calendar {
    margin: 60px 0 40px 0;
    background: var(--light-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 40px 0;
}
.waste-calendar .section-header {
    text-align: center;
    margin-bottom: 30px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    justify-items: center;
    align-items: start;
    margin: 0 auto;
    max-width: 900px;
}
.calendar-day {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44, 120, 115, 0.08);
    padding: 18px 8px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    min-height: 120px;
    transition: box-shadow 0.2s;
}
.calendar-day:hover {
    box-shadow: 0 4px 16px rgba(44, 120, 115, 0.18);
}
.calendar-day-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: center;
}
.calendar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}
.calendar-icon svg {
    width: 38px;
    height: 38px;
    stroke: var(--secondary-color);
    background: none;
}
@media (max-width: 900px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .calendar-day {
        min-width: 0;
        width: 100%;
    }
}
