* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; line-height: 1.6; background: #f8f9fa; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: rgba(0,0,0,0.85); color: white; position: fixed; width: 100%; top: 0; z-index: 1000; backdrop-filter: blur(10px); }
.logo { font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; }
.logo span { color: #00b4d8; }
.nav-links { display: flex; list-style: none; gap: 1.5rem; }
.nav-links a { color: white; text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: #00b4d8; }
.lang-switch { display: flex; gap: 0.3rem; }
.lang-btn { background: transparent; border: 1px solid #00b4d8; color: white; padding: 0.3rem 0.6rem; border-radius: 4px; cursor: pointer; }
.lang-btn.active { background: #00b4d8; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

.hero { height: 100vh; background: linear-gradient(rgba(0,119,182,0.6), rgba(0,180,216,0.4)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding-top: 80px; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 3.2rem; margin-bottom: 1rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 2rem; }
.search-container { display: flex; max-width: 500px; margin: 0 auto; background: white; border-radius: 50px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.search-container input { flex: 1; padding: 1rem 1.5rem; border: none; outline: none; font-size: 1rem; }
.search-container button { background: #00b4d8; border: none; color: white; padding: 0 1.5rem; cursor: pointer; font-size: 1.2rem; }

.islands-section, .featured-section, .contact-section { padding: 5rem 0; }
.featured-section { background: white; }
.islands-section h2, .featured-section h2, .about-section h2, .contact-section h2 { text-align: center; font-family: 'Playfair Display', serif; font-size: 2.4rem; margin-bottom: 2rem; color: #0077b6; }
.filters { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { padding: 0.7rem 1.4rem; border: 2px solid #00b4d8; background: white; color: #00b4d8; border-radius: 25px; cursor: pointer; transition: all 0.3s; font-weight: 600; }
.filter-btn.active, .filter-btn:hover { background: #00b4d8; color: white; }
.islands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.island-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.island-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.island-card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { color: #0077b6; margin-bottom: 0.5rem; }
.badge { display: inline-block; padding: 0.3rem 0.8rem; background: #90e0ef; color: #0077b6; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }

.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.featured-card { position: relative; border-radius: 15px; overflow: hidden; height: 280px; }
.featured-card img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 1.5rem; }

.about-section { padding: 5rem 0; background: linear-gradient(135deg, #0077b6, #00b4d8); color: white; text-align: center; }
.about-section p { max-width: 800px; margin: 1rem auto; font-size: 1.1rem; }

.contact-section { background: #f0f8ff; text-align: center; }
.email-display { font-size: 1.4rem; margin: 1rem 0; }
.email-display a { color: #0077b6; text-decoration: none; font-weight: 600; }

footer { background: #023e8a; color: white; padding: 2rem 0; text-align: center; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.footer-content a { color: #90e0ef; }
.socials a { color: white; font-size: 1.5rem; margin: 0 0.5rem; }

/* Chat Widget */
#chatWidget { position: fixed; bottom: 20px; right: 20px; z-index: 1500; }
.chat-toggle { background: #8b4513; color: white; border: none; border-radius: 50px; padding: 12px 20px; cursor: pointer; font-weight: 600; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 8px; }
.chat-panel { display: none; position: absolute; bottom: 70px; right: 0; width: 340px; background: white; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); overflow: hidden; flex-direction: column; max-height: 500px; }
.chat-panel.open { display: flex; }
.chat-header { background: #8b4513; color: white; padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; }
.agent-info { display: flex; align-items: center; gap: 10px; }
.agent-avatar { width: 40px; height: 40px; border-radius: 50%; }
.chat-header button { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.chat-messages { flex: 1; padding: 15px; overflow-y: auto; max-height: 280px; background: #f9f9f9; }
.message { margin-bottom: 12px; }
.message.agent .bubble { background: white; border: 1px solid #eee; padding: 10px 14px; border-radius: 18px 18px 18px 4px; max-width: 80%; }
.message.user .bubble { background: #e3f2fd; padding: 10px 14px; border-radius: 18px 18px 4px 18px; margin-left: auto; max-width: 80%; }
.chat-form { padding: 12px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 8px; }
.chat-form input, .chat-form textarea { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }
.chat-form button { background: #00b4d8; color: white; border: none; padding: 10px; border-radius: 6px; cursor: pointer; font-weight: 600; }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); overflow: auto; }
.modal-content { background: white; margin: 5% auto; padding: 2rem; border-radius: 15px; max-width: 800px; position: relative; }
.close { position: absolute; right: 1.5rem; top: 1rem; font-size: 2rem; cursor: pointer; color: #666; }
.modal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.modal-header img { width: 80px; height: 50px; object-fit: cover; border-radius: 5px; }
.attractions-list { list-style: none; margin-top: 1rem; }
.attractions-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.attractions-list li::before { content: "🏝️ "; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2rem; }
    .islands-grid { grid-template-columns: 1fr; }
    .chat-panel { width: 300px; }
}