/* General Reset & Base Styles */
body, h1, h2, h3, h4, p, ul, li, form, input, textarea, button, select {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
ul {
    list-style: none;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e0ffe0; /* Changed to a subtle light green */
    
    /* Removed background image styles */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}
p {
    margin-bottom: 20px;
    color: #444;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Header Styles (Marriott-like) --- */
header {
    background-color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    flex-shrink: 0; /* Prevent logo from shrinking */
}
.logo-image {
    height: 90px; /* Increased logo size to 60px */
    width: auto; /* Maintain aspect ratio */
}

/* **Start of recent change** */
.logo strong {
    font-size: 2.5em; /* Increased font size */
    font-weight: bold;
    color: #2c3e50; /* Match the main heading color */
    margin-left: 10px;
}
/* **End of recent change** */

nav ul {
    display: flex;
    gap: 25px; /* Increased gap for main navigation */
    flex-wrap: wrap; /* Allow nav items to wrap */
    justify-content: center;
}
nav li {
    position: relative; /* Needed for dropdown */
}
nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative; /* For the active border effect */
}
nav a:hover, nav a.current {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
/* Style for the "My Itineraries" link to distinguish it */
.nav-my-itineraries {
    color: #28a745; /* Green color */
    font-weight: 700;
    border-bottom: 2px solid #28a745;
}

/* Dropdown styles for Partner Directory */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
    top: 100%; /* Position below the parent link */
    left: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #eee; /* Separator for items */
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #007bff;
    text-decoration: none; /* Remove underline on hover for dropdown items */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Buttons (Generalized for consistency) --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}
.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}
.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-secondary:hover {
    background-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
/* Small button variant */
.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
}

/* --- Hero Section (Marriott-like with Search Module) --- */
.hero-section {
    position: relative;
    color: white;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 1.5s ease-in-out forwards;
}
.slide.active {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}
.hero-subscribe-form input,
.hero-subscribe-form .btn,
#newsletter-name {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}
.hero-subscribe-form input {
    width: 300px; /* Specific width for desktop */
}
.hero-subscribe-form .btn {
    padding: 12px 25px; /* Slightly more padding for the button */
    cursor: pointer;
    border: 1px solid #4CAF50; /* Add a border to the button */
}

/* Dots for Slideshow */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active, .dot:hover {
    background-color: #fff;
}

/* --- Section Styling (General) --- */
section {
    padding: 60px 20px;
    margin-bottom: 40px;
    background-color: #fff; /* Changed to opaque white */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
/* Alternating green background for sections */
.section-alt-bg {
    background-color: #e6f2ff; /* Light Blue */
}
section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Why Choose Us / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: #fcfcfc; /* Changed to opaque */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
}
.feature-card .icon {
    font-size: 60px;
    margin-bottom: 15px;
    color: #007bff;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}
.feature-card p {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    margin-bottom: 0;
}

/* Blog/Travel Tips (Similar to featured itineraries grid) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.blog-post-card {
    background-color: #f9f9f9; /* Changed to opaque */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}
.blog-post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.blog-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-post-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
    text-align: left;
}
.blog-post-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: left;
}
.blog-post-content .btn {
    align-self: flex-start;
    font-size: 14px;
    padding: 8px 18px;
}

/* Footer Styles */
footer {
    background-color: #1a2b47; /* Dark blue from ConnecTetsu logo */
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 15px;
}
footer .company-info {
    margin-bottom: 15px;
}
footer .legal-links a {
    color: #a0aec0; /* Lighter grey for links */
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
footer .legal-links a:hover {
    color: white;
}
footer .company-info p {
    margin-bottom: 5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 10px;
    }
    nav ul {
        flex-wrap: wrap; /* Allow nav items to wrap */
        justify-content: center;
        gap: 15px;
    }
    .logo-image {
        height: 40px; /* Smaller logo on mobile */
    }
    .hero-section {
        height: auto; /* Adjust height dynamically */
        min-height: 500px;
        padding: 40px 15px;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .hero-subscribe-form {
        flex-direction: column;
    }
    .hero-subscribe-form input, .hero-subscribe-form .btn {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }
    section {
        padding: 40px 15px;
        margin-bottom: 30px;
    }
    section h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .features-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-post-card img {
        height: 180px;
    }
    .blog-post-card h3 {
        font-size: 20px;
    }
    footer {
        padding: 30px 15px;
    }
}