:root {
    --main_color: #2E8B57;
    --secondary_color: #fff;
    --background_color: #f8f9fa;
    --detail_color: #56B870;
    --text_dark: #2c3e50;
    --shadow_light: rgba(0, 0, 0, 0.1);
    --shadow_medium: rgba(0, 0, 0, 0.2);
    --transition_fast: 0.3s ease;
    --transition_slow: 0.5s ease;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background_color);
    font-family: "Raleway", sans-serif;
    line-height: 1.6;
    color: var(--text_dark);
    margin: 0;
    padding: 0;
}

.page__header {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(46, 139, 87, 0.4), rgba(46, 139, 87, 0.6)), url("../img/header.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header__title {
    font-family: "Lobster", cursive;
    color: #fff;
    font-size: clamp(3rem, 5vw, 5rem);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 90%;
}

.header__title span {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    display: block;
    margin: 1rem 0;
    font-family: "Raleway", sans-serif;
}

.tours__welcome {
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.header__nav1,
.header__nav {
    font-size: clamp(1.4rem, 2vw, 2rem);
    background-color: var(--main_color);
    text-align: center;
    display: flex;
    justify-content: space-around;
    transition: all 400ms ease-in-out;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow_light);
}

.header__nav1 a,
.header__nav a {
    font-weight: 600;
    color: var(--secondary_color);
    transition: all var(--transition_fast);
    margin: 0 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
}

.header__nav1 {
    display: none;
}

.title__button {
    font-size: clamp(2rem, 3vw, 3rem);
    display: inline-block;
    margin-top: 3rem;
    padding: 1.5rem 3rem;
    border: 3px solid #fff;
    border-radius: 50px;
    transition: all var(--transition_fast);
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.title__button:hover {
    background-color: white;
    color: var(--main_color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.header__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}

.tip__button {
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border: 3px solid #FFD700;
    border-radius: 50px;
    transition: all var(--transition_fast);
    color: #FFD700;
    text-decoration: none;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

.tip__button:hover {
    background-color: #FFD700;
    color: #2E8B57;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    animation: none;
}

.tip__button i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    }
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
}

.header__nav1 a:hover,
.header__nav a:hover,
.header__nav1 a.active,
.header__nav a.active {
    color: var(--main_color);
    background-color: var(--secondary_color);
    transform: translateY(-2px);
}

.header__nav1 a.active,
.header__nav a.active {
    font-weight: 700;
}

.page__tours {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tours__tour {
    color: #fff;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow_medium);
    transition: transform var(--transition_fast), box-shadow var(--transition_fast);
    height: 400px;
}

.tours__tour:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow_medium);
}

.tours__tour:hover>.curtain {
    z-index: 1;
    opacity: 0.3;
}

.curtain {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--main_color);
    opacity: 0;
    top: 0;
    transition: all 300ms ease-in-out;
    left: 0;
}

.tour__img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity .2s ease-out;
}

/* Remove the old header background overlay and styling */
.nav__link {
    position: relative;
}

.nav__icon {
    font-size: 1.6rem;
}

.link__submenu {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
}

.tour__title {
    font-size: 2rem;
    z-index: 2;
    position: absolute;
    inset: auto auto 30px 30px;
    margin: 0;
    transition: inset .3s .3s ease-out;
    text-transform: uppercase;
}

.tour__description,
.tour__button {
    z-index: 2;
    font-size: 1.6rem;
    position: absolute;
    opacity: 0;
    max-width: 80%;
    transition: opacity .3s ease-out;
}

.tour__description {
    inset: auto auto 80px 30px;
}

.tour__button {
    inset: auto auto 40px 30px;
    color: inherit;
    text-decoration: none;
}

.tours__tour:hover>.tour__title {
    inset: auto auto 300px 30px;
    transition: inset .3s ease-out;
}

.tours__tour:hover>.tour__description,
.tours__tour:hover>.tour__button {
    opacity: 1;
    transition: opacity .5s .1s ease-in;
}

.tours__tour:hover>.tour__img {
    transition: opacity .3s ease-in;
    opacity: 1;
}

.page__prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: var(--background_color);
    max-width: 1400px;
    margin: 0 auto;
}

.prices__heading {
    text-align: center;
    margin: 5rem 0 3rem 0;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--main_color);
    font-weight: 700;
}

.prices__container {
    display: flex;
    justify-content: center;
}

.price__package {
    background-color: var(--secondary_color);
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow_light);
    padding: 3rem 2rem;
    transition: transform var(--transition_fast), box-shadow var(--transition_fast);
    border: 2px solid transparent;
    width: 100%;
    max-width: 350px;
}

.price__package:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow_medium);
    border-color: var(--main_color);
}

.package__title {
    font-size: 2.2rem;
    color: var(--main_color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.package__duration,
.package__includes,
.package__price {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text_dark);
}

.package__price {
    font-weight: 700;
    color: var(--main_color);
    font-size: 1.8rem;
    text-align: center;
    margin: 2rem 0;
}

.package__list {
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.package__list li {
    list-style-type: none;
    margin: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text_dark);
}

.package__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--main_color);
    font-weight: bold;
    font-size: 1.4rem;
}

.prices__button {
    background: linear-gradient(135deg, var(--main_color), var(--detail_color));
    color: var(--secondary_color);
    border: none;
    border-radius: 25px;
    padding: 1.2rem 2.5rem;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all var(--transition_fast);
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.prices__button:hover {
    background: linear-gradient(135deg, var(--detail_color), var(--main_color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.prices__button a {
    color: inherit;
    text-decoration: none;
}

.page__footer {
    background: linear-gradient(135deg, var(--main_color), var(--detail_color));
    padding: 4rem 2rem;
    text-align: center;
    color: var(--secondary_color);
}

.footer__social {
    margin-bottom: 3rem;
}

.footer__social a {
    display: inline-block;
    margin: 0 1.5rem;
    transition: transform var(--transition_fast);
}

.footer__social i {
    font-size: 3rem;
    color: var(--secondary_color);
    transition: all var(--transition_fast);
}

.footer__social a:hover {
    transform: translateY(-3px);
}

.footer__social a:hover i {
    color: #f0f0f0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.page__contact {
    max-width: 500px;
    margin: 0 auto;
}

.contact__heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--background_color);
    margin: 3rem 0;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__input,
.form__textarea {
    padding: 1.5rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1.6rem;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text_dark);
    transition: all var(--transition_fast);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #666;
    opacity: 1;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--secondary_color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__button {
    padding: 1.5rem;
    background-color: var(--secondary_color);
    color: var(--main_color);
    border: none;
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition_fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form__button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Performance optimizations */
.tour__img,
.info__img img {
    will-change: transform;
}

/* Focus states for accessibility */
.nav__link:focus,
.title__button:focus,
.tour__button:focus,
.prices__button:focus,
.prices__button a:focus,
.form__input:focus,
.form__textarea:focus,
.form__button:focus {
    outline: 3px solid var(--detail_color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --main_color: #000;
        --secondary_color: #fff;
        --text_dark: #000;
    }
}

/* Loading states */
.tour__img,
.info__img img {
    background-color: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

/* Print styles */
@media print {

    .header__nav1,
    .header__nav,
    .footer__social,
    .contact__form {
        display: none;
    }

    .page__header {
        background: none;
        color: black;
    }

    .tour__img,
    .info__img img {
        break-inside: avoid;
    }
}

@media (max-width: 1200px) {
    .guide__info {
        flex-direction: column;
        gap: 3rem;
    }

    .info__img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 1000px) {
    .contact__form {
        max-width: 600px;
    }

    .page__tours {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .guide__info {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {

    .header__nav1,
    .header__nav {
        padding: 0.5rem 0;
        font-size: 1.6rem;
    }

    .header__nav1 a,
    .header__nav a {
        margin: 0 0.5rem;
        padding: 0.6rem 1rem;
        font-size: 1.4rem;
    }

    .page__tours {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 2rem 1rem;
    }

    .tours__tour {
        height: 350px;
    }

    .page__prices {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .data__list {
        grid-template-columns: 1fr;
    }

    .info__img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .header__title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .header__title span {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .header__buttons {
        margin-top: 2rem;
    }
    
    .title__button {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
        padding: 1rem 2rem;
    }
    
    .tip__button {
        font-size: clamp(1.4rem, 4vw, 2.2rem);
        padding: 1rem 2rem;
    }

    .tours__welcome {
        padding: 2rem 1rem;
    }

    .page__footer {
        padding: 3rem 1rem;
    }

    .footer__social i {
        font-size: 2.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {

    .header__nav1 a,
    .header__nav a {
        margin: 0 0.2rem;
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
    }

    .tours__tour {
        height: 300px;
    }

    .tour__title {
        font-size: 1.8rem;
    }

    .tour__description,
    .tour__button {
        font-size: 1.4rem;
    }

    .guide__info {
        padding: 2rem 1rem;
    }

    .info__img {
        width: 150px;
        height: 150px;
    }
}

/* Remove old media queries that are now redundant */

@media (max-width: 750px) {
    .contact__form {
        width: 50%;
    }
}

@media (max-width: 550px) {
    .contact__form {
        width: 100%;
    }
}

/* Guide section */
.guide__info {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info__img {
    border: 3px solid var(--main_color);
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    transition: all var(--transition_fast);
    box-shadow: 0 10px 30px var(--shadow_light);
}

.info__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info__img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--shadow_medium);
}

.info__data {
    flex: 1;
    max-width: 600px;
}

.data__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.list__item {
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--main_color);
    background-color: var(--secondary_color);
    transition: all var(--transition_fast);
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow_light);
}

.list__item:hover {
    box-shadow: 0 10px 25px var(--shadow_medium);
    transform: translateY(-5px);
    border-color: var(--detail_color);
}

.list__item i {
    font-size: 4rem;
    color: var(--main_color);
    margin-bottom: 1rem;
    display: block;
}

.item__title {
    font-size: 1.8rem;
    font-family: "Lobster", cursive;
    color: var(--main_color);
    display: block;
    margin-bottom: 0.5rem;
}

.item__text {
    font-size: 1.5rem;
    color: var(--text_dark);
    margin: 0;
}

@media(max-width: 1000px) {
    .guide__info {
        flex-direction: column;
        gap: 3rem;
    }

    .info__img {
        width: 200px;
    }
}




.header__nav1--fixed {
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

.page__transfer {
    display: flex;
    margin: 3rem auto;
    justify-content: center;
    padding: 0 2rem;
}

.transfer__data {
    padding: 3rem;
    border: 2px solid var(--main_color);
    font-size: 1.7rem;
    border-radius: 15px;
    background-color: var(--secondary_color);
    box-shadow: 0 5px 20px var(--shadow_light);
    max-width: 500px;
    text-align: center;
}

.transfer__data li {
    margin: 1rem 0;
    list-style: none;
}

.data__title {
    font-weight: 700;
    color: var(--main_color);
}

.header__nav1--fixed {
    position: fixed;
    display: flex !important;
    justify-content: space-around;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(46, 139, 87, 0.95);
}

.transfer__data {
    padding: 3rem;
    border: 2px solid var(--main_color);
    font-size: 1.7rem;
    border-radius: 2rem;
    background-color: var(--secondary_color);
}

.data__title {
    font-weight: bold;
}

.wave {
    overflow: hidden;
}
