/* =========================
   Base
========================= */
body {
    background: #0a0a12;
}

.subpage-bg {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at center, rgba(0,0,0,0.7), rgba(0,0,0,0.95)),
        url("https://tzomnunkfvmqipzyizdb.supabase.co/storage/v1/object/public/images/Black_Sapphire_background.png")
        center/cover no-repeat;

    filter: blur(3px) brightness(0.8);

    transform: scale(1.0);
    z-index: -2;
}


.section {
    padding: 40px 20px;
    text-align: center;
}

.section:first-of-type {
    padding-top: 30px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;

    color: #e6e0ff;
    text-shadow: 0 0 10px #6D609D;
}

.section-title::after {
    content: "";
    display: block;
    margin: 10px auto 0;

    width: 60px;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #6D609D,
        transparent
    );

    opacity: 0.6;
}

.sub-header {
    padding: 40px 10px 10px;
}

.sub-header h1 {
    font-size: 52px;
    font-weight: 600;
    letter-spacing: 2px;
}

.back-btn {
    display: inline-block;
    margin-top: 10px;

    color: #b8aaff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: 0.3s;
}

.back-btn:hover {
    color: #ffffff;
    transform: scale(1.15);
    text-shadow: 0 0 12px #6D609D;
    opacity: 1;
}

/* =========================
   🖼️ GALLERY
========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 40px;
}


.gallery-grid.portrait img {
    aspect-ratio: 9 / 16;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    
    border-radius: 8px;
    border: 1px solid #6D609D;

    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #6D609D;
}

/* =========================
   🍸 MENU
========================= */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    gap: 25px;

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-card {
    flex: 1 1 calc(25% - 25px);
    min-width: 260px;
    max-width: 300px;

    background: rgba(0,0,0,0.6);
    border: 1px solid #6D609D;
    border-radius: 10px;
    overflow: hidden;

    position: relative;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.menu-card::before {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #b8aaff;
    font-size: 14px;
    opacity: 0.7;
}

.menu-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #6D609D;
}

.menu-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: 0.4s;
}

.menu-card:hover img {
    transform: scale(1.08);
}

.menu-text {
    padding: 18px;
    text-align: left;
}

.menu-text h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.menu-text p {
    color: #bbb;
    font-size: 13px;
    line-height: 1.4;
}

.price {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #b8aaff;
    font-weight: bold;
}

.ingredients {
    margin-top: 10px;
    padding-left: 10px;
    border-left: 2px solid #6D609D;

    font-size: 13px;
    color: #888;
}

/* =========================
   🤝 PARTNER CARDS
========================= */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;

    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-card {
    flex: 0 1 300px;
    max-width: 100%;
    
    background: rgba(0,0,0,0.6);
    border: 1px solid #6D609D;
    border-radius: 10px;

    overflow: hidden;
    display: flex;
    flex-direction: column;

    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.partner-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 25px #6D609D;
}

.partner-card img {
    display: block;

    height: 180px;
    width: 100%;

    object-fit: contain;
    object-position: center;

    padding: 30px 0 10px;

    filter: drop-shadow(0 0 10px rgba(109,96,157,0.5));
}

.partner-text {
    padding: 18px;
    text-align: left;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.partner-text h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.partner-text p {
    position: relative;
    margin-top: 15px;
    padding-top: 15px;
}

.partner-text p::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 120px;
    height: 2px;

    background: linear-gradient(
        90deg,
        #b8aaff,
        transparent
    );

    opacity: 0.6;
}

.partner-text a {
    margin-top: auto;

    display: inline-block;
    width: auto;

    padding: 8px 18px;

    border: 1px solid #6D609D;
    color: #e6e0ff;
    text-decoration: none;

    font-size: 16px;

    align-self: flex-start;
}

.partner-text a:hover {
    background: #6D609D;
    color: black;
    box-shadow: 0 0 20px #6D609D;
}

/* =========================
   VENUE
========================= */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.venue-page {
    position: relative;
    z-index: 1;
}


.venue-intro {
    margin-bottom: 40px;
    color: #aaa;
}

/* =========================
     STAFF
========================= */
.staff-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: center;
    
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 800px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.staff-section {
    padding: 20px 20px;
    text-align: center;
}

.staff-text {
    padding: 12px 16px;
    text-align: center;
    
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(109, 96, 157,0.8)
    );

    border-top: 1px solid rgba(255,255,255,0.05);
}

.staff-text h3 {
    color:#e6e0ff;
    font-size: 18px;
    margin-bottom: 2px;
    margin: 0;
}

.staff-text p {
    font-size: 14px;
    color: #aaa;
    margin: 10px;
}

.staff-card {
    background: rgba(0,0,0,0.6);
    border: 2px solid #6D609D;
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
    backdrop-filter: blur(10px);

    transition: 0.3s;

    display: flex;
    flex-direction: column;
}

.staff-img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.staff-card.owner {
    transform: scale(0.8);
    margin: -50px auto;
    border: 1px solid gold;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.staff-card.manager {
    transform: scale(0.8);
    margin: -15px auto;
    border: 1px solid #8ab4ff;
    box-shadow: 0 0 20px rgba(138, 180, 255, 0.4);
}

.staff-card.owner:hover {
    transform: translateY(-8px) scale(0.85);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.6);
}

.staff-card.manager:hover {
    transform: translateY(-8px) scale(0.85);
    box-shadow: 0 0 30px rgba(138, 180, 255, 0.6);
}

.staff-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 35px #6D609D;
}
