/* Aadith Travels Sri Lanka - Premium Custom CSS */

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

/* Color Variables */
:root {
    --primary-color: #3d0c4e; /* Deep Plum/Purple */
    --primary-light: #591b70; /* Medium Purple */
    --primary-dark: #220330; /* Very Dark Purple */
    --accent-gold: #f39c12; /* Warm Gold */
    --accent-teal: #00adb5; /* Vibrant Teal */
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f9f6fa;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(61, 12, 78, 0.05);
    --shadow-medium: 0 15px 35px rgba(61, 12, 78, 0.12);
    --shadow-hover: 0 20px 40px rgba(61, 12, 78, 0.22);
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Navigation and Header Styles */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.top-bar a:hover {
    color: var(--accent-gold);
}

.main-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}
.main-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}
.brand-primary {
    color: var(--primary-color);
}
.brand-accent {
    color: var(--accent-gold);
}

.main-navbar .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark) !important;
    font-size: 0.95rem;
    padding: 10px 15px !important;
    position: relative;
    transition: var(--transition-smooth);
}
.main-navbar .nav-link:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    border-radius: 2px;
}
.main-navbar .nav-link:hover:after,
.main-navbar .nav-item.active .nav-link:after {
    transform: scaleX(1);
}
.main-navbar .nav-link:hover {
    color: var(--primary-light) !important;
}

/* Custom Buttons with Gradients & Micro-animations */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(61, 12, 78, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-premium:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f39c12 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}
.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}
.btn-premium:hover:after {
    opacity: 1;
}

.btn-premium-outline {
    background: transparent;
    color: var(--primary-color) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition-smooth);
}
.btn-premium-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 12, 78, 0.2);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d35400 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    transition: var(--transition-smooth);
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
    background: linear-gradient(135deg, #f39c12 0%, var(--primary-color) 100%);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, rgba(61, 12, 78, 0.85) 0%, rgba(34, 3, 48, 0.95) 100%), 
                url('https://images.unsplash.com/photo-1546708973-b339540b5162?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}
.hero-badge {
    background-color: rgba(243, 156, 18, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}
.hero-lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Quick Search Panel Widget */
.search-widget-panel {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    padding: 25px;
    margin-top: -60px;
    z-index: 10;
    position: relative;
    border: 1px solid rgba(61, 12, 78, 0.08);
}

/* Feature/USP Cards */
.usp-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}
.section-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}
.section-title-left:after {
    left: 0;
    transform: none;
}

.usp-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(61, 12, 78, 0.03);
    transition: var(--transition-smooth);
    height: 100%;
}
.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(61, 12, 78, 0.1);
}
.usp-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(61, 12, 78, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}
.usp-card:hover .usp-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--accent-gold);
    transform: rotateY(180deg);
}

/* Tour Cards Grid */
.tour-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(61, 12, 78, 0.04);
    transition: var(--transition-smooth);
    height: 100%;
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}
.tour-card-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.tour-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.tour-card:hover .tour-card-img-wrapper img {
    transform: scale(1.1);
}
.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.tour-price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--accent-gold);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tour-card-body {
    padding: 25px;
}
.tour-duration {
    font-size: 0.85rem;
    color: var(--accent-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
}
.tour-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}
.tour-card-title:hover {
    color: var(--primary-light);
}
.tour-rating {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}
.tour-rating span {
    color: var(--text-muted);
}
.tour-card-footer {
    border-top: 1px solid rgba(61, 12, 78, 0.08);
    padding: 15px 25px;
    background-color: #faf8fb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tour-highlight-mini {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tour-highlight-mini i {
    color: var(--accent-gold);
    margin-right: 5px;
}

/* Category Filter Tabs */
.filter-btn {
    border-radius: 50px;
    border: 2px solid rgba(61, 12, 78, 0.15);
    background-color: transparent;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 8px 22px;
    margin: 5px;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* Testimonial Section */
.testimonials-section {
    background: linear-gradient(135deg, #3d0c4e 0%, #220330 100%);
    color: #ffffff;
    padding: 80px 0;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}
.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}
.testimonial-user img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
    margin-bottom: 15px;
}
.testimonial-user-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 2px;
}
.testimonial-user-country {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Detail Page - Hero Banner */
.detail-hero {
    height: 50vh;
    min-height: 350px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(34, 3, 48, 0.95) 0%, rgba(34, 3, 48, 0.4) 60%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.detail-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding-bottom: 40px;
}

/* Tour Itinerary Accordion styling */
.itinerary-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(61, 12, 78, 0.05);
}
.itinerary-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    background-color: #ffffff;
    padding: 20px;
    border: none;
    box-shadow: none !important;
}
.itinerary-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(61, 12, 78, 0.05);
    color: var(--primary-color);
}
.itinerary-accordion .day-badge {
    background-color: var(--accent-gold);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    margin-right: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
.itinerary-accordion .accordion-body {
    padding: 25px 25px 25px 50px;
    line-height: 1.7;
    background-color: #ffffff;
    border-top: 1px solid rgba(61, 12, 78, 0.05);
}

/* List Groups & Inclusions */
.inclusion-list, .exclusion-list {
    list-style: none;
    padding-left: 0;
}
.inclusion-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}
.inclusion-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
}
.exclusion-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}
.exclusion-list li:before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Sidebar Inquiry Form Box */
.inquiry-sidebar-box {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(61, 12, 78, 0.08);
    padding: 30px;
    position: sticky;
    top: 100px;
}

/* Footer styling */
.footer-main {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--accent-gold);
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: inline-block;
}
.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding-left: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}
.social-circle-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* Floating widgets */
.whatsapp-float-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}
.whatsapp-float-widget:hover {
    transform: scale(1.1) rotate(10deg);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.scroll-top-widget {
    position: fixed;
    bottom: 105px;
    right: 35px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}
.scroll-top-widget.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top-widget:hover {
    background-color: var(--accent-gold);
    transform: translateY(-5px);
}

/* Contact Cards and Forms */
.contact-info-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(61, 12, 78, 0.05);
    height: 100%;
}
.contact-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(61, 12, 78, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(97, 27, 112, 0.15);
}

/* Micro-animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-slideup {
    animation: slideUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
