@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1d4ed8; /* Wanderly Blue */
    --secondary-color: #0f172a; /* Slate 900 */
    --accent-color: #dbeafe; /* Blue 100 */
    --dark-color: #1e293b; /* Slate 800 */
    --light-color: #f1f5f9; /* Slate 100 */
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: #64748b; /* Soft slate text */
    overflow-x: hidden;
    background-color: var(--theme-bg, #f8fafc); /* Configurable background */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1e293b; /* Dark slate for high contrast headings */
}

/* Modern Button Styling */
.btn {
    border-radius: 50rem !important; /* Pill shape */
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 78, 216, 0.3) !important;
}

/* Custom Modern Navbar */
.custom-navbar {
    background-color: var(--theme-navbar, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: 0.3s;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.nav-link {
    font-weight: 600;
    color: var(--dark-color);
    transition: 0.3s;
    font-size: 15px;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hover Underline Animation */
.hover-underline {
    position: relative;
    opacity: 0.85;
}
.hover-underline:hover {
    opacity: 1;
    color: var(--menu-hover-color) !important;
}
.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 2px;
    left: 50%;
    background-color: var(--menu-hover-color);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
    border-radius: 5px;
}
.hover-underline:hover::after, .hover-underline.active::after {
    width: 60%;
}
.tracking-tight {
    letter-spacing: -0.5px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
/* Responsiveness for Tablet & Mobile */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-content p.lead { font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .hero-banner { min-height: 400px; height: auto; padding: 100px 0; }
    .hero-title { font-size: 1.8rem; margin-bottom: 10px; line-height: 1.3; }
    .hero-content p.lead { font-size: 0.95rem; }
}

/* Tour Cards */
.tour-card {
    border: none;
    border-radius: 20px; /* Enhanced modern radius */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04); /* Ultra soft diffused shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    background-color: var(--theme-card, #ffffff);
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); /* Enhanced hover shadow */
}
.tour-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}
.tour-card:hover .tour-img {
    transform: scale(1.05);
}
.tour-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
}
.floating-wa:hover {
    background-color: #1ebe57;
    color: white;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--theme-footer-bg, #0f172a);
    color: var(--theme-footer-text, #94a3b8);
    padding: 60px 0 20px;
}
.theme-footer-heading {
    color: var(--theme-footer-text, #ffffff) !important;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer h5 {
    color: var(--theme-footer-text, #ffffff);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer a {
    color: var(--theme-footer-text, rgba(255, 255, 255, 0.8));
    text-decoration: none;
    transition: 0.3s;
}
.footer a:hover {
    opacity: 0.7;
}

/* Bootstrap Color Overrides */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important; 
    color: white !important;
}
.btn-primary:hover { 
    background-color: var(--secondary-color) !important; 
    border-color: var(--secondary-color) !important; 
}
.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}
.bg-light { background-color: var(--light-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }

/* Wanderly Style Cards */
.wanderly-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.wanderly-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.wanderly-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.wanderly-card:hover .wanderly-img {
    transform: scale(1.05);
}
.wanderly-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}
.wanderly-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.wanderly-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.wanderly-location {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
.wanderly-price {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Custom Pagination Styling */
.pagination .page-link {
    color: var(--primary-color) !important;
    background-color: var(--theme-card, #ffffff) !important;
    border-color: rgba(0,0,0,0.1) !important;
}

.pagination .page-link:hover {
    color: var(--theme-card, #ffffff) !important;
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.pagination .page-item.active .page-link {
    color: var(--theme-card, #ffffff) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
