/* Custom Styles for Indus Journeys */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Travel-themed Background Patterns */
.travel-pattern-bg {
    position: relative;
    overflow: hidden;
}

.travel-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 15l-5 10h10z' fill='%23D4AF37' opacity='0.03'/%3E%3Ccircle cx='15' cy='45' r='3' fill='%23FFA500' opacity='0.03'/%3E%3Cpath d='M45 30h-8l4-7z' fill='%23D4AF37' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: float 60s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-60px) translateX(60px); }
}

/* Decorative Travel Icons */
.travel-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.travel-icon {
    position: absolute;
    opacity: 0.05;
    animation: float-icon 20s infinite ease-in-out;
}

.travel-icon.plane {
    font-size: 3rem;
    color: #D4AF37;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.travel-icon.train {
    font-size: 2.5rem;
    color: #FFA500;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.travel-icon.bus {
    font-size: 2rem;
    color: #D4AF37;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

.travel-icon.beach {
    font-size: 3.5rem;
    color: #FFA500;
    bottom: 10%;
    right: 20%;
    animation-delay: 1s;
}

.travel-icon.ticket {
    font-size: 2rem;
    color: #D4AF37;
    top: 40%;
    left: 10%;
    animation-delay: 3s;
}

.travel-icon.passport {
    font-size: 2.5rem;
    color: #FFA500;
    top: 30%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Section with icons */
.with-travel-icons {
    position: relative;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

/* Smooth Transitions */
a, button, .transition {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFA500;
}

/* Loading Animation for Images */
img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

img:hover {
    opacity: 0.9;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Button Glow Effect */
.btn-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

/* Pulse Animation for WhatsApp Button */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Hero Section Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.7));
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

/* Package Card Ribbon */
.ribbon {
    position: absolute;
    top: 20px;
    right: -5px;
    background: #D4AF37;
    color: #1a1a1a;
    padding: 5px 15px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ribbon::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    border-left: 5px solid #9d8127;
    border-bottom: 5px solid transparent;
}

/* Loader */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #D4AF37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: #D4AF37;
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.3;
}

/* Stats Counter */
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #D4AF37;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Print Styles */
@media print {
    nav, footer, .whatsapp-float {
        display: none;
    }
}
