﻿:root {
    --purple-light: #8176AF;
    --purple-dark: #5D4C86;
    --orange-light: #ED751B;
    --orange-dark: #C44B16;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.navbar-custom {
    /* background: linear-gradient(135deg, var(--purple-dark), var(--purple-light));
    background: linear-gradient(135deg, #ED751B, #8176AF);*/
    background: linear-gradient(135deg, #8176AF, #ED751B);
}

    .navbar-custom .nav-link {
        color: white !important;
        transition: color 0.3s ease;
    }

        .navbar-custom .nav-link:hover {
            /*color: var(--orange-light) !important;
            color: #ED751B;*/
            color: #8176AF !important;
        }

.section-purple {
    background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
    color: white;
    padding: 4rem 0;
}

.section-orange {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
    color: white;
    padding: 4rem 0;
}

.section-mixed-1 {
    background: linear-gradient(135deg, var(--purple-light), var(--orange-light));
    color: white;
    padding: 4rem 0;
}

.section-mixed-2 {
    background: linear-gradient(135deg, var(--orange-dark), var(--purple-dark));
    color: white;
    padding: 4rem 0;
}

.card-mixed-1 {
    background: linear-gradient(135deg, var(--purple-light), var(--orange-light));
    color: white;
    padding: 1rem 0;
}

.card-mixed-2 {
    background: linear-gradient(135deg, var(--orange-dark), var(--purple-dark));
    color: white;
    padding: 1rem 0;
}

.brand-event {
    color: #ED751B;
    font-weight: bold;
    background-color: white;
}

.brand-allsky {
    color: #8176AF;
    font-weight: bold;
    background-color: white;
}


.card-custom {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    transition: transform 0.3s ease;
    height: 100%; /* Ensure the card stretches to fit its parent column */
    display: flex; /* Allows the card to handle content flexibly */
    flex-direction: column; /* Ensures content stacks vertically */
}

    .card-custom:hover {
        transform: scale(1.05);
    }

.carousel-item img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

.placeholder-img {
    background-color: rgba(255,255,255,0.2);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Flip vertical */
.flipy {
    perspective: 800px;
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 1rem;
}

    .flipy .card {
        width: 100%;
        transform-style: preserve-3d;
        transition: transform 0.5s;
        position: relative;
        height: 100%;
        background-color: transparent;
        border: none;
    }

        .flipy .card:hover {
            transform: rotateY(180deg);
        }

.menu-chef-image-container {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    padding-bottom: 125%; /* Consistent aspect ratio */
    max-height: 500px; /* Optional: prevent getting too tall */
}

    .menu-chef-image-container .front,
    .menu-chef-image-container .back {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .menu-chef-image-container .back {
        transform: rotateY(180deg);
    }

    .menu-chef-image-container img {
        width: 100%;
        height: 100%; /* Change from 100% to auto */
        object-fit: contain; /* cover (croping if necessary), contain (no crop) */
        display: block; /* Add this to remove any unwanted space */
    }

/* Media query for small screens */
@media (max-width: 991.98px) {
    .flipy {
        height: auto;
        margin-bottom: 2rem;
    }

    .menu-chef-image-container {
        padding-bottom: 75%; /* Adjust for better mobile display */
    }
}

@media (max-width: 767.98px) {
    .flipy {
        margin-bottom: 2rem;
    }

    .menu-chef-image-container {
        padding-bottom: 100%; /* More flexible aspect ratio */
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .flipy {
        margin-bottom: 1.5rem;
    }

    .menu-chef-image-container {
        padding-bottom: 80%; /* Adjusted for medium screens */
    }
}
/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple-light));
    color: white;
    /*padding: 3rem 0;*/
}

.footer-social-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px; /* Adjust the gap between icons as needed */
}

    .footer-social-icons a {
        color: white;
        font-size: 2rem;
        margin: 0 5px; /* Reduce the margin to fit icons on smaller screens */
        transition: color 0.3s ease;
        flex: 0 0 auto;
    }

        .footer-social-icons a:hover {
            color: var(--orange-light);
        }

.carousel-text {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1rem;
    margin-top: 1rem;
    color: white;
}

.hover-image-container .image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hover-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.image-wrapper {
    aspect-ratio: 4 / 3; /* or whatever matches the image’s native dimensions */
    overflow: hidden;
}

/*img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}*/

.hover-image-container .primary-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hover-image-container .hover-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-image-container:hover .primary-image {
    opacity: 0;
}

.hover-image-container:hover .hover-image {
    opacity: 1;
}

@media (forced-colors: active) {
    .card-custom {
        forced-color-adjust: none;
        border: 2px solid HighlightText;
    }

    .navbar-custom {
        forced-color-adjust: none;
        background-color: Highlight;
        color: HighlightText;
    }

    .footer {
        forced-color-adjust: none;
        background-color: Highlight;
        color: HighlightText;
    }

    .navbar-custom .nav-link,
    .footer-social-icons a {
        color: HighlightText !important;
    }

    .card-custom img {
        forced-color-adjust: auto;
    }
}

.dropdown-menu-dark {
    background-color: #8176AF !important;
}

    .dropdown-menu-dark .dropdown-item {
        color: #fff;
    }

        .dropdown-menu-dark .dropdown-item:hover {
            background-color: rgba(237, 117, 27, 0.5);
            color: #fff;
        }

.navbar-custom .dropdown-menu {
    margin-top: 0.125rem;
}

/* Responsive google map*/
.google-map {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    flex-grow: 1; /* Allows the map to expand and fill available space */
}

    .google-map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ensures the card body fills the entire card */
}

.custom-card {
    background-color: transparent;
    border: none; /* Optional: Remove the border if you want */
}

/* Profile and other label color in card */

/**
 * = Avatars
 */
.avatar + .avatar-content {
    display: inline-block;
    margin-left: 0.75rem;
}

.avatar-sm {
    width: 1.5rem;
    height: 1.5rem;
}

    .avatar-sm img {
        width: 1.5rem;
        height: 1.5rem;
    }

.avatar {
    width: 2rem;
    height: 2rem;
}

    .avatar img {
        width: 2rem;
        height: 2rem;
    }

.avatar-md {
    width: 3rem;
    height: 3rem;
}

    .avatar-md img {
        width: 3rem;
        height: 3rem;
    }

.avatar-lg {
    width: 4.5rem;
    height: 4.5rem;
}

    .avatar-lg img {
        width: 4.5rem;
        height: 4.5rem;
    }

.avatar-xl {
    width: 8rem;
    height: 8rem;
}

@media (max-width: 991.98px) {
    .avatar-xl {
        width: 4.5rem;
        height: 4.5rem;
    }
}

.avatar-offline::before,
.avatar-online::before {
    position: absolute;
    border: 2px solid #ffffff;
    background-color: #10B981;
    display: block;
    top: 2px;
    left: 39px;
    content: "";
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.avatar-offline::before {
    background-color: #E11D48;
}

.avatar-group .avatar {
    position: relative;
    z-index: 0;
}

    .avatar-group .avatar img {
        border: 2px solid #ffffff;
    }

    .avatar-group .avatar:hover {
        z-index: 3;
    }

    .avatar-group .avatar + .avatar {
        margin-left: -1rem;
    }

/* Start blink me */
.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Additional background used in Bootstrap */

/* General callout styling (reiterated for context) */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    /*border: 1px solid #eee;  Light grey border */
    border-left-width: .25rem; /* Thicker left border for emphasis */
    border-radius: .25rem;
}

/* Specific styling for info callout (reiterated for context) */
.bd-callout-info {
    border-left-color: #5bc0de; /* Bootstrap's info blue */
    /*background-color: rgba(91, 192, 222, .1);  Light blue background */
    color: #31708f; /* Darker blue text */
}

/* Specific styling for warning callout */
.bd-callout-warning {
    border-left-color: #f0ad4e; /* Bootstrap's warning orange/yellow */
    background-color: rgba(240, 173, 78, .1); /* Light orange/yellow background */
    color: #8a6d3b; /* Darker orange/yellow text */
}

/* Optional: Remove bottom margin from last paragraph inside callout */
.bd-callout p:last-child {
    margin-bottom: 0;
}

