/* ============================================
   Traveler - Tour & Travel Web Application
   Main Stylesheet
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Variables / Custom Properties
   ============================================ */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8F65;
    --secondary: #004E89;
    --secondary-dark: #003D6B;
    --secondary-light: #1A6FB5;
    --accent: #F7C948;
    --accent-dark: #E5B82A;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #E5E7EB;
    --gray-lightest: #F3F4F6;
    --white: #FFFFFF;
    --bg: #F9FAFB;
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn i {
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-white:hover {
    background: var(--gray-lightest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--dark);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Navigation / Header
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 42px;
}

.navbar-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
}

.navbar-brand .brand-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    padding: 10px 18px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
}

.mobile-only {
    display: none;
}

/* ============================================
   User Dropdown Menu (Desktop)
   ============================================ */
.user-dropdown {
    position: relative;
}

.user-icon-trigger {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-lightest);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-icon-trigger i {
    font-size: 1.1rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.user-icon-trigger:hover {
    background: var(--primary);
}

.user-icon-trigger:hover i {
    color: var(--white);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1100;
    overflow: hidden;
}

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

.user-dropdown-header {
    padding: 15px 20px;
    background: var(--gray-lightest);
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--dark);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-lighter);
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.user-dropdown-item:hover {
    background: rgba(255, 107, 53, 0.05);
    padding-left: 25px;
}

.user-dropdown-item:hover i {
    transform: scale(1.1);
}

.user-dropdown-item-content {
    display: flex;
    flex-direction: column;
}

.user-dropdown-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-dropdown-item-desc {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   User Menu (Authenticated User Dropdown)
   ============================================ */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--gray-lightest);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-trigger:hover {
    background: var(--primary);
}

.user-menu-trigger:hover .user-avatar {
    border-color: var(--white);
}

.user-menu-trigger:hover .user-menu-name,
.user-menu-trigger:hover i {
    color: var(--white);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    transition: border-color 0.3s ease;
}

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

.user-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
}

.user-menu-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.user-menu-trigger > i {
    font-size: 0.7rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1100;
    overflow: hidden;
}

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

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.user-menu-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    flex-shrink: 0;
}

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

.user-menu-avatar span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.user-menu-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-menu-info .user-menu-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-section {
    padding: 10px 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.user-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

.user-menu-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-menu-item:hover {
    background: rgba(255, 107, 53, 0.08);
    padding-left: 25px;
}

.user-menu-item:hover i {
    color: var(--primary);
}

.user-menu-footer {
    border-top: 1px solid var(--gray-lighter);
    padding: 5px 0;
}

.user-menu-footer .user-menu-item {
    color: var(--danger);
}

.user-menu-footer .user-menu-item i {
    color: var(--danger);
}

.user-menu-footer .user-menu-item:hover {
    background: rgba(239, 68, 68, 0.08);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    margin-top: 75px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ============================================
   Search Box
   ============================================ */
.search-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    padding: 0 20px;
}

.search-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 25px 30px;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box .search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-lightest);
    padding: 12px 20px;
    border-radius: var(--radius);
}

.search-box .search-input-group i {
    color: var(--gray);
    font-size: 1.1rem;
}

.search-box .search-input-group input {
    flex: 1;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--dark);
}

.search-box .search-input-group input::placeholder {
    color: var(--gray-light);
}

.search-box .search-input-group select {
    background: none;
    border: none;
    font-size: 0.95rem;
    color: var(--dark);
    cursor: pointer;
    padding-right: 10px;
}

.search-box .btn {
    padding: 14px 30px;
    flex-shrink: 0;
}

/* ============================================
   Featured Places Section
   ============================================ */
.places-section {
    padding: 80px 0;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.place-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.place-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.place-card:hover img {
    transform: scale(1.1);
}

.place-card .place-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.place-card .place-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 600;
}

.place-card .place-packages {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-top: 5px;
}

.place-card .place-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   Packages Section
   ============================================ */
.packages-section {
    padding: 80px 0;
    background: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.package-card .card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.package-card .card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.package-card .badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.badge-featured {
    background: var(--accent);
    color: var(--dark);
}

.badge-discount {
    background: var(--danger);
    color: var(--white);
}

.badge-duration {
    background: rgba(0,0,0,0.6);
    color: var(--white);
}

.package-card .card-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.package-card .card-wishlist:hover,
.package-card .card-wishlist.active {
    color: var(--danger);
    background: var(--white);
}

.package-card .card-body {
    padding: 20px;
}

.package-card .card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.package-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.package-card .card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.package-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--gray);
}

.package-card .card-meta span i {
    color: var(--primary);
    font-size: 0.9rem;
}

.package-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--gray-lighter);
}

.package-card .card-price {
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card .card-price .price-container {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 60px;
}

.package-card .card-price .original-price {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-decoration: line-through;
    order: 1;
}

.package-card .card-price .offer-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    order: 2;
}

.package-card .card-price .discount-badge {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.package-card .card-price .current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.package-card .card-price .per-person {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
}

/* ============================================
   Package Single Page
   ============================================ */
.package-hero {
    position: relative;
    height: 500px;
    margin-top: 75px;
    overflow: hidden;
}

.package-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
}

.package-hero-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
}

.package-detail {
    padding: 40px 0 80px;
}

.package-detail .detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.package-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.package-gallery .gallery-item {
    height: 120px;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
}

.package-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.package-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--gray-lightest);
    padding: 18px;
    border-radius: var(--radius);
    text-align: center;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-card .info-label {
    font-size: 0.8rem;
    color: var(--gray);
    display: block;
}

.info-card .info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Itinerary */
.itinerary-section {
    margin-top: 40px;
}

.itinerary-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 30px;
    border-left: 2px solid var(--gray-lighter);
    margin-left: 15px;
}

.itinerary-item:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}

.itinerary-item .day-marker {
    position: absolute;
    left: -18px;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.itinerary-item .day-content {
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}

.itinerary-item .day-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.itinerary-item .day-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.itinerary-item .day-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.itinerary-item .day-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.itinerary-item .day-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--gray-lightest);
    padding: 4px 12px;
    border-radius: 20px;
}

.itinerary-item .day-meta span i {
    color: var(--primary);
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 95px;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid var(--gray-lighter);
}

.booking-card .price-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-lighter);
}

.booking-card .price-section .offer-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.booking-card .price-section .original-price {
    font-size: 1.1rem;
    color: var(--gray-light);
    text-decoration: line-through;
    margin-left: 10px;
}

.booking-card .price-section .discount-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.booking-card .price-section .per-person {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 3px;
}

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

.booking-form .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--gray-lightest);
    transition: var(--transition);
}

.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.booking-form .total-section {
    background: var(--gray-lightest);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.booking-form .total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.booking-form .total-row.final {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    padding-top: 10px;
    border-top: 1px dashed var(--gray-lighter);
    margin-top: 10px;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: var(--gray-lightest);
    border-radius: var(--radius);
}

.stat-card h3 {
    font-size: 2rem;
}

.stat-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

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

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.contact-method p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-form-card {
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 30px 20px;
}

.why-us-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.why-us-card:hover .icon-box {
    background: var(--primary);
    transform: scale(1.1);
}

.why-us-card h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.why-us-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

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

.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1rem;
}

.testimonial-card .quote {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

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

.testimonial-card .author-info .name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-card .author-info .location {
    font-size: 0.8rem;
    color: var(--gray-light);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 60px 0;
    background: var(--gray-lightest);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-box h3 {
    margin-bottom: 10px;
}

.newsletter-box p {
    color: var(--gray);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col .brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    display: block;
}

.footer-col .brand-text span {
    color: var(--primary);
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-links a i {
    font-size: 0.7rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control.error {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ============================================
   Alerts / Flash Messages
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065F46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991B1B;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400E;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1E40AF;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert .close-alert {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.5;
    color: inherit;
}

.alert .close-alert:hover {
    opacity: 1;
}

/* ============================================
   Tables
   ============================================ */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.data-table thead {
    background: var(--gray-lightest);
}

.data-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-lighter);
}

.data-table tbody tr:hover {
    background: var(--gray-lightest);
}

.data-table .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-confirmed, .status-success, .status-active, .status-paid {
    background: rgba(16, 185, 129, 0.1);
    color: #065F46;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #92400E;
}

.status-cancelled, .status-failed, .status-inactive, .status-banned {
    background: rgba(239, 68, 68, 0.1);
    color: #991B1B;
}

.status-completed {
    background: rgba(59, 130, 246, 0.1);
    color: #1E40AF;
}

.status-new {
    background: rgba(139, 92, 246, 0.1);
    color: #5B21B6;
}

.status-read, .status-replied {
    background: rgba(16, 185, 129, 0.1);
    color: #065F46;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
    color: var(--dark);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   Auth Pages (Login/Register)
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 20px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card .auth-header .brand-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.auth-card .auth-header .brand-text span {
    color: var(--primary);
}

.auth-card .auth-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gray);
}

.auth-card .auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-card .auth-footer a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    color: var(--gray-light);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-lighter);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray);
}

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

.breadcrumb .separator {
    color: var(--gray-light);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-lighter);
}

.modal-header h3 {
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--gray-lighter);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Initial hidden state for scroll animations */
.animation-hidden {
    opacity: 0;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-lighter);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design (Tablet)
   ============================================ */
@media (max-width: 991px) {
    .package-detail .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Tablet grid layouts */
    .places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Place page hero */
    .place-hero {
        height: 300px !important;
    }
    
    .place-hero h1 {
        font-size: 2rem !important;
    }
    
    .place-hero p {
        font-size: 0.9rem !important;
        max-width: 100% !important;
    }
    
    /* Tablet hero adjustments */
    .hero-slider {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Search box tablet */
    .search-box {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-box .search-input-group {
        flex: 1 1 calc(50% - 10px);
    }
    
    /* About page tablet */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Contact page tablet */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
    }
    
    /* Places page tablet */
    .places-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    /* Hide old nav-menu on mobile - using sidebar instead */
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-box {
        flex-direction: column;
        padding: 20px;
    }
    
    .search-box .search-input-group {
        width: 100%;
    }
    
    .search-box .btn {
        width: 100%;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .package-hero {
        height: 350px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .places-grid {
        grid-template-columns: 1fr;
    }
    
    .place-card {
        height: 250px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .package-info-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .auth-card {
        padding: 25px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--gray-lightest); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Hide mobile sidebar elements on desktop */
.mobile-sidebar,
.mobile-sidebar-overlay {
    display: none;
}

/* Mobile Sidebar Overlay - Desktop default */
.mobile-sidebar-overlay {
    z-index: 0;
}

/* Mobile Sidebar - Desktop default */
.mobile-sidebar {
    z-index: 0;
    transform: translateX(100%);
}

/* Mobile menu toggle button (hamburger) */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-lightest);
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-toggle i {
    font-size: 1.2rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover i {
    color: var(--white);
}

/* ============================================
   Mobile Slide-in Sidebar (max-width: 991px)
   ============================================ */

/* Hide desktop elements on mobile */
@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile-only elements */
    .mobile-only {
        display: flex !important;
    }
    
    /* Show mobile toggle */
    .mobile-menu-toggle,
    .nav-toggle {
        display: flex !important;
        order: -1;
        margin-right: 15px;
    }
    
    /* Mobile navbar layout - hamburger on left */
    .navbar .container {
        position: relative;
    }
    
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Ensure nav-actions has proper layout */
    .nav-actions {
        gap: 8px;
        margin-left: auto;
    }
    
    /* Mobile Sidebar Overlay */
    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block;
    }
    
    .mobile-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Sidebar */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85%;
        height: 100%;
        background: var(--white);
        z-index: 1101;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
    }
    
    .mobile-sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 25px;
        border-bottom: 1px solid var(--gray-lighter);
    }
    
    .mobile-sidebar-title {
        font-family: var(--font-heading);
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--dark);
    }
    
    .mobile-sidebar-title i {
        color: var(--primary);
        margin-right: 8px;
    }
    
    .mobile-sidebar-logo {
        display: inline-block;
        line-height: 1.2;
    }
    
    .mobile-sidebar-logo-img {
        display: block;
        max-height: 40px;
        max-width: 150px;
        object-fit: contain;
    }
    
    .mobile-sidebar-logo-text {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--dark);
    }
    
    .mobile-sidebar-logo-text span {
        color: var(--primary);
    }
    
    .mobile-sidebar-close {
        width: 40px;
        height: 40px;
        border: none;
        background: var(--gray-lightest);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-sidebar-close:hover {
        background: var(--primary);
        color: var(--white);
    }
    
    .mobile-sidebar-close i {
        font-size: 1.1rem;
        color: var(--dark);
    }
    
    .mobile-sidebar-close:hover i {
        color: var(--white);
    }
    
    .mobile-sidebar-menu {
        flex: 1;
        overflow-y: auto;
        padding: 15px 0;
    }
    
    .mobile-sidebar-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 25px;
        color: var(--dark);
        font-weight: 500;
        font-size: 1rem;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .mobile-sidebar-link i {
        width: 20px;
        color: var(--gray);
        transition: color 0.3s ease;
    }
    
    .mobile-sidebar-link:hover,
    .mobile-sidebar-link.active {
        background: rgba(255, 107, 53, 0.08);
        color: var(--primary);
        border-left-color: var(--primary);
    }
    
    .mobile-sidebar-link:hover i,
    .mobile-sidebar-link.active i {
        color: var(--primary);
    }
    
    .mobile-sidebar-divider {
        height: 1px;
        background: var(--gray-lighter);
        margin: 0 25px;
    }
    
    .mobile-sidebar-auth {
        padding: 25px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-sidebar-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .mobile-sidebar-btn i {
        margin-right: 8px;
    }
    
    /* Mobile Sidebar User Profile (Authenticated) */
    .mobile-sidebar-user {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 20px 25px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }
    
    .mobile-sidebar-avatar {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid var(--white);
        flex-shrink: 0;
    }
    
    .mobile-sidebar-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .mobile-sidebar-avatar span {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .mobile-sidebar-user-info {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .mobile-sidebar-user-name {
        color: var(--white);
        font-weight: 600;
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-sidebar-user-email {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-sidebar-close-user {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .mobile-sidebar-user-menu {
        padding-top: 5px;
    }
}

/* Desktop-only visible on larger screens */
@media (min-width: 992px) {
    .desktop-only {
        display: inline-flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Additional mobile styles for very small screens */
@media (max-width: 480px) {
    .mobile-sidebar {
        width: 100%;
        max-width: 100%;
    }
}