/* css/style.css - Universal Tours Col */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --bg-dark: #ffffff;
    --bg-darker: #f9fbfd;
    --bg-card: #ffffff;
    --primary-blue: #004d99;
    --primary-light-blue: #4da6ff;
    --accent-orange: #ff6f00;
    --text-main: #2d2d2d;
    --text-muted: #666666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light-blue);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

.loader-logo {
    width: 150px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.progress-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-light-blue));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-light-blue);
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5)); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 77, 153, 0.1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo img {
    height: 95px;
    cursor: pointer;
    transition: var(--transition);
}

/* Premium Side Menu Overlay */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(0, 77, 153, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    right: 0;
}

.nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
}

.nav-links.active li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for menu items */
.nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
.nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
.nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
.nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
.nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
.nav-links.active li:nth-child(6) { transition-delay: 0.6s; }
.nav-links.active li:nth-child(7) { transition-delay: 0.7s; }

.nav-links a {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 60%;
}

.lang-toggle {
    background: transparent;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
}

.lang-toggle:hover {
    background: var(--primary-blue);
    color: white;
}

/* Premium Hamburger Menu Button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 22px;
    cursor: pointer;
    z-index: 1001; /* Above the sliding panel */
    padding: 5px;
}

.hamburger span {
    width: 35px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    transform-origin: center;
}

/* Hamburger Active State (X) */
.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-orange);
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

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

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

.btn:hover {
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.5);
    transform: translateY(-3px);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- Footer --- */
footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 77, 153, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.footer-col p, .footer-col ul {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .nav-links {
        max-width: 100%;
        padding: 2rem;
    }

    /* Fixed Hero Typography for Mobile */
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }
    .hero {
        padding-top: 100px !important;
    }

    .grid-2-col-responsive {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .about-experience-box {
        right: 10px !important;
        bottom: -20px !important;
        padding: 1rem !important;
    }
    body {
        overflow-x: hidden;
    }
}

.grid-2-col-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-experience-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 77, 153, 0.3);
}

.about-experience-box h3 {
    color: white !important;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}
.hero-title {
    font-size: 4rem;
}
.hero-subtitle {
    color: white;
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 5px;
}

/* Ken Burns Animated Hero Slideshow */
.hero-bg-slideshow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlide 24s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }

@keyframes heroSlide {
    0%   { opacity: 0; transform: scale(1.08) translateX(0px); }
    5%   { opacity: 1; }
    25%  { opacity: 1; transform: scale(1.18) translateX(-20px); }
    30%  { opacity: 0; transform: scale(1.2) translateX(-25px); }
    100% { opacity: 0; }
}

/* --- New UI Components (Reference Redesign) --- */

/* Glass Hero Box */
.hero-glass-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    padding: clamp(1.5rem, 4vw, 4rem);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.hero-glass-left h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 0;
}

.hero-glass-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-glass-right h3 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Stats Rounded Box */
.stats-rounded-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 77, 153, 0.1);
    border-radius: 30px;
    padding: 3rem;
    margin-top: 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.stat-item-premium {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1rem;
}

.stat-item-premium:last-child {
    border-right: none;
}

.stat-item-premium strong {
    display: block;
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item-premium p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Partners Bar */
.partners-bar {
    background: var(--primary-blue);
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-radius: 0 0 30px 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Tour Card Premium */
.tour-card-premium {
    background: white;
    border-radius: 20px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card-premium:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}

.tour-card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.tour-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-tag {
    color: #4da6ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.tour-card-content h3 {
    color: #004d99; /* Blue from image */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.tour-card-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.tour-card-list li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.tour-card-list li::before {
    content: '•';
    color: #4da6ff;
    font-weight: bold;
}

.tour-card-price {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.price-label { font-size: 0.8rem; color: #888; }
.price-value { font-size: 1.4rem; font-weight: 700; color: #333; display: block; }

.tour-card-btn {
    background: #ff6f00; /* Original Orange from image */
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    display: block;
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.3);
}

.section-testimonials {
    padding: 8rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

/* Testimonial Bubble */
.testimonial-bubble {
    background: #f4fbff;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    border: 1px solid #e1f2ff;
}

.testimonial-bubble p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: #333;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 992px) {
    .hero-glass-box {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        text-align: center;
        width: 90%; /* Using percentage for better centering */
        max-width: 500px;
        margin: 0 auto;
        left: 0; right: 0; /* Explicit centering */
    }
    .hero-glass-left h2 { 
        font-size: clamp(2rem, 8vw, 2.8rem); 
        margin-bottom: 1.5rem;
    }
    .hero-glass-right {
        align-items: center;
    }
    .hero-glass-right .btn {
        align-self: center;
        width: 100%;
        max-width: 300px;
    }
    .section-testimonials {
        padding: 5rem 0;
    }
    .stats-grid-premium {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item-premium:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }
    .testimonial-grid {
        grid-template-columns: 1fr !important;
    }
    .testimonial-bubble {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .stats-grid-premium {
        grid-template-columns: 1fr;
    }
    .stat-item-premium { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        padding-bottom: 1rem; 
        margin-bottom: 1rem; 
    }
    .stat-item-premium:last-child {
        border-bottom: none;
    }
    .partners-bar {
        text-align: center;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
}
