/* Custom CSS for La Jordania Website */

/* Root Variables */
:root {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #f4a460;
    --dark-color: #2c1810;
    --light-color: #f8f9fa;
    --text-dark: #2c1810;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Philosopher', serif;
}

/* Additional reset for video elements */
iframe, video {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    font-family: 'Philosopher', serif;
}

body {
    font-family: 'Philosopher', serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background-color: transparent;
    backdrop-filter: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    height: 86px;
    overflow: visible;
    box-shadow: none;
}

/* Add background when scrolling on all pages */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 120px;
    margin-top: -30px; /* Pulls the logo up to center it */
    margin-bottom: -30px; /* Extends the logo down */
}

.navbar-brand h2 {
    font-weight: 700;
    margin: 0;
}

.navbar-nav .nav-link {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    color: white !important;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
}

.navbar-nav .btn {
    font-weight: 700;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    color: white;
    background: transparent;
    transition: all 0.3s ease;
    margin-left: 2rem !important;
}

.navbar-nav .btn:hover {
    background: #ffc107;
    color: #000;
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.video-crop-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

/* Ensure video covers full width on all screen sizes */
@media (max-width: 768px) {
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 769px) {
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}

/* Additional fixes for black borders */
.video-background {
    background: #000;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.video-background video {
    background: transparent;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.6);
    z-index: -1;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}


/* About Section */
.about-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content .lead {
    color: var(--secondary-color);
    font-weight: 500;
}

.about-image img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Mediterranean Section */
.mediterranean-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.mediterranean-image img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

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

/* Shisha Section */
.shisha-content h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.shisha-image img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
}

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

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* Isotope specific transitions */
    transition-property: transform, opacity;
    transition-duration: 0.4s;
}

.gallery-item.is-transitioning {
    transition-duration: 0.4s;
}

.gallery-item.is-hidden {
    opacity: 0;
    transform: scale(0.001);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%; /* Ensure images take full width of their column */
    height: auto; /* Allow natural height for masonry layout */
    transition: transform 0.3s ease;
}

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

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #ffc107;
}

/* Contact Section */
.quick-link-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quick-link-card h5 {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer-buttons .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        /*max-width: 200px;*/
    }
    
    .navbar-nav .btn {
        margin-top: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    #navbarNav{
        background: rgba(0, 0, 0, 0.8);
        padding: 12px 28px;
        text-align: center;
        border-radius: 5px;
    
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
}

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

/* Section Padding */
section {
    padding: 5rem 0;
}

/* Background Colors */
.bg-light {
    background-color: var(--light-color) !important;
}

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

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

.text-muted {
    color: #6c757d !important;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(44, 24, 16, 0.8), rgba(44, 24, 16, 0.8)),
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
}

/* Contact Cards */
.contact-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Team Cards */
.team-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Flavor Cards */
.flavor-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.flavor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Pricing Cards */
.pricing-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Hours Cards */
.hours-card {
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Booking Option Cards */
.booking-option-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.booking-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Info Cards */
.info-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery Cards */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-info {
    text-align: center;
    color: white;
}

.gallery-info h5 {
    margin-bottom: 0.5rem;
}

/* Social Links */
.social-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Form Styling */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

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

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

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

/* Menu Sections */
.menu-section {
    margin-bottom: 3rem;
}

.menu-section h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Dietary Info */
.dietary-info {
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.dietary-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Philosophy Points */
.philosophy-points .d-flex {
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Lounge Features */
.lounge-features .d-flex {
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Shisha Features */
.shisha-features .d-flex {
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
} 

.navbar-logo {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    padding-top: 12px;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 100px;
        max-width: 250px;
    }
    
    .navbar-brand {
        height: 100px;
        margin-top: -20px;
        margin-bottom: -20px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 80px;
        max-width: 200px;
    }
    
    .navbar-brand {
        height: 80px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
} 

/* Middle Eastern Restaurant Styling */
:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #B8860B;
    --deep-red: #8B0000;
    --warm-brown: #8B4513;
    --cream: #F5F5DC;
    --dark-brown: #2F1B14;
}

.text-primary {
    color: var(--primary-gold) !important;
}

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

.btn-primary:hover {
    background-color: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: white;
}

/* Ornate Divider */
.ornate-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.ornate-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 0 1rem;
}

/* Menu Cards */
.menu-card {
    background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    border-color: var(--secondary-gold);
}

/* Card Pattern */
.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Icon Circle */
.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

/* Menu Icon Container */
.menu-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem auto;
    position: relative;
}

/* Image Circle */
.image-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: white;
}

.image-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
}

.menu-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: block;
}

.menu-card:hover .menu-circle-img {
    transform: scale(1.1);
}

/* Ornate Button */
.btn-ornate {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: 2px solid var(--primary-gold);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-ornate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-ornate:hover::before {
    left: 100%;
}

.btn-ornate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Section Background */
#menu-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--cream) 100%);
    position: relative;
}

#menu-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
} 