/* Variables */
:root {
    --primary-color: #A52A2A; /* Deep Brick Red */
    --secondary-color: #333;
    --accent-color: #FFD700; /* Gold */
    --light-color: #fcfcfc;
    --background-dark: #2c2c2c;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Georgia', serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 15px;
}

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

a:hover {
    color: var(--accent-color);
}

/* Header and Navigation */
header {
    /*background: var(--background-dark);*/
	background-image: url("/assets/images/header-back-banner.jpg");
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo a {
    color: white;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0;
}

.logo p {
    font-size: 0.8rem;
    margin-top: -5px;
    color: #bbb;
    font-style: italic;
}

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

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.cta-link {
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    transition: background 0.3s, color 0.3s;
}

.cta-link:hover {
    background-color: #8b0000;
    color: white;
    border: 2px solid #8b0000;
}

/* Main Content and Headings */
main {
    padding: 40px 0;
    min-height: 80vh;
}

h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Hero Section (Index/Home) */
.hero {
    background: url('https://placehold.co/1200x400/333/FFFFFF?text=Elegant+Restaurant+Interior') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-overlay {
    /*background-color: rgba(0, 0, 0, 0.4);*/
	background-image: url("/assets/images/food-banner.jpg");
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-overlay h2 {
    /*color: white;*/ 
	color: #FFD700;
    font-size: 3.5rem;
    margin-bottom: 10px;
	/*background-color: #A52A2A;*/
	padding-left: 10px;
	padding-right: 10px;
	position: absolute;
	margin-top: -30px;
}

.hero-overlay p {
    color: white;
    font-size: 1.2rem;
	background-color: #A52A2A;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
}

.hero-overlay-child {
	background-color: #A52A2A;
	opacity: 0.6;
	height: 80px;
	width: 920px;
	margin-top: 5px !important;
}

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

.menu-category {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 5px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.menu-item-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.menu-item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 15px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.item-header h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
}

.item-header .price {
    font-weight: bold;
    color: #4CAF50; /* Green for price */
    font-size: 1.3rem;
}

.menu-item-content p {
    font-size: 0.9rem;
    color: #666;
}

/* About Us Styling */
.about-section {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Form Styling (Contact and Delivery) */
.form-section {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-section label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="number"],
.form-section input[type="date"],
.form-section input[type="time"],
.form-section textarea,
.form-section select {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-section textarea {
    resize: vertical;
}

.form-section button[type="submit"] {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 20px;
    margin-top: 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
    text-transform: uppercase;
}

.form-section button[type="submit"]:hover {
    background: #8b0000;
}

.status-message {
    text-align: center;
    padding: 15px;
    margin: 15px auto;
    border-radius: 5px;
    font-weight: bold;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Delivery Specific Styling */
.delivery-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

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

.delivery-item-info {
    flex-grow: 1;
}

.delivery-item-info h5 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--secondary-color);
}

.delivery-item-info p {
    font-size: 0.85rem;
    color: #999;
}

.delivery-quantity input {
    width: 60px;
    text-align: center;
    padding: 5px;
}

/* Footer */
footer {
    /*background: var(--background-dark);*/
	background-image: url("/assets/images/back-banner.jpg");
    color: white;
    padding: 40px 0;
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-col p {
    font-size: 0.9rem;
    margin: 5px 0;
    color: #ccc;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #999;
}


/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav {
        margin-top: 15px;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero-overlay h2 {
        font-size: 1.4rem;
		margin-top: 10px;
    }
	
	.hero-overlay-child {
		height: 60px;
		width: 375px;
	}
	
    .about-section {
        flex-direction: column;
    }

    .footer-cols {
        flex-direction: column;
        gap: 0;
    }

    .footer-col {
        min-width: 100%;
        margin-bottom: 30px;
    }
	
	#delivery-li {
		margin-top: 10px;
	}
	
	.logo h1 {
		font-size: 1.6rem;
	}
	
	.hero-overlay p {
		display: none;
	}
}
