/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f5f0;
}

/* Header Styles */
header {
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    font-style: italic;
}

/* Color Variants for Different Tours */
.header-main {
    background: linear-gradient(135deg, #2c5f4f 0%, #4a7c6b 100%);
}

.header-england {
    background: linear-gradient(135deg, #8b4789 0%, #a86aa4 100%);
}

.header-germany {
    background: linear-gradient(135deg, #c41e3a 0%, #e74c3c 100%);
}

.header-morocco {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-section h2 {
    color: #2c5f4f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #4a7c6b;
    padding-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}

.contact-item-label {
    font-weight: bold;
    color: #2c5f4f;
    font-size: 1rem;
}

.contact-item a {
    color: #2c5f4f;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

/* Tour Dates Section */
.tour-dates-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tour-dates-section h2 {
    color: #2c5f4f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #4a7c6b;
    padding-bottom: 0.5rem;
}

.tour-dates-list {
    list-style: none;
    padding: 0;
}

.tour-date-item {
    padding: 1.5rem;
    margin: 0.5rem 0;
    background: #f8f5f0;
    border-radius: 5px;
    border-left: 4px solid #2c5f4f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-date-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tour-date-when {
    color: #666;
    font-size: 0.95rem;
}

.tour-date-name {
    color: #2c5f4f;
    font-size: 1.3rem;
    font-weight: bold;
}

.available-places {
    background: #2c5f4f;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Intro Section */
.intro-section {
    background: white;
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.intro-section h2 {
    color: #2c5f4f;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #4a7c6b;
    padding-bottom: 0.5rem;
}

.intro-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Tour Header */
.tour-header {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tour-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Tour Cards Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tour-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.tour-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.tour-content {
    padding: 1.5rem;
}

.tour-content h3 {
    color: #2c5f4f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tour-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tour-details {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.single-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-box {
    padding: 1.5rem;
    border-radius: 8px;
}

.info-box h3 {
    margin-bottom: 0.5rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li:before {
    content: "✓ ";
    font-weight: bold;
}

/* Color variants for info boxes */
.info-box-england {
    background: #f9f3f8;
    border-left: 4px solid #8b4789;
}

.info-box-england h3 {
    color: #8b4789;
}

.info-box-england li:before {
    color: #8b4789;
}

.info-box-germany {
    background: #fff8f6;
    border-left: 4px solid #c41e3a;
}

.info-box-germany h3 {
    color: #c41e3a;
}

.info-box-germany li:before {
    color: #c41e3a;
}

.info-box-morocco {
    background: #fff5ed;
    border-left: 4px solid #d35400;
}

.info-box-morocco h3 {
    color: #d35400;
}

.info-box-morocco li:before {
    color: #d35400;
}

/* Day Section */
.day-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.day-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

/* Color variants for day sections */
.day-section-england {
    border-left: 5px solid #8b4789;
}

.day-section-england h3 {
    color: #8b4789;
    border-bottom: 2px solid #f0e6ef;
}

.day-section-germany {
    border-left: 5px solid #c41e3a;
}

.day-section-germany h3 {
    color: #c41e3a;
    border-bottom: 2px solid #ffe6e6;
}

.day-section-morocco {
    border-left: 5px solid #d35400;
}

.day-section-morocco h3 {
    color: #d35400;
    border-bottom: 2px solid #ffe8d6;
}

/* Location */
.location {
    font-weight: bold;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.location-england {
    color: #a86aa4;
}

.location-germany {
    color: #e74c3c;
}

.location-morocco {
    color: #e67e22;
}

/* Description */
.description {
    margin: 1rem 0;
    text-align: justify;
}

/* Highlight Box */
.highlight-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.highlight-box-england {
    background: #f9f3f8;
    border-left: 4px solid #8b4789;
}

.highlight-box-germany {
    background: #fff8f6;
    border-left: 4px solid #c41e3a;
}

.highlight-box-morocco {
    background: #fff5ed;
    border-left: 4px solid #d35400;
}

/* Buttons */
.btn {
    display: inline-block;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: bold;
}

.btn-main {
    background: #2c5f4f;
}

.btn-main:hover {
    background: #3d7a63;
}

.btn-back-england {
    background: #8b4789;
}

.btn-back-england:hover {
    background: #a86aa4;
}

.btn-back-germany {
    background: #c41e3a;
}

.btn-back-germany:hover {
    background: #e74c3c;
}

.btn-back-morocco {
    background: #d35400;
}

.btn-back-morocco:hover {
    background: #e67e22;
}

/* Footer */
footer {
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-main {
    background: #2c5f4f;
}

.footer-england {
    background: #8b4789;
}

.footer-germany {
    background: #c41e3a;
}

.footer-morocco {
    background: #d35400;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .intro-section {
        padding: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .tour-date-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}