/* CSS styles for the Hopp Link-in-Bio Page */

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}
body {
    font-family: 'Avenir', 'Kantumruy Pro', 'kulankoulen', sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('Image/LINK HOUSE_EVENING_VIEW055.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 450px;
    background-color: #3C0008;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    max-height: 90vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.container::-webkit-scrollbar {
    display: none;
}

.profile-main-cover {
    position: relative;
    width: 100%;
    height: 90%;
    padding-bottom: 80%;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #3C0008;
}

.main-cover-image,
.main-cover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.profile-info-below-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -70px;
    padding-bottom: 20px;
    background-color: #3C0008;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: relative;
    z-index: 5;
}

.profile-pic-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-top: 18px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
}

.profile-pic-inner,
.profile-video-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name-below-cover {
    font-size: 24px;
    margin-top: 10px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-subtitle {
    font-size: 14px;
    color: #ffffff;
    margin-top: 5px;
    opacity: 0.8;
    font-weight: normal;
}


.social-links-container {
    background-color: #3C0008;
    padding-bottom: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 22px;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.social-links a:hover {
    color: #f5efeb;
    transform: translateY(-3px);
}

.links-section {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 0;
    background-color: #3C0008;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.separator-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 25px 0;
}

.search-bar {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.search-bar input {
    flex-grow: 1;
    border: none;
    padding: 12px 20px;
    outline: none;
    font-size: 1.05em;
    background-color: #f9f9f9;
}

.search-bar button {
    background-color:#3C0008;
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease-in-out;
}

.search-bar button:hover {
    background-color: #5b131c;
}

.section-title {
    font-size: 18px;
    font-weight: normal;
    color: #ffffff;
    margin: 20px 0;
}

.property-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 15px;
    text-align: left;
    overflow: hidden;
}

.card-title {
    font-size: 14px;
    font-weight: normal;
    color: #3C0008;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.card-header-separator {
    width: calc(100% - 30px);
    height: 1px;
    background-color: #eee;
    margin: 0 auto 10px auto;
}

.card-description {
    font-size: 14px;
    color: #3C0008;
    margin-bottom: 15px;
    text-align: center;
    padding: 0 5px;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card-details p {
    font-size: 14px;
    color: #3C0008;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-details p i {
    margin-right: 8px;
    color:#3C0008;
    font-size: 1.0em;
}

.card-button {
    display: block;
    background-color:  #f5efeb;
    color: #3C0008;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
    text-align: center;
}

.card-button:hover {
    background-color: #3C0008;
    color:  #f5efeb;
}

.collapsible-section {
    font-family: 'Avenir', 'Kantumruy Pro', 'kulankoulen', sans-serif;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.collapsible-button {
    background-color: #f5efeb;
    color: #3C0008;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease-in-out;
}

.collapsible-button:hover {
    background-color: #3C0008;
    color: #f5efeb;
}

.collapsible-icon {
    transition: transform 0.3s ease-in-out;
}

.collapsible-icon.rotated {
    transform: rotate(180deg);
}

.collapsible-content {
    padding: 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #f9f9f9;
    text-align: justify;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.collapsible-content.active {
    max-height: 1800px;
    padding: 12px;
}

.collapsible-subsection {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.subsection-button {
    background-color: #f5efeb;
    color: #3C0008;
    padding: 10px 15px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease-in-out;
}

.subsection-button:hover {
    background-color: #f5efeb;
}

.subsection-icon {
    transition: transform 0.3s ease-in-out;
}

.subsection-icon.rotated {
    transform: rotate(180deg);
}

.subsection-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #f5efeb;
}

.subsection-content.active {
    max-height: 450px;
    padding: 10px 12px;
}

.subsection-content p {
    font-size: 12px;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-top: 0px;
    text-align: justify;
    word-spacing: normal;
    letter-spacing: normal;
}

.subsection-content p:last-child {
    margin-bottom: 0;
}

.subsection-content li:last-child {
    margin-bottom: 0;
}

.subsection-content ul,
.subsection-content ol {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.subsection-content li {
    font-size: 12px;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: justify;
    word-spacing: normal;
    letter-spacing: normal;
}

.image-grid-section {
    font-family:'Avenir', 'Kantumruy Pro', 'kulankoulen', sans-serif;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.grid-section-title {
    font-size: 14px;
    font-weight: normal;
    color: #3C0008;
    margin-top: 0;
    margin-bottom: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
    cursor: pointer;
}

.grid-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 10px;
}

.grid-text {
    font-size: 12px;
    color: #3C0008;
    margin: 0;
    padding: 0 5px;
    text-align: center;
    line-height: 1.3;
}

.close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 20px auto;
    padding: 0;
    background-color:#64111c;
    color: #fff;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.close-button:hover {
    background-color: #3C0008;
    transform: scale(1.05);
}

.image-detail-view {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: #3C0008;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 15px;
    box-sizing: border-box;
}

.detail-header {
    display: flex;
    align-items: center;
    padding: 0;
    background-color: #3C0008;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s ease-in-out;
}

.back-button:hover {
    color: #f5efeb;
}

.detail-title {
    flex-grow: 1;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.detail-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.main-image-and-sub-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-image-main {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    background-color: #f9f9f9;
    padding: 5px;
    border-radius: 8px;
}

.sub-images-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sub-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.floor-description {
    font-size: 0.9em;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0 10px;
    line-height: 1.4;
}

.contact-numbers-display {
    background-color: #f5efeb;
    color: #3C0008;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.contact-numbers-display p {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
}

.contact-numbers-display i {
    margin-right: 8px;
    color: #3C0008;
}


.detail-contact-button {
    display: block;
    background-color: #f5efeb;
    color: #3C0008;
    text-decoration: none;
    padding: 15px 20px;
    margin: 0;
    margin-top: auto;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.detail-contact-button:hover {
    background-color: #3C0008;
    color: #f5efeb;
}

.about-us-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.about-us-subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #3C0008;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.about-us-description {
    font-size: 12px;
    color: #000000;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 10px;
}

.lets-talk-button {
    display: block;
    background-color:#64111c ;
    color: #f5efeb;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px auto 0 auto;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    width: fit-content;
}

.lets-talk-button:hover {
    background-color: #3C0008;
    color: #ffffff;
}