@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Josefin+Sans:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 30%, #4fd8e6 100%);
    min-height: 100vh;
    color: #2d3a4a;
    overflow-x: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px 0 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0 0 0;
    position: relative;
}

.logo-container {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    position: static;
}

.logo {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: sun-bounce 2.5s infinite;
    color: #f8b500;
    text-shadow: 0 0 16px #fffbe6, 0 4px 24px #f8b50044;
}

.restaurant-name {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    color: #ffffff;
    font-style: italic;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Sun and wave SVG decorations */
/* .header::after { ... } uklonjeno */

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 30px;
}

.category-card {
    background: linear-gradient(120deg, #fffbe6 60%, #fceabb 100%);
    border-radius: 12px;
    padding: 36px 20px 32px 20px;
    text-decoration: none;
    color: #2d3a4a;
    border: 2px solid #4fd8e6;
    box-shadow: 0 8px 32px rgba(76, 216, 230, 0.10);
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 60% 40%, #f8b50055 0%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(-1deg);
    box-shadow: 0 20px 40px #4fd8e655, 0 0 0 4px #f8b50033;
    border-color: #f8b500;
}

.category-icon {
    font-size: 3.2rem;
    margin-bottom: 12px;
    display: block;
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 2px 8px #4fd8e633);
}

.category-card h2 {
    font-family: 'Pacifico', cursive;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f8b500;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px #fffbe6;
}

.category-card p {
    font-size: 1rem;
    opacity: 0.8;
    color: #2d3a4a;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0 10px 0;
    margin-top: auto;
    border-top: 1px solid #4fd8e6;
    background: linear-gradient(90deg, #fffbe6 60%, #fceabb 100%);
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -4px 24px #4fd8e622;
}

.footer p {
    opacity: 0.8;
    font-size: 1rem;
    color: #2d3a4a;
}

/* Animations */
@keyframes sun-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-12px) scale(1.08);
    }
    60% {
        transform: translateY(-6px) scale(1.04);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px 10px 0 10px;
    }
    .logo {
        font-size: 2.5rem;
    }
    /* Uklonjen override za .restaurant-name */
    .tagline {
        font-size: 1rem;
    }
    .header {
        margin-bottom: 18px;
    }
    .main-content {
        flex: none;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }
    .category-card {
        padding: 20px 10px 24px 10px;
    }
    .category-icon {
        font-size: 2.2rem;
    }
    .category-card h2 {
        font-size: 1rem;
    }
    .language-switcher {
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    .lang-flag {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px 10px 0 10px;
    }
    .logo-container {
        padding: 14px 8px 20px 8px;
    }
    .logo {
        font-size: 1.5rem;
    }
    /* Uklonjen override za .restaurant-name */
    .category-card {
        padding: 10px 4px 14px 4px;
    }
    .language-switcher {
        top: 12px;
        right: 12px;
        gap: 6px;
    }
    .lang-flag {
        width: 28px;
        height: 28px;
    }
}

/* Loading animation for cards */
.category-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

.logo-img {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 115px;
    max-height: 80px;
    width: auto;
    height: auto;
}

@media (min-width: 1025px) {
    .logo-img {
        max-width: 200px;
        max-height: 95px;
    }
} 

.language-switcher {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.lang-flag {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    object-fit: cover;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
    filter: grayscale(40%) brightness(0.9);
    opacity: 0.9;
}

.lang-flag:hover {
    box-shadow: 0 4px 16px rgba(79, 216, 230, 0.4);
    border-color: #f8b500;
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.lang-active {
    border-color: #f8b500;
    filter: none;
    opacity: 1;
    box-shadow: 0 4px 16px rgba(248, 181, 0, 0.3);
} 

/* Social Media */
.social-media {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #ffffff;
    background: linear-gradient(135deg, #f8b500, #ff6b35);
    border-radius: 50%;
    border: 2px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.social-icon:hover {
    box-shadow: 0 4px 16px rgba(79, 216, 230, 0.4);
    border-color: #f8b500;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #f8b500);
    transform: scale(1.1);
}

.social-icon svg {
    width: 17px;
    height: 17px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    margin: auto;
    display: block;
}

/* Responsive adjustments for social media */
@media (max-width: 768px) {
    .social-media {
        top: 18px;
        left: 18px;
        gap: 8px;
        padding: 5px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
        margin: auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .social-media {
        top: 18px;
        left: 18px;
        gap: 10px;
        padding: 5px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 17px;
        height: 17px;
        margin: auto;
        display: block;
    }
} 