:root {
    --primary-color: rgba(5, 90, 5, 1.000);
    /* forest green */
    --secondary-color: rgba(255, 255, 255, 0.8);
    /* warm sand background */
    --accent1-color: rgba(0, 38, 77, 1.000);
    /* solid dark blue */
    --accent1-overlay: rgba(0, 38, 77, 0.60);
    /* semi-transparent dark */
    --accent2-color: rgba(241, 210, 136, 1.000);
    /* dark golden brown */
    --accent3-color: rgba(255, 255, 255, 1.000);
    /* white */
    --accent4-color: rgba(62, 62, 62, 1.000);
    /* black laquer */
    --accent5-color: rgba(173, 216, 230, 1.000);
    --accent6-color: rgba(192, 70, 71, 1);
    --cta-bg-color: rgba(0, 115, 133, 1);
    --white: rgba(248, 245, 245, 1);
    --heading-font: "Times New Roman", "Georgia", serif;
    --body-font: Arial, Helvetica, sans-serif;
}

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

body {
    font-family: var(--body-font);
    color: var(--accent1-color);
    /* solid dark blue tex */
}

header,
main,
footer {
    width: 840px;
    margin: 0 auto;
}

header img {
    width: 180px;
    height: auto;
}

/* header img change added february 6 2026 */

h1,
h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
}

nav,
p,
section,
article {
    margin: 16px;
    padding: 8px;
}

/* Begins styling for home */

.code-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    padding: 20px;
}

.newsletter-card {
    background-color: var(--white);
    padding: 40px;
    margin: 20px auto;
}

.newsletter-heading {
    font-family: var(--heading-font);
    color: var(--accent1-color);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-family: var(--body-font);
    color: var(--accent4-color);
    font-weight: bold;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    font-family: var(--body-font);
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent1-color);
}

.signup-btn {
    background-color: var(--primary-color);
    color: var(--accent3-color);
    font-family: var(--body-font);
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.signup-btn:hover {
    background-color: var(--accent1-color);
}

.adventure-section {
    max-width: 1100px;
    margin: 80px auto;
    margin-top: 40px;
    /*  To separate from Newsletter*/
    padding: 0 20px;
}

.section-heading {
    font-family: var(--heading-font);
    color: var(--accent1-color);
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

/* Two column layout*/
.adventure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.adventure-card {
    display: flex;
    flex-direction: column;
    margin-top: -20px;
}

.adventure-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;

}

.adventure-text {
    padding-top: 25px;
}

.adventure-text h3 {
    font-family: var(--heading-font);
    color: var(--accent1-color);
    font-size: 1.8rem;
    margin: 0 0 12px 0;
}

.adventure-text p {
    font-family: var(--body-font);
    color: var(--accent4-color);
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

/* Explore our Trips container */
/* Container for spacing and alignment */
.explore-cta-section {
    width: 100%;
    margin: 40px 0;
    margin-left: 220px;
    margin-top: -20px;
    margin-bottom: -40px;
    padding: 0;
    /* Strategic use of white space */
    text-align: center;
    background-color: var(--white);
    /* Maintains clean look before footer */
}

.cta-content {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

/* Button styling */
.explore-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--accent3-color);
    font-family: var(--body-font);
    font-size: 1.8rem;
    font-weight: bold;
    padding: 20px 0;
    text-decoration: none;
    border-radius: 10px;
}

.explore-btn:hover {
    background-color: var(--accent6-color);
}

.main-footer {
    background-color: var(--accent4-color);
    color: var(--white);
    padding: 20px 0;
    font-family: var(--body-font);
}

/* Ends styling for home */

img {
    width: 100%;
}

.hero {
    position: relative;
}

.hero article {
    position: absolute;
    bottom: 1.25rem;
    right: 20px;
    background-color: var(--secondary-color);
    padding: 1rem;
    max-width: 500px;
}

.hero article img {
    float: right;
    width: 125px;
}

.history {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    /* make the text twice width of the image */
    /* make the text to be at both sides of image */
    gap: 1rem;
}

.history h2,
.adventures h2 {
    grid-column: 1/-1;
    text-align: center;
    background-color: var(--accent2-color);
    padding: 1rem;
}

.adventures {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
}

.hero h1 {
    position: absolute;
    top: 1.25rem;
    left: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: var(--accent1-overlay);
    color: var(--accent3-color);
    /*check if the color selected gives enough contrast*/
}

header {
    display: grid;
    grid-template-columns: 150px auto;
    align-items: center;
    gap: 1rem;
    color: var(--accent3-color);
    background-color: var(--primary-color);

}

header h1,
header h2 {
    color: var(--accent3-color);
}

/* header change added february 6 2026 */

nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* nav a change added february 6 2026 */

nav ul {
    display: flex;
    width: 80%;
    list-style-type: none;
    justify-content: space-around;
    align-items: center;

}

/* nav ul change added february 6 2026 */

nav a {
    text-decoration: none;
    color: var(--accent3-color);
    font: var(--heading-font);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    transition: 0.3s;
    cursor: pointer;
    /* change added february 12 */
}

/* nav a change added february 6 2026 */
nav a:hover {
    color: var(--accent1-color);
    background-color: var(--accent3-color);
    text-shadow: 0 0 10px var(--secondary-color);
    /* text shadow change added february 12*/
}

/* nav a:hover color and background change added february 6 2026 */

footer {
    background-color: var(--accent4-color);
    color: var(--accent3-color);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

/* Contact Us Page Styling */

.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    grid-column: 1 / -1;
    text-align: center;
}

.contact-info h1 {
    margin-top: 16px;
}

.contact-info address {
    margin-top: 16px;
}

/* space between title and contact info */

.contact-info a {
    text-decoration: none;
    color: var(--accent1-color);
}

/* phone number and email match the color of the text. 
        Change added february 13 */

.gmap {
    grid-column: 1 / -1;
    grid-row: 2;
    border: 0;
    width: 400px;
    height: 400px;
}

/* Begins styling for Trips */

/* .booking-hero {
    width: 100%;
    text-align: center;
}

.section-title {
    background-color: var(--accent1-overlay);
    color: var(--accent3-color);
    padding: 15px 0;
    margin: 0;
    font-family: var(--heading-font);
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    display: block;
}

.contact-overlay-btn {
    position: absolute;
    bottom: 30px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    font-family: var(--body-font);
    font-weight: bold;
    font-size: 20px;
    border-radius: 10px;

} */

/* .trips-cta {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px 20px;
    border-radius: 10px;
    font-family: var(--body-font);
    font-size: 1.7rem;
    font-weight: 600;
    margin-top: 20px;
    margin-left: 200px;
    margin-bottom: 20px;
}

.trips-cta:hover {
    background-color: var(--accent6-color);
} */

.newsletter-trips-card h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: -20px;
    /* margin: 10px auto; */
    border-radius: 10px;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-trips-card2 h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 10px auto;
    margin-top: -30px;
    margin-bottom: -25px;
    border-radius: 10px;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.trip-card img {
    width: 100%;
    height: auto;
}

.trip-card h3 {
    text-align: center;
    margin-top: 15px;
}

.trip-card p {
    margin-top: 3%;
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.discount-card img {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.discount-card {
    padding: 20px;
    text-align: left;
}

.discount-card h2 {
    text-align: left;
    color: var(--primary-color);
}

.discount-card p {
    margin-bottom: 15px;
    margin-left: auto;
    color: var(--accent1-color);
}

.discount-list {
    padding-left: 20px;
    margin-bottom: 15px;
}

.discount-list li {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.discount-note {
    font-style: italic;
}

.grid-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.trips-table-section {
    margin: 30px auto;
    margin-top: -30px;
}

.trips-table-section h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.table-responsive {
    overflow-x: auto;
}

.trips-table {
    width: 100%;
    font-family: var(--body-font);
    background-color: var(--white);
    border-collapse: collapse;
    border-radius: 10px;
}

.trips-table thead {
    background-color: var(--accent1-color);
    color: var(--white);
}

.trips-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.trips-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--accent3-color);
}

.trips-cta-final {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px 20px;
    border-radius: 10px;
    font-family: var(--body-font);
    font-size: 1.7rem;
    font-weight: 600;
    margin-top: -10px;
    margin-left: 200px;
    margin-bottom: 30px;
}

.trips-cta-final:hover {
    background-color: var(--accent6-color);
}

/* Ends styling for Trips


/* Contact Us form formatting begin */

.contact-form {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 1rem;
    align-items: center;
}

.purpose {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 1rem;
    align-items: center;
}

.purpose p {
    margin: 0;
    padding: 0;
    grid-column: 1;
    justify-self: start;
}

.purpose fieldset {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1.25rem auto;
    gap: .5rem .25rem;
    border: none;
}

.full-w {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

.subscribe {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent6-color);

}

.btn-submit {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: 1.25rem;
    font-weight: bold;
    width: 100%;
    border-radius: 0 20px;
    text-decoration: none;
}

.employees {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.employees figure {
    width: 210px;
    justify-self: center;
}

.employees img {
    width: 110%;
}

.employees h2 {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: 2rem;
}

/* Contact Us form formatting end */

footer p {
    color: var(--accent3-color);
    font-weight: 600;
}

footer nav img {
    width: 32px;
    height: auto;
    margin-right: 1rem;
}

.socialmedia,
.socialmedia a {
    text-decoration: none;
    padding: 0;
}

.socialmedia a:hover {
    background-color: unset;
    color: var(--accent5-color);
}

/* socialmedia a:hover change added february 6 2026 */
/* when this is applied the bc color does not change when hover