/**
 * Egypt Tours Portal Style - Custom Styling
 * Styles for the new modern homepage and single tour layouts
 * Version: 1.0.0
 */

/* ═════════════════════════════════════════════════════════════════
   HOMEPAGE - ETP STYLE
   ═════════════════════════════════════════════════════════════════ */

.st-homepage-etp {
    background-color: #fff;
}

/* Section Styling Base */
.st-homepage-etp section {
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
}

.st-homepage-etp section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a2b48;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #1a2b48;
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 50px;
}

/* Awards Section */
.etp-awards-section {
    background: linear-gradient(135deg, #5191FA 0%, #3d6dd6 100%);
    color: white;
    padding: 40px 0;
}

.etp-awards-section .section-title {
    color: white;
    margin-bottom: 30px;
}

.awards-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.award-item {
    flex: 0 0 150px;
    min-height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* Hero Banner */
.etp-hero-banner {
    background: linear-gradient(to bottom, rgba(81, 145, 250, 0.1), rgba(81, 145, 250, 0.05));
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a2b48;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #5191FA;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: #5e6d77;
    line-height: 1.8;
    margin: 0;
}

/* Category Cards */
.etp-category-section {
    padding: 60px 0;
}

.category-cards {
    gap: 30px;
    margin: 0 -15px;
}

.category-card {
    padding: 0 15px;
    margin-bottom: 30px;
}

.card-inner {
    background: white;
    border: 2px solid #eaeef3;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-inner:hover {
    border-color: #5191FA;
    box-shadow: 0 8px 24px rgba(81, 145, 250, 0.15);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    color: #5191FA;
    margin-bottom: 20px;
    line-height: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b48;
    margin-bottom: 20px;
}

.view-all-link {
    display: inline-block;
    color: #5191FA;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #3d6dd6;
    text-decoration: underline;
}

/* Book With Confidence */
.etp-confidence-section {
    background: #f8f9fc;
    padding: 60px 0;
}

.confidence-features {
    gap: 30px;
    margin: 0 -15px;
}

.feature-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

.feature-icon {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b48;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 14px;
    color: #5e6d77;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .confidence-features.row {
        flex-direction: column;
    }
    
    .col-lg-2-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Recommended Tours */
.etp-tours-section {
    padding: 60px 0;
}

.tours-grid {
    gap: 30px;
    margin: 0 -15px;
}

.tour-card {
    padding: 0 15px;
    margin-bottom: 30px;
}

.tour-card-inner {
    background: white;
    border: 1px solid #eaeef3;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card-inner:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.tour-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card-inner:hover .tour-image img {
    transform: scale(1.05);
}

.tour-price-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(81, 145, 250, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.tour-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b48;
    margin-bottom: 15px;
}

.tour-title a {
    color: #1a2b48;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-title a:hover {
    color: #5191FA;
}

.tour-meta {
    font-size: 13px;
    color: #5e6d77;
    margin-bottom: 20px;
    flex-grow: 1;
}

.meta-item {
    margin-bottom: 8px;
}

.meta-label {
    font-weight: 600;
    color: #1a2b48;
}

.btn-primary {
    background: #5191FA;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background: #3d6dd6;
    color: white;
}

/* Statistics Section */
.etp-stats-section {
    background: linear-gradient(135deg, #5191FA 0%, #3d6dd6 100%);
    color: white;
    padding: 60px 0;
}

.etp-stats-section .section-title {
    color: white;
}

.stats-grid {
    gap: 30px;
    margin: 0 -15px;
}

.stat-item {
    padding: 0 15px;
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Blog Section */
.etp-blog-section {
    padding: 60px 0;
}

.blog-posts {
    gap: 30px;
    margin: 0 -15px 40px;
}

.blog-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

.blog-card {
    background: white;
    border: 1px solid #eaeef3;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b48;
    margin-bottom: 12px;
}

.blog-title a {
    color: #1a2b48;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #5191FA;
}

.blog-excerpt {
    font-size: 14px;
    color: #5e6d77;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-date {
    font-size: 12px;
    color: #999;
}

.read-more {
    color: #5191FA;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #3d6dd6;
}

.view-all-wrapper {
    text-align: center;
}

.view-all-wrapper .btn {
    display: inline-block;
}

/* ═════════════════════════════════════════════════════════════════
   SINGLE TOUR PAGE - ETP STYLE
   ═════════════════════════════════════════════════════════════════ */

.st-single-tour-etp {
    background-color: #f8f9fc;
}

/* Featured Image */
.etp-tour-featured {
    position: relative;
}

.tour-featured-image {
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
    color: white;
}

.share-buttons,
.media-buttons {
    display: flex;
    gap: 15px;
}

.share-btn,
.media-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.share-btn:hover,
.media-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.etp-tour-main {
    background: white;
    padding: 40px 0;
}

.etp-tour-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeef3;
}

.tour-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a2b48;
    margin-bottom: 15px;
    margin-top: 0;
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5e6d77;
    font-size: 16px;
}

/* Details Table */
.etp-tour-details-table {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.details-table tr {
    border-bottom: 1px solid #eaeef3;
}

.details-table tr:last-child {
    border-bottom: none;
}

.details-table td {
    padding: 15px 0;
    vertical-align: middle;
}

.details-table td:first-child {
    width: 40%;
    color: #1a2b48;
}

.details-table td:last-child {
    color: #5e6d77;
}

/* Tour Description */
.etp-tour-description {
    margin-bottom: 50px;
}

.tour-content {
    font-size: 15px;
    line-height: 1.8;
    color: #5e6d77;
}

.tour-content p {
    margin-bottom: 15px;
}

/* Tour Highlights */
.etp-tour-highlights {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
}

.highlight-text {
    font-size: 14px;
    color: #1a2b48;
    margin: 0;
    padding-top: 4px;
}

/* Inclusions & Exclusions */
.etp-inclusions-exclusions {
    margin-bottom: 50px;
}

.etp-inclusions,
.etp-exclusions {
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .etp-inclusions,
    .etp-exclusions {
        margin-bottom: 0;
    }
}

.inclusions-list,
.exclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inclusion-item,
.exclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #5e6d77;
}

.check-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.x-icon {
    color: #ef4444;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

/* Tour Itinerary */
.etp-tour-itinerary {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.itinerary-items {
    display: grid;
    gap: 20px;
}

.itinerary-item {
    background: white;
    padding: 20px;
    border-left: 4px solid #5191FA;
    border-radius: 4px;
}

.itinerary-day {
    margin-bottom: 15px;
}

.itinerary-day h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b48;
    margin: 0;
}

.itinerary-content {
    font-size: 14px;
    color: #5e6d77;
    line-height: 1.6;
}

/* Pricing Tiers */
.etp-tour-pricing {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-tier {
    background: white;
    padding: 20px;
    border: 2px solid #eaeef3;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    border-color: #5191FA;
    box-shadow: 0 4px 12px rgba(81, 145, 250, 0.15);
}

.tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeef3;
}

.tier-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a2b48;
    margin: 0;
}

.tier-badge {
    display: inline-block;
    background: #5191FA;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.tier-content {
    font-size: 13px;
    color: #5e6d77;
}

.tier-content p {
    margin: 8px 0;
}

.price-note {
    color: #999;
    font-size: 12px;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* What to Pack */
.etp-what-to-pack {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.packing-grid {
    margin: 0 -15px;
}

.packing-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #5e6d77;
    margin-bottom: 15px;
}

.pack-icon {
    color: #10b981;
    font-weight: bold;
    flex-shrink: 0;
}

/* Related Tours */
.etp-related-tours {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.related-tours-grid {
    gap: 30px;
    margin: 0 -15px;
}

.related-tour-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

.tour-card {
    background: white;
    border: 1px solid #eaeef3;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.tour-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.tour-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-info {
    padding: 15px;
}

.tour-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b48;
    margin-bottom: 10px;
}

.tour-title a {
    color: #1a2b48;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-title a:hover {
    color: #5191FA;
}

.tour-meta {
    font-size: 12px;
    color: #5e6d77;
    margin-bottom: 12px;
}

/* Booking Sidebar */
.etp-booking-sidebar {
    background: white;
    border: 1px solid #eaeef3;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 20px;
}

.price-box {
    text-align: center;
    border-bottom: 1px solid #eaeef3;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.price-label {
    font-size: 13px;
    color: #5e6d77;
    margin-bottom: 8px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: #5191FA;
    margin-bottom: 10px;
}

.price-note {
    font-size: 12px;
    color: #999;
}

.booking-section {
    margin-bottom: 30px;
}

.btn-booking {
    padding: 14px 24px !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-green {
    background: #10b981;
    color: white;
    border: none;
}

.btn-green:hover {
    background: #059669;
    color: white;
}

.info-box {
    background: #f8f9fc;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #5191FA;
}

.info-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b48;
    margin: 0 0 8px 0;
}

.info-box p {
    font-size: 13px;
    color: #5e6d77;
    margin: 0 0 10px 0;
}

.info-box a {
    font-size: 13px;
    color: #5191FA;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #3d6dd6;
}

.features-box {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fc;
    border-radius: 4px;
}

.feature-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-text {
    font-size: 13px;
}

.feature-text strong {
    display: block;
    color: #1a2b48;
    margin-bottom: 2px;
}

.feature-text small {
    color: #5e6d77;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .tour-title {
        font-size: 24px;
    }

    .etp-booking-sidebar {
        position: static;
        margin-top: 30px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .tour-featured-image {
        height: 300px;
    }

    .featured-overlay {
        flex-direction: column;
        gap: 15px;
    }
}

/* Utility Classes */
.col-lg-2-5 {
    flex: 0 0 calc(20% - 24px);
    max-width: calc(20% - 24px);
}

@media (max-width: 1200px) {
    .col-lg-2-5 {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .col-lg-2-5 {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .col-lg-2-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
