/* ---------------------- */
/* Base Reset & Defaults */
/* ---------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #333;
    -webkit-font-smoothing: antialiased; /* Improves text on iOS */
    -moz-osx-font-smoothing: grayscale; /* Improves text on macOS */
}
img {
    max-width: 100%;
    height: auto;
}

/* ---------------------- */
/* Utility Container */
/* ---------------------- */

/* ---------------------- */
/* Navbar */
/* ---------------------- */
.shodeals-navbar {
    padding: 1rem 2rem;
    background-color: #fefefe;
}
.navbar-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-container .logo {
    height: 100px;
    object-fit: contain;
}

/* ---------------------- */
/* Search Box */
/* ---------------------- */
.search-container {
    flex: 1;
    min-width: 300px;
}
.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 1rem;
}
.location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ff4f64;
    font-weight: 500;
}
.divider {
    width: 1px;
    height: 20px;
    background-color: #e0e0e0;
    margin: 0 1rem;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}
.search-input-wrapper input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: #555;
}
.search-icon,
.map-icon,
.dropdown-icon {
    width: 18px;
    height: 18px;
    color: #999;
}

/* ---------------------- */
/* Auth Buttons */
/* ---------------------- */
.auth-buttons {
    display: flex;
    gap: 1rem;
}
.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    touch-action: manipulation;
}
.btn.ghost {
    background: none;
    color: #666;
}
.btn.ghost:hover {
    color: teal;
}
.btn.coral {
    background-color: #ff5e5e;
    color: white;
}
.btn.coral:hover {
    background-color: #ff4646;
}
.btn.red {
    background-color: #e53935;
    color: white;
}
.btn.red:hover {
    background-color: #d32f2f;
}
.btn.outline {
    border: 1px solid #ccc;
    background: white;
}
.btn.small {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
}

/* ---------------------- */
/* Location Dropdown */
/* ---------------------- */
.location-dropdown {
    position: relative;
}
.location-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    font-weight: 500;
    color: #ff4f64;
    cursor: pointer;
}
.dropdown-arrow {
    color: #888;
    width: 16px;
    height: 16px;
}
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    min-width: 240px;
    z-index: 1000;
}
.dropdown-menu.hidden {
    display: none;
}
.dropdown-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    cursor: pointer;
}
.gps-icon {
    color: #ff4f64;
    width: 20px;
    height: 20px;
}
.detect-text {
    font-weight: 500;
    color: #ff4f64;
}
.detect-sub {
    font-size: 0.85rem;
    color: #888;
}

/* ===================================
   PHOTO GALLERY STYLES
   =================================== */

.photo-gallery {
    background-color: #fefefe;
    padding-bottom: 2rem;
    width: 100%;
}

.gallery-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 100%;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: 2fr 1fr;
        height: 100%;
    }
}

/* Main image container */
.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
}

/* Thumbnail grid */
.thumbnail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
        height: 100px;
    }
}

.thumbnail-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
    opacity: 0.8;
}

/* View all photos button */
.view-all-photos {
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-photos:hover {
    background: linear-gradient(135deg, #374151, #4b5563);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.view-all-content {
    text-align: center;
}

.view-all-content i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.view-all-content span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ---------------------- */
/* Hero Section */
/* ---------------------- */
.hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}
.gallery-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

body {
    background-color: #fff;
    color: #333;
}

.offers,
.menu {
    flex: 2;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.offer-card {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.offer-card span {
    display: block;
    margin-top: 0.5rem;
    font-weight: normal;
    font-size: 0.8rem;
}

.primary {
    background: linear-gradient(135deg, #1c42a5, #4161e9);
    color: white;
}

.reservation-box,
.map-box {
    background: #f9f9fb;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.offer-highlight {
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

select,
.book-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.3rem;
    border: 1px solid #ccc;
}

.book-btn {
    background: #f8576c;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.map {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.map-actions button {
    margin: 0.3rem 0.3rem 0 0;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    background: white;
    border-radius: 0.3rem;
    cursor: pointer;
}

.menu h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cuisines span {
    background: #fff8e1;
    padding: 0.4rem 0.7rem;
    margin: 0.2rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    display: inline-block;
}

.menu-img {
    margin-top: 1rem;
}

.menu-img img {
    width: 150px;
    border-radius: 0.5rem;
}
.sidebar-container {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "Segoe UI", sans-serif;
}

/* Common card styling */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #e0e0e0;
    padding: 16px;
}

/* Reservation Card */
.reservation-card h3 {
    margin-bottom: 8px;
}

.offer-note {
    background-color: #f3edff;
    color: #4c2cff;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.dropdowns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.dropdowns select {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
}

.book-button {
    width: 100%;
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

/* Direction Card */
.direction-card h3 {
    margin-bottom: 10px;
}

.map-img {
    width: 100%;
    border-radius: 8px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 10px;
}

.address-text {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.copy-btn,
.direction-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
/* Generic card styling */
.card-container {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    font-family: "Segoe UI", sans-serif;
    box-shadow: 0 0 0 1px #f0f0f0;
}

.card-header {
    margin-bottom: 12px;
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
}

.card-header p {
    margin: 4px 0 0;
    color: #555;
    font-size: 14px;
}

/* Offers grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.offer-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    background: #fafafa;
    text-align: left;
    transition: all 0.3s ease;
}

.offer-box h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 6px;
}

.offer-box .big {
    font-size: 15px;
    font-weight: bold;
    color: #000;
}

.offer-box.active {
    background: linear-gradient(135deg, #0052d4, #4364f7);
    color: white;
}

.offer-box.active h4,
.offer-box.active p {
    color: white;
}

/* Menu section */
.menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-head a {
    color: #f33b5e;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.cuisine-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.cuisine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cuisine-tags span {
    background-color: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: #aa8800;
}

/* Menu preview */
.menu-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.menu-preview img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* ---------------------- */
/* Restaurant Info Section */
/* ---------------------- */
.restaurant-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 1rem;
}
.info-left,
.info-right {
    flex: 1 1 100%;
}
@media (min-width: 768px) {
    .info-left {
        flex: 2;
    }
    .info-right {
        flex: 1;
    }
}
.info-left h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.cuisine {
    color: #666;
    margin-bottom: 0.25rem;
}
.address {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
}
.status-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.status.open {
    background-color: #e0f7e9;
    color: #2e7d32;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.9rem;
}
.status.closed {
    background-color: red;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.9rem;
}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* ---------------------- */
/* Right Info Panel */
/* ---------------------- */
.ratings {
    display: flex;
    gap: 25px;
}
.rating-card {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rating {
    background-color: #2e7d32;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}
.rating-card small {
    color: #666;
    font-size: 12px;
}
.card {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.offer {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.reservation-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.reservation-inputs select {
    padding: 0.5rem;
    font-size: 0.9rem;
}
.map-placeholder {
    height: 100px;
    background-color: #f3f3f3;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.direction-actions {
    display: flex;
    gap: 0.5rem;
}

/* ---------------------- */
/* Responsive Tweaks */
/* ---------------------- */
@media (max-width: 768px) {
    .navbar-inner,
    .nav-wrapper,
    .restaurant-info {
        flex-direction: column;
        align-items: stretch;
    }
    .search-container {
        width: 100%;
    }
    .auth-buttons {
        justify-content: flex-start;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .reservation-inputs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
    .search-input-wrapper input {
        font-size: 0.85rem;
    }
    .info-left h1 {
        font-size: 1.8rem;
    }
    .restaurant-info {
        padding: 1rem 0.5rem;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #f8f8f8;
    color: #111;
    padding: 40px 0 20px;
    width: 100%;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
}

.footer-logo img {
    height: 52px;
}

.footer-links {
    display: flex;
    justify-content: space-evenly;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 32px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fefefe;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #e23744;
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-link img {
    height: 40px;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #9ca3af;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .main-photo {
        height: 300px;
    }

    .photo-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        height: 80px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-search {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .restaurant-name {
        font-size: 28px;
    }

    .restaurant-meta {
        flex-direction: column;
        gap: 12px;
    }

    .action-buttons {
        justify-content: center;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .restaurants-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    #glow-btn{
        width:100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }

    .restaurant-header {
        padding: 16px 0;
    }

    .photo-gallery {
        padding: 16px 0;
        margin-bottom: 100px;
    }

    .content-wrapper {
        padding: 24px 0;
    }

    .left-column,
    .reservation-section,
    .location-section,
    .contact-section {
        padding: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .restaurant-name {
        font-size: 24px;
    }

    .photo-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 160px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* Updated menus */
.nav-links .nav-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #333;
}

.nav-links .nav-item.active {
    border-bottom: 2px solid #ff4d4d;
    color: #ff4d4d;
    font-weight: bold;
}

.tab-section {
    display: none;
    width: 100%;
    margin-top: 2rem;
}

.tab-section.active {
    display: block;
}

.offer-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    text-align: left;
    background-color: #f8f9fa;
    height: 100%;
}

.offer-title {
    font-weight: bold;
    color: #3f51b5;
}

.book-card {
    background-color: #f3edff;
    border-radius: 10px;
    padding: 1rem;
}

.book-btn {
    background-color: #ff4d4d;
    border: none;
    color: white;
    font-weight: 500;
    width: 100%;
}



