/* style.css */
:root {
    --primary-color: #4A2C2A; /* Dark Coffee */
    --secondary-color: #8D6E63; /* Latte */
    --accent-color: #D7CCC8; /* Cream */
    --text-color: #3E2723;
    --bg-color: #FDFBF7;
    --hover-color: #BCAAA4;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 8px;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 5s ease;
}

.hero:hover img {
    transform: scale(1.05);
}

.hero-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(74, 44, 42, 0.8);
    padding: 15px 30px;
    border-radius: 5px;
    width: 80%;
}

.hero-text h1 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.section {
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out;
}

.section h2 {
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-block {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.content-block img {
    width: 40%;
    border-radius: 5px;
}

.content-text {
    width: 60%;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.menu-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.menu-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.menu-item:last-child {
    border-bottom: none;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--primary-color);
}

footer {
    background: var(--primary-color);
    color: var(--accent-color);
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

footer a {
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

footer a:hover {
    background: white;
    color: var(--primary-color);
}

.studio-link {
    margin-top: 20px;
    display: inline-block;
}

/* Updated Responsive Section */
@media (max-width: 768px) {
    .content-block {
        flex-direction: column;
    }
    .content-block img, .content-text {
        width: 100%;
    }
    nav {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
    }
    
    /* --- New Mobile Hero Fixes --- */
    .hero img {
        min-height: 280px; 
        object-fit: cover;
    }
    .hero-text {
        width: 90%;           
        padding: 10px 15px;   
        bottom: 10px;         
        background-color: rgba(74, 44, 42, 0.5); /* Changed from 0.8 to 0.5 for more transparency */
    }
    .hero-text h1 {
        font-size: 1.5rem;    
        margin-bottom: 2px;
    }
    .hero-text p {
        font-size: 0.9rem;    
    }
}
