/* ==========================================================================
   Vasunova Travels - Premium CSS Stylesheet
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* Color Variables & Styling Tokens */
:root {
    --primary: #1bbc9b;       /* Mint Teal */
    --primary-hover: #16a085;
    --secondary: #ba71da;     /* Elegant Orchid Purple */
    --secondary-hover: #a55ec5;
    --accent: #14b9d5;        /* Vivid Cyan Blue */
    --dark: #2c3e50;          /* Deep Slate */
    --dark-light: #34495e;
    --light: #f8f9fa;
    --light-grey: #e9ecef;
    --body-text: #606f7b;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Common Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h6 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--body-text);
}

/* Page Preloader / Transition Effect */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-loader.loaded {
    transform: translateY(-100%);
}

.loader-bar {
    width: 150px;
    height: 3px;
    background-color: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40px;
    height: 100%;
    background-color: var(--primary);
    position: absolute;
    top: 0;
    left: -50px;
    animation: loading 1.5s infinite ease;
}

@keyframes loading {
    0% { left: -50px; }
    100% { left: 160px; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.sticky {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

.logo-img {
    height: 46px;
    width: 46px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 2px solid rgba(27, 188, 155, 0.15); /* Light primary colored border to outline the textured logo */
}

.logo a:hover .logo-img {
    transform: scale(1.08) rotate(5deg);
    border-color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    position: relative;
    margin: 0 9px;
}

nav ul li a {
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark-light);
    padding: 8px 4px;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

nav ul li a:hover,
nav ul li.active > a {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li.active > a::after {
    width: 100%;
}

/* Submenu Dropdown styling */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-sm);
    min-width: 200px;
    flex-direction: column;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 10;
}

nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li ul li {
    margin: 0;
    width: 100%;
}

nav ul li ul li a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

nav ul li ul li a::after {
    display: none;
}

nav ul li ul li a:hover {
    background-color: var(--light);
    padding-left: 25px;
}

.header-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 6px rgba(27, 188, 155, 0.2);
}

.header-btn:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(27, 188, 155, 0.3);
}

/* Menu Toggle Button (Mobile Menu) */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section & Search Bar
   ========================================================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.65) 0%, rgba(27, 188, 155, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h6 {
    font-size: 16px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s forwards;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 64px;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s forwards 0.2s;
    opacity: 0;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s forwards 0.4s;
    opacity: 0;
}

/* Floating Search Widget */
.search-widget {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s forwards 0.6s;
    opacity: 0;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 8px;
    text-align: left;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 16px;
}

.input-icon-wrap input,
.input-icon-wrap select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius-sm);
    color: var(--dark);
    background-color: var(--light);
    font-size: 15px;
    transition: var(--transition-smooth);
    appearance: none;
}

.input-icon-wrap select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%232c3e50' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 188, 155, 0.1);
}

.search-submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 50px;
    box-shadow: 0 4px 6px rgba(27, 188, 155, 0.25);
}

.search-submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(27, 188, 155, 0.35);
}

/* ==========================================================================
   Tours & Packages Grid
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.package-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.package-card:hover .package-img-wrap img {
    transform: scale(1.08);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 2;
}

.package-badge.cruise-tag {
    background-color: var(--accent);
    left: 15px;
    right: auto;
}

.package-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    margin-top: -45px;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
}

.package-meta-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--body-text);
}

.package-meta-item i {
    color: var(--primary);
    margin-right: 5px;
}

.package-meta-icons {
    display: flex;
}

.package-meta-icons i {
    cursor: pointer;
    font-size: 14px;
    color: var(--primary);
    margin-left: 10px;
    transition: var(--transition-smooth);
}

.package-meta-icons i:hover {
    color: var(--primary-hover);
    transform: scale(1.2);
}

.package-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.package-title a:hover {
    color: var(--primary);
}

.package-location {
    font-size: 14px;
    color: var(--body-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.package-location i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 13px;
}

.package-description {
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--body-text);
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--light-grey);
    padding-top: 20px;
}

.package-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.package-btn:hover {
    background-color: var(--primary-hover);
}

.package-price {
    text-align: right;
}

.package-price span {
    font-size: 12px;
    color: var(--body-text);
    display: block;
}

.package-price h3 {
    font-size: 22px;
    color: var(--dark);
}

.package-price h3 del {
    font-size: 14px;
    color: rgba(0,0,0,0.3);
    font-weight: 400;
    margin-right: 5px;
}

/* Cruise details link */
.cruise-ship-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.cruise-ship-tag i {
    margin-right: 5px;
}

/* ==========================================================================
   Destinations Section (Flip Cards)
   ========================================================================== */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 3D Flip Card Container */
.flip-card-container {
    background-color: transparent;
    perspective: 1000px;
    height: 380px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-card-container:hover .flip-card-front {
    z-index: 1;
    pointer-events: none;
}

.flip-card-container:hover .flip-card-back {
    z-index: 2;
    pointer-events: auto;
}

.flip-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    z-index: 2;
    pointer-events: auto;
}

.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Front side */
.flip-card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px;
    color: var(--white);
}

.flip-card-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.flip-card-front-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.flip-card-badge {
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.flip-card-badge.badge-purple {
    background-color: var(--secondary);
}

.flip-card-badge.badge-cyan {
    background-color: var(--accent);
}

.flip-card-front h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 5px;
}

.flip-card-front p {
    font-size: 13px;
    opacity: 0.9;
}

/* Back side */
.flip-card-back {
    background-color: var(--dark);
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

.flip-card-back h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.flip-card-back p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.85;
}

.flip-card-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.flip-card-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Adventure Callout Section
   ========================================================================== */
.promo-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.promo-section .hero-overlay {
    background: linear-gradient(135deg, rgba(27, 188, 155, 0.8) 0%, rgba(44, 62, 80, 0.85) 100%);
}

.promo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.promo-content h6 {
    color: var(--white);
    background-color: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}

.promo-content h2 {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 20px;
}

.promo-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.promo-checklist {
    list-style: none;
    margin-bottom: 35px;
}

.promo-checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}

.promo-checklist li i {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.25);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 15px;
}

.promo-btn {
    background-color: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.promo-btn:hover {
    background-color: var(--light);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.promo-img-wrap {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.promo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Testimonial Slider
   ========================================================================== */
.testimonial-section {
    background-color: var(--white);
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
    text-align: center;
}

.testimonial-text {
    font-size: 20px;
    color: var(--dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 80px;
    color: rgba(27, 188, 155, 0.15);
    position: absolute;
    font-family: var(--font-heading);
}

.testimonial-text::before {
    top: -40px;
    left: -20px;
}

.testimonial-text::after {
    bottom: -80px;
    right: -20px;
}

.testimonial-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-title {
    font-size: 13px;
    color: var(--body-text);
}

/* Slider Pagination dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--light-grey);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--primary);
    width: 25px;
    border-radius: 10px;
}

/* ==========================================================================
   Pricing Tables
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 50px 30px;
    text-align: center;
    position: relative;
    border: 1px solid var(--light-grey);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.price-card.popular::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.price-header h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark-light);
}

.price-val {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.price-val span {
    font-size: 16px;
    font-weight: 500;
    color: var(--body-text);
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i.fa-check {
    color: var(--primary);
}

.price-features li i.fa-times {
    color: rgba(0,0,0,0.2);
}

.price-btn {
    background-color: var(--dark);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.price-card.popular .price-btn {
    background-color: var(--primary);
}

.price-card.popular .price-btn:hover {
    background-color: var(--primary-hover);
}

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

/* ==========================================================================
   Inner Pages Specific Layouts
   ========================================================================== */

/* Page Banner */
.page-banner {
    position: relative;
    height: 45vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-content h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 14px;
    font-weight: 600;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--white);
    margin: 0 8px;
}

/* Layout for Sidebar Pages */
.sidebar-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

/* Sidebar Styling */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

/* Sidebar Filter Controls */
.filter-widget select,
.filter-widget input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    background-color: var(--light);
}

.filter-price-range {
    margin-bottom: 20px;
}

.filter-price-range label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: block;
    margin-bottom: 10px;
}

.filter-price-range input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

.filter-price-val {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary);
}

.filter-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.filter-btn:hover {
    background-color: var(--primary-hover);
}

/* Dynamic Details Page styles */
.detail-gallery {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    height: 450px;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-row {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 30px;
    margin-bottom: 40px;
    justify-content: space-between;
}

.detail-info-item {
    text-align: center;
}

.detail-info-item i {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 5px;
}

.detail-info-item span {
    display: block;
    font-size: 13px;
    color: var(--body-text);
}

.detail-info-item h5 {
    font-size: 16px;
}

.detail-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Accordion Itinerary */
.itinerary-container {
    margin-bottom: 40px;
}

.itinerary-item {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.itinerary-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.itinerary-header:hover,
.itinerary-item.active .itinerary-header {
    background-color: var(--light);
    color: var(--primary);
}

.itinerary-header i {
    transition: var(--transition-smooth);
}

.itinerary-item.active .itinerary-header i {
    transform: rotate(180deg);
}

.itinerary-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease;
}

.itinerary-item.active .itinerary-content {
    padding: 20px;
    max-height: 300px;
    border-top: 1px solid var(--light-grey);
}

/* Inclusions & Exclusions Grid */
.inout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.inout-box {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
}

.inout-box h4 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.inout-box.inclusions h4 i {
    color: var(--primary);
    margin-right: 10px;
}

.inout-box.exclusions h4 i {
    color: #e74c3c;
    margin-right: 10px;
}

.inout-list {
    list-style: none;
}

.inout-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.inout-list li i {
    margin-right: 12px;
}

.inout-list li i.fa-check-circle {
    color: var(--primary);
}

.inout-list li i.fa-times-circle {
    color: #e74c3c;
}

/* Side Booking Form */
.booking-form-widget {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 35px 30px;
    position: sticky;
    top: 100px;
}

.booking-form-widget h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.booking-form-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

.booking-form-price span {
    font-size: 14px;
    color: var(--body-text);
    font-weight: 500;
}

.booking-form .form-group {
    margin-bottom: 18px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius-sm);
    background-color: var(--light);
}

.booking-form textarea {
    resize: none;
    height: 80px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
}

.booking-submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(27, 188, 155, 0.25);
    margin-top: 10px;
}

.booking-submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(27, 188, 155, 0.35);
}

/* ==========================================================================
   Services Page Components
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 45px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--light-grey);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   About Us Elements (Stats, Team)
   ========================================================================== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro-img {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.about-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-intro-content p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Stats Counter Section */
.stats-section {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    color: var(--primary);
    font-size: 48px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Team Members */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-img-wrap {
    height: 250px;
    overflow: hidden;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-img-wrap img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Contact Us & Maps
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    display: flex;
    align-items: center;
}

.contact-info-icon {
    font-size: 28px;
    color: var(--primary);
    background-color: rgba(27, 188, 155, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.contact-info-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info-details p {
    font-size: 15px;
}

.contact-form-widget {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.contact-form-widget h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-form-widget .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-widget .form-group {
    margin-bottom: 20px;
}

.contact-form-widget input,
.contact-form-widget textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius-sm);
    background-color: var(--light);
}

.contact-form-widget textarea {
    height: 150px;
    resize: none;
}

.contact-form-widget input:focus,
.contact-form-widget textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
}

/* Map frame style */
.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 50px;
}

/* ==========================================================================
   Modals (Google Maps & Inquiry Popup)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 700px;
    position: relative;
    padding: 40px;
    transform: scale(0.85);
    transition: var(--transition-smooth);
    overflow: hidden;
}

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

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: var(--body-text);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light);
}

.modal-close-btn:hover {
    background-color: var(--light-grey);
    color: var(--dark);
}

.modal-content h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

/* ==========================================================================
   Success Form Confirmation Page
   ========================================================================== */
.success-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 60px 40px;
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    animation: fadeInUp 0.8s forwards;
}

.success-icon {
    font-size: 64px;
    color: var(--primary);
    background-color: rgba(27, 188, 155, 0.1);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    animation: pulse 2s infinite;
}

.success-card h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.success-card p {
    font-size: 16px;
    margin-bottom: 35px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer {
    background-color: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px 0;
    font-size: 14px;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.footer-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-info li i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 16px;
    margin-top: 3px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
}

.footer-newsletter-form input[type="email"] {
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    margin-bottom: 12px;
}

.footer-newsletter-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.footer-newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links a {
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Animations Keyframes
   ========================================================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 188, 155, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(27, 188, 155, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(27, 188, 155, 0);
    }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Mobile Drawer & Overlay Base Defaults */
.nav-mobile-header {
    display: none;
}
.nav-overlay {
    display: none;
}

/* Tablet Viewports */
@media (max-width: 1150px) {
    .header-container {
        height: 70px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid var(--light-grey);
        width: 100%;
        box-sizing: border-box;
    }
    .nav-mobile-header .logo a {
        display: flex;
        align-items: center;
    }
    .close-menu-btn {
        font-size: 22px;
        color: var(--dark);
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: var(--light);
        transition: var(--transition-smooth);
    }
    .close-menu-btn:hover {
        background-color: var(--light-grey);
        color: var(--primary);
    }
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(44, 62, 80, 0.6);
        backdrop-filter: blur(4px);
        z-index: 2400;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    nav {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        z-index: 2500;
        transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
    }
    nav.active {
        left: 0;
        border-top: none;
    }
    nav ul {
        flex-direction: column;
        padding: 40px 0;
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    nav ul li ul {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: var(--light);
        margin-top: 5px;
    }
    nav ul li:hover > ul {
        display: block;
    }
    .header-btn {
        display: none; /* Hide on smaller screens or place inside navigation menu */
    }
    
    /* Search Form */
    .search-form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Grid adjustments */
    .packages-grid,
    .destinations-grid,
    .services-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
    .about-intro-grid,
    .promo-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Viewports */
@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    .hero-content h6 {
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .text-rotator-3d {
        min-width: 130px;
    }
    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    .page-banner-content h1 {
        font-size: 28px;
    }
    .breadcrumbs {
        font-size: 12px;
    }
    
    /* About Us Responsive Optimizations */
    .about-intro-grid {
        gap: 30px;
    }
    .about-intro-img {
        height: 300px;
    }
    .about-intro-content h2 {
        font-size: 28px;
    }
    
    .search-widget {
        padding: 20px;
        margin-top: -50px;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
    
    /* Grids to single columns */
    .packages-grid,
    .destinations-grid,
    .services-grid,
    .pricing-grid,
    .stats-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .inout-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-widget {
        padding: 25px;
    }
    .contact-form-widget .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .detail-gallery {
        height: 250px;
    }
    .detail-info-row {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
    .flip-card-container {
        height: 350px;
    }
}

/* ==========================================================================
   Premium Scroll Reveal & 3D Text Animations
   ========================================================================== */

/* Scroll Reveal base styles */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-55px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(55px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Revealed states triggered on scroll */
.reveal-fade-up.revealed,
.reveal-fade-left.revealed,
.reveal-fade-right.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.reveal-zoom-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Parallax backgrounds */
.hero, .promo-section, .page-banner {
    background-repeat: no-repeat;
    background-position: center 0px;
    background-size: cover;
    will-change: background-position;
}

/* 3D text styling and keyframes */
.text-3d-entrance {
    perspective: 1000px;
    display: inline-block;
}

.text-3d-entrance span {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 45px, -200px) rotateX(-90deg);
    animation: rotate3DIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.text-3d-entrance span:nth-child(1) { animation-delay: 0.1s; }
.text-3d-entrance span:nth-child(2) { animation-delay: 0.25s; }
.text-3d-entrance span:nth-child(3) { animation-delay: 0.4s; }
.text-3d-entrance span:nth-child(4) { animation-delay: 0.55s; }
.text-3d-entrance span:nth-child(5) { animation-delay: 0.7s; }

@keyframes rotate3DIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, -200px) rotateX(-90deg);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg);
    }
}

/* 3D Text shadow for headers */
.text-3d-glow {
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c5c5c5,
        0 3px 0 #bbb,
        0 4px 0 #b5b5b5,
        0 5px 0 #b0b0b0,
        0 6px 1px rgba(0,0,0,.15),
        0 0 5px rgba(0,0,0,.15),
        0 1px 3px rgba(0,0,0,.35),
        0 3px 5px rgba(0,0,0,.25),
        0 5px 10px rgba(0,0,0,.3),
        0 10px 10px rgba(0,0,0,.25),
        0 20px 20px rgba(0,0,0,.2);
    color: var(--white);
    letter-spacing: 2px;
}

/* ==========================================================================
   Advanced Animations & Interactive 3D Effects
   ========================================================================== */

/* Scroll Progress Indicator */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    z-index: 10000;
    transition: width 0.08s ease-out;
    box-shadow: 0 1px 8px rgba(27, 188, 155, 0.4);
}

/* 3D Letter splitting */
.split-text-3d {
    perspective: 1000px;
    display: inline-block;
    transform-style: preserve-3d;
}

.split-text-3d .char {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 35px, -80px) rotateX(-90deg);
    transition: transform 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.75s ease;
    backface-visibility: hidden;
}

.split-text-3d.revealed .char {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
}

/* 3D Word Rotator / Cycler */
.text-rotator-3d {
    display: inline-block;
    position: relative;
    height: 1.1em;
    vertical-align: bottom;
    perspective: 800px;
    min-width: 180px;
    text-align: left;
    transform-style: preserve-3d;
    margin-left: 5px;
}

.rotator-word-3d {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform-style: preserve-3d;
    transform: rotateX(85deg) translate3d(0, 25px, 15px);
    transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.65s ease;
    color: var(--primary);
    white-space: nowrap;
}

.rotator-word-3d.active {
    opacity: 1;
    transform: rotateX(0deg) translate3d(0, 0, 0);
}

.rotator-word-3d.out {
    opacity: 0;
    transform: rotateX(-85deg) translate3d(0, -25px, -15px);
}

/* Hero Heading 3D Mouse Tilt & Custom Dynamic Shadow */
.hero-heading-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    display: inline-block;
    transition: transform 0.15s ease-out;
    transform: rotateX(calc(var(--text-tilt-x, 0) * 1deg)) rotateY(calc(var(--text-tilt-y, 0) * 1deg));
}

.hero-heading-3d.text-3d-glow {
    text-shadow: 
        calc(var(--shadow-offset-x, 0) * -0.2px) calc(var(--shadow-offset-y, 0) * -0.2px) 0 #ccc,
        calc(var(--shadow-offset-x, 0) * -0.4px) calc(var(--shadow-offset-y, 0) * -0.4px) 0 #c5c5c5,
        calc(var(--shadow-offset-x, 0) * -0.6px) calc(var(--shadow-offset-y, 0) * -0.6px) 0 #bbb,
        calc(var(--shadow-offset-x, 0) * -0.8px) calc(var(--shadow-offset-y, 0) * -0.8px) 0 #b5b5b5,
        calc(var(--shadow-offset-x, 0) * -1.0px) calc(var(--shadow-offset-y, 0) * -1.0px) 0 #b0b0b0,
        calc(var(--shadow-offset-x, 0) * -1.2px) calc(var(--shadow-offset-y, 0) * -1.2px) 2px rgba(0,0,0,.15),
        0 0 10px rgba(27, 188, 155, 0.25),
        calc(var(--shadow-offset-x, 0) * -1.5px) calc(var(--shadow-offset-y, 0) * -1.5px) 5px rgba(0,0,0,.35),
        calc(var(--shadow-offset-x, 0) * -2.0px) calc(var(--shadow-offset-y, 0) * -2.0px) 10px rgba(0,0,0,.25),
        calc(var(--shadow-offset-x, 0) * -3.0px) calc(var(--shadow-offset-y, 0) * -3.0px) 20px rgba(0,0,0,.2);
}

/* Staggered Scroll Reveal System */
.reveal-stagger-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.reveal-stagger-item.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Background Watermark Floating Shapes (Scroll Parallax) */
.parallax-shape {
    position: absolute;
    color: rgba(27, 188, 155, 0.05); /* subtle mint-teal */
    font-size: 110px;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.shape-1 {
    top: 8%;
    left: 4%;
    transform: rotate(12deg);
}

.shape-2 {
    bottom: 12%;
    right: 6%;
    transform: rotate(-22deg);
    color: rgba(186, 113, 218, 0.04); /* purple */
}

.shape-3 {
    top: 15%;
    right: 5%;
    transform: rotate(38deg);
    color: rgba(20, 185, 213, 0.05); /* cyan */
}

.shape-4 {
    bottom: 8%;
    left: 6%;
    transform: rotate(-12deg);
}

/* Interactive Card Parallax Tilt & Glare Reflections */
.package-card, .price-card, .service-card {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

/* Image shifts in opposite direction of tilt */
.package-img-wrap {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.package-img-wrap img {
    will-change: transform;
    transition: transform 0.15s ease-out;
    transform: translate3d(calc(var(--card-img-x, 0) * -1.2px), calc(var(--card-img-y, 0) * -1.2px), 0) scale(1.1);
}

/* Card Glare Shine Reflection Overlay */
.package-card::after, .price-card::after, .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
        circle at calc(var(--card-shine-x, 50) * 1%) calc(var(--card-shine-y, 50) * 1%),
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 55%
    );
    z-index: 6;
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.package-card:hover::after, .price-card:hover::after, .service-card:hover::after {
    opacity: 1;
}

/* Magnetic Call-to-Action Buttons */
.magnetic-btn {
    display: inline-block;
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Adventure Promo Section
   ========================================================================== */
.adventure-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.adventure-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

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

.signature-sub {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    color: var(--primary);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px;
    display: inline-block;
}

.adventure-content h2 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--dark);
}

.adventure-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--body-text);
    margin-bottom: 30px;
}

/* Skills / Progress bars */
.adventure-skills {
    margin-bottom: 35px;
}

.skill-item {
    margin-bottom: 22px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.skill-bar-bg {
    width: 100%;
    height: 7px;
    background-color: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background-color: var(--dark);
    width: 0%;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.adventure-content.revealed .skill-bar-fill {
    width: var(--percent);
}

/* Image container with custom arch crop on the left */
.adventure-image-col {
    display: flex;
    justify-content: flex-end;
}

.adventure-img-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1.1 / 1;
    overflow: hidden;
    border-top-left-radius: 250px;
    border-bottom-left-radius: 250px;
    box-shadow: var(--shadow-lg);
    will-change: transform;
}

.adventure-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Responsive updates for Adventure Section */
@media (max-width: 992px) {
    .adventure-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .adventure-image-col {
        justify-content: center;
    }
    .adventure-img-container {
        max-width: 100%;
        border-radius: var(--border-radius-lg);
        aspect-ratio: 16 / 9;
    }
}

/* Media optimization for animation motion settings */
@media (prefers-reduced-motion: reduce) {
    .reveal-stagger-item,
    .split-text-3d .char,
    .rotator-word-3d,
    .parallax-shape,
    .hero-heading-3d,
    .package-img-wrap img,
    .skill-bar-fill {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .skill-bar-fill {
        width: var(--percent) !important;
    }
    .package-card::after, .price-card::after, .service-card::after {
        display: none !important;
    }
}
