/* ============================================
   WANDERLUST TRAVELS - MAIN STYLESHEET
   HTML5 & CSS Project for SE-421
   ============================================ */

/* RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0066CC;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #FF6B35;
}

h4 {
    font-size: 1.2rem;
    color: #0066CC;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B35;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER AND NAVIGATION
   ============================================ */

.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066CC;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FF6B35;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF6B35;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        gap: 0;
        display: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 1rem 20px;
        border-bottom: 1px solid #eee;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #FF6B35;
    color: white;
}

.btn-primary:hover {
    background-color: #E55A24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: #0066CC;
    color: white;
}

.btn-secondary:hover {
    background-color: #0052A3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* ============================================
   FEATURED DESTINATIONS CAROUSEL
   ============================================ */

.featured-destinations {
    padding: 60px 20px;
    background-color: white;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    min-height: 300px;
    animation: fadeIn 0.5s ease-in;
}

.carousel-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.slide-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.slide-content .price {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #FF6B35;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.features-grid,
.testimonials-grid,
.services-grid,
.stats-grid,
.values-grid,
.team-grid,
.gallery-grid,
.pricing-grid,
.faq-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}

.values-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ============================================
   CARDS
   ============================================ */

.feature-card,
.testimonial-card,
.service-card,
.stat-card,
.value-card,
.team-member,
.destination-card,
.pricing-card,
.faq-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.destination-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-card h3,
.service-card h3,
.value-card h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-card .author {
    font-weight: 600;
    color: #0066CC;
    margin-top: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #0066CC;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    color: #666;
}

.team-member h4 {
    color: #0066CC;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    font-size: 0.95rem;
}

.destination-card h3 {
    color: #0066CC;
}

.destination-card .region {
    color: #FF6B35;
    font-weight: 600;
    font-size: 0.9rem;
}

.destination-card .price {
    color: #2D5016;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.destination-card .duration {
    color: #666;
    font-size: 0.9rem;
}

.destination-card ul {
    list-style: none;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.destination-card li {
    padding: 0.3rem 0;
    color: #666;
}

.destination-card li:before {
    content: "✓ ";
    color: #2D5016;
    font-weight: bold;
}

/* PRICING CARD SPECIAL */
.pricing-card.featured {
    border: 2px solid #FF6B35;
    transform: scale(1.05);
}

.pricing-card .badge {
    background-color: #FF6B35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    color: #0066CC;
    font-weight: bold;
    margin: 1rem 0;
}

.pricing-card .description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #666;
}

.pricing-card li:before {
    content: "✓ ";
    color: #2D5016;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.why-choose-us,
.testimonials,
.services-section,
.core-values,
.team-section,
.why-choose {
    padding: 60px 20px;
    background-color: white;
}

.why-choose-us {
    background-color: #f5f5f5;
}

.testimonials {
    background-color: white;
}

.services-section {
    background-color: #f5f5f5;
}

.core-values {
    background-color: white;
}

.team-section {
    background-color: #f5f5f5;
}

.why-choose {
    background-color: white;
}

.why-choose ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.why-choose li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #333;
}

.why-choose li:before {
    content: "✓ ";
    color: #2D5016;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 30px;
}

/* ============================================
   FILTERS SECTION
   ============================================ */

.filters-section {
    padding: 40px 20px;
    background-color: white;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-group label {
    font-weight: 600;
    color: #0066CC;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background-color: white;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

.filter-btn.active {
    background-color: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

.results-count {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-top: 20px;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #e0e0e0;
    font-size: 1.2rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 60px 20px;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.info-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h3 {
    color: #0066CC;
    margin-bottom: 0.5rem;
}

.info-block p {
    color: #666;
    margin-bottom: 0.5rem;
}

.business-hours ul {
    list-style: none;
    color: #666;
}

.business-hours li {
    padding: 0.3rem 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form-container h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #0066CC;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* ============================================
   MESSAGES
   ============================================ */

.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
}

.message.show {
    display: block;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #FF6B35;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF6B35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .carousel-btn {
        font-size: 1.5rem;
    }

    .features-grid,
    .testimonials-grid,
    .services-grid,
    .values-grid,
    .team-grid,
    .gallery-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 50px 15px;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .carousel-slide {
        padding: 30px 20px;
        min-height: 200px;
    }

    .slide-content h3 {
        font-size: 1.3rem;
    }

    .carousel-btn {
        padding: 5px 10px;
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .nav-menu li {
        padding: 0.8rem 15px;
    }
}
