/* styles.css */

/* Navbar */
.navbar {
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5); /* Background moved to colors.css */
}
.navbar a {
    font-weight: bold;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-row {
    width: 100%;
}

.outer-div {
    position: relative;
    width: 600px;
    height: 600px;
    border-bottom-left-radius: 300px;
    border-bottom-right-radius: 300px;
    overflow: hidden;
    margin: 100px 0;
}

.middle-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 300px;
}

.inner-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 600px;
    border-radius: 60px;
}

.inner-div2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -160%);
    width: 364px;
    height: 120px;
    border-radius: 10px;
}


/* Call-to-Action Styling */

.hero h2 {
    font-size: 60px;
    font-weight: 900;
}

.qr {
    max-height: 150px;
    margin: 0 auto; /* Center QR code horizontally on smaller screens */
}

.callToActionContainer {
    padding-top: 30px;
    max-width: 700px;
}

.carousel-inner {
    width: 340px;
    left: 50%;
    transform: translate(-50%, 20%);
    height: auto;
}

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

img.app-badge {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 5px 0;
}

/* Section Styling */
.section {
    padding: 50px 0;
}
.section h2 {
    font-weight: bold;
}

/* Footer Styling */
footer {
    padding: 20px 0;
    text-align: center;
}

/* Nutrition Animation Module */
.wrapper {
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.box-space {
    height: 300px;
}

.box-text {
    font-size: 20px;
    padding: 8px;
}

.animated-box {
    display: block;
    opacity: 0;
    margin: 20px auto;
    padding: 16px 8px;
    border-radius: 24px;
    position: relative;
}

.sub-boxes {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.sub-box {
    min-width: 50px;
    border-radius: 16px;
    display: none;
    padding: 8px 12px;
}

.loader {
    display: none;
    margin: 20px auto;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-field span {
    font-size: 25px;
}

.text-field {
    margin-top: 20px;
}

.labelMedium {
    font-size: 18px;
}

.labelSmall, .valueDecimal {
    font-size: 12px;
}

.valueWhole {
    font-size: 22px;
    font-weight: bold;
}

img.qr{
    opacity: 0.8;
}

/* Features */

.bg-dark h2, .bg-light h2 {
    font-size: 60px;
    margin-top: 50px;
}

.bg-dark h3{
    font-size: 45px;
}

.bg-light h3{
    font-size: 30px;
    margin-top: 150px;
    margin-bottom: 30px;
}

/* Outer Circle */
.circle-outer {
    width: 430px;
    height: 430px;
    border-radius: 50%;
    position: relative;
    overflow: visible; /* Allow elements to overflow outside the circle */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 70px;
}

/* Image Container */
.image-container {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    z-index: 2; /* Ensure the image is above the circles */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img{
    cursor: pointer; /* Changes cursor to pointer (hand icon) */
}

/* Phone Image */
.phone-image {
    max-height: 500px; /* Adjust the height for the phone screenshot */
    /* max-width: 100%; /* Maintain aspect ratio */
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
    border-radius: 20px;
}

/* Additional Styling for Visual Balance */
.circle-outer::before,
.circle-outer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}


/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: none; /* Ensure modal is hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* High z-index to place it above all other elements */
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Maintain aspect ratio */
    border-radius: 8px;
    cursor: pointer;
}

.modal.hidden {
    display: none !important; /* Forcefully hide the modal */
}

.close-button {
    position: absolute;
    top: 110px;
    right: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 50%;
    z-index: 1001;
}

/* markdown container specific */
#markdown-container p{
    padding: 10px 0;
}

#markdown-container h2, #markdown-container h3{
    padding: 30px 0;
}

.sore-container-coming-soon{
    display: flex;
    width: 100%; /* Ensure it fits the screen */
    align-items: center;
    padding: 15px 25px;
    border-radius: 18px;
    font-family: Arial, sans-serif;
}

.store-container {
    border-radius: 18px;
}

.googleplay-image {
    width: 300px;
    height: 75px;
    overflow: hidden; /* Hide the cropped parts */
    position: relative;
    scale: 0.7;
}

.googleplay-image img {
    position: relative;
    top: -30px; /* Crop top */
    left: -25px; /* Crop left */
    width: 350px;
    height: auto; /* Adjust aspect ratio */
}

.social{
    padding-top: 100px;
    padding-bottom: 100px;
}

.social a{
    margin: 0 20px;
    opacity: 70%;
}

.social-icon{
    scale: 0.7;
}

.fit-fusion-ai-logo{
    height: 40px;
    width: auto;
    margin-right: 10px;
}
