﻿html {
  font-size: 14px;
}
@media (min-width: 576px) {
    .nav-link {
        padding-left: 0.2rem !important;
        padding-right: 0.5rem !important;
        font-size: 1.05rem;
        background-color: cornsilk;
    }
  }
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 60px;
}
.navbar {
    position: relative;
    z-index: 10001 !important;
    padding: 0.5rem 2rem !important;
    background-color: #fff9f0 !important;
}
header {
    position: relative;
    z-index: 10001 !important;
}
.brand-text {
    font-weight: bold;
    color: #8B4513; 
    font-size: 1.4rem;
}
.home-container {
    background-color: cornsilk;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 1000px;
}
footer {
    height: 40px !important;
    line-height: 40px;
    padding: 0 !important;
    font-size: 12px;
    background-color: white;
}
.nav-logo-top {
    height: 45px; 
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8B4513; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.brand-text-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: #8B4513 !important; 
    letter-spacing: 0.5px; 
}
.navbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background-color: #ffffff !important;
    border-bottom: 2px solid #f1f1f1;
}
.gallery-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    padding: 40px 20px;
}
.gallery-item {
    background-color: #fff9e6; 
    border-radius: 15px;
    overflow: hidden;
    width: 300px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e0d5b0;
}
.gallery-item:hover {
    transform: translateY(-10px); 
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover; 
}
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    height: 40px;
}
.gallery-text {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #8B4513;
    font-size: 1rem;
    background-color: #fff9e6;
}
.nav-logo-fixed {
    height: 300px !important;
    width: 297px !important;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 1px solid #8B4513;
    vertical-align: middle;
}
border-top footer text-muted {
    width: 100%;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid #ddd;
    height: 20px;
    color: #333;
    background-color: white !important;
}
.border-top footer text-muted {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: white !important;
}
footer.footer {
    background-color: white !important; 
    color: #333 !important; 
    border-top: 1px solid #dee2e6;
    padding: 20px 0;
    width: 100%;
    font-size: 15px;
    position: relative;
    z-index: 100;
}
footer.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: white !important;
    border-top: 1px solid #dee2e6;
    text-align: center;
    z-index: 1000;
}
footer .container {
    background-color: cornsilk !important;
}
body {
    opacity: 1;
    transition: opacity 0.5s ease;
}
    body.fade-out {
        opacity: 0;
    }
.btn-loading-active {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
}
.loader-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
    z-index: 999;
}
@keyframes spin-loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.user-greeting-link {
    font-weight: bold;
    color: #8B4513 !important;
    background-color: #f8f9fa; 
    padding: 5px 15px !important; 
    border-radius: 20px; 
    border: 1px solid #ddd; 
    transition: all 0.3s ease; 
    margin-left: 800px;
}
.text-danger.field-validation-error {
    display: block;
    font-size: 0.8rem !important; 
    color: #b02a37 !important; 
    margin-top: 4px;
    font-style: italic;
    font-weight: 500;
    transition: all 0.3s ease;
}
.input-validation-error {
    border: 1px solid #dc3545 !important;
    background-color: #fff8f8 !important;
}
@keyframes grow-and-shrink {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
.btn-animate {
    transition: all 0.2s ease;
}
.btn-animate:hover {
    transform: scale(1.03);
    background-color: #28a745; 
}
.btn-animate:active {
    animation: grow-and-shrink 0.3s forwards;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
.container {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px; 
    margin: 0 auto;
}
.container, .main-content {
    max-width: 1200px;
    margin: 0 auto; 
}
#menu-bar {
    display: none;
}
.hamburger-label {
    display: none; 
    font-size: 28px;
    cursor: pointer;
    color: #763e14;
    padding: 10px;
    user-select: none;
}
.user-greeting-bubble {
    display: inline-block;
    background-color: #f8f9fa; 
    border: 1px solid #e0e0e0;
    border-radius: 30px; 
    padding: 8px 20px;
    margin-left: 15px;
    vertical-align: middle;
}
.user-greeting-bubble span {
    color: #8B4513; 
    font-weight: bold;
    font-size: 14px;
    display: block;
    line-height: 1.2;
}
html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 70px !important; 
}
footer.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: white !important;
    border-top: 1px solid #dee2e6;
    text-align: center;
    z-index: 1000;
}
@media (max-width: 768px) {
    .user-greeting-bubble {
        margin: 10px auto;
        display: block;
        width: fit-content;
    }
}
@media only screen and (max-width: 768px) {
    .container.d-flex {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .user-greeting-mobile {
        display: block !important;
        font-size: 13px !important;
        font-weight: bold !important;
        color: #8B4513 !important;
        background: #fdfae6 !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        border: 1px solid #e0d5b0 !important;
        margin-left: auto !important;
        margin-right: 10px !important;
        white-space: nowrap !important;
    }
    .navbar-collapse.collapse {
        width: 100% !important;
    }
}
@media screen and (min-width: 769px) {
    .user-greeting-mobile {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    .hamburger-label {
        display: block;
    }
    .navbar-collapse.collapse {
        display: none !important; 
        width: 100%;
    }
    #menu-bar:checked ~ .navbar-collapse.collapse {
        display: block !important;
    }
    .navbar-nav {
        flex-direction: column !important;
        background-color: #ffffff;
        padding: 15px;
        border-top: 1px solid #eee;
    }
    .nav-item {
        margin-bottom: 10px;
        text-align: center;
    }
    .navbar-nav .btn {
        width: 100%;
        margin-top: 10px;
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .hamburger-label {
        display: flex !important;
        align-items: center;
        gap: 8px; 
        font-size: 20px; 
        font-weight: bold;
        cursor: pointer;
        color: #763e14;
        padding: 10px;
        user-select: none;
    }
    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
}
#menu-bar:checked ~ .navbar-collapse.collapse {
    display: block !important;
    animation: slideDownFade 0.4s ease-out forwards;
}
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.navbar-collapse.collapse {
    transition: all 0.3s ease-in-out;
}
#menu-bar:checked ~ .hamburger-label {
    color: #A0522D;
    transition: 0.3s;
    transform: scale(1.1);
}
.navbar-collapse {
    justify-content: center !important; 
}
.navbar-nav {
    align-items: center; 
}
@media (max-width: 767.98px) {
    .navbar-collapse.collapse {
        display: none; 
    }
    #menu-bar:checked ~ .navbar-collapse.collapse {
        display: block !important; 
        background: white;
        padding: 20px;
        text-align: center;
    }
    .nav-item {
        margin-bottom: 10px;
    }
    .hamburger-label {
        display: block;
        text-align: center;
        width: 100%;
        padding: 15px;
        font-weight: bold;
        color: #8B4513;
        cursor: pointer;
    }
}
@media (max-width: 768px) {
    .container main,
    .main-content,
    main[role="main"] {
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: center;
        width: 100%;
    }
    .card,
    div[style*="background-color: white"],
    form > div {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
        display: block;
        max-width: 90%; 
    }
}
footer.footer {
    position: relative; 
    width: 100% !important;
    background-color: cornsilk !important;
    border-top: 1px solid #dee2e6;
    padding: 20px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto !important; 
    min-height: 60px;
}
@media (max-width: 768px) {
    footer.footer {
        padding: 15px 10px !important;
        line-height: 1.4 !important; 
        font-size: 14px !important;
        background-color: cornsilk !important;
    }
    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: cornsilk !important;
    }
}

