/* ===================================
   CSS Reset & Base Styles
   =================================== */

/* Universal selector - applies to ALL elements */
* {
    margin: 0;
    /* Remove default spacing outside elements */
    padding: 0;
    /* Remove default spacing inside elements */
    box-sizing: border-box;
    /* Include padding and border in element's total width/height */
}

/* Styles for the entire body of the webpage */
body {
    font-family: 'Poppins', Arial, sans-serif;
    /* Set font (Poppins, fallback to Arial, then any sans-serif) */
    line-height: 1.6;
    /* Space between lines of text (1.6 times the font size) */
    color: #333;
    /* Default text color (dark gray) */
}

/* Container class to center content and limit width */
.container {
    max-width: 1200px;
    /* Maximum width of content area */
    margin: 0 auto;
    /* Center horizontally (0 top/bottom, auto left/right) */
    padding: 0 20px;
    /* 20px padding on left and right sides */
}

/* ===================================
   Navigation Header
   =================================== */

/* Styles for the header section */
header {
    background-color: #fff;
    /* White background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Shadow: 0px horizontal, 2px down, 10px blur, 10% black */
    position: fixed;
    /* Stay in place when scrolling */
    width: 100%;
    /* Full width of screen */
    top: 0;
    /* Stick to top of page */
    z-index: 100;
    /* Stack on top of other elements (higher number = on top) */
}

/* Navigation bar container */
nav {
    display: flex;
    /* Use flexbox layout */
    justify-content: space-between;
    /* Push items to opposite ends */
    align-items: center;
    /* Center items vertically */
    padding: 1rem 0;
    /* 1rem padding top and bottom, 0 left/right */
}

/* Logo styling */
.logo {
    display: flex;
    /* Use flexbox for logo content */
    align-items: center;
    /* Center icon and text vertically */
    gap: 10px;
    /* 10px space between icon and text */
    font-size: 1.5rem;
    /* Font size (1.5 times the root font size) */
    font-weight: 700;
    /* Bold text (400=normal, 700=bold) */
    color: #007bff;
    /* Blue color */
}

/* Logo icon size */
.logo i {
    font-size: 1.8rem;
    /* Slightly larger than logo text */
}

/* Navigation links container */
.nav-links {
    display: flex;
    /* Use flexbox for horizontal layout */
    list-style: none;
    /* Remove bullet points from list */
    gap: 2rem;
    /* 2rem space between each link */
}

/* Navigation link styling */
.nav-links a {
    text-decoration: none;
    /* Remove underline from links */
    color: #333;
    /* Dark gray text */
    font-weight: 500;
    /* Medium weight (between normal and bold) */
    transition: color 0.3s;
    /* Smooth color change over 0.3 seconds */
}

/* Navigation link hover effect */
.nav-links a:hover {
    color: #007bff;
    /* Change to blue when mouse hovers */
}

/* ===================================
   Hero Section
   =================================== */

/* Main hero/banner section */
.hero {
    height: 100vh;
    /* Full viewport height (entire screen height) */
    background-image: url('world-map-doodle-thin-continental-silhouette-minimal-line-vector-illustration_675380-152.webp');
    /* Background image */
    background-size: cover;
    /* Image covers entire area without distortion */
    background-position: center;
    /* Center the background image */
    display: flex;
    /* Use flexbox for centering content */
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */
    text-align: center;
    /* Center text alignment */
    position: relative;
    /* Position relative for absolute children */
    margin-top: 70px;
    /* Space from top (accounts for fixed header) */
}

/* Dark overlay on hero background */
.hero::before {
    content: '';
    /* Required for pseudo-element to show */
    position: absolute;
    /* Position relative to hero section */
    top: 0;
    /* Align to top */
    left: 0;
    /* Align to left */
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background: rgba(0, 0, 0, 0.4);
    /* Semi-transparent black (40% opacity) */
}

/* Hero content wrapper */
.hero-content {
    position: relative;
    /* Position above the overlay */
    z-index: 1;
    /* Stack above overlay */
    color: #fff;
    /* White text */
    max-width: 800px;
    /* Maximum width of content */
    padding: 0 20px;
    /* 20px padding on left and right */
}

/* Main hero heading */
.hero h1 {
    font-size: 3rem;
    /* Large font size (3 times root size) */
    font-weight: 700;
    /* Bold text */
    margin-bottom: 1rem;
    /* Space below heading */
}

/* Hero paragraph/subtitle */
.hero p {
    font-size: 1.2rem;
    /* Slightly larger than normal text */
    margin-bottom: 2rem;
    /* Space below paragraph */
}

/* ===================================
   Buttons
   =================================== */

/* Primary button styling */
.btn {
    display: inline-block;
    /* Inline but can have width/height */
    padding: 12px 30px;
    /* 12px top/bottom, 30px left/right */
    background: #007bff;
    /* Blue background */
    color: #fff;
    /* White text */
    text-decoration: none;
    /* Remove underline */
    border-radius: 5px;
    /* Rounded corners */
    font-weight: 600;
    /* Semi-bold text */
    transition: all 0.3s;
    /* Smooth transition for all properties */
}

/* Primary button hover effect */
.btn:hover {
    background: #0056b3;
    /* Darker blue on hover */
    transform: translateY(-2px);
    /* Move up 2px */
}

/* Secondary button styling (outlined) */
.btn-small {
    display: inline-block;
    /* Inline but can have dimensions */
    padding: 8px 20px;
    /* Smaller padding than primary button */
    background: transparent;
    /* No background color */
    color: #007bff;
    /* Blue text */
    border: 2px solid #007bff;
    /* 2px blue border */
    text-decoration: none;
    /* Remove underline */
    border-radius: 5px;
    /* Rounded corners */
    font-weight: 500;
    /* Medium weight */
    transition: all 0.3s;
    /* Smooth transition */
}

/* Secondary button hover effect */
.btn-small:hover {
    background: #007bff;
    /* Fill with blue on hover */
    color: #fff;
    /* White text on hover */
}

/* ===================================
   Section Styles
   =================================== */

/* General section spacing */
section {
    padding: 80px 0;
    /* 80px padding top and bottom */
}

/* Section heading */
section h2 {
    text-align: center;
    /* Center the heading */
    font-size: 2.5rem;
    /* Large font size */
    margin-bottom: 1rem;
    /* Space below heading */
    color: #333;
    /* Dark gray color */
}

/* Section subtitle/description */
.subtitle {
    text-align: center;
    /* Center the text */
    font-size: 1.1rem;
    /* Slightly larger than body text */
    color: #666;
    /* Medium gray */
    margin-bottom: 50px;
    /* Large space below subtitle */
}

/* ===================================
   Destinations Section
   =================================== */

/* Destinations section background */
.destinations {
    background: #f8f9fa;
    /* Light gray background */
}

/* Grid container for destination cards */
.destination-grid {
    display: grid;
    /* Use CSS Grid layout */
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal-width columns (1fr = 1 fraction) */
    gap: 30px;
    /* 30px space between grid items */
}

/* Individual destination card */
.destination-card {
    background: #fff;
    /* White background */
    border-radius: 10px;
    /* Rounded corners */
    overflow: hidden;
    /* Hide content that overflows borders */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
    transition: transform 0.3s;
    /* Smooth movement animation */
}

/* Destination card hover effect */
.destination-card:hover {
    transform: translateY(-10px);
    /* Move card up 10px on hover */
}

/* Destination card image */
.destination-card img {
    width: 100%;
    /* Full width of card */
    height: 250px;
    /* Fixed height */
    object-fit: cover;
    /* Crop image to fit without distortion */
}

/* Text content area of destination card */
.card-info {
    padding: 20px;
    /* 20px padding on all sides */
}

/* Card title/heading */
.card-info h3 {
    font-size: 1.5rem;
    /* Medium-large font size */
    margin-bottom: 10px;
    /* Space below heading */
    color: #333;
    /* Dark gray */
}

/* Card description text */
.card-info p {
    color: #666;
    /* Medium gray */
    margin-bottom: 15px;
    /* Space below paragraph */
}

/* ===================================
   Features Section
   =================================== */

/* Grid container for feature boxes */
.features-grid {
    display: grid;
    /* Use CSS Grid */
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns */
    gap: 30px;
    /* 30px space between items */
}

/* Individual feature box */
.feature {
    text-align: center;
    /* Center all content */
    padding: 30px 20px;
    /* 30px top/bottom, 20px left/right */
    background: #fff;
    /* White background */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
}

/* Feature icon */
.feature i {
    font-size: 3rem;
    /* Large icon */
    color: #007bff;
    /* Blue color */
    margin-bottom: 15px;
    /* Space below icon */
}

/* Feature heading */
.feature h3 {
    font-size: 1.3rem;
    /* Medium font size */
    margin-bottom: 10px;
    /* Space below heading */
    color: #333;
    /* Dark gray */
}

/* Feature description */
.feature p {
    color: #666;
    /* Medium gray */
}

/* ===================================
   Testimonials Section
   =================================== */

/* Grid container for testimonials */
.testimonial-grid {
    display: grid;
    /* Use CSS Grid */
    grid-template-columns: repeat(2, 1fr);
    /* 2 equal columns */
    gap: 30px;
    /* 30px space between items */
}

/* Individual testimonial card */
.testimonial {
    background: #fff;
    /* White background */
    padding: 30px;
    /* 30px padding on all sides */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
}

/* Star rating display */
.stars {
    color: #ffc107;
    /* Gold/yellow color */
    font-size: 1.2rem;
    /* Slightly larger text */
    margin-bottom: 15px;
    /* Space below stars */
}

/* Testimonial quote text */
.testimonial p {
    color: #666;
    /* Medium gray */
    font-style: italic;
    /* Italicized text */
    margin-bottom: 20px;
    /* Space below quote */
    line-height: 1.7;
    /* More space between lines */
}

/* Customer name */
.testimonial h4 {
    color: #333;
    /* Dark gray */
    margin-bottom: 5px;
    /* Small space below name */
}

/* Customer location */
.testimonial span {
    color: #999;
    /* Light gray */
    font-size: 0.9rem;
    /* Slightly smaller text */
}

/* ===================================
   Footer
   =================================== */

/* Footer section */
footer {
    background: #1a1a1a;
    /* Very dark background (almost black) */
    color: #fff;
    /* White text */
    padding: 60px 0 20px;
    /* 60px top, 20px bottom, 0 left/right */
}

/* Footer content grid */
.footer-content {
    display: grid;
    /* Use CSS Grid */
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns */
    gap: 40px;
    /* 40px space between columns */
    margin-bottom: 40px;
    /* Space below footer content */
}

/* Footer column description text */
.footer-col p {
    color: #ccc;
    /* Light gray */
    margin: 15px 0;
    /* 15px space top and bottom */
}

/* Footer column headings */
.footer-col h3 {
    margin-bottom: 20px;
    /* Space below heading */
}

/* Footer lists */
.footer-col ul {
    list-style: none;
    /* Remove bullet points */
}

/* Footer list items */
.footer-col ul li {
    margin-bottom: 10px;
    /* Space between items */
}

/* Footer links */
.footer-col a {
    color: #ccc;
    /* Light gray */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.3s;
    /* Smooth color change */
}

/* Footer link hover effect */
.footer-col a:hover {
    color: #007bff;
    /* Blue on hover */
}

/* Social media icons container */
.social {
    display: flex;
    /* Flexbox for horizontal layout */
    gap: 15px;
    /* 15px space between icons */
    margin-top: 20px;
    /* Space above social icons */
}

/* Social media icon links */
.social a {
    width: 40px;
    /* Fixed width */
    height: 40px;
    /* Fixed height (makes square) */
    background: #333;
    /* Dark gray background */
    border-radius: 50%;
    /* Makes it circular */
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    /* Center icon vertically */
    justify-content: center;
    /* Center icon horizontally */
    color: #fff;
    /* White icon */
    transition: all 0.3s;
    /* Smooth transition */
}

/* Social icon hover effect */
.social a:hover {
    background: #007bff;
    /* Blue background on hover */
    transform: translateY(-3px);
    /* Move up 3px */
}

/* Copyright section at bottom */
.footer-bottom {
    text-align: center;
    /* Center text */
    padding-top: 20px;
    /* Space above */
    border-top: 1px solid #333;
    /* Thin border on top */
    color: #999;
    /* Light gray text */
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet and smaller screens (768px and below) */
@media (max-width: 768px) {

    /* Hide navigation links on mobile */
    .nav-links {
        display: none;
        /* Could add mobile menu with JavaScript */
    }

    /* Smaller hero heading on mobile */
    .hero h1 {
        font-size: 2rem;
        /* Reduce from 3rem to 2rem */
    }

    /* 2-column grid for destinations */
    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns instead of 3 */
    }

    /* 2-column grid for features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns instead of 4 */
    }

    /* Single column for testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
        /* 1 column instead of 2 */
    }

    /* Single column footer */
    .footer-content {
        grid-template-columns: 1fr;
        /* Stack footer columns */
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {

    /* Even smaller hero heading */
    .hero h1 {
        font-size: 1.8rem;
        /* Further reduce heading size */
    }

    /* Smaller section headings */
    section h2 {
        font-size: 2rem;
        /* Reduce from 2.5rem */
    }

    /* Single column for all grids */
    .destination-grid,
    .features-grid {
        grid-template-columns: 1fr;
        /* Stack everything in 1 column */
    }
}