/* =============================
   Root Variables for Design Tokens
   ============================= */
   @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
    font-family: 'Silk Serif';
    src: url('/assets/fonts/Silk_Serif_Regular.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
}
:root {
    /* Colors */
    --color-primary: #3498db;
    --color-secondary: #fff; 

    /* Fonts */
    --font-primary: 'Silk Serif';
    --font-secondary: 'Poppins'; 
}


/* Set base styles */
body {
    font-family: var(--font-primary);
}
.txt-center{
    text-align: center;
}

/* =============================
   Home
   ============================= */
.main_container{
    position: relative;
}
.main_content{
    min-height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transition: background-size 1s ease-out; /* Smooth transition */
    position: relative;
    overflow: hidden;
    display: flex;
}
/* When animation_cnt is hidden, zoom out the background */
.main_content.zoomed {
    background-size: 120% 120% ; /* Zoom out */
}
.animation_cnt{
    background: rgba(0, 0, 0, 0.04) url('/assets/images/blure2.png');
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}


.animation_cnt.hidden {
    animation: slideOut 0.8s ease-in forwards; /* Slide out when clicked */
    height: 0px;
    transition: height 0.8s ease-in;
    overflow: hidden;
}

.animation_cnt .title{
    color: var(--color-secondary);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 2px;
}

header {
    position: relative;
    top: -100px; /* Start off-screen */
    transition: top 0.8s ease-out; /* Smooth transition for sliding in */
    flex: 0;
}
header.visible {
    top: 0; /* Bring it to its original position */
}

/* CUSTEM DROPDOWN */
.custom-dropdown {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.custom-dropdown-toggle {
    background: transparent;
    border: 1px solid #FFF;
    padding: 12px;
    cursor: pointer;
    gap: 10px;
    display: flex;
    align-items: center;
    /* TEXT */
    color: var(--color-secondary);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: transparent;
    border: 1px solid #fff;
    width: 100%;
    list-style: none;
    padding: 0px 0px;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-secondary);
    overflow: hidden;
}

.custom-dropdown-item {
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    overflow: hidden;
}

.custom-dropdown-item a {
    /* TEXT */
    color: var(--color-secondary);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-decoration: none;
    padding: 5px 11px;
}

.custom-dropdown-item:hover {
    background-color: #9E8E72;
}



/* Keyframe animation to slide the animation_cnt out */
@keyframes slideOut {
    from {
        top: 0;
    }
    to {
        top: 100vh; /* Moves it out of the viewport */
    }
}


.card_img{
    width: 100% !important;
}
.card_item{
    border-radius: 24px;
    border-left: 1px solid #9E8E72;
    border-bottom: 1px solid #9E8E72;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.card_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #181818 80.49%);
    pointer-events: none; /* Ensure the gradient is not interactive */
    z-index: 1; /* Place it above the image */
}
.card_content{
    position: absolute;
    z-index: 2;
    background: transparent;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 45px;
    justify-content: space-between;
}
.card_content p{
    color: #FFF;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    max-width: 370px;
}
.card_content h1{
    color: #FFF;
    font-family: var(--font-primary);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.card_content button{
    background-color: transparent;
    border: none;
    width: 64px;
    height: 64px;
    transition: all 0.5s ease; /* Delayed visibility */

}
.card_item:hover button{
    transform: rotate(45deg);
}
.animation_entering {
    visibility: hidden; /* Hidden initially but occupies space */
    opacity: 0;
    transform: translateY(100vh); /* Start slightly below */
    transition: transform 0.8s cubic-bezier(0.25, 0.25, 0.5, 1.3) , visibility 0s linear 1s; /* Delayed visibility */

    position: absolute;
}

/* Visible and positioned */
.animation_entering.visible {
    position: relative;
    visibility: visible; /* Make it visible */
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Slide into view */
    transition-delay: 0s; /* Ensure no delay when becoming visible */

}
.align_container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.second_cnt{
    display: flex;
    flex-direction: column;
}
.go_back button{
    transform: rotate(-135deg);
}
.go_back{
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo_cnt{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
p{
    color: #FFF;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.iframe-container {
    position: relative;
    width: 100%;
    height: 88%;
    border-radius: 24px;
    border: 24px solid #181818;
}
.iframe-container iframe{
    width: 100%;
    height: 100%;
}
/* =============================
   Media Queries for Responsiveness
   ============================= */
@media (max-width: 533px) {
    .card_content button{
        display: none;
    }

}
@media (max-width: 768px) {

    .go_back p{
        display: none;
    }
}