/* Custom CSS for Spice Hut Restaurant */

/* Global Styles */
:root {
    --primary-color: #ffc107;
    --secondary-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Top Notice Bar */
.top_notice {
    background-color: #ffc107;
    color: #fff;
    position: relative;
    z-index: 1000;
    top: 88px;
}

.top_notice_bar {
    color: #fff;
    font-size: 15px;
    padding: 8px 4px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
}

.white-space {
    white-space: nowrap;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../images/hero02.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.offer-text{
    font-size: 24px;
    color: #fff;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* About Section */
#about {
    position: relative;
    z-index: 2;
    background: white;
    margin-top: -50px;
    padding-top: 100px !important;
    transition: all 0.3s ease;
}

/* Ensure About section stays properly positioned relative to hero */
#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, white);
    z-index: -1;
}
.about-image{
    width: 90%;
}
.about-image img {
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.feature-item {
    text-align: center;
    padding: 1rem;
    margin-bottom: 2rem;
}

.feature-item i {
    font-size: 2rem;
    display: block;
}

.feature-item h5 {
    margin: 1rem 0 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Menu Section */
.nav-pills .nav-link {
    color: var(--text-dark);
    background: transparent;
    border: 2px solid var(--primary-color);
    margin: 0 0.5rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.menu-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.menu-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.menu-content {
    flex: 1;
}

.menu-content h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.menu-content p {
    color: var(--text-light);
    margin: 0;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-left: auto;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Opening Hours Section */
.opening-hours-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.opening-hours-content h4 {
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.opening-hours-content .border-bottom {
    border-color: #eee !important;
}

.opening-hours-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.opening-hours-content span {
    color: var(--text-light);
}

/* Contact Section */
.contact-info {
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

/* Map Styles */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-wrapper iframe {
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: brightness(1.1);
}

.contact-form .form-control {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Opening Hours */
.opening-hours {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e0a800;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Footer */
footer {
    border-top: 3px solid var(--primary-color);
}

.footer-brand h5 {
    font-family: 'Playfair Display', serif;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact .contact-item i {
    margin-top: 2px;
    min-width: 20px;
}

.footer-contact .contact-item a {
    color: white;
    text-decoration: none;
}

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

.footer-hours {
    font-size: 0.9rem;
}

.footer-hours .social-links a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9rem;
}

/* Vue.js Success Alert */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.alert-success i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Custom Button Styles */
.btn-warning {
    background: var(--primary-color);
    border: none;
    font-weight: 600;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--text-dark);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

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

.navbar-brand img {
    max-width: 120px;
    width: 100%;
    height: 60px;
    display: block;
}

.navbar-brand div {
    max-width: 120px;
}
