/* Common Styles */
.tour-widget {
    padding: 20px;
    border-radius: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease-in-out;
    margin: 20px auto;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tour-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
    transition: transform 0.3s ease;
}

.tour-widget:hover::before {
    transform: scale(1.02);
}

.tour-widget img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.tour-widget:hover img {
    transform: scale(1.05);
}

.tour-widget h3 {
    font-size: 1.6em;
    margin: 15px 0 10px 0;
    font-weight: 700;
    line-height: 1.3;
}

.tour-widget p {
    font-size: 1.1em;
    margin: 8px 0;
    opacity: 0.9;
}

.tour-widget strong {
    font-size: 1.5em;
    display: block;
    margin: 15px 0;
    font-weight: 800;
}

.tour-widget a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tour-widget a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Template 1: Horizontal Banner Style */
.tour-widget.template1 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    color: #fff;
    display: flex;
    align-items: center;
    text-align: left;
    min-height: 200px;
    max-width: 600px;
}

.tour-widget.template1 img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    margin-right: 25px;
    flex-shrink: 0;
}

.tour-widget.template1 .content {
    flex: 1;
    padding-left: 10px;
}

.tour-widget.template1 h3 {
    margin-top: 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.tour-widget.template1 p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.95);
}

.tour-widget.template1 strong {
    color: #ffee58;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 10px 0;
}

.tour-widget.template1 a {
    background: #fff;
    color: #ff6b35;
    margin-top: 15px;
}

.tour-widget.template1 a:hover {
    background: #f5f5f5;
    color: #e55a2b;
}

/* Template 2: Vertical Banner Style */
.tour-widget.template2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    max-width: 350px;
    padding: 25px 20px;
}

.tour-widget.template2 img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
}

.tour-widget.template2 h3 {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.tour-widget.template2 p {
    color: rgba(255, 255, 255, 0.95);
    margin: 8px 0;
}

.tour-widget.template2 strong {
    color: #81c784;
    font-size: 1.8em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin: 15px 0;
}

.tour-widget.template2 a {
    background: linear-gradient(45deg, #81c784, #66bb6a);
    color: #1b5e20;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tour-widget.template2 a:hover {
    background: linear-gradient(45deg, #66bb6a, #4caf50);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tour-widget.template1 {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }
    
    .tour-widget.template1 img {
        width: 100%;
        max-width: 250px;
        height: 160px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .tour-widget.template1 .content {
        padding-left: 0;
    }
    
    .tour-widget.template2 {
        max-width: 100%;
        margin: 15px auto;
    }
    
    .tour-widget.template2 img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .tour-widget {
        padding: 15px;
        margin: 10px auto;
    }
    
    .tour-widget h3 {
        font-size: 1.4em;
    }
    
    .tour-widget strong {
        font-size: 1.3em;
    }
    
    .tour-widget a {
        padding: 10px 20px;
        font-size: 1em;
    }
}
