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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fef5e7;
    min-height: 100vh;
    color: #2c3e50;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="sunset" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%23ff9a56"/><stop offset="50%" style="stop-color:%23ff6b6b"/><stop offset="100%" style="stop-color:%234ecdc4"/></linearGradient></defs><rect width="1200" height="600" fill="url(%23sunset)"/><path d="M0,400 Q300,350 600,400 T1200,400 L1200,600 L0,600 Z" fill="%23006994" opacity="0.8"/><circle cx="100" cy="100" r="60" fill="%23ffd93d" opacity="0.9"/><path d="M50,300 Q100,200 150,300" fill="none" stroke="%232a9d8f" stroke-width="40"/><path d="M1000,350 Q1050,250 1100,350" fill="none" stroke="%232a9d8f" stroke-width="40"/></svg>'); */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/img/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

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

.tagline {
    font-size: 1.5rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Itinerary Container */
.itinerary-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.itinerary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Day Column */
.day-column {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.day-header {
    background: linear-gradient(135deg, #006994 0%, #2a9d8f 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.day-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.day-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.day-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.day-content {
    padding: 25px;
}

.itinerary-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.itinerary-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 600;
    color: #006994;
    font-size: 1.0rem;
}

.icon {
    font-size: 1.2rem;
    text-align: center;
}

.activity {
    color: #34495e;
    line-height: 1.4;
}

/* Floating Chat Button */
.news-fab {
    position: fixed;
    top: 20px;
    right: 100px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5b6 0%, #0116b7 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

/* Floating Chat Button */
.chat-fab {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bb8719b6 0%, #720000 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}




/* Floating Plan 1 Button */
.plan1-fab {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #faff70 0%, #959c2a 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

/* Floating Plan 2 Button */
.plan2-fab {
    position: fixed;
    top: 20px;
    left: 100px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #faff70 0%, #959c2a 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.plan2-fab:hover .news-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Floating Availability Button */
.availability-fab {
    position: fixed;
    top: 20px;
    left: 180px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5b6 0%, #0116b7 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.availability-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Availability Modal */
.availability-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.availability-modal.hidden {
    display: none;
}

.availability-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal {
  position: fixed;
  inset: 0;        
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Plans Modal */
.plan1-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan2-modal {
  position: fixed;
  inset: 0;        
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
/* Card */
.plan1-modal .plan2-modal .modal-content {
  position: relative;
  background: #fff;
  width: min(92vw, 640px);
  max-height: min(90vh, 720px); /* key: cap height */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;       /* let body scroll inside */
  overflow: hidden;             /* keep rounded corners while body scrolls */
}


/* Header with close button */
.plan1-modal .plan2-modal .modal-header. .news-modal {
  padding: 0px 5px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#plan2-modal-close {
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Scrollable area */
.plan2-modal .modal-body {
  padding: 5px;
  /* background-color:rgb(249, 255, 226); */
  overflow-y: auto;             /* key: scrolls when content is tall */
}

/* Optional: nicer list spacing */
.plan2-modal .modal-body ul {
  padding-left: 1rem;
  margin: .5rem 0 0;
}

/*
.plan2-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
*/
.plan1-modal.hidden {
    display: none;
}
.plan2-modal.hidden {
    display: none;
}
.news-modal.hidden {
    display: none;
}

.plan1-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
/*
.plan2-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
*/
/* Dim the background */
#plan2-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.plan1-modal-close {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.news-modal-close {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.plan2-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}


/* Email Modal */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    color: #006994;
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 2rem;
}

.modal-content p {
    margin-top: 0px;
    margin-bottom: 10px;
    background-color: #f4fc84;
    color: #555;
}

#email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#email-input {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#email-input:focus {
    outline: none;
    border-color: #2a9d8f;
}

#email-form button {
    padding: 15px;
    background: linear-gradient(135deg, #006994 0%, #2a9d8f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

#email-form button:hover {
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 15px;
}

/* Responsive Design */
@media (min-width: 768px) and (orientation: landscape) {
    .itinerary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .itinerary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .tagline {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .plan1-fab {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 20px;
    }
    
    .plan2-fab {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 90px;
    }

    .availability-fab {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 160px;
    }
   
    .chat-fab {
        width: 50px;
        height: 50px;
        top: 5px;
        right: 20px;
    }

    .news-fab {
        width: 50px;
        height: 50px;
        top: 5px;
        right: 90px;
    }
    .itinerary-item {
        grid-template-columns: 60px  1fr;
        gap: 10px;
    }
}

/* Item Detail Modal */
.item-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-detail-modal.hidden {
    display: none;
}

.item-detail-modal .modal-content {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.item-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

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

.item-detail-header h2 {
    color: #006994;
    font-size: 1.8rem;
    margin: 0;
}

.item-detail-info {
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    margin-bottom: 15px;
    align-items: baseline;
}

.detail-label {
    font-weight: 600;
    color: #555;
    width: 80px;
}

.detail-value {
    color: #333;
    font-size: larger;
    flex: 1;
}

.detail-description {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.detail-description h3 {
    color: #006994;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.detail-description p {
    color: #444;
    line-height: 1.6;
    white-space: pre-wrap;
}

.btn-close {
    width: 100%;
    padding: 12px;
    background: #006994;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-close:hover {
    background: #005a7d;
}

/* Make itinerary items clickable */
.itinerary-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.itinerary-item:hover {
    background-color: #f0f9f8;
}

/* Success Message */
.success-message {
    background-color: #2a9d8f;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #006994;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Loading States */
.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
}

/* Email verification message */
.email-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}
.email-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    margin: 8px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.email-button:hover {
    background-color: #0056b3;
}

.slideshow-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 4px;
}

.slideshow-btn:hover {
    background-color: #0056b3;
}