/* ===== PAGE LAYOUT ===== */
body {
    min-height: 100vh;
    box-sizing: border-box;

}

/* ===== FOOTER ===== */
.footer {
    background: var( --background);
    flex-shrink: 0;
}

.footer-link {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-logo {
    max-height: 40px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* ===== SECTIONS ===== */
.section-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.41) 0%, #f6f7f9 100%);
    padding-bottom: 3rem;
    border-bottom: 1px solid #e6e6e6;
}

.hero-public,
.hero-section{
    background: linear-gradient(135deg,#f8f9fa,#eef2f7);
    border-bottom:1px solid #e9ecef;
}

.hero-public h1{
    max-width:800px;
    margin:auto;
}

.hero-public p{
    max-width:650px;
    margin:auto;
}

.models-section{
    overflow: visible;
}

/* ===== CARDS ===== */
.card {
    border-radius: 12px;
    background: var(--card-bg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    overflow: hidden;
}

.card-link{
    text-decoration: none;
    overflow: visible;
}

.card-img-top,
.generated_card {
    height: 200px;
    width: 100%;
    object-fit: contain;
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: transform .25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.card:hover .card-img-top {
    transform: scale(1.03);
}

/* ===== GRADIO/IFRAME ===== */
.gradio-container{
    width:100%;
    height:75vh;
    min-height:650px;
    background-color: var(--background);
}

.gradio-frame{
    width:100%;
    height:100%;
    border:none;
    border-radius:10px;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.dropdown-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 6px;
}

.dropdown.show > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        display: block;
    }
}

@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        opacity: 1;
        transform: none;
    }
}
/* ===== MODALS ===== */
.modal-content{
    border-radius:12px;
}

/* ===== BUTTONS ===== */
.auth-button{
    background-color: var(--primary);
}

.auth-button:hover{
    background-color: var(--secondary);
}

/* ===== BRAND TEXT (Aitta) ===== */
.brand-text{
    font-weight:600;
    letter-spacing:0.03em;
    font-size:1.2rem;
    font-family: "Museo Sans", sans-serif;
}

/* ===== LOGOUT ICON ===== */
.logout-icon{
    width:50px;
    height:50px;
    margin:auto;
    border-radius:50%;
    background:#f8f9fa;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

/* ===== ABOUT SECTION (MODEL VIEW) ===== */
.about-container{
    max-width:800px;
    margin:auto;
    line-height:1.6;
    color:#555;
    flex: 1 0 auto;
}

/* ===== TAB CONTENT (MODEL VIEW) ===== */
.tab-content{
    min-height: 75vh;
}

/* ===== PAGE TEXTS ===== */
.page-text {
    font-family: 'Museo Sans', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}
.page-text h1, .page-text h2, .page-text h3 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.page-text a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== FADE ===== */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}




