
:root {
    /* Premium Color Palette */
    --primary: #1a365d;
    --primary-light: #2d4a80;
    --primary-dark: #0f2547;
    --primary-soft: rgba(26, 54, 93, 0.08);
    --accent: #c9a95e;
    --accent-light: #e6d7b4;
    --accent-soft: rgba(201, 169, 94, 0.1);
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.1);
    
    /* Sophisticated Grayscale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Spacing & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}

/* Ensure headings not in section-header have proper spacing */
h2:not(.section-title), h3:not(.feature-title):not(.empty-title) {
    margin-top: 2rem;
}

/* ========================
   Layout & Container
   ======================== */
.container-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-main {
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .container-main {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container-main {
        padding: 0 2.5rem;
    }
}

.main-card-grid {
    display: grid;
    gap: 2rem;
    margin: 1rem 0 3rem;
}

@media (min-width: 768px) {
    .main-card-grid {
        margin: 2rem 0 4rem;
        gap: 2.5rem;
    }
}

/* ========================
   Premium Cards
   ======================== */
.header-card,
.content-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
}

.header-card {
    box-shadow: var(--shadow-lg);
    border: none;
}

.header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

.header-card:hover::before {
    opacity: 1;
}

.content-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ========================
   Hero Cover Section
   ======================== */
.restaurant-hero-section {
    position: relative;
    height: 280px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .restaurant-hero-section {
        height: 320px;
    }
}

@media (min-width: 768px) {
    .restaurant-hero-section {
        height: 360px;
    }
}

@media (min-width: 1024px) {
    .restaurant-hero-section {
        height: 400px;
    }
}

.restaurant-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

.restaurant-hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-card:hover .restaurant-hero-section img {
    transform: scale(1.05);
}

.restaurant-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ========================
   Premium Header Content
   ======================== */
.restaurant-header-content {
    padding: 1.5rem 1rem;
    position: relative;
    background: white;
}

@media (min-width: 640px) {
    .restaurant-header-content {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 768px) {
    .restaurant-header-content {
        padding: 2.5rem 2rem;
    }
}

.header-content-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .header-content-grid {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }
}

/* Left Column */
.header-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Premium Badges */
.premium-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    line-height: 1.4;
}

.premium-badge i {
    font-size: 0.75rem;
    line-height: 1;
}

.badge-verified {
    background: var(--success-light);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.badge-featured {
    background: var(--warning-light);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.badge-status {
    background: var(--primary-soft);
    border-color: rgba(26, 54, 93, 0.2);
    color: var(--primary);
}

.badge-category {
    background: var(--accent-soft);
    border-color: rgba(201, 169, 94, 0.3);
    color: var(--accent);
}

/* Main Title */
.restaurant-premium-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin: 0.25rem 0 0.75rem;
    letter-spacing: -0.5px;
}

@media (min-width: 640px) {
    .restaurant-premium-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .restaurant-premium-title {
        font-size: 2.5rem;
    }
}

/* Premium Meta Grid */
.premium-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gray-50), white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.premium-meta-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.meta-item-premium {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.meta-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.meta-icon-wrapper i {
    font-size: 1rem;
}

.meta-content-premium {
    flex: 1;
}

.meta-label-premium {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: block;
    font-weight: 500;
}

.meta-value-premium {
    font-weight: 600;
    color: var(--gray-800);
    display: block;
    font-size: 0.9rem;
}

/* Category Tag */
.premium-category-tag {
    display: inline-block;
    padding: 0.35rem 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    white-space: nowrap;
    line-height: 1.2;
    width: auto;
    max-width: fit-content;
}

.premium-category-tag i {
    font-size: 0.6rem;
    margin-right: 0.2rem;
}

.premium-category-tag:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.premium-category-tag:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

/* Right Column - Actions */
.header-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: var(--radius-md);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.stat-content h4 {
    font-size: 1rem;
    margin-bottom: 0.125rem;
    color: var(--gray-900);
}

.stat-content p {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Action Buttons */
.premium-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-premium {
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.25px;
}

.btn-premium::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.6s;
}

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

.btn-primary-premium {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent-premium {
    background: var(--accent);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.btn-accent-premium:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-900);
}

.btn-outline-premium {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline-premium:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-success-premium {
    background: var(--success);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success-premium:hover {
    background: #0da271;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-premium:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
}

.btn-premium i {
    font-size: 1rem;
}

/* More Actions Dropdown */
.more-actions-wrapper {
    position: relative;
    display: inline-block;
}

.more-actions-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background: white;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.more-actions-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.more-actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    min-width: 180px;
    z-index: 100;
    display: none;
    animation: slideDown 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.more-actions-menu.show {
    display: block;
}

.action-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.action-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.action-item i {
    width: 16px;
    font-size: 1rem;
}

.action-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.25rem 0;
}

/* ========================
   Content Sections
   ======================== */
.card-content-wrapper {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .card-content-wrapper {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .card-content-wrapper {
        padding: 2.5rem;
    }
}

/* Premium Tab Navigation */
.premium-tabs {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.125rem;
    border-bottom: 1px solid var(--gray-200);
}

.tab-btn {
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    margin-bottom: -1px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

@media (min-width: 640px) {
    .tab-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

.tab-btn:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.tab-btn.active {
    color: var(--primary);
    background: transparent;
    box-shadow: none;
    border-bottom: 3px solid var(--primary);
}

.tab-btn i {
    font-size: 1.125rem;
}

/* Tab Content */
.tab-content {
    margin-top: 1rem;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

/* Section Headers */
.section-header {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header:first-child {
    margin-top: 0;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.section-header .section-title {
    margin-top: 0;
}

.section-title:first-child {
    margin-top: 0;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 400;
    max-width: 600px;
}

/* Premium Description */
.premium-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gray-50), white);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .premium-description {
        font-size: 1.05rem;
        padding: 2rem;
    }
}

.premium-description p {
    margin-bottom: 1rem;
}

.premium-description p:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.125rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-900);
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.feature-card .feature-title:first-child {
    margin-top: 0;
}

.feature-content {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.feature-content p {
    margin-bottom: 0.75rem;
}

.feature-content p:last-child {
    margin-bottom: 0;
}

/* Services Display */
.services-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    line-height: 1.4;
}

.service-tag:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Hours Display */
.hours-container {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-top: 1rem;
}

.hours-header {
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.hours-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.status-indicator.closed {
    background: var(--danger);
}

.hours-current {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.hours-toggle {
    color: var(--primary);
    font-size: 1.125rem;
    transition: transform var(--transition);
}

.hours-toggle.rotated {
    transform: rotate(180deg);
}

.hours-list {
    padding: 1.25rem;
    display: none;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.hours-time {
    font-weight: 500;
    color: var(--gray-900);
    font-size: 0.9rem;
}

.hours-time.closed {
    color: var(--danger);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

/* Contact Section - Premium */
.contact-section-premium {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gray-50), white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
    .contact-section-premium {
        padding: 2rem;
    }
}

.contact-grid-premium {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .contact-grid-premium {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card-premium {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.contact-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.contact-card-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card-premium:hover::before {
    transform: scaleX(1);
}

.contact-icon-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition);
    border: 2px solid transparent;
    font-size: 0.875rem;
}

.contact-action:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

/* Social Links */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
    color: var(--primary);
}

/* Delivery Links Grid */
.delivery-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.delivery-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition);
}

.delivery-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.delivery-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Related Restaurants */
.related-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.related-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.related-card-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .related-card-image {
        height: 180px;
    }
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.related-card:hover .related-card-image img {
    transform: scale(1.1);
}

.related-card-content {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .related-card-content {
        padding: 1.5rem;
    }
}

.related-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    line-height: 1.3;
}

.related-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.related-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--warning);
    font-weight: 500;
    font-size: 0.875rem;
}

.related-card-distance {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-600);
    font-size: 0.8rem;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    margin-top: 1rem;
    border: 1px solid var(--gray-200);
    position: relative;
    box-shadow: var(--shadow-md);
    display: none;
}

@media (min-width: 768px) {
    .map-container {
        height: 400px;
    }
}

#googleMap {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

@media (min-width: 768px) {
    #googleMap {
        min-height: 350px;
    }
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    z-index: 1;
}

.map-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9375rem;
}

.map-toggle-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 28, 255, 0.15);
}

/* Toast Notification */
.premium-toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--success);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: none;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    font-weight: 500;
    animation: slideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 350px;
    border-left: 3px solid rgba(255,255,255,0.3);
}

.premium-toast.show {
    display: flex;
}

/* ========================
   Animations
   ======================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================
   Responsive Adjustments
   ======================== */
@media (max-width: 767px) {
    .restaurant-premium-title {
        font-size: 1.75rem;
    }
    
    .premium-meta-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .stats-bar {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
    }
    
    .stat-content h4 {
        font-size: 0.9rem;
    }
    
    .stat-content p {
        font-size: 0.65rem;
    }
    
    .more-actions-wrapper {
        flex-shrink: 0;
    }
    
    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .features-grid,
    .contact-grid-premium,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .restaurant-hero-section {
        height: 220px;
    }
    
    .restaurant-premium-title {
        font-size: 1.5rem;
    }
    
    .card-content-wrapper {
        padding: 1.25rem;
    }
    
    .premium-tabs {
        flex-wrap: wrap;
        padding-bottom: 0.25rem;
    }
    
    .tab-btn {
        flex: 1 1 calc(50% - 0.125rem);
        min-width: calc(50% - 0.125rem);
        white-space: nowrap;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.625rem 0.5rem;
    }

    .header-content-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container-main {
        padding: 0 0.75rem;
    }

    .main-card-grid {
        gap: 1.5rem;
        margin: 0.75rem 0 2rem;
    }

    .restaurant-hero-section {
        height: 180px;
    }

    .premium-meta-grid {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .gallery-grid {
        gap: 0.75rem;
    }
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Empty States */
.empty-state-premium {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.empty-icon {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.empty-description {
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* Fix for small screens */
.premium-badges {
    flex-wrap: wrap;
}

.btn-premium {
    font-size: 0.85rem;
    padding: 0.625rem 1rem;
}

/* Address styling */
.address-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.address-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Opening hours table fix */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.hours-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 0.75rem 0;
    vertical-align: middle;
}

.hours-table td:first-child {
    font-weight: 500;
    color: var(--gray-700);
    width: 120px;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--gray-900);
}

/* Improve spacing in services section */
.services-section {
    margin-top: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.service-item:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.service-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.service-name {
    font-weight: 500;
    color: var(--gray-800);
}
    