:root {
    --primary-color: #d4a373;
    --secondary-color: #faedcd;
    --text-color: #fff;
    --bg-color: #000;
    --bg-light: #1a1a1a;
    --bg-dark: #000;
    --white: #fff;
    --font-main: 'Lato', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.section-padding {
    padding: 80px 0;
}

.section-padding-small {
    padding: 40px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

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

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

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 70px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

/* Hero */
.hero {
    height: 100vh;
    background-color: #000; /* Fallback */
    background-image: url('photo/hero op.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Offset fixed header */
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 50vh;
        background-size: 100% auto;
        background-position: center center;
        padding: 0;
        display: block;
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.secondary-btn {
    border-color: var(--text-color);
    color: var(--text-color);
    padding: 8px 20px;
    font-size: 0.8rem;
}

.secondary-btn:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* Location */
.location-wrapper {
    margin-top: 40px;
}

.location-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.location-info .hours {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.location-info .hours h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.location-info .hours p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Name Meaning Section */
.name-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.name-content h2 {
    margin-bottom: 40px;
}

.name-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-item {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: scale(1.02);
}

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

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Story Section */
.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content h2 {
    text-align: center;
    margin-bottom: 30px;
}

.story-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: left;
}

.location-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.location-info .address {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.location-map {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-map img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.location-map a:hover img {
    transform: scale(1.05);
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--bg-light);
    box-shadow: 0 5px 15px rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

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

.card-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 30px;
    text-align: center;
}

.card-body h3 {
    margin-bottom: 15px;
}

.card-body p {
    margin-bottom: 20px;
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

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

/* Placeholder Images */
.placeholder-img {
    background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #bbb;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 40px;
}

.lightbox-content,
.lightbox-caption {
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0.8)}
    to {transform: scale(1)}
}

/* Footer */
.site-footer {
    background-color: #000;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-content h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-content p {
    font-size: 1.1rem;
}

.footer-content a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--primary-color);
}

.footer-content .social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.footer-content .social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-content .social-links a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide nav on mobile for now, would need JS to toggle */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(255,255,255,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
