@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #ff4d4d;
    --primary-hover: #e63939;
    --secondary: #1a1a1a;
    --accent: #f9f9f9;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --highlight: #ffd700;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fcfcfc;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
/* Add this to css/styles.css */
.add-to-cart {
    background-color: #e53935; /* red button */
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px; /* slightly curved corners */
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #b71c1c; /* darker red on hover */
}
/* Hero Section - Improved with Blur Overlay */
.hero-new {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(5px);
    transform: scale(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-new h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
}

.hero-new .highlight {
    color: var(--highlight);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.hero-new p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About Section - Responsive Grid */
.about {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: block;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--secondary);
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.about-features {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-features li {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features li i {
    color: var(--primary);
}

/* Why Choose Us */
.why-us {
    background: var(--accent);
}

.why-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.why-card .icons {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;              /* 🔥 spacing between cards */
    margin-top: 40px;
}

/* Menu Cards and Layout */
.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius:12px 12px 0 0;
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    height: 45px;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.3rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Forms */
.form-container {
    max-width: 450px;
    margin: 50px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
}

/* Auth Pages */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f8f8;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-info p {
    color: #ccc;
    margin-top: 15px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-brand p {
    color: #ccc;
    margin: 15px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 1.2rem;
    color: #ccc;
}

.social-icons a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #777;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-delivered {
    background: #d4edda;
    color: #155724;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-new h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-new h1 {
        font-size: 3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}
/* Admin Modal Premium Styles */
#adminModal {
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

#adminModal .modal-content {
    background: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-container::-webkit-scrollbar {
    height: 8px;
}
.table-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.table-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

#adminBookingsTable tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.status-select {
    cursor: pointer;
    transition: var(--transition);
}
.status-select:focus {
    border-color: var(--primary) !important;
}

/* Ensure badges look consistent */

/* Empty States */
.empty-orders {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    text-align: center;
    color: var(--text-light);
    grid-column: 1 / -1;
    gap: 16px;
}

.video-wrapper {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
    margin-bottom: 10px;
}

.empty-video {
    width: 220px;
    height: 220px;
    opacity: 0.95;
    object-fit: cover;
}

.empty-orders p {
    max-width: 450px;
    font-size: 1.15rem;
    font-weight: 500;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    background: #1a1a1a;
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.toast.hiding {
    opacity: 0;
    transform: translateX(100px);
}

.toast-success { border-left: 4px solid #27ae60; }
.toast-error { border-left: 4px solid #ff4d4d; }
.toast-warning { border-left: 4px solid #ffa502; }

.toast-success i { color: #27ae60; }
.toast-error i { color: #ff4d4d; }
.toast-warning i { color: #ffa502; }

.toast-message {
    font-weight: 500;
    font-size: 0.95rem;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dynamic Button Styles */
.btn-view-cart {
    background: #27ae60 !important;
    color: white !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-cart:hover {
    background: #219150 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}
