/* Modern Travel Website Enhancements */
/* Author: GitHub Copilot */
/* Description: Modern, responsive styling for travel and tour website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Dancing+Script:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Root Variables for Consistent Theming */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --text-primary: #2c3e50;
    --text-secondary: #555;
    --text-light: #888;
    --bg-light: #f8f9fa;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-heavy: 0 20px 40px rgba(0,0,0,0.15);
    --border-radius: 20px;
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

/* Enhanced Base Typography */
body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Enhanced Section Subtitles */
.sec-subtitle {
    font-family: var(--font-script) !important;
    font-weight: 600;
    font-size: 1.8rem !important;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.sec-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

/* Enhanced Section Titles */
.sec-title {
    font-family: var(--font-primary) !important;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.sec-text {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Modern Button Styles */
.vs-btn {
    font-family: var(--font-primary) !important;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.vs-btn.style4 {
    background: var(--primary-gradient);
    color: #fff;
}

.vs-btn.style2 {
    background: var(--secondary-gradient);
    color: #fff;
}

.vs-btn.style3 {
    background: var(--accent-gradient);
    color: #fff;
}

.vs-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: #fff;
    text-decoration: none;
}

.vs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.vs-btn:hover::before {
    left: 100%;
}

/* Enhanced Hero Section */
.hero-layout1 {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-primary) !important;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-text {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 35px;
    animation: slideInLeft 1s ease-out 0.6s both;
}

/* Enhanced Navigation Buttons */
.icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.icon-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.icon-btn i {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.prev-btn {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.next-btn {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Modern Card Styles */
.package-style1, .destination-style2 {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    margin-bottom: 30px;
}

.package-style1:hover, .destination-style2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.package-img, .destination-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.package-img img, .destination-img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.package-style1:hover .package-img img,
.destination-style2:hover .destination-img {
    transform: scale(1.1);
}

.package-content {
    padding: 25px;
}

.package-title {
    font-family: var(--font-primary) !important;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.package-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-title a:hover {
    color: #667eea;
}

.package-text {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.package-meta a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.package-meta a:hover {
    color: #667eea;
}

/* Destination Cards Enhancement */
.destination-style2 {
    height: 350px;
}

.destination-img {
    height: 100%;
    border-radius: var(--border-radius);
}

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 25px 25px;
    color: #fff;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.destination-name a {
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.destination-name a:hover {
    color: #667eea;
}

/* Enhanced About List */
.about-list1 {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-list1 li {
    position: relative;
    padding: 12px 0 12px 35px;
    font-family: var(--font-secondary);
    color: var(--text-secondary);
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.about-list1 li:last-child {
    border-bottom: none;
}

.about-list1 li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    width: 25px;
    height: 25px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.about-list1 li:hover {
    color: var(--text-primary);
    padding-left: 40px;
}

/* Enhanced Image Gallery */
.img-box3 {
    position: relative;
}

.img-box3 img {
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.img-box3 img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

/* Modern Spacing and Layout */
.space {
    padding: 100px 0;
}

.space-extra-bottom {
    padding-bottom: 150px;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Enhanced Backgrounds */
.white-title .sec-title {
    color: #fff !important;
}

.white-title .sec-text {
    color: rgba(255,255,255,0.9) !important;
}

.white-title .sec-subtitle {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .sec-subtitle {
        font-size: 1.5rem !important;
    }
    
    .space {
        padding: 60px 0;
    }
    
    .space-extra-bottom {
        padding-bottom: 100px;
    }
    
    .prev-btn, .next-btn {
        width: 50px;
        height: 50px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .hero-slide {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-slide {
        min-height: 80vh;
    }
    
    .package-content {
        padding: 20px;
    }
    
    .destination-style2 {
        height: 300px;
    }
    
    .vs-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .sec-subtitle {
        font-size: 1.3rem !important;
    }
    
    .icon-btn {
        width: 45px;
        height: 45px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Better Accessibility */
.vs-btn:focus,
.icon-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-slide,
    .icon-btn,
    .vs-btn {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .sec-subtitle {
        background: none;
        color: #000 !important;
        -webkit-text-fill-color: initial;
    }
    
    .vs-btn {
        background: #000 !important;
        color: #fff !important;
        border: 2px solid #000;
    }
}
