/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Roboto+Slab:wght@700&display=swap');

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Search Form */
#search-cruise-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f8f8f8;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
}

#search-cruise-form label {
    font-weight: 700;
    color: #333;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.search-button {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover,
.search-button:focus {
    background-color: #0056b3;
}

/* Page Title */
.page-title {
    font-family: 'Roboto Slab', serif;
    font-size: 36px;
    font-weight: 700;
    color: #008CBA;
    text-align: center;
    text-transform: capitalize;
    margin: 40px auto 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00a6ff;
    background: linear-gradient(to right, #f0ffff, #ffffff);
    box-shadow: 0 4px 10px rgba(0, 140, 186, 0.1);
    letter-spacing: 1px;
}

/* Section Headline */
.headline {
    font-size: 32px;
    font-weight: 700;
    color: #007BFF;
    text-align: center;
    text-transform: uppercase;
    padding: 20px 10px;
    margin: 40px auto 20px;
    border-bottom: 3px solid #0056b3;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

@media (max-width: 768px) {
    .headline {
        font-size: 26px;
        padding: 15px 8px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 22px;
        padding: 10px 6px;
        border-bottom: 2px solid #007BFF;
    }
}

/* Intro Text */
.intro-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 20px 25px;
    background: linear-gradient(to bottom, #ffffff, #f9fdff);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 140, 186, 0.12);
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Grid */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card Styles */
.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card:hover,
.card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card Content */
.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-transform: capitalize;
}

.card-content p {
    flex-grow: 1;
    font-size: 15px;
    color: #555;
    margin-bottom: 1rem;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #ddd;
}

/* Buttons inside cards */
.card-content button {
    display: block;
    margin: 0 auto 1rem auto;
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.15);
}

.card-content button:hover,
.card-content button:focus {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.25);
}

/* Deal Button */
.deal-button {
    background-color: #28a745;
    padding: 10px 16px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
    cursor: pointer;
}

.deal-button:hover,
.deal-button:focus {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

/* Price Label */
.price {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

/* Trip Card for Read More/Show Less */
.trip-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin: 20px 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover,
.trip-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.trip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #333333;
    text-transform: capitalize;
}

.trip-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1rem;
}

/* Read More Button */
.read-more-btn {
    align-self: flex-start;
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.15);
}

.read-more-btn:hover,
.read-more-btn:focus {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.25);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    width: 100%;
}
header {
    position: relative; /* allows absolute positioning inside */
    padding: 10px 20px;
}

/* Position icons in top-right */
.social-icons {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    gap: 15px; /* space between icons */
    font-size: 1.5rem;
}

/* Brand colors by default */
.social-icons .fa-instagram {
    color: #E1306C;
}

.social-icons .fa-tiktok {
    color: #000000;
}

.social-icons .fa-youtube {
    color: #FF0000;
}

/* On hover → all white */
.social-icons a:hover i {
    color: #ffffff;
}

/* Optional: make icons clickable without underline */
.social-icons a {
    text-decoration: none;
}
