/* Macao Landing Page - Main Styles */
/* CSS Variables */
:root {
    /* Color Variables - Macao Theme */
    --primary-red: #DC143C;
    --dark-blue: #07213a;
    --accent-yellow: #fff260;
    --white: #ffffff;
    /* Font Variables */
    --font-primary: Alexandria, sans-serif;
}

/* Base Styles */
* {
    font-family: var(--font-primary);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
}

/* Font Utility Classes */
.font-primary {
    font-family: var(--font-primary);
}


/* Hero Section - AI Art Gallery Style Slider */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slider .slick-list,
.hero-slider .slick-track {
    height: 100vh;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    outline: none;
}

/* Smooth horizontal slide transition */
.hero-slider .slick-slide {
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    text-align: right;
    color: white;
    padding: 0 3rem 2rem 2rem;
    opacity: 0;
}

/* Staggered Content Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.hero-text {
    text-align: left;
    font-size: 4rem;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-family: var(--font-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: slideInFromLeft 1.2s ease-out 0.8s both;
}

.hero-text h1 {
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

.hero-text h2 {
    font-family: var(--font-fallback);
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-left: 5rem;;
    margin-bottom: 1.5rem;
    animation: slideInFromLeft 1.2s ease-out 0.8s both;
}

.hero-caption {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    max-width: 700px;
    line-height: 1.8;
    font-weight: 300;
    animation: slideInFromRight 1.2s ease-out 1s both;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slider Controls - Modern Design */
.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-indicators {
    display: flex;
    gap: 1rem;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.slider-indicator::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.slider-indicator.active {
    background-color: white;
    transform: scale(1.5);
}

.slider-indicator.active::before {
    border-color: rgba(255, 255, 255, 0.3);
}

.slider-indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-arrow {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.slider-arrow:active {
    transform: scale(0.95);
}

/* Hero CTA Button */
.hero-cta {
    display: inline-block;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.hero-btn {
    background: linear-gradient(135deg, var(--accent-green), #2f855a);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.3);
}

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

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(56, 161, 105, 0.4);
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:active {
    transform: translateY(-1px);
}

/* Section Titles */
.section-title {
    color: var(--dark-blue);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

/* About Section Background */

#about .container {
    position: relative;
    z-index: 2;
}

/* Getting Around Section Background */
#getting-around {
    background-image: url('../images/getting-bg.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}


#getting-around .container {
    position: relative;
    z-index: 2;
}

/* Getting Around Images - Circular Border */
.card-teal-img {
    border: 1px solid var(--dark-blue);
    border-radius: 50%;
    padding: 15px;
    background: #deede8;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.card-teal-img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.8), transparent, rgba(246, 224, 94, 0.6), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotateShine 3s linear infinite;
}

.card-teal-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(246, 224, 94, 0.2) 30%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

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

@keyframes pulseGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.card-teal-img:hover {
    background: linear-gradient(135deg, #dcbe0a, #f6e05e);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 138, 74, 0.3), 
                0 0 0 3px rgba(246, 224, 94, 0.4);
    animation: iconGlow 1.8s ease-in-out infinite;
}

.card-teal-img:hover::before {
    opacity: 1;
    animation: rotateShine 1.5s linear infinite;
}

.card-teal-img:hover::after {
    transform: translate(-50%, -50%) scale(1);
    animation: pulseGlow 1s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { 
        box-shadow: 0 15px 30px rgba(0, 138, 74, 0.3), 
                    0 0 0 3px rgba(246, 224, 94, 0.4);
    }
    50% { 
        box-shadow: 0 20px 40px rgba(0, 138, 74, 0.5), 
                    0 0 0 5px rgba(246, 224, 94, 0.6);
    }
}
.card-teal-img img{
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1) saturate(1);
}

.card-teal-img:hover img {
    filter: brightness(1.2) contrast(1.1) saturate(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    transform: scale(1.0);
    animation: imageShine 2s ease-in-out infinite;
}

/* Trigger card hover effects when hovering over the image */
.card-teal:has(.card-teal-img:hover) {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 79, 94, 0.2), 
                0 0 0 2px var(--accent-green),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-green);
    background: linear-gradient(135deg, #f0f8f8, #e0f0f0);
    animation: cardShimmer 2.5s ease-in-out infinite;
}

.card-teal:has(.card-teal-img:hover) h5 {
    color: var(--accent-green);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.card-teal:has(.card-teal-img:hover) p {
    color: var(--dark-blue);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

@keyframes imageShine {
    0%, 100% { 
        filter: brightness(1.2) contrast(1.1) saturate(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% { 
        filter: brightness(1.4) contrast(1.2) saturate(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    }
}
.section-title-white {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

/* Card Styles */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.card-teal {
    background-color: var(--light-teal);
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--dark-blue);
    color: #000000;
    min-height: 386px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-teal:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 79, 94, 0.2), 
                0 0 0 2px var(--accent-green),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-green);
    background: linear-gradient(135deg, #f0f8f8, #e0f0f0);
    animation: cardShimmer 2.5s ease-in-out infinite;
}

@keyframes cardShimmer {
    0%, 100% { 
        background: linear-gradient(135deg, #f0f8f8, #e0f0f0);
    }
    50% { 
        background: linear-gradient(135deg, #e8f4f4, #d8e8e8);
    }
}

.card-teal::after{
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%);
    height: 3px;
    width: 100px;
    background: var(--dark-blue);
}

.card-teal p{font-size: 14px;line-height: 1.5;}

.card-teal:hover h5 {
    color: var(--accent-green);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.card-teal:hover p {
    color: var(--dark-blue);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Trigger image hover effects when hovering over the card */
.card-teal:hover .card-teal-img {
    background: linear-gradient(135deg, #dcbe0a, #f6e05e);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 138, 74, 0.3), 
                0 0 0 3px rgba(246, 224, 94, 0.4);
    animation: iconGlow 1.8s ease-in-out infinite;
}

.card-teal:hover .card-teal-img::before {
    opacity: 1;
    animation: rotateShine 1.5s linear infinite;
}

.card-teal:hover .card-teal-img::after {
    transform: translate(-50%, -50%) scale(1);
    animation: pulseGlow 1s ease-in-out infinite;
}

.card-teal:hover .card-teal-img img {
    filter: brightness(1.2) contrast(1.1) saturate(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    transform: scale(1.0);
    animation: imageShine 2s ease-in-out infinite;
}

/* Destination Section Styles */
.destination-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    background: white;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Enhanced hover effects for destination cards */
.destination-card:hover .destination-content {
    background-color: #f8f9fa;
    padding: 30px 25px 60px 25px; /* More padding on hover */
}

.destination-card:hover .btn-expand {
    transform: scale(1.1);
    background: linear-gradient(135deg, #90EE90, #A2D9CE);
}

/* Smooth content area expansion */
.destination-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px;
}

.destination-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    height: 200px;
}

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

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-content {
    padding: 25px 25px 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.destination-card-primary .destination-content {
    background-color: #e8f4f8;
}

.destination-card-secondary .destination-content {
    background-color: #f0f8ff;
}

.destination-content h4 {
    color: #005662;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 900;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.destination-content p {
    color: #005662;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.destination-card.collapsed .destination-content h4 {
    transform: translateY(0);
}

.destination-card.collapsed .destination-content p {
    transform: translateY(0);
}

.destination-content h6 {
    color: #005662;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.destination-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.destination-content ul li {
    color: #005662;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.destination-content ul li:before {
    content: "-";
    position: absolute;
    left: 0;
    color: #005662;
    font-weight: bold;
}

.destination-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.btn-expand {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #A2D9CE, #90EE90);
    color: #005662;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-expand:hover {
    background: linear-gradient(135deg, #90EE90, #A2D9CE);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn-expand i {
    font-size: 14px;
    font-weight: bold;
}

/* Collapsible Content Styles - Pure CSS Hover */
.collapsible-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    transform: translateY(-10px);
}

/* Hover state - expand content */
.destination-card:hover .collapsible-content {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

/* Button icon rotation on hover */
.destination-card:hover .btn-expand i {
    transform: rotate(360deg);
}

/* Card height management for collapsed state */
.destination-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    height: auto;
    min-height: 300px;
}

/* Card height expansion on hover */
.destination-card:hover {
    min-height: 450px;
    transform: translateY(0);
}

.destination-card.collapsed {
    height: auto;
    transform: translateY(0);
}

.destination-card.collapsed .destination-content {
    padding-bottom: 60px; /* Space for the button */
}


/* Enhanced button animations */
.btn-expand {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.btn-expand:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-expand i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(0deg);
}



/* Itinerary Section Background */
.itinerary-section {
    background: url('../images/itinerary-bg.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

/* Itinerary Card Styles */
.itinerary-card {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: relative;
}

/* Add glow effect on hover */
.itinerary-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f6e05e;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.itinerary-card:hover::after {
    opacity: 0.3;
}

/* Individual tilt effects for each specific card */
#itineraries .row .col-lg-3:nth-child(1) .itinerary-card {
    transform: rotate(-5deg);
}

#itineraries .row .col-lg-3:nth-child(2) .itinerary-card {
    transform: rotate(3deg);
}

#itineraries .row .col-lg-3:nth-child(3) .itinerary-card {
    transform: rotate(-2deg);
}

#itineraries .row .col-lg-3:nth-child(4) .itinerary-card {
    transform: rotate(6deg);
}

/* Additional unique styling for each card */


.itinerary-image {
    padding: 10px;
}

.itinerary-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 15px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce image height on card hover */

/* Smooth transition for image container */
.itinerary-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Enhanced hover effect for image container */

.itinerary-content {
    padding: 10px;
    text-align: center;
}

.itinerary-content h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Add some spacing between cards */
.col-lg-3.col-md-6.mb-4 {
    margin-bottom: 2rem;
}

/* Enhanced polaroid-style effects */
.itinerary-card {
    margin: 10px;
    position: relative;
}


.itinerary-content .btn {
    background: #f6e05e;
    border: none;
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.itinerary-content .btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Scroll margin for navigation targets */
#about, #visa, #reach, #destinations, #itineraries, #gallery {
    scroll-margin-top: 120px;
}

/* Best Time Section Responsive Margins */
/* Tablet and Mobile - Reduce row margins */
@media (max-width: 991.98px) {
    .pt-3.pb-4 .row {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .pt-3.pb-4 .row {
        margin-bottom: 1.5rem !important;
    }
}

/* Getting Around Section - Responsive Card Teal Styles */
/* Tablet and Mobile - Auto height and gaps for card-teal */
@media (max-width: 991.98px) {
    #getting-around .card-teal {
        height: auto;
    }
}

@media (max-width: 767.98px) {
    #getting-around .card-teal {
        height: auto;
        min-height: auto;
    }

    .card-teal h5{
        margin-top: 12px;
    }
}

/* Destination Section - Button Visibility */
/* Hide buttons on desktop, show on mobile and tablet */
.destination-button {
    display: none;
}

@media (max-width: 991.98px) {
    .destination-button {
        display: block;
    }
}

/* Navbar Toggler Styles */
.navbar-toggler {
    background-color: white;
    border: 1px solid #ddd;
}

/* Fixed Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
}

.navbar.fixed-top .navbar-brand img {
    height: 60px;
    padding: 10px;
    transition: all 0.3s ease;
}

.navbar.fixed-top .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.navbar.fixed-top .nav-link:hover {
    color: var(--accent-green);
    transform: translateY(-1px);
}

/* Add padding to body when navbar is fixed */
body.navbar-fixed {
    padding-top: 80px;
}

/* Christmas Cards Container - Custom Layout */
.christmas-cards-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

/* Christmas Cards with Image Overlay */
.christmas-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 505px;
    width: 22%;
    min-width: 250px;
}

/* Center card (second card) - 50% width */
.christmas-card:nth-child(2) {
    width: 52%;
}

.christmas-card:hover {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 52%;
    z-index: 10;
    position: relative;
}

/* Center card active hover state */
.christmas-card:nth-child(2) {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    flex: 1.2;
    z-index: 10;
    position: relative;
}

/* When hovering on any card except center, deactivate center card */
.christmas-cards-container:hover .christmas-card:nth-child(2):not(:hover) {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 25%;
    z-index: 1;
}

.christmas-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
}

.christmas-card:hover .christmas-card-image {
    height: 60%;
    transform: translateY(-10px);
}

/* Center card image hover state */
.christmas-card:nth-child(2) .christmas-card-image {
    height: 60%;
    transform: translateY(-10px);
}

/* When hovering on any card except center, deactivate center card image */
.christmas-cards-container:hover .christmas-card:nth-child(2):not(:hover) .christmas-card-image {
    height: 100%;
    transform: translateY(0);
}

.christmas-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.christmas-card:hover .christmas-card-image img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* Center card image hover state */
.christmas-card:nth-child(2) .christmas-card-image img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* When hovering on any card except center, deactivate center card image */
.christmas-cards-container:hover .christmas-card:nth-child(2):not(:hover) .christmas-card-image img {
    transform: scale(1);
    filter: brightness(1) contrast(1);
}

.christmas-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 95, 0.7), rgba(44, 95, 95, 0.8));
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.christmas-card:hover .christmas-card-overlay {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(0);
    justify-content: flex-end;
    padding: 1rem 1.5rem;
}

/* Center card overlay hover state */
.christmas-card:nth-child(2) .christmas-card-overlay {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(0);
    justify-content: flex-end;
    padding: 1rem 1.5rem 0;
}

/* When hovering on any card except center, deactivate center card overlay */
.christmas-cards-container:hover .christmas-card:nth-child(2):not(:hover) .christmas-card-overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 95, 0.7), rgba(44, 95, 95, 0.8));
    transform: translateY(0);
    justify-content: center;
    padding: 2rem;
}

/* Show paragraph when center card is deactivated */
.christmas-cards-container:hover .christmas-card:nth-child(2):not(:hover) .christmas-card-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.christmas-card-overlay h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.christmas-card:hover .christmas-card-overlay h5 {
    color: white;
    transform: translateY(-2px);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.christmas-card-overlay p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-width: 90%;
    opacity: 1;
    transform: translateY(0);
}

/* Hide paragraph on hover/active state */
.christmas-card:hover .christmas-card-overlay p,
.christmas-card:nth-child(2) .christmas-card-overlay p {
    opacity: 0;
    transform: translateY(10px);
}


/* White Content Area for Hover State */
.christmas-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
    height: 42%;
    overflow-y: auto;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.christmas-card:hover .christmas-card-content {
    transform: translateY(0);
}

/* Center card content hover state */
.christmas-card:nth-child(2) .christmas-card-content {
    transform: translateY(0);
}

/* When hovering on any card except center, deactivate center card content */
.christmas-cards-container:hover .christmas-card:nth-child(2):not(:hover) .christmas-card-content {
    transform: translateY(100%);
}

.christmas-card-content h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.christmas-card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.christmas-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.christmas-card-content h6{
    font-weight: bold;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}
.christmas-card-content li {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.2rem;
    color: var(--dark-blue);
    position: relative;
    padding-left: 1rem;
}

.christmas-card-content li::before {
    content: "-";
    color: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Design for Christmas Cards */
@media (max-width: 768px) {
    .christmas-cards-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .christmas-card {
        width: 100%;
        height:300px;
        min-width: auto;
    }
    
    .christmas-card:nth-child(2) {
        width: 100% !important;
        transform:none;
        flex:none;
        height: 400px;
    }
        .christmas-card:nth-child(2) .christmas-card-image {
            transform: translateY(-40px);
        }
        .christmas-card:hover {
            width: 100%;
            transform:none
        }
}

@media (max-width: 576px) {
    .christmas-cards-container {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    
    .christmas-card:nth-child(2) {
        height: 450px;
        flex: none;
    }
    
    .christmas-card:hover {
        height:370px;
    }
    
    .christmas-card-overlay {
        padding: 1rem;
    }
    
    .christmas-card:hover .christmas-card-overlay {
        padding: 1.5rem 1rem;
    }
}

.card-dark-teal {
    background-color: var(--primary-teal);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

/* Button Styles */
.btn-custom {
    background-color: var(--accent-green);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 138, 74, 0.3);
}

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

.btn-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.btn-custom:hover {
    background: linear-gradient(135deg, var(--accent-green), #00a855);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 138, 74, 0.4);
    color: white;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover::after {
    width: 300px;
    height: 300px;
}

.btn-custom:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 138, 74, 0.3);
}

/* Season Cards */
.season-card {
    text-align: center;
    padding: 1.5rem;
}

/* Best Time to Visit - Alternating Layout */


.season-content {
    padding: 2rem;
}

.season-content h5 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.season-content p {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: var(--font-primary);
}

/* Summer Row - 180 Degree Rotation */
.row:nth-child(2) .season-card_mask1 {
    transform: rotate(180deg);
}

.season-card_mask1 {
    -webkit-mask-image: url('../images/mask.png');
    mask-image: url('../images/mask.png');
    mask-position: center;
    mask-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: maskFloat 3s ease-in-out infinite, maskGlow 4s ease-in-out infinite;
    filter: brightness(1.1) contrast(1.1);
}

.season-card_mask1::before {
    display: none;
}

.season-card_mask1::after {
    display: none;
}


/* Copy season-card_mask1 styles to season-card_mask2 */
.season-card_mask2 {
    -webkit-mask-image: url('../images/mask2.png');
    mask-image: url('../images/mask2.png');
    mask-position: center;
    mask-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: maskPulse 2.5s ease-in-out infinite, maskShimmer 3.5s ease-in-out infinite;
    filter: saturate(1.2) hue-rotate(5deg);
}

.season-card_mask2::before {
    display: none;
}

.season-card_mask2::after {
    display: none;
}

@keyframes maskFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
    75% {
        transform: translateY(-8px) rotate(-1deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
}

@keyframes maskGlow {
    0%, 100% {
        filter: brightness(1.1) contrast(1.1) saturate(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: brightness(1.3) contrast(1.2) saturate(1.2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

@keyframes maskPulse {
    0%, 100% {
        transform: scale(1);
        filter: saturate(1.2) hue-rotate(5deg) brightness(1.1);
    }
    50% {
        transform: scale(1.05);
        filter: saturate(1.4) hue-rotate(10deg) brightness(1.2);
    }
}

@keyframes maskShimmer {
    0% {
        filter: saturate(1.2) hue-rotate(5deg) brightness(1.1) contrast(1);
    }
    25% {
        filter: saturate(1.4) hue-rotate(10deg) brightness(1.2) contrast(1.1);
    }
    50% {
        filter: saturate(1.6) hue-rotate(15deg) brightness(1.3) contrast(1.2);
    }
    75% {
        filter: saturate(1.4) hue-rotate(10deg) brightness(1.2) contrast(1.1);
    }
    100% {
        filter: saturate(1.2) hue-rotate(5deg) brightness(1.1) contrast(1);
    }
}
/* Hotel Section Navigation */
#hotels .nav-item {
    width: 200px;
    display: flex;
    justify-content: center;
    margin: 0 10px;
}

/* Active hotel li styling */

/* Active hotel button styling */
#hotels .nav-item .nav-link.active {
    background-color: var(--accent-yellow);
    color: #004f5e;
    width: 100%;
    border-radius: 6px;
    border-color: var(--accent-yellow);
}

#hotels .nav-item .nav-link{
    background-color: #e7e7e7;
    color: #004f5e;
    width: 100%;
    border-radius: 6px;
    border-color: #e7e7e7;
}
/* Hotel Section Tab Pane */
#hotels .tab-pane {
    width: 72%;
    margin: 0 auto;
}

/* Hotel Cards */
.hotel-card {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.hotel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hotel-card h6 {
    position: absolute;
    bottom: 20px;
    left: -10px;
    /* right: 0; */
    background: #004f5ea6;
    border: 1px solid #ffffff;
    color: white;
    padding: 10px 15px 10px 15px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    /* transform: translateY(0); */
    border-radius: 10px;
}

/* Hotel card hover effect */
.hotel-card:hover img {
    transform: scale(1.05);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Navigation Tabs */
.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: bold;
    font-family: var(--font-primary);
}

.nav-tabs .nav-link.active {
    background-color: var(--accent-yellow);
    color: var(--dark-blue);
    border-radius: 10px;
}

/* Gallery Thumbnails */
.gallery-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Itinerary Cards */
.itinerary-card {
    position: relative;
    overflow: hidden;
        background: transparent;
    box-shadow: none;
}

.itinerary-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.itinerary-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
}

/* Navigation Styles */
.navbar {
    background-color: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgb(240 240 240) 50%, rgb(237 236 234) 100%);
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
    font-family: var(--font-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.navbar.scrolled .navbar-brand {
    color: var(--dark-blue) !important;
    text-shadow: none;
}

.logo-img {
    width: auto;
    max-width: 265px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    font-family: var(--font-primary);
    text-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    position: relative;
    display: inline-block;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    position: relative;
    z-index: 1;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 5px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
    background: var(--primary-red);
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.navbar-nav .nav-link:hover::after {
    width: 90%;
    background: rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 700;
}

.navbar-nav .nav-link.active::before {
    opacity: 1;
    background: var(--primary-red);
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
}

.navbar-nav .nav-link.active::after {
    width: 90%;
    background: rgba(255, 255, 255, 0.9);
    height: 3px;
}

/* Subtle pulse effect for active link */
.navbar-nav .nav-link.active::before {
    animation: activeNavPulse 2s ease-in-out infinite;
}

@keyframes activeNavPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(220, 20, 60, 0.6);
        transform: scale(1.02);
    }
}

.navbar.scrolled .navbar-nav .nav-link {
    color: #000000 !important;
    text-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-nav .nav-link::before {
    background: rgba(220, 20, 60, 0.1);
}

.navbar.scrolled .navbar-nav{
    background: none;
}

.navbar.scrolled .navbar-nav .nav-link::after{
    background: var(--primary-red);
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.navbar.scrolled .navbar-nav .nav-link:hover::before {
    opacity: 1;
    background: var(--primary-red);
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.navbar.scrolled .navbar-nav .nav-link:hover::after {
    width: 90%;
    background: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: 700;
}

.navbar.scrolled .navbar-nav .nav-link.active::before {
    opacity: 1;
    background: var(--primary-red);
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
}

.navbar.scrolled .navbar-nav .nav-link.active::after {
    width: 90%;
    background: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .navbar-nav .nav-link.active::before {
    animation: activeNavPulse 2s ease-in-out infinite;
}

/* ========================================
   MACAO SPECIFIC STYLES
   ======================================== */

/* Logo Styles */
.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-macao {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-red);
    font-family: var(--font-fallback);
    letter-spacing: 2px;
}

.navbar.scrolled .logo-text {
    color: var(--dark-blue);
}

.navbar.scrolled .logo-macao {
    color: var(--primary-red);
}

/* Hero Section - Macao */

.hero-text-wrapper {
    position: relative;
    z-index: 2;
    padding: 0;
    color: white;
    text-align: right;
    width: 100%;
}

/* Decorative image frame around hero-text-wrapper */
.hero-text-wrapper .hero-title,
.hero-text-wrapper .hero-subtitle,
.hero-text-wrapper .hero-cta {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--accent-yellow);
}

.hero-title .hero-subtitle {
    font-size: 1.6rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn-book-now {
    background: linear-gradient(90deg, rgba(255, 242, 96, 1) 0%, rgb(248 242 174) 50%, rgb(255 251 212) 100%);
    color: #000;
    padding: 12px 30px;
    border-radius: 35px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: #000;
}

/* Section Titles */
.section-title {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.2rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: #000000;
    margin-bottom: 1.5rem;
    transform: translateY(30px);
}

.fw-300{
    font-weight: 300;
}

/* Visa Section Image */
.visa-image {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.visa-image:hover {
    transform: scale(1.02);
}

#visa {
    background-color: #ffffff;
}

.visa-bg {
    background-image: url('../images/visa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.visa-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0);
    z-index: 0;
}

.visa-bg .container {
    position: relative;
    z-index: 1;
}


.visa-bg p {
    color: white;
    font-size: 1rem;
    font-weight: 300;
    font-family: var(--font-primary);
    margin-bottom: 1.5rem;
    transform: translateY(30px);
}

.visaimg {
    position: absolute;
    top: -45%;
    right: 0;
}

/* Things to Do - New Panel Design */

/* Left Panel - Large Image with Text Overlay */
.things-landmark-panel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.things-landmark-panel:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.things-landmark-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    z-index: 1;
    border-radius: 15px;
}

.things-landmark-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.things-landmark-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.things-landmark-panel:hover .things-landmark-image img {
    transform: scale(1.1);
}

.things-landmark-overlay {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.things-landmark-panel:hover .things-landmark-overlay {
    transform: translateX(-50%) translateY(50%) scale(1.1);
    text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
}

/* Tour Panel - Split Layout Design */
.things-tour-panel {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.things-tour-panel:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

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

/* Left Side - Image */
.things-tour-image {
    flex: 0 0 42%;
    height: 100%;
    overflow: hidden;
}

.things-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.things-tour-panel:hover .things-tour-image img {
    transform: scale(1.1);
}

/* Right Side - Dark Blue Content Panel */
.things-tour-content {
    flex: 1;
    background: var(--dark-blue);
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.things-tour-title {
    color: #fff260;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.things-tour-panel:hover .things-tour-title {
    transform: translateX(5px);
    color: #fff;
}

.things-tour-descriptions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.things-tour-descriptions p {
    color: white;
    font-size: 0.95rem;
    font-weight: 300;
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
}

/* Navigation Controls - Bottom Right */
.things-tour-nav {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 1rem;
}

.things-tour-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.things-tour-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.things-tour-nav-btn:active {
    transform: scale(0.95);
}

/* Day Trips Panel - Simple Centered Design */
.things-daytrips-panel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: zoomIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.things-daytrips-panel:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.things-daytrips-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    z-index: 1;
    border-radius: 15px;
}

.things-daytrips-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.things-daytrips-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.things-daytrips-panel:hover .things-daytrips-image img {
    transform: scale(1.1);
}

.things-daytrips-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    z-index: 2;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.things-daytrips-panel:hover .things-daytrips-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    text-shadow: 2px 2px 12px rgba(0,0,0,0.9);
}

/* Right Panel - Dark Blue Background */
.things-detail-panel {
    background: var(--dark-blue);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: slideInFromRight 0.8s ease-out;
    opacity: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}



@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.things-slider-row1 .slick-slide:first-child .things-detail-panel,
.things-slider-row2 .slick-slide:first-child .things-detail-panel {
    animation: slideInFromRight 0.8s ease-out 0.4s forwards;
}

.things-detail-content {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 1.5rem;
}

/* Left Side - Smaller Image */
.things-detail-image {
    flex: 0 0 40%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.things-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.things-detail-panel:hover .things-detail-image img {
    transform: scale(1.1);
    border-radius: 12px;
}

/* Right Side - Text Content */
.things-detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.things-detail-title {
    color: #fff260;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-primary);
    margin: 1.5rem 0 0.5rem ;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.things-detail-panel:hover .things-detail-title {
    transform: translateX(5px);
    color: #fff;
}

.things-detail-descriptions {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0 20px 0 0;
}

.things-detail-descriptions p {
    color: white;
    font-size: 0.95rem;
    font-weight: 300;
    font-family: var(--font-primary);
    line-height: 1.7;
    margin: 0;
}

/* Navigation Controls */
.things-detail-nav {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: auto;
    padding: 1.5rem;
}

.things-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.things-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.things-nav-btn:hover::before {
    width: 100%;
    height: 100%;
}

.things-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.things-nav-btn:active {
    transform: scale(0.95) rotate(0deg);
}

/* Legacy Styles - Keep for Row 2 and backward compatibility */
.things-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.things-card-static {
    height: 100%;
}

.things-image {
    height: 300px;
    overflow: hidden;
}

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

.things-card:hover .things-image img {
    transform: scale(1.05);
}

.things-title {
    background: var(--dark-blue);
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.things-content {
    padding: 20px;
    background: white;
}

.things-description {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Slider Styles for Row 1 and Row 2 */
.things-slider-row1,
.things-slider-row2 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.things-slider-row1 .slick-list,
.things-slider-row2 .slick-list {
    margin: 0;
    overflow: hidden;
}

.things-slider-row1 .slick-slide,
.things-slider-row2 .slick-slide {
    padding: 0;
}

/* Fix for fade transition - ensure slides are visible */
.things-slider-row1 .slick-slide,
.things-slider-row2 .slick-slide {
    opacity: 0;
    transition: opacity 500ms linear;
}

.things-slider-row1 .slick-slide.slick-active,
.things-slider-row2 .slick-slide.slick-active {
    opacity: 1;
}

/* Slider Navigation Arrows */
.things-slider-row1 .slick-prev,
.things-slider-row1 .slick-next,
.things-slider-row2 .slick-prev,
.things-slider-row2 .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark-blue);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.things-slider-row1 .slick-prev,
.things-slider-row2 .slick-prev {
    left: 10px;
}

.things-slider-row1 .slick-next,
.things-slider-row2 .slick-next {
    right: 10px;
}

.things-slider-row1 .slick-prev:hover,
.things-slider-row1 .slick-next:hover,
.things-slider-row2 .slick-prev:hover,
.things-slider-row2 .slick-next:hover {
    background: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.things-slider-row1 .slick-prev:focus,
.things-slider-row1 .slick-next:focus,
.things-slider-row2 .slick-prev:focus,
.things-slider-row2 .slick-next:focus {
    outline: none;
}

.things-slider-row1 .slick-prev i,
.things-slider-row1 .slick-next i,
.things-slider-row2 .slick-prev i,
.things-slider-row2 .slick-next i {
    color: white;
}

@media (max-width: 1200px) {
    .things-slider-row1 .slick-prev,
    .things-slider-row2 .slick-prev {
        left: 10px;
    }
    
    .things-slider-row1 .slick-next,
    .things-slider-row2 .slick-next {
        right: 10px;
    }
}

@media (max-width: 992px) {
    .things-slider-row1 .slick-prev,
    .things-slider-row2 .slick-prev {
        left: 10px;
    }
    
    .things-slider-row1 .slick-next,
    .things-slider-row2 .slick-next {
        right: 10px;
    }
    
    .things-slider-row1 .slick-prev,
    .things-slider-row1 .slick-next,
    .things-slider-row2 .slick-prev,
    .things-slider-row2 .slick-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.nav-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--dark-blue);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

/* How to Reach Section */
.how-to-reach-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/reachbg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-title-white {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
}

.reach-card {
    background: transparent;
    border-radius: 12px 12px 0 0;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    max-width: 325px;
    animation: slideInFromBottom 0.8s ease-out;
}

.row > .col-lg-4:nth-child(1) .reach-card {
    animation-delay: 0.1s;
}

.row > .col-lg-4:nth-child(2) .reach-card {
    animation-delay: 0.2s;
}

.row > .col-lg-4:nth-child(3) .reach-card {
    animation-delay: 0.3s;
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reach-card-top {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-height: 70%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reach-title {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
    flex: 1;
}

.reach-icon {
    margin: 0;
    flex-shrink: 0;
    margin-left: 1rem;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    right: -15%;
}

.reach-icon img {
    max-width: 100px;
    width: auto;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reach-card:hover .reach-icon img {
    transform:translateX(40px);
}

.reach-card-bottom {
    background: var(--dark-blue);
    min-height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 20px 20px;
}

.btn-view-more {
    background: transparent;
    color: white;
    padding: 1.5rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    font-size: 1rem;
}

.btn-view-more:hover {
    color: white;
}

.btn-view-more .btn-arrow-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.reach-card:hover .btn-view-more {
    transform: translateY(-2px);
}



/* Reach Section Modals */
.reach-modal-content {
    padding: 1rem 0;
}

.reach-modal-icon {
    position: relative;
}

.reach-modal-icon img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(7159%) hue-rotate(346deg) brightness(92%) contrast(91%);
    animation: fadeInScale 0.8s ease-out forwards, floatAnimation 3s ease-in-out infinite 0.8s;
    transition: all 0.3s ease;
}

.reach-modal-icon:hover img {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.1) !important;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(0px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

.modal-header {
    background: var(--dark-blue);
    color: white;
    border-bottom: none;
}

.modal-header .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-body {
    padding: 2rem;
}

.modal-body h6 {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-body ul li {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 2rem;
}

.modal-footer .btn-secondary {
    background: var(--dark-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
}

.modal-footer .btn-secondary:hover {
    background: var(--primary-red);
    color: white;
}

.modal-footer .btn-primary {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
}

/* Itinerary Cards - Macao */
.itinerary-card-macao {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}


.itinerary-image-macao {
    height: 300px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--dark-blue);
}

.itinerary-image-macao img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itinerary-footer-macao {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.itinerary-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.download-icon {
    color: var(--primary-red);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-icon:hover {
    color: var(--dark-blue);
    transform: scale(1.2);
}

/* Gallery Grid */
.gallery-grid {
    margin-top: 2rem;
}

.gallery-grid .col-lg-4 {
    margin-bottom: 0;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
    height: 100%;
}

.gallery-image {
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
}

.gallery-grid a:hover .gallery-image {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Footer - Macao */
.safooter {
    background: white;
}

.safooter p {
    color: #333;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .things-landmark-panel {
        height: 400px;
        margin-bottom: 1.5rem;
    }
    
    .things-landmark-overlay {
        font-size: 2.5rem;
        bottom: 25%;
    }
    
    .things-tour-panel {
        flex-direction: column;
        height: auto;
    }
    
    .things-tour-image {
        flex: 0 0 auto;
        height: 250px;
    }
    
    .things-tour-content {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .things-tour-title {
        font-size: 1.3rem;
    }
    
    .things-daytrips-panel {
        height: 400px;
        margin-bottom: 1.5rem;
    }
    
    .things-daytrips-overlay {
        font-size: 2rem;
    }
    
    .things-detail-panel {
        height: auto;
        min-height: 400px;
        padding: 1.5rem;
    }
    
    .things-detail-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .things-detail-image {
        flex: 0 0 auto;
        height: 200px;
    }
    
    .things-detail-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .things-image {
        height: 200px;
    }
    
    .things-landmark-panel {
        height: 200px;
    }
    
    .things-landmark-overlay {
        font-size: 1.5rem;
        bottom: 20%;
    }
    
    .things-tour-panel {
        height: auto;
    }
    
    .things-tour-image {
        height: 200px;
    }
    
    .things-tour-content {
        padding: 1.25rem;
        min-height: auto;
    }
    
    .things-tour-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .things-tour-descriptions p {
        font-size: 0.9rem;
    }
    
    .things-tour-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .things-daytrips-panel {
        height: 350px;
    }
    
    .things-daytrips-overlay {
        font-size: 1.75rem;
    }
    
    .things-detail-panel {
        padding: 1.25rem;
        min-height: auto;
        margin-bottom: 15px;
    }
    
    .things-detail-title {
        font-size: 1rem;
        margin-top: 0;
        padding: 0 10px;
    }

    #destinations .mb-4{
        margin-bottom: 0 !important;
    }
    
    .things-detail-descriptions p {
        font-size: 0.7rem;
        padding: 0 10px;
    }
    
    .things-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .reach-icon{
        right: 0;
    }


}

/* ========================================
   CREATIVE EFFECTS
   ======================================== */

/* Animated Gradient Background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Subtle animated background - uncomment if needed
body {
    background: linear-gradient(-45deg, #ffffff, #f8f9fa, #ffffff, #f5f5f5);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}
*/

/* Floating Particles Effect */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 50%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 19s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Glowing Section Titles */
.section-title {
    position: relative;
    display: inline-block;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 10px var(--primary-red);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--primary-red), 0 0 30px var(--primary-red);
    }
}

/* Card Glow Effect on Hover */
.reach-card,
.itinerary-card-macao {
    position: relative;
    overflow: visible;
}

.reach-card::before,
.itinerary-card-macao::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-red), var(--accent-yellow), var(--primary-red));
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}


/* Button Ripple Effect */
.btn-book-now,
.btn-view-more {
    position: relative;
    overflow: hidden;
}

.btn-book-now::after,
.btn-view-more::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-book-now:active::after,
.btn-view-more:active::after {
    width: 300px;
    height: 300px;
}

/* Hero Navigation Arrows - AI Art Gallery Style with Hover Previews */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: visible;
}

.hero-prev {
    left: 40px;
}

.hero-next {
    right: 40px;
}

.hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-nav-arrow i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-nav-arrow:hover i {
    transform: scale(1.2);
}

/* Arrow Preview - Shows next/previous slide on hover */
.arrow-preview {
    position: absolute;
    width: 200px;
    height: 120px;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.8);
    z-index: -1;
    overflow: hidden;
}

.arrow-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.arrow-preview.show {
    opacity: 1;
    pointer-events: auto;
}

.arrow-preview-prev {
    left: 70px;
    transform: translateY(-50%) translateX(-20px);
}

.hero-prev:hover .arrow-preview-prev {
    transform: translateY(-50%) translateX(0);
}

.arrow-preview-next {
    right: 70px;
    transform: translateY(-50%) translateX(20px);
}

.hero-next:hover .arrow-preview-next {
    transform: translateY(-50%) translateX(0);
}

/* Hero Slider Dots - Modern Styling */
.hero-slider .slick-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

.hero-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-indent: -9999px;
    overflow: hidden;
}

.hero-slider .slick-dots li button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .slick-dots li.slick-active button {
    border-color: var(--primary-red);
    background: var(--primary-red);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6);
}

.hero-slider .slick-dots li.slick-active button::before {
    width: 6px;
    height: 6px;
    background: white;
}

.hero-slider .slick-dots li button:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

/* Hero Overlay Animated Wave */
.hero-overlay {
    position: relative;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q25 0 50 10 T100 10 L100 20 L0 20 Z' fill='rgba(220,20,60,0.1)'/%3E%3C/svg%3E") repeat-x;
    background-size: 100px 20px;
    animation: wave 10s linear infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 100px;
    }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Hover Effect for Cards */
.things-card,
.reach-card,
.itinerary-card-macao {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.things-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Animated Border Gradient */
.things-card,
.reach-card {
    border: 2px solid transparent;
    background-clip: padding-box;
}

.things-card:hover {
    border-image: linear-gradient(45deg, var(--primary-red), var(--accent-yellow)) 1;
    border-radius: 10px;
}

/* Text Gradient Animation */
@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    font-family: var(--font-primary);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    opacity: 0;
    transform: translateX(50px);
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


/* Pulse Animation for Icons */
.download-icon,
.nav-arrow {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.download-icon:hover,
.nav-arrow:hover {
    animation: none;
}

/* Backdrop Filter Blur Effect - Removed for clear image visibility */

/* Gradient Text on Section Titles - Optional Enhancement */
.section-title.gradient-text {
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Creative Hover Scale with Shadow */
.gallery-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.3),
                0 0 0 1px rgba(220, 20, 60, 0.1);
    z-index: 10;
    position: relative;
}
