/*
 * Copyright (c) 2025. Perun Consulting Services FZ LLE
 */


.header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.header h1 {
    /* background-color: rgba(0, 0, 0, 0.2); */
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding: 0.2rem;
    border-radius: 6px;
}

.header h2 {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding: 0.2rem;
    border-radius: 6px;
}

/* Card specific styling */
.card {
    width: 100%; /* Full width for each card */
    display: flex;
    flex-wrap: wrap;
    border: 1px lightgray solid;
}

.card.shadowed {
    box-shadow: 1px 1px 5px #999;
    border-radius: 5px;
}


.card-team {
    padding: 1rem;
    height: auto !important;
}

.team-contact {
    color: #2c0b0e;
}

.team-contact a {
    color: #2c0b0e;
    text-decoration: none;
    font-weight: 500;
}

.team-contact a:hover {
    color: #2c0b0e;
    font-weight: bold;
}

.team-contact i {
    position: relative;
    top: 0.1rem;
}

/* Circle styling for team member photos */
.team-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

/* Styling for image part */
.card-img-section {
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px 0 0 5px;
}

/* On small screens - Image on top, description below */
.card-body-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.sticker-left {
    position: absolute;
    top: 5%;
    left: -9px;
    width: auto;
    height: 30%;
    z-index: 99;
}

.sticker-top {
    position: absolute;
    top: -1rem;
    left: 0;
    width: 16rem;
    height: auto;
    z-index: 99;
}

.sticker-txt {
    position: absolute;
    top: 10%;
    left: 1rem;
    z-index: 100;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffdd00;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-family: Calibri, sans-serif;
}

.sticker-txt-top {
    position: absolute;
    top: -0.75rem;
    left: 3.5rem;
    z-index: 100;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFEFC1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-family: Calibri, sans-serif;
}

.sticker-txt-top-small {
    position: absolute;
    top: -0.2rem;
    left: 3.5rem;
    z-index: 100;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFEFC1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-family: Calibri, sans-serif;
}

@media (max-width: 576px) {
    .sticker-left {
        width: 35%;
        height: auto;
    }

    .sticker-txt {
        font-size: 1.2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* Adjustments for medium and larger screens */
@media (min-width: 768px) {
    .card {
        flex-direction: row; /* Left to right alignment */
        height: 500px;
    }

    .card-img-section {
        flex: 0 0 70%; /* Image takes 40% of width */
        height: 100%;
    }

    .card-body-section {
        flex: 1; /* Description area takes the remaining space */
        padding: 2rem;
    }

    .card-body-section .card-title {
        text-align: center;
    }

    .header {
        height: 40vh;
    }

    .header h1 {
        font-size: 5rem;
    }

    .header h2 {
        font-size: 3rem;
    }

    body {
        background-color: mintcream;
    }
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(25, 135, 118, 0.76);
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00d5d0;
    --bs-btn-hover-border-color: #00d5d0;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00b2af;
    --bs-btn-active-border-color: #00b2af;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #009ada;
    --bs-btn-border-color: #009ada;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0074a8;
    --bs-btn-hover-border-color: #0074a8;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #009ada;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #afd3e7;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

/* Card descriptions with vertical layout adjustments */
.resort-card .card-body {
    flex-grow: 1;
}
@media (min-width: 768px) {
    .resort-card {
        flex-direction: row; /* Horizontal layout for large screens */
    }
}

/* Custom class for card styling */
.custom-card {
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 15px;
    display: flex; /* Ensure left-to-right alignment of elements */
    align-items: center; /* Vertically align content */
    height: 100%; /* Ensure equal height */
}

/* Style for the circle with the initial letter */
.custom-circle {
    flex: 0 0 20%; /* Fixed width of 25% of the card */
    aspect-ratio: 1; /* Makes it a perfect circle */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: white;
    font-weight: bold;
}

/* Container for the right-side content */
.custom-card-content {
    flex: 1; /* Take up the remaining 75% of the card width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-rating {
    text-align: right;
}

/* Style for the star icons (rating row) */
.custom-rating img {
    width: 16px;
    height: 16px;
}

/* Style for the review text */
.custom-review-body {
    font-size: 12px;
    color: #555;
    text-align: justify;
    line-height: 1.5;
    padding-left: 10px;
}

/* Style for the reviewer text */
.custom-reviewer {
    text-align: right;
}

.custom-reviewer a {
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
