/*
Theme Name: MyHolidayOffers
Author: Manus
Description: A WordPress theme for MyHolidayOffers.com.
Version: 1.0
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
    text-decoration: none;
}

.logo span {
    color: #333;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-form {
    position: relative;
    margin-right: 20px;
}

.search-input {
    padding: 8px 15px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 250px;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.user-actions a {
    margin-left: 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.user-actions a:hover {
    color: #FF6B35;
}

/* Navigation */
.main-nav {
    background-color: #333;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.nav-item.active .nav-link {
    background-color: #FF6B35;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #FF6B35;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}

/* Hero Section */
.hero-carousel-section {
    position: relative;
    height: 600px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: #fff;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
}

.search-box {
    background-color: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.search-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.search-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.search-tab.active {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

.search-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    grid-gap: 15px;
}

.search-input-group {
    position: relative;
}

.search-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-align: left;
}

.search-input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-submit {
    background-color: #FF6B35;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    align-self: flex-end;
}

.search-submit:hover {
    background-color: #e85a24;
}

/* Featured Deals Section */
.featured-deals {
    padding: 60px 0;
    background-color: #fff;
}

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

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #FF6B35;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 15px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 25px;
}

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

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.deal-img-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.deal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .deal-img {
    transform: scale(1.05);
}

.deal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF6B35;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.deal-content {
    padding: 20px;
}

.deal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

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

.deal-price {
    font-weight: 600;
    color: #27ae60;
}

.deal-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    height: 40px;
    overflow: hidden;
}

.deal-cta {
    display: block;
    width: 100%;
    background-color: #FF6B35;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.deal-cta:hover {
    background-color: #e85a24;
}

/* Destination Categories */
.destination-categories {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 200px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

/* Home Rentals Section */
.home-rentals {
    padding: 60px 0;
    background-color: #fff;
}

.rentals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

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

.rental-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.rental-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.rental-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rental-card:hover .rental-img {
    transform: scale(1.05);
}

.rental-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF6B35;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rental-content {
    padding: 20px;
}

.rental-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

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

.rental-price {
    font-weight: 600;
    color: #27ae60;
}

.rental-features {
    display: flex;
    margin-bottom: 15px;
}

.rental-feature {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 14px;
    color: #666;
}

.rental-feature i {
    margin-right: 5px;
    color: #FF6B35;
}

.rental-cta {
    display: block;
    width: 100%;
    background-color: #FF6B35;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rental-cta:hover {
    background-color: #e85a24;
}

/* Flight Deals Section */
.flight-deals {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.flights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.flight-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.flight-info {
    display: flex;
    flex-direction: column;
}

.flight-airports {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.airport-code {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.flight-arrow {
    font-size: 24px;
    margin: 0 15px;
    color: #FF6B35;
}

.flight-cities {
    font-size: 14px;
    color: #666;
}

.flight-details {
    text-align: right;
}

.flight-price {
    font-size: 22px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 5px;
}

.flight-dates {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.flight-cta {
    background-color: #FF6B35;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.flight-cta:hover {
    background-color: #e85a24;
}

/* Car Rentals Section */
.car-rentals {
    padding: 60px 0;
    background-color: #fff;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 25px;
}

.car-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.car-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.car-content {
    padding: 20px;
}

.car-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.car-model {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.car-features {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

.car-features span {
    margin: 0 8px;
}

.car-price {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 15px;
}

.car-cta {
    display: block;
    width: 100%;
    background-color: #FF6B35;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.car-cta:hover {
    background-color: #e85a24;
}

/* Luxury & Wellness Section */
.luxury-wellness {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.luxury-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
}

.luxury-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.luxury-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.luxury-item:hover .luxury-img {
    transform: scale(1.05);
}

.luxury-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.luxury-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.luxury-content p {
    font-size: 14px;
    margin-bottom: 20px;
}

.luxury-cta {
    background-color: #FF6B35;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.luxury-cta:hover {
    background-color: #e85a24;
}

/* Travel Blog Section */
.travel-blog {
    padding: 60px 0;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

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

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

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

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

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

.blog-cta {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #333;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
}

.newsletter-form input {
    width: 300px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    background-color: #FF6B35;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e85a24;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

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

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

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FF6B35;
}

.social-links a {
    color: #ccc;
    margin-right: 15px;
    font-size: 18px;
    text-decoration: none;
}

.social-links a:hover {
    color: #FF6B35;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rentals-grid, .flights-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .luxury-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
    }
    .header-actions {
        margin-top: 15px;
    }
    .main-nav {
        position: relative;
    }
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
    }
    .nav-list.active {
        display: flex;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 36px;
    }
    .search-form-container {
        grid-template-columns: 1fr;
    }
    .deals-grid, .rentals-grid, .flights-grid, .blog-grid, .cars-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-form input {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
}



/*
Theme Name: MyHolidayOffers
Author: Manus
Description: A WordPress theme for MyHolidayOffers.com.
Version: 1.0
*/

