/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Global Body Styles */
body {
    position: relative;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Orientation Responsive Styles */
@media screen and (orientation: landscape) {
    body {
        min-height: 100vh;
    }
    
    /* Adjust menu position for landscape */
    .page-menu {
        top: 15px;
        right: 15px;
    }
    
    .menu-toggle {
        width: 45px;
        height: 45px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 3px;
    }
    
    .menu-dropdown {
        top: 50px;
        min-width: 180px;
    }
    
    .menu-dropdown a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (orientation: portrait) {
    body {
        min-height: 100vh;
    }
    
    /* Adjust menu position for portrait */
    .page-menu {
        top: 20px;
        right: 20px;
    }
    
    .menu-toggle {
        width: 50px;
        height: 50px;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 3px;
    }
    
    .menu-dropdown {
        top: 55px;
        min-width: 200px;
    }
    
    .menu-dropdown a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Device-specific orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    /* Very short landscape screens (mobile landscape) */
    .page-menu {
        top: 10px;
        right: 10px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .menu-toggle span {
        width: 20px;
        height: 2.5px;
    }
    
    .menu-dropdown {
        top: 45px;
        min-width: 160px;
    }
    
    .menu-dropdown a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 400px) and (orientation: portrait) {
    /* Very narrow portrait screens */
    .page-menu {
        top: 15px;
        right: 15px;
    }
    
    .menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    .menu-dropdown {
        min-width: 180px;
    }
}

/* Mobile Phone Responsive Styles */
@media screen and (max-width: 480px) {
    /* General mobile adjustments */
    body {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Mobile menu adjustments */
    .page-menu {
        top: 10px;
        right: 10px;
    }
    
    .menu-toggle {
        width: 45px;
        height: 45px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 3px;
    }
    
    .menu-dropdown {
        top: 50px;
        min-width: 160px;
        right: -10px;
    }
    
    .menu-dropdown a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile touch targets */
    .menu-toggle,
    .menu-dropdown a,
    .back-to-top {
        min-height: 44px;
        min-width: 44px;
    }
}

@media screen and (max-width: 360px) {
    /* Small mobile phones */
    .page-menu {
        top: 8px;
        right: 8px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .menu-toggle span {
        width: 20px;
        height: 2.5px;
    }
    
    .menu-dropdown {
        top: 45px;
        min-width: 140px;
        right: -5px;
    }
    
    .menu-dropdown a {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 320px) {
    /* Very small mobile phones */
    .page-menu {
        top: 5px;
        right: 5px;
    }
    
    .menu-toggle {
        width: 38px;
        height: 38px;
    }
    
    .menu-toggle span {
        width: 18px;
        height: 2.5px;
    }
    
    .menu-dropdown {
        top: 43px;
        min-width: 120px;
        right: 0;
    }
    
    .menu-dropdown a {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* Mobile landscape specific adjustments */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .page-menu {
        top: 8px;
        right: 8px;
    }
    
    .menu-toggle {
        width: 42px;
        height: 42px;
    }
    
    .menu-dropdown {
        top: 47px;
        min-width: 150px;
    }
}

/* Mobile portrait specific adjustments */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .page-menu {
        top: 12px;
        right: 12px;
    }
    
    .menu-toggle {
        width: 48px;
        height: 48px;
    }
    
    .menu-dropdown {
        top: 53px;
        min-width: 170px;
    }
}

/* Page Menu Styles */
.page-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: transparent;
    padding: 0;
}

.menu-toggle {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.menu-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.menu-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.menu-dropdown a:hover::before {
    width: 100%;
}

.menu-dropdown a:hover {
    color: #ffd700;
    padding-left: 2rem;
}

.menu-dropdown a.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

/* Responsive Menu */
@media (max-width: 768px) {
    .page-menu {
        top: 15px;
        right: 15px;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
    }

    .menu-toggle span {
        width: 18px;
    }

    .menu-dropdown {
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .page-menu {
        top: 10px;
        right: 10px;
    }

    .menu-toggle {
        width: 30px;
        height: 30px;
    }

    .menu-toggle span {
        width: 16px;
    }

    .menu-dropdown {
        min-width: 160px;
    }

    .menu-dropdown a {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Global Section Spacing */
section {
    margin: 0;
    position: relative;
}

section:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.3) 80%, transparent 100%);
    z-index: 1;
}

/* Responsive section spacing */
@media (max-width: 768px) {
    section:not(:first-child)::before {
        width: 85%;
        height: 1px;
    }
}

@media (max-width: 480px) {
    section:not(:first-child)::before {
        width: 85%;
        height: 1px;
    }
}

/* Section 1: Hero Header */
@keyframes slideBackground {
    0% { transform: translateY(0); } /* Changed to transform for better performance */
    50% { transform: translateY(50%); }
    100% { transform: translateY(100%); }
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/background/barb.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    animation: slideBackground 15s infinite alternate ease-in-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* Section 2 & 4: Two Column Layout */
.two-column {
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.media-placeholder {
    background: #f0f0f0;
    border-radius: 10px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
}

/* Section 3: Countdown Timer */
.countdown {
    background: #2c3e50;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.timer-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    min-width: 150px;
}

.timer-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/* Section 3.1: Travel */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.small-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
}

/* Section 3.3: Destination */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

/* Section 3.5: Destination */
.destination {
    background: #f4f4f4;
    padding: 5rem 2rem;
    text-align: center;
}

.destination h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.destination-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-item h3 {
    font-size: 1.5rem;
    margin: 1rem;
    color: #333;
}

.destination-item p {
    font-size: 1rem;
    margin: 0 1rem 1rem;
    color: #666;
}

/* Section 5: CTA Columns */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.cta-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.05rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.cta-column {
    text-align: center;
    background: #f9f9f9;
    padding: 3rem;
    margin: 0 auto;
    border-radius: 10px;
    max-width: 800px;
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    width: 580px;
    height: 350px;
}

.cta-column::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 0;
}

.cta-column h3,
.cta-column p,
.cta-column a,
.cta-column div {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-row h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
        padding: 3rem 1rem;
    }

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

    .timer {
        gap: 1rem;
    }

    .timer-item {
        min-width: 120px;
        padding: 1.5rem;
    }

    .timer-number {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    .two-column {
        max-width: 98vw !important;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    section {
        padding: 2rem 0.5rem;
    }
    .carousel, .carousel-3d {
        max-width: 98vw;
        height: 220px;
    }
    .carousel-card {
        width: 90vw;
        max-width: 340px;
        height: 180px;
    }
}

@media (max-width: 900px) {
    .two-column {
        max-width: 99vw !important;
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    section {
        padding: 1.5rem 0.3rem;
    }
    .carousel, .carousel-3d {
        max-width: 99vw;
        height: 160px;
    }
    .carousel-card {
        width: 98vw;
        max-width: 260px;
        height: 120px;
    }
    .info-card {
        padding: 1.2rem;
    }
    .section-title {
        font-size: 1.2rem;
        padding: 1rem 0 0.5rem 0;
    }
    .hero-content {
        max-width: 99vw;
        padding: 1.2rem 0.5rem;
    }
    .hero-title {
        font-size: 7vw;
    }
    .hero-subtitle {
        font-size: 3vw;
    }
}

@media (max-width: 600px) {
    section {
        padding: 0.8rem 0.1rem;
    }
    .two-column {
        max-width: 100vw !important;
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .carousel, .carousel-3d {
        max-width: 100vw;
        height: 180px;
    }
    .carousel-card {
        width: 96vw;
        max-width: 320px;
        height: 160px;
        opacity: 1 !important;
        box-shadow: 0 4px 24px rgba(44,62,80,0.18);
    }
    .carousel-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }
    .info-card {
        padding: 0.7rem;
    }
    .section-title {
        font-size: 0.9rem;
        padding: 0.5rem 0 0.3rem 0;
    }
    .hero-content {
        max-width: 100vw;
        padding: 0.7rem 0.1rem;
    }
    .hero-title {
        font-size: 9vw;
    }
    .hero-subtitle {
        font-size: 4vw;
    }
}

@media (orientation: portrait) {
    .two-column, .destination-grid, .cta-columns {
        grid-template-columns: 1fr !important;
        max-width: 100vw !important;
    }
    .carousel, .carousel-3d {
        height: 120px;
    }
    .carousel-card {
        height: 80px;
    }
}

@media (orientation: landscape) {
    .carousel, .carousel-3d {
        height: 180px;
    }
    .carousel-card {
        height: 120px;
    }
}

/* Vendor Prefixes for Keyframes */
@-webkit-keyframes slideBackground {
    0% { transform: translateY(0); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(100%); }
}

/* ========== Itinerary Page (loaded only when needed via .page-itinerary) ========== */
body.page-itinerary {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
body.page-itinerary::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    z-index: -2;
}
body.page-itinerary::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(51, 51, 51, 0.8) 100%);
    z-index: -1;
}
body.page-itinerary section {
    margin: 0;
    position: relative;
}
body.page-itinerary section:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.3) 80%, transparent 100%);
    z-index: 1;
}
body.page-itinerary .section-1 {
    min-height: 100vh;
    background: url('./images/background/bg1.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem;
}
body.page-itinerary .section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
}
body.page-itinerary .section-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}
body.page-itinerary .section-1-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}
body.page-itinerary .section-1 h1 {
    font-size: 4rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #ffffff;
}
body.page-itinerary .section-1 p {
    font-size: 1.5rem;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}
body.page-itinerary .notice-box {
    background: transparent;
    padding: 3rem;
    margin-top: 3rem;
}
body.page-itinerary .notice-box h2 {
    font-size: 2.5rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 1.5rem;
    color: #ffd700;
}
body.page-itinerary .notice-box p {
    font-size: 1.3rem;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 1rem;
}
body.page-itinerary .stay-glued {
    font-size: 1.8rem;
    font-family: 'Caveat', cursive;
    color: #ffd700;
    font-weight: bold;
    margin-top: 1.5rem;
}
body.page-itinerary .event-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
body.page-itinerary .event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.page-itinerary .event-item:last-child {
    border-bottom: none;
}
body.page-itinerary .event-label {
    font-weight: bold;
    color: #ffd700;
    font-size: 1.1rem;
    min-width: 100px;
    font-family: 'Advent Pro', sans-serif;
}
body.page-itinerary .event-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Advent Pro', sans-serif;
}
body.page-itinerary .detailed-itinerary-container {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    text-align: center;
    color: #ffffff;
}
body.page-itinerary .detailed-itinerary-container h2 {
    font-size: 2.8rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}
body.page-itinerary .detailed-itinerary-container p {
    font-size: 1.5rem;
    font-family: 'Advent Pro', sans-serif;
    color: #e0e0e0;
    line-height: 1.8;
}
body.page-itinerary .itinerary-intro {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    font-style: italic;
}
body.page-itinerary .itinerary-day {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}
body.page-itinerary .day-header {
    font-size: 1.5rem;
    font-family: 'Caveat', cursive;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Calendar / Outlook theme */
body.page-itinerary .itinerary-calendar {
    max-width: 920px;
    margin: 0 auto;
    text-align: left;
}
body.page-itinerary .calendar-month-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
body.page-itinerary .calendar-month-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.page-itinerary .itinerary-day.calendar-day {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
body.page-itinerary .calendar-day-header {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-height: 72px;
}
body.page-itinerary .calendar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.6rem 1rem;
    background: rgba(255,215,0,0.12);
    border-right: 1px solid rgba(255,255,255,0.15);
}
body.page-itinerary .cal-day-num {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    font-family: 'Advent Pro', sans-serif;
}
body.page-itinerary .cal-month {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,215,0,0.95);
    margin-top: 2px;
}
body.page-itinerary .cal-weekday {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.75);
    margin-top: 2px;
}
body.page-itinerary .calendar-day-theme {
    flex: 1;
    font-size: 1.25rem;
    font-family: 'Caveat', cursive;
    color: #fff;
    padding: 0 1.25rem;
    font-weight: 600;
}
body.page-itinerary .calendar-events {
    width: 100%;
    display: flex;
    flex-direction: column;
}
body.page-itinerary .time-block.calendar-event {
    display: flex;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 52px;
}
body.page-itinerary .time-block.calendar-event:last-child {
    border-bottom: none;
}
body.page-itinerary .calendar-event-time {
    min-width: 100px;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.15);
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: flex-start;
}
body.page-itinerary .time-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
body.page-itinerary .calendar-event-body {
    flex: 1;
    padding: 0.75rem 1.25rem;
}
body.page-itinerary .calendar-event-body .event-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.35rem;
}
body.page-itinerary .time-block {
    margin-bottom: 1.25rem;
}
body.page-itinerary .time-block:last-child {
    margin-bottom: 0;
}
body.page-itinerary .time-block-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
body.page-itinerary .time-block-content {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.7;
}
body.page-itinerary .time-block-content p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #e0e0e0;
}
body.page-itinerary .option-list {
    list-style: none;
    padding-left: 0;
    margin: 0.4rem 0 0 0;
}
body.page-itinerary .option-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.35rem;
}
body.page-itinerary .option-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255,215,0,0.9);
}
body.page-itinerary .price-tag {
    color: rgba(255,215,0,0.95);
    font-weight: 600;
}
body.page-itinerary .covered-badge {
    color: #ffd700;
    font-weight: 600;
}
body.page-itinerary .dress-code-note {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}
body.page-itinerary .note-inline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-top: 0.35rem;
}
body.page-itinerary .section-3,
body.page-itinerary .section-4 {
    min-height: 100vh;
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    display: flex;
    align-items: center;
    padding: 2rem;
}
body.page-itinerary .section-3-container,
body.page-itinerary .section-4-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}
body.page-itinerary .section-3 h2 {
    font-size: 4rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 3rem;
    line-height: 1.2;
}
body.page-itinerary .section-4-row1 {
    margin-bottom: 4rem;
}
body.page-itinerary .accommodation-title {
    font-size: 3.2rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
}
body.page-itinerary .title-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    margin: 1rem auto 1.5rem auto;
    border-radius: 2px;
}
body.page-itinerary .section-4-row1 h3 {
    font-size: 3rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 2rem;
    color: #ffffff;
}
body.page-itinerary .section-4-row1 p {
    font-size: 1.3rem;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}
body.page-itinerary .visit-pestana-section {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
}
body.page-itinerary .visit-pestana-button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}
body.page-itinerary .visit-pestana-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
body.page-itinerary .section-4-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
body.page-itinerary .section-4-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.page-itinerary .section-4-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
body.page-itinerary .section-4-card h3 {
    font-size: 1.8rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 1rem;
    color: #ffffff;
}
body.page-itinerary .section-4-card p {
    font-size: 1rem;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
}
body.page-itinerary .section-4-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}
body.page-itinerary .section-3-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: center;
}
body.page-itinerary .section-3-text {
    text-align: left;
}
body.page-itinerary .section-3-text h3 {
    font-size: 2.5rem;
    font-family: 'Caveat', cursive;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
body.page-itinerary .section-3-text p {
    font-size: 1.2rem;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
}
body.page-itinerary .section-3-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}
body.page-itinerary .carousel-container {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-in-out;
}
body.page-itinerary .carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
body.page-itinerary .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
body.page-itinerary .carousel-item.active {
    transform: translateZ(0) scale(1);
    z-index: 10;
}
body.page-itinerary .carousel-item.prev {
    transform: translateX(-80px) translateZ(-50px) scale(0.9);
    z-index: 5;
}
body.page-itinerary .carousel-item.next {
    transform: translateX(80px) translateZ(-50px) scale(0.9);
    z-index: 5;
}
body.page-itinerary .carousel-item.hidden {
    transform: translateX(-200px) translateZ(-100px) scale(0.7);
    opacity: 0.3;
}
body.page-itinerary .carousel-item.hidden-right {
    transform: translateX(200px) translateZ(-100px) scale(0.7);
    opacity: 0.3;
}
body.page-itinerary .carousel-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
body.page-itinerary .carousel-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}
body.page-itinerary .carousel-nav button.active {
    background: rgba(255, 255, 255, 0.8);
}
body.page-itinerary .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}
body.page-itinerary .back-to-top.show {
    opacity: 1;
    visibility: visible;
}
body.page-itinerary .back-to-top:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}
body.page-itinerary .back-to-top svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    body.page-itinerary section:not(:first-child)::before {
        width: 85%;
        height: 1px;
    }
    body.page-itinerary .section-1 { padding: 1rem; }
    body.page-itinerary .section-1 h1 { font-size: 3rem; }
    body.page-itinerary .section-1 p { font-size: 1.2rem; }
    body.page-itinerary .notice-box { padding: 2rem; margin-top: 2rem; }
    body.page-itinerary .notice-box h2 { font-size: 2rem; }
    body.page-itinerary .notice-box p { font-size: 1.1rem; }
    body.page-itinerary .stay-glued { font-size: 1.5rem; }
    body.page-itinerary .event-details { margin-top: 1.5rem; gap: 0.8rem; }
    body.page-itinerary .event-item { padding: 0.6rem 0; }
    body.page-itinerary .event-label { font-size: 1rem; min-width: 80px; }
    body.page-itinerary .event-value { font-size: 1rem; }
    body.page-itinerary .detailed-itinerary-container { max-width: 100%; padding: 0 0.5rem; }
    body.page-itinerary .itinerary-day { padding: 1.25rem 1rem; }
    body.page-itinerary .itinerary-day.calendar-day { flex-direction: column; }
    body.page-itinerary .calendar-date { min-width: 60px; padding: 0.5rem; }
    body.page-itinerary .cal-day-num { font-size: 1.5rem; }
    body.page-itinerary .calendar-day-theme { font-size: 1.1rem; padding: 0 1rem; }
    body.page-itinerary .calendar-event-time { min-width: 85px; padding: 0.6rem 0.75rem; }
    body.page-itinerary .calendar-event-body { padding: 0.6rem 1rem; }
    body.page-itinerary .day-header { font-size: 1.35rem; }
    body.page-itinerary .section-3 { padding: 1rem; min-height: auto; }
    body.page-itinerary .section-3 h2 { font-size: 3rem; margin-bottom: 2rem; }
    body.page-itinerary .section-3-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    body.page-itinerary .section-3-text { text-align: center; }
    body.page-itinerary .section-3-text h3 { font-size: 2.5rem; }
    body.page-itinerary .section-3-text p { font-size: 1.1rem; }
    body.page-itinerary .section-3-carousel { height: 400px; max-width: 350px; margin: 0 auto; }
    body.page-itinerary .carousel-container { width: 300px; height: 300px; }
    body.page-itinerary .carousel-item.prev { transform: translateX(-40px) translateZ(-30px) scale(0.8); }
    body.page-itinerary .carousel-item.next { transform: translateX(40px) translateZ(-30px) scale(0.8); }
    body.page-itinerary .carousel-item.hidden { transform: translateX(-120px) translateZ(-60px) scale(0.6); }
    body.page-itinerary .carousel-item.hidden-right { transform: translateX(120px) translateZ(-60px) scale(0.6); }
    body.page-itinerary .section-4 { padding: 1.2rem; }
    body.page-itinerary .accommodation-title { font-size: 2.8rem; }
    body.page-itinerary .section-4-row1 h3 { font-size: 2.5rem; }
    body.page-itinerary .section-4-row1 p { font-size: 1.1rem; }
    body.page-itinerary .section-4-content { grid-template-columns: 1fr; gap: 2rem; }
    body.page-itinerary .section-4-card { padding: 1.5rem; }
    body.page-itinerary .section-4-card h3 { font-size: 1.5rem; }
    body.page-itinerary .back-to-top { bottom: 20px; right: 20px; width: 35px; height: 35px; }
    body.page-itinerary .back-to-top svg { width: 14px; height: 14px; }
}
@media (max-width: 480px) {
    body.page-itinerary .section-1 h1 { font-size: 2.5rem; }
    body.page-itinerary .section-1 p { font-size: 1.1rem; }
    body.page-itinerary .notice-box { padding: 1.5rem; margin-top: 1.5rem; }
    body.page-itinerary .notice-box h2 { font-size: 1.8rem; }
    body.page-itinerary .notice-box p { font-size: 1rem; }
    body.page-itinerary .stay-glued { font-size: 1.3rem; }
    body.page-itinerary .section-4 { padding: 0.8rem; }
    body.page-itinerary .accommodation-title { font-size: 2.4rem; }
    body.page-itinerary .section-4-row1 h3 { font-size: 2rem; }
    body.page-itinerary .section-4-row1 p { font-size: 1rem; }
    body.page-itinerary .section-4-card { padding: 1rem; }
    body.page-itinerary .section-4-card h3 { font-size: 1.3rem; }
    body.page-itinerary .calendar-date { min-width: 52px; padding: 0.4rem 0.5rem; }
    body.page-itinerary .cal-day-num { font-size: 1.35rem; }
    body.page-itinerary .cal-month { font-size: 0.65rem; }
    body.page-itinerary .cal-weekday { font-size: 0.65rem; }
    body.page-itinerary .calendar-day-theme { font-size: 1rem; padding: 0 0.75rem; }
    body.page-itinerary .calendar-event-time { min-width: 72px; padding: 0.5rem 0.5rem; }
    body.page-itinerary .time-label { font-size: 0.7rem; }
    body.page-itinerary .calendar-event-body { padding: 0.5rem 0.75rem; font-size: 0.95rem; }
    body.page-itinerary .section-3 h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
    body.page-itinerary .section-3-carousel { height: 350px; max-width: 280px; }
    body.page-itinerary .carousel-container { width: 250px; height: 250px; }
    body.page-itinerary .carousel-item.prev { transform: translateX(-30px) translateZ(-20px) scale(0.75); }
    body.page-itinerary .carousel-item.next { transform: translateX(30px) translateZ(-20px) scale(0.75); }
    body.page-itinerary .carousel-item.hidden { transform: translateX(-80px) translateZ(-40px) scale(0.5); }
    body.page-itinerary .carousel-item.hidden-right { transform: translateX(80px) translateZ(-40px) scale(0.5); }
    body.page-itinerary .carousel-nav { bottom: -40px; }
    body.page-itinerary .carousel-nav button { width: 10px; height: 10px; }
    body.page-itinerary .back-to-top { bottom: 15px; right: 15px; width: 30px; height: 30px; }
    body.page-itinerary .back-to-top svg { width: 12px; height: 12px; }
}
@media screen and (orientation: landscape) {
    body.page-itinerary .section-1 { min-height: 100vh; padding: 1rem; }
    body.page-itinerary .section-1::after { background: rgba(0, 0, 0, 0.7); }
    body.page-itinerary .section-1-container { padding: 2rem 1rem; max-width: 800px; }
    body.page-itinerary .section-1 h1 { font-size: 2.5rem; margin-bottom: 1rem; }
    body.page-itinerary .section-1 p { font-size: 1rem; margin-bottom: 2rem; }
    body.page-itinerary .notice-box { padding: 2rem; border-radius: 15px; }
    body.page-itinerary .notice-box h2 { font-size: 2rem; margin-bottom: 1rem; }
    body.page-itinerary .notice-box p { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }
    body.page-itinerary .stay-glued { font-size: 1.2rem; margin-top: 1.5rem; }
}
@media screen and (max-height: 500px) and (orientation: landscape) {
    body.page-itinerary .section-1 { min-height: 100vh; padding: 0.5rem; }
    body.page-itinerary .section-1-container { padding: 1rem 0.5rem; max-width: 600px; }
    body.page-itinerary .section-1 h1 { font-size: 2rem; margin-bottom: 0.5rem; }
    body.page-itinerary .section-1 p { font-size: 0.9rem; margin-bottom: 1rem; }
    body.page-itinerary .notice-box { padding: 1.5rem; border-radius: 10px; }
    body.page-itinerary .notice-box h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
    body.page-itinerary .notice-box p { font-size: 0.9rem; line-height: 1.4; margin-bottom: 0.8rem; }
    body.page-itinerary .stay-glued { font-size: 1rem; margin-top: 1rem; }
}
@media screen and (orientation: portrait) {
    body.page-itinerary .section-1 { min-height: 100vh; padding: 2rem; }
    body.page-itinerary .section-1-container { padding: 3rem 2rem; max-width: 1000px; }
    body.page-itinerary .section-1 h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
    body.page-itinerary .section-1 p { font-size: 1.2rem; margin-bottom: 3rem; }
    body.page-itinerary .notice-box { padding: 3rem; border-radius: 20px; }
    body.page-itinerary .notice-box h2 { font-size: 3rem; margin-bottom: 1.5rem; }
    body.page-itinerary .notice-box p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.5rem; }
    body.page-itinerary .stay-glued { font-size: 1.5rem; margin-top: 2rem; }
}
@media screen and (max-width: 480px) {
    body.page-itinerary .section-1 { min-height: 100vh; padding: 1rem; }
    body.page-itinerary .section-1::after { background: rgba(0, 0, 0, 0.7); }
    body.page-itinerary .section-1-container { padding: 2rem 1rem; max-width: 100%; width: 100%; box-sizing: border-box; }
    body.page-itinerary .section-1 h1 { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1.2; }
    body.page-itinerary .section-1 p { font-size: 1rem; margin-bottom: 2rem; }
    body.page-itinerary .notice-box { padding: 2rem; border-radius: 15px; margin: 0; width: 100%; box-sizing: border-box; }
    body.page-itinerary .notice-box h2 { font-size: 2rem; margin-bottom: 1rem; }
    body.page-itinerary .notice-box p { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }
    body.page-itinerary .stay-glued { font-size: 1.2rem; margin-top: 1.5rem; }
}
@media screen and (max-width: 360px) {
    body.page-itinerary .section-1 { padding: 0.8rem; }
    body.page-itinerary .section-1-container { padding: 1.5rem 0.8rem; width: 100%; box-sizing: border-box; }
    body.page-itinerary .section-1 h1 { font-size: 2rem; margin-bottom: 0.8rem; }
    body.page-itinerary .section-1 p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    body.page-itinerary .notice-box { padding: 1.5rem; border-radius: 12px; margin: 0; width: 100%; box-sizing: border-box; }
    body.page-itinerary .notice-box h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
    body.page-itinerary .notice-box p { font-size: 0.9rem; line-height: 1.4; margin-bottom: 0.8rem; }
    body.page-itinerary .stay-glued { font-size: 1.1rem; margin-top: 1.2rem; }
    body.page-itinerary .section-3 { padding: 0.5rem; }
    body.page-itinerary .section-3-container { padding: 0 0.3rem; }
    body.page-itinerary .section-3-carousel { height: 300px; max-width: 250px; }
    body.page-itinerary .carousel-container { width: 200px; height: 200px; }
    body.page-itinerary .carousel-item.prev { transform: translateX(-20px) translateZ(-15px) scale(0.7); }
    body.page-itinerary .carousel-item.next { transform: translateX(20px) translateZ(-15px) scale(0.7); }
    body.page-itinerary .carousel-item.hidden { transform: translateX(-60px) translateZ(-30px) scale(0.4); }
    body.page-itinerary .carousel-item.hidden-right { transform: translateX(60px) translateZ(-30px) scale(0.4); }
}
@media screen and (max-width: 320px) {
    body.page-itinerary .section-1 { padding: 0.6rem; }
    body.page-itinerary .section-1-container { padding: 1rem 0.6rem; width: 100%; box-sizing: border-box; }
    body.page-itinerary .section-1 h1 { font-size: 1.8rem; margin-bottom: 0.6rem; }
    body.page-itinerary .section-1 p { font-size: 0.8rem; margin-bottom: 1rem; }
    body.page-itinerary .notice-box { padding: 1rem; border-radius: 10px; margin: 0; width: 100%; box-sizing: border-box; }
    body.page-itinerary .notice-box h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
    body.page-itinerary .notice-box p { font-size: 0.8rem; line-height: 1.3; margin-bottom: 0.6rem; }
    body.page-itinerary .stay-glued { font-size: 1rem; margin-top: 1rem; }
    body.page-itinerary .section-3 { padding: 0.3rem; }
    body.page-itinerary .section-3-container { padding: 0 0.2rem; }
    body.page-itinerary .section-3 h2 { font-size: 2rem; margin-bottom: 1rem; }
    body.page-itinerary .section-3-text h3 { font-size: 1.5rem; }
    body.page-itinerary .section-3-text p { font-size: 0.9rem; }
    body.page-itinerary .section-3-carousel { height: 250px; max-width: 200px; }
    body.page-itinerary .carousel-container { width: 180px; height: 180px; }
    body.page-itinerary .carousel-item.prev { transform: translateX(-15px) translateZ(-10px) scale(0.65); }
    body.page-itinerary .carousel-item.next { transform: translateX(15px) translateZ(-10px) scale(0.65); }
    body.page-itinerary .carousel-item.hidden { transform: translateX(-40px) translateZ(-20px) scale(0.35); }
    body.page-itinerary .carousel-item.hidden-right { transform: translateX(40px) translateZ(-20px) scale(0.35); }
    body.page-itinerary .carousel-nav { bottom: -30px; }
    body.page-itinerary .carousel-nav button { width: 8px; height: 8px; }
}

