/*--------welcome-section--------------------*/

.welcome-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 39px;
    overflow: hidden;
}

.welcome-bg {
    width: 95%;
    margin: 0 auto;
    display: block;
    border-radius: 39px;
    filter: brightness(60%);
}

.welcome-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 700px;
    color: var(--white);
    padding: 20px;
}

.welcome-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
}

.welcome-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.welcome-button {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    background-color: var(--slovenia-green);
    color: var(--white);
    transition: background-color 0.3s ease-in-out;
}

.welcome-button:hover {
    background-color: var(--slovenia-green-hover);
}

@media (max-width: 992px) {
    .welcome-content h1 {
        font-size: 2rem;
    }

    .welcome-content p {
        font-size: 1.1rem;
    }

    .welcome-button {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 768px) {
    .welcome-content {
        width: 90%;
    }

    .welcome-bg {
        height: 55vh;
    }

    .welcome-content h1 {
        font-size: 1.8rem;
    }

    .welcome-content p {
        font-size: 1rem;
    }

    .welcome-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .welcome-content {
        width: 95%;
    }

    .welcome-content h1 {
        font-size: 1.5rem;
    }

    .welcome-content p {
        font-size: 0.95rem;
    }

    .welcome-button {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
}

/*--------advantages-section--------------------*/

.advantages-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.advantages-header {
    text-align: left;
}

.advantages-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.advantages-header p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 30px;
}

.advantages-container {
    background-color: var(--white);
    border-radius: 39px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.advantages-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: var(--gray-light);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.advantage-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--black);
}

.advantage-card h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--black);
    margin-top: 30px;
}

.advantage-title {
    color: var(--gray-dark);
    margin-bottom: .4rem;
}

.advantage-description {
    font-size: .9rem;
    color: var(--gray-medium);
    margin: 0;
}

@media (max-width: 768px) {
    .advantages-header h2 {
        font-size: 1.8rem;
    }

    .advantages-header p {
        font-size: 1.1rem;
    }

    .advantage-card {
        min-height: 200px;
    }

    .advantage-card h3 {
        font-size: 1.4rem;
    }

    .advantage-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .advantages-cards {
        grid-template-columns: 1fr;
    }
}

/*--------offers-section--------------------*/

.offers-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.offers-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.offers-header p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 30px;
}

.offers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.offer-card {
    border: 2px solid var(--gray-medium);
    border-radius: 39px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.offer-image {
    width: 100%;
    display: block;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease-in-out;
    min-height: 250px;
    object-fit: cover;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.offer-content h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 5px;
}

.offer-location {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.offer-location i {
    color: var(--slovenia-green);
    margin-right: 5px;
}

.offer-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.offer-features span {
    background-color: var(--gray-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--black);
    display: flex;
    align-items: center;
}

.offer-features i {
    margin-right: 5px;
    color: var(--slovenia-green);
}

.offer-description {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.offer-button {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: var(--slovenia-green);
    color: var(--white);
    transition: background-color 0.3s ease-in-out;
    margin-top: auto;
}

.offer-button:hover {
    background-color: var(--slovenia-green-hover);
}

.offers-footer {
    margin-top: 30px;
    text-align: center;
}

.browse-all-button {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid var(--gray-medium);
    background-color: var(--white);
    color: var(--black);
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.browse-all-button:hover {
    background-color: var(--gray-light);
    border-color: var(--gray-dark);
}

@media (max-width: 768px) {
    .offers-header h2 {
        font-size: 1.8rem;
    }

    .offers-header p {
        font-size: 1.1rem;
    }

    .offer-content h3 {
        font-size: 1.4rem;
    }

    .offer-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .offers-container {
        grid-template-columns: 1fr;
    }
}


/*--------welcome-section--------------------*/

.methods-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.methods-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.methods-image {
    width: 60%;
    border-radius: 39px;
    overflow: hidden;
}

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

.methods-content {
    width: 40%;
}

.methods-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.accordion-content p {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.methods-content__subtitle {
    color: inherit;
}


.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    background-color: var(--gray-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    color: var(--black);
}

.accordion-number {
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 10px;
    color: var(--slovenia-green);
}

.accordion-title {
    flex-grow: 1;
}

.accordion-header i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: var(--black);
}
.accordion-header, .accordion-content {
    background-color: var(--slovenia-stone-hover);
}

.accordion-content {
    padding: 0 20px;
    font-size: 1rem;
    color: var(--gray-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 150px;
    padding: 10px 20px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .methods-container {
        flex-direction: column;
    }

    .methods-image {
        width: 100%;
    }

    .methods-content {
        width: 100%;
    }
}


/*--------why-work-section--------------------*/

.why-work-section {
    width: 100%;
    background-color: var(--slovenia-stone);
    padding: 80px 20px;
}

.why-work-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.why-work-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.why-work-header p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 50px;
}

.why-work-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.why-work-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
}

.why-work-card i {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 15px;
}

.why-work-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--black);
}

@media (max-width: 768px) {
    .why-work-header h2 {
        font-size: 1.8rem;
    }

    .why-work-header p {
        font-size: 1.1rem;
    }

    .why-work-cards {
        gap: 20px;
    }

    .why-work-card {
        width: 150px;
    }

    .why-work-card i {
        font-size: 2.5rem;
    }

    .why-work-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .why-work-cards {
        flex-direction: column;
        align-items: center;
    }

    .why-work-card {
        width: 100%;
    }
}

/*--------learn-more-section--------------------*/

.learn-more-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.learn-more-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.topics-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topic-card {
    display: flex;
    align-items: stretch;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.topic-card:hover, .main-article-content:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.topic-card img {
    width: 140px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.topic-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topic-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 5px;
}

.topic-content p {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.main-article {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.main-article h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.main-article p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.main-article-content {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: .3s ease;
}

.main-article-content img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    margin-bottom: 15px;
}

.article-details {
    padding: 10px;
}

.article-details h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.article-details p {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.article-details .article-meta {
    padding-top: 10px;
}

@media (max-width: 992px) {
    .learn-more-container {
        flex-direction: column;
    }

    .topics-container, .main-article {
        width: 100%;
    }

    .topic-card img {
        width: 120px;
    }

    .topic-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .topic-card {
        flex-direction: column;
        text-align: center;
    }

    .topic-card img {
        width: 100%;
        height: auto;
        border-radius: 20px 20px 0 0;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/*--------collab-section--------------------*/

.booking-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 39px;
    overflow: hidden;
}

.booking-bg {
    width: 95%;
    margin: 0 auto;
    display: block;
    border-radius: 39px;
    filter: brightness(60%);
}

.booking-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 700px;
    color: var(--white);
    padding: 20px;
}

.booking-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
}

.booking-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.booking-button {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    background-color: var(--slovenia-green);
    color: var(--white);
    transition: background-color 0.3s ease-in-out;
}

.booking-button:hover {
    background-color: var(--slovenia-green-hover);
}

@media (max-width: 992px) {
    .booking-content h1 {
        font-size: 2rem;
    }

    .booking-content p {
        font-size: 1.1rem;
    }

    .booking-button {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 768px) {
    .booking-content {
        width: 90%;
    }

    .booking-bg {
        height: 55vh;
    }

    .booking-content h1 {
        font-size: 1.8rem;
    }

    .booking-content p {
        font-size: 1rem;
    }

    .booking-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .booking-content {
        width: 95%;
    }

    .booking-content h1 {
        font-size: 1.5rem;
    }

    .booking-content p {
        font-size: 0.95rem;
    }

    .booking-button {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
}
