/*
Theme Name: The Hideout Cafe
Author: Manus
Description: A modern, user-friendly WordPress theme for The Hideout Cafe, inspired by elementarycoffee.co.
Version: 1.0
*/

:root {
    --primary-dark: #2c2c2c;
    --secondary-light: #f8f8f8;
    --accent-warm: #d4a574;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --background-overlay: rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Merriweather', serif;
    color: var(--text-dark);
    background-color: var(--secondary-light);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--accent-warm);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-warm);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* Header */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    max-width: 120px;
    height: auto;
}

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

nav ul li a {
    color: var(--primary-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-warm);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-overlay);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Button */
.button {
    display: inline-block;
    background-color: var(--accent-warm);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-warm);
}

.button:hover {
    background-color: transparent;
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.section:nth-child(even) h2,
.section:nth-child(even) h3 {
    color: var(--text-light);
}

.section:nth-child(even) p {
    color: #cccccc;
}

.section .container {
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Menu */
.menu-category {
    margin-bottom: 60px;
    text-align: left;
}

.menu-category h3 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.menu-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-warm);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.section:nth-child(even) .menu-item {
    border-bottom-color: #444;
}

.menu-item:hover {
    background-color: rgba(212, 165, 116, 0.05);
}

.menu-item h4 {
    margin: 0 0 5px 0;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.section:nth-child(even) .menu-item h4 {
    color: var(--text-light);
}

.menu-item .price {
    font-weight: 700;
    color: var(--accent-warm);
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 20px;
}

.menu-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.section:nth-child(even) .menu-item p {
    color: #bbb;
}

/* Contact */
.contact-info {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-info strong {
    color: var(--accent-warm);
}

.social-links {
    text-align: center;
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    margin: 0 15px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 40px 0;
}

footer .logo {
    max-width: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

footer p {
    margin: 10px 0;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero {
        height: 70vh;
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .menu-item .price {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
}


