/* Advanced UI Effects for Zic Voyayage */

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Advanced Card Hover Effects */
.hover-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hover-card::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: 0.5s;
    z-index: 1;
}

.hover-card:hover::before {
    left: 100%;
}

.hover-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.2);
}

/* 3D Button Effects */
.btn-3d {
    position: relative;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.btn-3d::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    border-radius: 50px;
    transform: translateZ(-1px);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-3d:hover {
    transform: translateY(4px);
}

.btn-3d:hover::after {
    top: 4px;
}

.btn-3d:active {
    transform: translateY(8px);
}

.btn-3d:active::after {
    top: 0;
}

/* Neon Text Effect */
.neon-text {
    text-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.7), 
                 0 0 10px rgba(var(--primary-color-rgb), 0.5),
                 0 0 20px rgba(var(--primary-color-rgb), 0.3);
    color: var(--primary-color);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: rotate(3deg);
}

.featured-badge::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--secondary-color) transparent transparent var(--secondary-color);
}

/* Advanced Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
    position: relative;
}

.img-hover-zoom img {
    transition: transform 0.75s, filter 0.5s ease-in-out;
    filter: brightness(95%);
}

.img-hover-zoom:hover img {
    transform: scale(1.15);
    filter: brightness(110%);
}

.img-hover-zoom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-hover-zoom:hover::before {
    opacity: 1;
}

/* Overlay Card Info */
.overlay-card {
    position: relative;
    overflow: hidden;
}

.overlay-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    transform: translateY(70%);
    transition: transform 0.5s ease;
}

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

.overlay-card .card-title {
    margin-bottom: 15px;
    transform: translateY(-50px);
    opacity: 1;
    transition: all 0.5s ease;
}

.overlay-card:hover .card-title {
    transform: translateY(0);
    opacity: 1;
}

.overlay-card .card-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.overlay-card:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Timeline */
.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 3px;
    background: var(--primary-color);
    margin-right: -1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-badge {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px white, 0 0 0 5px var(--gray-color);
    z-index: 10;
}

.timeline-panel {
    width: 45%;
    float: left;
    padding: 20px;
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    background-color: white;
}

.timeline-panel::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 100%;
    border: 10px solid transparent;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-panel {
    float: right;
}

.timeline-item:nth-child(even) .timeline-panel::after {
    right: 100%;
    left: auto;
    border-right-color: white;
    border-left-color: transparent;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #f5f5f5;
}

body.dark-mode .glass-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode header, 
body.dark-mode .destination-card, 
body.dark-mode .offer-card, 
body.dark-mode .service-card,
body.dark-mode .tip-card,
body.dark-mode .form-control,
body.dark-mode .converter-box,
body.dark-mode .weather-card {
    background-color: #1e1e1e;
    color: #f5f5f5;
}

body.dark-mode .destination-card h3, 
body.dark-mode .offer-card h3, 
body.dark-mode .service-card h3,
body.dark-mode .section-title,
body.dark-mode .converter-title {
    color: #f5f5f5;
}

body.dark-mode footer {
    background-color: #0a0a0a;
}

body.dark-mode .chat-box {
    background-color: #1e1e1e;
}

body.dark-mode .message-system {
    background-color: #333;
    color: #f5f5f5;
}

body.dark-mode .chat-input input {
    background-color: #333;
    color: #f5f5f5;
    border-color: #444;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(241, 250, 238, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-dark), var(--secondary-color));
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--secondary-color) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Interactive Price Range */
.price-range {
    position: relative;
    padding: 30px 0;
}

.price-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.price-range-slider::-webkit-slider-thumb:hover {
    background: var(--primary-dark);
}

.price-range-value {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary-color);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading div:nth-child(1) {
    left: 8px;
    animation: loading1 0.6s infinite;
}

.loading div:nth-child(2) {
    left: 8px;
    animation: loading2 0.6s infinite;
}

.loading div:nth-child(3) {
    left: 32px;
    animation: loading2 0.6s infinite;
}

.loading div:nth-child(4) {
    left: 56px;
    animation: loading3 0.6s infinite;
}

@keyframes loading1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes loading3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes loading2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

/* Navigation Indicator */
.nav-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Advanced animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 1s;
}

/* Phone Call Animation */
.phone-animation {
    display: inline-block;
    animation: phone-ring 1s ease infinite;
}

@keyframes phone-ring {
    0%, 100% {
        transform: rotate(0);
    }
    25% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* Success Message Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--primary-color);
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    transform: rotate(45deg);
    transform-origin: 100% 50%;
    animation: checkbox-before 0.4s ease;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    transform: rotate(45deg);
    transform-origin: 0 50%;
    animation: checkbox-after 0.4s ease;
    animation-delay: 0.2s;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: var(--primary-color);
    transform: rotate(-45deg);
}

@keyframes checkbox-before {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 50px;
        height: 4px;
        opacity: 1;
    }
}

@keyframes checkbox-after {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 4px;
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    header, footer, .chat-widget, .newsletter, .social-icons {
        display: none !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .container {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .booking-summary {
        page-break-inside: avoid;
    }
}

/* Advanced UI Elements for ZIC VOYAGE */

/* 3D Card Effects */
.card-3d {
    perspective: 1500px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover {
    transform: rotateY(7deg) rotateX(5deg) scale(1.02);
    box-shadow: 
        -20px 20px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(var(--primary-color-rgb), 0.2),
        0 0 40px rgba(var(--primary-color-rgb), 0.1);
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.3) 100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    opacity: 0;
    border-radius: inherit;
    pointer-events: none;
}

.card-3d:hover::before {
    opacity: 1;
}

/* Glass Morphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
    transform: translateY(-10px);
}

/* Neon Effects */
.neon-text {
    color: var(--light-color);
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color);
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--primary-color);
    }
    to {
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--primary-color),
            0 0 40px var(--primary-color);
    }
}

.neon-border {
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        inset 0 0 5px var(--primary-color),
        inset 0 0 10px var(--primary-color);
    animation: neonBorderPulse 2s infinite alternate;
}

@keyframes neonBorderPulse {
    from {
        box-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            inset 0 0 5px var(--primary-color),
            inset 0 0 10px var(--primary-color);
    }
    to {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            inset 0 0 10px var(--primary-color),
            inset 0 0 20px var(--primary-color);
    }
}

/* Advanced Button Effects */
.btn-glow {
    position: relative;
    color: var(--light-color);
    background: var(--primary-color);
    border-radius: 50px;
    overflow: hidden;
    padding: 1rem 2.5rem;
    transition: 0.5s;
    z-index: 1;
}

.btn-glow:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: -1;
}

.btn-glow:hover:before {
    transform: translateX(100%);
}

.btn-glow:after {
    content: '';
    position: absolute;
    top: -80%;
    left: -20%;
    width: 0;
    height: 250%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(25deg);
    transition: 0.5s;
    z-index: -1;
}

.btn-glow:hover:after {
    width: 140%;
}

.btn-glow:hover {
    box-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color);
    transform: translateY(-5px);
}

/* Advanced Image Effects */
.img-hover-zoom {
    overflow: hidden;
    position: relative;
}

.img-hover-zoom img {
    transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.img-hover-zoom:hover img {
    transform: scale(1.2) rotate(2deg);
}

.img-hover-zoom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.img-hover-zoom:hover::before {
    opacity: 1;
}

/* Dynamic Gradients */
.dynamic-gradient {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Floating animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Rotating animation */
.rotating {
    animation: rotating 20s linear infinite;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Colorful overlay cards */
.overlay-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.overlay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(var(--primary-color-rgb), 0.6), 
        rgba(var(--secondary-color-rgb), 0.8));
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.overlay-card:hover::before {
    opacity: 1;
}

.overlay-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.5s;
    z-index: 2;
}

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

/* Advanced Badge Effects */
.badge-highlight {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.badge-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        rgba(var(--primary-color-rgb), 0.8), 
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

/* Advanced Loader */
.fancy-loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto;
}

.fancy-loader div {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: fancyLoader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-color) transparent transparent transparent;
}

.fancy-loader div:nth-child(1) {
    animation-delay: -0.45s;
}

.fancy-loader div:nth-child(2) {
    animation-delay: -0.3s;
}

.fancy-loader div:nth-child(3) {
    animation-delay: -0.15s;
}

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

/* Animated Background Pattern */
.animated-bg {
    position: relative;
    background-color: #f1faee;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 20%),
        radial-gradient(circle at 70% 20%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 20%),
        radial-gradient(circle at 20% 80%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 60%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 20%);
    background-size: 150% 150%;
    animation: movingBg 15s ease infinite alternate;
}

@keyframes movingBg {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* 3D Text Effect */
.text-3d {
    color: var(--primary-color);
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
}

/* Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 65%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
    animation: ripple 2s infinite;
}

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

/* Masked Text */
.masked-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientMoveBg 5s ease infinite;
}

@keyframes gradientMoveBg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 25px;
    border-radius: 25px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    padding: 0 5px;
    cursor: pointer;
    z-index: 1001;
    transition: background-color 0.3s;
}

.dark-mode-toggle .toggle-slider {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transform: translateX(0);
    transition: transform 0.3s;
}

.dark-mode-toggle.active {
    background-color: var(--primary-color);
}

.dark-mode-toggle.active .toggle-slider {
    transform: translateX(20px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--gray-color);
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Parallax Scroll Effect */
.parallax-section {
    position: relative;
    overflow: hidden;
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.parallax-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Animated Countdown Timer */
.countdown-animated {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-animated .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.countdown-animated .countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.countdown-animated .countdown-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.countdown-animated .countdown-value::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.countdown-animated .countdown-label {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Access Menu */
.quick-access {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.quick-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.quick-toggle:hover {
    transform: scale(1.1);
}

.quick-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 200px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.quick-menu.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.quick-menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.quick-menu-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.quick-menu-item i {
    margin-left: 10px;
    font-size: 1.2rem;
}

/* Weather Indicator */
.weather-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.weather-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.weather-temp {
    font-weight: 700;
    color: var(--text-color);
}

.weather-city {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Vertical Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gray-color);
    top: 0;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    width: 46%;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    left: -60px;
}

.timeline-item:nth-child(even)::after {
    right: -60px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Video Background Section */
.video-bg-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
    z-index: 0;
}

.video-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Price Range Slider */
.price-range-slider {
    width: 100%;
    margin: 20px 0;
}

.price-range-slider .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d7dcdf;
    outline: none;
}

.price-range-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(var(--primary-color-rgb), 0.2);
    transition: all 0.3s;
}

.price-range-slider .slider::-webkit-slider-thumb:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 0 8px rgba(var(--primary-color-rgb), 0.3);
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 360 Degree View */
.view-360 {
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.view-360:active {
    cursor: grabbing;
}

.view-360 img {
    width: 100%;
    height: auto;
}

.view-360-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.view-360-indicator i {
    margin-left: 5px;
    animation: rotate 4s linear infinite;
}

/* Audio Player */
.audio-player {
    background-color: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    max-width: 400px;
}

.audio-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
}

.audio-track {
    flex: 1;
    padding: 0 10px;
}

.audio-track-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.audio-track-progress {
    height: 5px;
    background-color: var(--gray-color);
    border-radius: 3px;
    position: relative;
}

.audio-track-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    width: 30%;
}

.audio-time {
    font-size: 0.8rem;
    color: var(--text-light);
} 