/*
Theme Name: JustWravel Inspired
Theme URI: https://example.com/justwravel-inspired
Author: Alex
Author URI: https://example.com
Description: A dynamic WordPress theme inspired by JustWravel's layout and design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: justwravel-inspired
Tags: travel, blog, responsive, dynamic
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    color: #F05A28;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo img {
    max-height: 50px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation ul li {
    position: relative;
    margin-left: 20px;
}

.main-navigation ul li a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation ul li a:hover {
    color: #F05A28;
}

.main-navigation ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    z-index: 10;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul li ul li {
    margin: 0;
}

.main-navigation ul li ul li a {
    padding: 10px 15px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section Styles */
.hero-section {
    height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-form {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input[type="text"] {
    width: 70%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.search-form button {
    padding: 12px 20px;
    background-color: #F05A28;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Destination Section */
.destinations-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #F05A28;
    margin: 15px auto 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.destination-card {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.destination-content {
    padding: 20px;
}

.destination-content h3 {
    margin-bottom: 10px;
}

.destination-content p {
    color: #666;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #F05A28;
    color: #fff;
    border-radius: 3px;
    font-weight: 500;
}

.btn:hover {
    background-color: #e04a18;
    color: #fff;
}

/* Tours Section */
.tours-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.tour-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #F05A28;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.tour-content {
    padding: 20px;
}

.tour-content h3 {
    margin-bottom: 10px;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.tour-description {
    margin-bottom: 15px;
    color: #666;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

.blog-excerpt {
    margin-bottom: 15px;
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    text-align: center;
    padding: 20px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
}

/* Call to Action */
.cta-section {
    padding: 60px 0;
    background-color: #F05A28;
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #F05A28;
    border-radius: 3px;
    font-weight: 500;
    font-size: 16px;
}

.cta-btn:hover {
    background-color: #f0f0f0;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #F05A28;
}

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

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #bbb;
}

.footer-widget ul li a:hover {
    color: #F05A28;
}

.footer-widget p {
    color: #bbb;
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .tours-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .search-form input[type="text"] {
        width: 65%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .search-form input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-form button {
        width: 100%;
    }
    
    .destinations-grid,
    .tours-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom styles for WordPress */
.alignleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

.alignright {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}

.aligncenter {
    display: block;
    margin: 15px auto;
}

.wp-caption {
    max-width: 100%;
    background: #f1f1f1;
    padding: 5px;
}

.wp-caption-text {
    text-align: center;
    margin: 5px 0;
}

.gallery {
    margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
    display: inline-block;
    max-width: 33.33%;
    padding: 0 1.1400652% 2.2801304%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.sticky {
    position: relative;
}

.bypostauthor {
    display: block;
}