/* Hero Section */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.hero-content {
    padding: 20px 0;
}

.hero-img-container {
    order: 1;
}

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

.hero-content h1 {
    font-size: 1.8rem;
    line-height: 2rem;
    font-weight: 400;
    text-transform: capitalize;
    color: var(--headline-color);
}

.hero-content p {
    margin: 10px 0 30px;
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Destination Cards */
.destinations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
}

.destination-card {
    background: url('../images/city-card.png');
    background-size: cover;
    border-radius: 5px;
    box-shadow: rgba(0, 120, 212, 0.25) 0px 10px 20px 0px;
}

.card-overlay {
    background: rgba(0, 120, 212, 0.7);
    width: 100%;
    height: 100%;
    border-radius: 5px;
    padding: 30px 20px;
}

.card-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 500;
    color: #fff;
}

.card-overlay p {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
}

/* Category Sections */
.category-section {
    margin: 40px 0 0;
}

.heading-block h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
    text-transform: capitalize;
    font-weight: 600;
}

.heading-block p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Blog Section */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.blog-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: rgba(0, 120, 212, 0.25) 0px 0px 20px 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 15px;
}

.blog-meta {
    font-size: 0.8rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--headline-color);
    font-weight: 500;
}

.blog-excerpt {
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: var(--paragraph-color);
}

.read-more {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Product Section */
.product-section {
    margin: 40px 0;
}

.section-title {
    margin: 20px 0;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    line-height: 2rem;
}

.product-card {
    overflow: hidden;
    margin: 30px 0;
    position: relative;
}


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

.product-content {
    background: var(--lightbg-color);
    padding: 15px 15px 25px;
    border-radius: 5px;
    position: relative;
    margin: -40px 15px 0 15px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
    line-height: 1.5rem;
}

.review-count {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--paragraph-color);
}

.product-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    font-weight: bold;
    color: #C72121;
    font-size: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1rem;
}

.discount {
    background-color: #e7f5eb;
    color: #28a745;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.side-images img {
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    border-radius: 5px;
    padding: 5px;
    margin: 0 auto;
    max-width: fit-content;
    margin-bottom: 50px;
}

.pagination li {
    margin: 0 2px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    font-size: 14px;
    padding: 0 5px;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid #DFE3E8;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #e0e0e0;
}

.pagination a.active {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 10px;
}


.pagination li.optional {
    display: none;
}

.pagination .Previous {
    background: #C4CDD5;
    color: #fff;
}

.pagination .Previous .fa {
    color: #dde4eb;
}



/* Tablet Styles */
@media (min-width: 768px) {

    .hero {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1;
        order: 1;
    }

    .hero-img-container {
        flex: 1;
        order: 2;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .product-content {
        padding: 30px;
        margin: -40px 40px 0 40px;
    }

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

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

    .section-title,
    .heading-block h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .pagination a {
        font-size: 16px;
        min-width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .pagination li.tablet {
        display: block;
    }

}

/* Desktop Styles */
@media (min-width: 1024px) {

    .hero-content h1 {
        font-size: 5rem;
        line-height: 6rem;
    }

    .destinations {
        grid-template-columns: repeat(4, 1fr);
        margin-top: -40px;
    }

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

    .product-card {
        flex-direction: row;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .product-card-reverse {
        flex-direction: row-reverse;
    }

    .product-content {
        padding: 40px 30px;
        border-radius: 5px;
        z-index: 2;
        margin: 0;
    }

    .product-img {
        width: 50%;
        height: auto;
        transform: scale(1.2);
    }

    .product-content {
        width: 50%;
    }

    .pagination li.desktop {
        display: block;
    }

}


@media screen and (min-width: 1600px) and (max-width: 1920px) {
    .hero-content h1 {
        font-size: 7rem;
        line-height: 7rem;
    }

    .hero-content p {
        font-size: 1.3rem;
        line-height: 2rem;
    }

    .card-overlay h3 {
        font-size: 1.8rem;
    }

    .card-overlay p {
        font-size: 1rem;
        line-height: 2rem;
    }

    .section-title,
    .heading-block h2 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .heading-block p {
        font-size: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .blog-excerpt {
        font-size: 1rem;
    }

    .blog-meta {
        font-size: 1.3rem;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .pagination a {
        font-size: 18px;
        min-width: 50px;
        height: 50px;
        line-height: 50px;
    }

}