:root {
    --primary-color: #5D4037; /* Coffee Brown */
    --primary-dark: #3E2723; /* Darker Espresso for hover/accents */
    --secondary-color: #D7CCC8; /* Latte foam / Light Brown */
    --accent-color: #FFB74D; /* Warm Gold/Orange for call to action */
    --text-color: #3E2723; /* Dark Brown Text */
    --bg-light: #FDFBF7; /* Creamy background */
    --bg-white: #FFFFFF;
    --header-font: 'Oswald', sans-serif;
    --body-font: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Header */
.main-header {
    background: var(--primary-dark);
    color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 60px; /* Adjust based on your logo aspect ratio */
    width: auto;
}

.main-header nav ul {
    display: flex;
}

.main-header nav ul li {
    margin-left: 20px;
}

.main-header nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    /* Coffee splash symbol */
    background: linear-gradient(rgba(62, 39, 35, 0.6), rgba(62, 39, 35, 0.5)), url('images/hero-bg.png'); 
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-light);
}

.hero h2 {
    font-family: var(--header-font);
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--accent-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--accent-color);
    color: var(--primary-dark);
    border-radius: 30px; /* Modern pill shape */
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    background: #FF9800; /* Darker Orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* Sections General */
section {
    padding: 80px 0;
}

section h2 {
    font-family: var(--header-font);
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* About Section */
.about {
    background: var(--bg-white);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #555;
}

/* Menu Section */
.menu {
    background-color: var(--bg-light);
}

.menu-category {
    background: var(--bg-white);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(62, 39, 35, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden; /* Important for rounding corners when closed */
}

/* Accordion Header - The clickable part */
.accordion-header {
    padding: 20px 30px;
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f9f5f2;
}

.accordion-header h3 {
    font-family: var(--header-font);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0; /* Remove default margin */
}

.accordion-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-weight: bold;
}

/* Rotate icon when active */
.menu-category.active .accordion-icon {
    transform: rotate(45deg); /* Turns the + into an x approximately */
}

/* Accordion Content - Hidden by default */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--bg-white);
}

.category-info {
    padding: 20px 30px 10px 30px;
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: normal;
}

/* Add padding only when content is visible via JS logic or internal wrapper. 
   To keep transition smooth, we usually animate max-height. 
   Inner padding can be applied to a wrapper or here if properly calculated. */
.accordion-content .menu-list {
    padding: 0 30px 30px 30px;
    border-top: 2px solid var(--secondary-color);
    margin-top: 0; /* Clear previous margin */
}

.menu-list {
    display: grid;
    gap: 20px;
}

.menu-item {
    padding: 15px;
    border-bottom: 1px dashed var(--secondary-color);
    transition: background 0.2s;
}

.menu-item:hover {
    background-color: rgba(215, 204, 200, 0.1);
    border-radius: 5px;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.item-name {
    color: var(--primary-dark);
}

.item-price {
    color: var(--primary-color);
    font-family: var(--header-font);
    font-weight: 500;
}

.item-desc {
    color: #795548; /* Brownish grey */
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(62, 39, 35, 0.85), rgba(62, 39, 35, 0.85)), url('images/lokal.png');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    position: relative;
}

.contact h2 {
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.info-block {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.info-block h3 {
    font-family: var(--header-font);
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-block p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.phone-number {
    font-size: 1.6rem !important;
    color: var(--accent-color) !important;
    margin: 15px 0 !important;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background: #1f120f; /* Very dark coffee */
    color: #8d6e63;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-block {
        width: 100%;
    }
}