/* Haldivala Cafe - Custom Styles */

:root {
    --color-black: #000000;
    --color-blue: #0d6efd;
    --color-saffron: #ff9933;
    --color-primary: #0d6efd;
    --color-warning: #ff9933;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: var(--color-black) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(13,110,253,0.6)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920') center/cover no-repeat;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(13,110,253,0.5));
}

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

.hero-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    padding: 12px 30px;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-warning {
    background-color: var(--color-saffron);
    border-color: var(--color-saffron);
    color: #000;
}

.btn-warning:hover {
    background-color: #ff8800;
    border-color: #ff8800;
    color: #000;
}

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

/* Specialty Cards */
.specialty-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid var(--color-primary);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Feature Items */
.feature-item {
    transition: transform 0.3s;
}

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

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-primary);
    color: white;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Footer */
footer a:hover {
    color: var(--color-primary) !important;
    transition: color 0.3s;
}

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

/* Text Colors */
.text-primary {
    color: var(--color-primary) !important;
}

.text-warning {
    color: var(--color-saffron) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-warning {
    background-color: var(--color-saffron) !important;
}

/* Forms */
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Menu Items */
.menu-item {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

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

.menu-item-title {
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 5px;
}

.menu-item-description {
    color: #6c757d;
    font-size: 0.9rem;
}

.menu-item-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay h5 {
    color: white;
    margin: 0;
}

/* Contact Info Cards */
.contact-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.contact-card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    section {
        padding: 60px 0;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success Messages */
.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

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

/* Badge Styles */
.badge {
    padding: 6px 12px;
    font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
    border-left: 4px solid var(--color-primary);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(13,110,253,0.6));
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Table Styles */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: var(--color-primary);
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr {
    transition: background-color 0.3s;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Image Placeholders */
.img-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    min-height: 200px;
}

