/* ========== GLOBAL ========== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #121212;
    color: #f2f2f2;
    font-family: 'Inter', sans-serif;
}

/* Full-page fixed background element so the whole image can be shown */
.site-bg {
    position: fixed;
    inset: 0;
    background-image: url('images/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    pointer-events: none;
    z-index: -2;
}

/* Semi-transparent overlay: warm amber-brown for jazz lounge mood */
.site-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(35,32,28,0.65),
        rgba(45,42,38,0.70)
    );
    backdrop-filter: blur(3px);
    pointer-events: none;
    z-index: -1;
}

.site-overlay::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(212,175,55,0.12) 0%, transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(212,175,55,0.1) 0%, transparent 35%);
    pointer-events: none;
}

.site-overlay::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(212,175,55,0.08) 0%, transparent 25%),
        radial-gradient(ellipse at 80% 70%, rgba(212,175,55,0.08) 0%, transparent 30%);
    pointer-events: none;
}

/* ========== HOME ========== */
#home {
    padding: 20px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 140px;
}

.logo-wrapper {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0)
    );
    padding: 24px 0 32px;
}

/* ========== CATEGORY GRID ========== */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}
/* ========== SQUARE CATEGORY CARD (Glassmorphism) ========== */
.category-card-square {
    background: rgba(28,28,28,0.6);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212,175,55,0.12);
    display: flex;
    flex-direction: column;
    transition: transform .16s ease, box-shadow .16s ease, background .2s ease;
    backdrop-filter: blur(12px);
    box-shadow: 
        inset 0 1px 2px rgba(212,175,55,0.08),
        0 8px 32px rgba(0,0,0,0.4),
        0 2px 8px rgba(212,175,55,0.06);
}

.category-card-square:hover {
    background: rgba(28,28,28,0.7);
    box-shadow: 
        inset 0 1px 2px rgba(212,175,55,0.1),
        0 12px 40px rgba(0,0,0,0.5),
        0 2px 12px rgba(212,175,55,0.12);
}

/* Image takes 80% */
.category-image {
    /* make image area a square (1:1) and prevent overflow */
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    flex: none;
    background-color: #111;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* avoid showing bottom-right */
    display: block;
    transform: scale(1.12); /* zoom in a bit to crop unwanted areas */
    transform-origin: center center;
}

/* Title takes 20% */
.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #c9a961;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    text-align: center;
    padding: 16px 12px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

/* Tap feedback */
.category-card-square:active {
    transform: scale(0.96);
}


/* ========== CATEGORY CARDS ========== */
.categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-card {
    background-color: #1c1c1c;
    border-radius: 14px;
    padding: 18px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #2a2a2a;
}

.category-card:active {
    background-color: #2a2a2a;
}

/* ========== SUBCATEGORY GRID ========== */
.subcategories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.subcategory-card {
    background-color: #1c1c1c;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    font-size: 14px;
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
}

.subcategory-card span {
    position: relative;
    z-index: 2;
}

.subcategory-card:active {
    transform: scale(0.98);
    background-color: #2a2a2a;
}

/* ========== CARD (Alcohol Section) ========== */
.card {
    background: rgba(30,30,30,.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,140,.08);
    box-shadow: 0 8px 20px rgba(0,0,0,.6);
}

/* ========== CATEGORY VIEW (Premium Glass Panel) ========== */
.category {
    display: none;
    position: relative;
    padding: 0 24px 24px 24px;
    max-width: 860px;
    margin: 18px auto;
}


.category-header-fixed {
    position: sticky;
    top: 85px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    gap: 18px;
    will-change: transform;
    contain: layout style;
    background: linear-gradient(135deg, rgba(20,15,10,0.98) 0%, rgba(30,20,15,0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212,175,55,0.16);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    padding: 18px 24px 12px 24px;
    z-index: 101;
}

.category-header-fixed h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    color: #c9a961;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

/* ========== BACK BUTTON ========== */
.back-btn {
    background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.08) 100%);
    border: 1px solid rgba(212,175,55,0.18);
    color: #c9a961;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .16s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.back-btn:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0.12) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.15), inset 0 1px 2px rgba(255,255,255,0.08);
}

.back-btn:active {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0.06) 100%);
}


@media (hover: none) and (pointer: coarse) {
    .back-btn:focus {
        outline: none;
    }
}

/* ========== DRINK LIST (Premium Glass Rows) ========== */
.drink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(212,175,55,0.06);
    gap: 12px;
    background: linear-gradient(
        135deg,
        rgba(40,30,20,0.4) 0%,
        rgba(30,22,15,0.38) 100%
    );
    background-size: 200% 200%;
    border-radius: 10px;
    margin: 0 24px 10px 24px;
    min-height: 70px;
    box-shadow: inset 0 1px 2px rgba(212,175,55,0.04), 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid rgba(212,175,55,0.08);
    position: relative;
    z-index: 2;
}

.drink-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.drink-name {
    font-size: 16px;
    font-weight: 500;
    color: #f0f0f0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    text-transform: capitalize;
}

.drink-description {
    font-size: 12px;
    color: #b0a090;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    text-transform: capitalize;
}

.price {
    font-size: 15px;
    font-weight: 600;
    color: #c9a961;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

/* ========== DRINK SECTION HEADER ========== */
.drink-section-header {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #d4af37;
    text-transform: uppercase;
    margin: 24px 24px 12px 24px;
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}


/* ========== ALCOHOL SECTION BACKGROUND ICONS ========== */

/* GIN CARD */
#card-gin::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/gin.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* BEER CARD */
#card-beer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/beer.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* WHISKEY CARD */
#card-whiskey::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/whisky.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* RUM CARD */
#card-rum::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/rum.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* VODKA CARD */
#card-vodka::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/vodka.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* BRANDY (COGNAC) CARD */
#card-brandy::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/cognac.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* TEQUILA CARD */
#card-tequila::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/tequila.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* LIQUEUR CARD */
#card-liqueur::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/liqueur.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* STOCK CARD */
#card-stock::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/stok.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* OUZO CARD */
#card-ouzo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/ouzo.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* VERMOUTH CARD */
#card-vermouth::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/vermouth.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* RAKIJA CARD */
#card-rakija::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/alk_graf/rakija.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}


/* ========== STICKY HEADER ========== */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    will-change: transform;
    contain: layout style;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15),
        rgba(18, 18, 18, 0.95)
    );

    backdrop-filter: blur(4px);
    padding: 10px 16px 12px;
}

/* Logo */
.header-logo {
    text-align: center;
}

.header-logo img {
    max-width: 110px;
}

/* Info row */
.header-info {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;

    font-size: 11px;
    color: #cccccc;
    margin-top: 6px;
}

.header-info .responsible {
    color: #d4af37;
    font-style: italic;
}

/* ========== SOCIALS FOOTER ========== */
.socials-footer {
    padding: 32px 20px 20px;
    text-align: center;
}

.socials-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all .2s ease;
    opacity: 0.6;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: 0 0 12px rgba(212,175,55,0.25), 0 0 24px rgba(212,175,55,0.12);
}

.social-link:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(212,175,55,0.4), 0 0 32px rgba(212,175,55,0.2);
}

.social-link:active {
    transform: scale(0.95);
}

.social-link span {
    display: none;
}

.social-link.instagram::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('images/instagram.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.social-link.facebook::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('images/facebook.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.social-link.location::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('images/location.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}