/**
 * KussVonCeylon Tourism Website
 * Main Stylesheet
 */

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #2d5016;
    --secondary-color: #8b4513;
    --accent-color: #ff6b35;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2d5016 0%, #4a7c24 100%);
    
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    font-family: var(--font-heading);
}

.navbar-brand .logo {
    height: 50px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-nav .btn-book {
    background: var(--accent-color);
    color: var(--white) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.navbar-nav .btn-book:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.dropdown-menu {
    background: rgba(26, 26, 26, 0.95);
    border: none;
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--white);
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.hero-image,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background: var(--accent-color);
    border: none;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
    transition: var(--transition);
}

.hero-btn:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.4);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-down i {
    color: var(--white);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* ==========================================================================
   Quick Features
   ========================================================================== */
.quick-features {
    background: var(--white);
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-box {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-box p {
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section-padding {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    padding-left: 2rem;
}

.about-content .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-features li {
    padding: 0.7rem 0;
    font-size: 1.1rem;
    color: #555;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 0.7rem;
}

/* ==========================================================================
   Package Cards
   ========================================================================== */
.package-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.package-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.badge-featured,
.badge-category {
    position: absolute;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.badge-featured {
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white);
}

.badge-category {
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    color: var(--dark-color);
}

.package-content {
    padding: 1.5rem;
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.package-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.package-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.package-meta span {
    color: #777;
    font-size: 0.9rem;
}

.package-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.package-price .price-label {
    font-size: 0.85rem;
    color: #999;
}

/* ==========================================================================
   Vehicle Cards
   ========================================================================== */
.vehicle-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.vehicle-image {
    height: 200px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-content {
    padding: 1.5rem;
}

.vehicle-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.vehicle-type {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.vehicle-features {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
}

.vehicle-features span {
    color: #555;
}

.vehicle-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.vehicle-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonialsSwiper {
    padding: 2rem 0 4rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img,
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.author-info p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

/* ==========================================================================
   Booking Section
   ========================================================================== */
.booking-section {
    background: var(--gradient);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 0.7rem 0;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 1rem;
    width: 20px;
}

.booking-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.booking-form .form-control,
.booking-form .form-select {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: var(--transition);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer p {
    color: #ccc;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links 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);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-contact i {
    margin-right: 0.7rem;
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #999;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.scroll-top-btn.show {
    display: flex;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #234012;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 80, 22, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .navbar-nav .btn-book {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quick-features {
        margin-top: 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }
    
    .scroll-top-btn {
        bottom: 80px;
        right: 20px;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.bg-light {
    background-color: #f8f9fa !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient) !important;
}
