:root {
    --primary-color: #0037ff;
    --primary-dark: #0026b3;
    --primary-light: #1e4fff;
    --secondary-color: #ffffff;
    --accent-color: #ff3366;
    --text-color: #1a1a2e;
    --background-light: #f8f9fa;
    --shadow: 0 8px 16px rgba(0, 55, 255, 0.1);
    --card-shadow: 0 15px 30px rgba(0, 55, 255, 0.12);
    --hover-transform: translateY(-8px);
    --diagonal-angle: -5deg;
    --card-radius: 20px;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --perspective: 1000px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    background-color: var(--background-light);
    color: var(--text-color);
}

img,
video,
iframe {
    max-width: 100%; /* Ensure media doesn't overflow */
    height: auto;    /* Maintain aspect ratio */
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 2rem 2rem 8rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: -4rem;
    color: white;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo span {
    display: none;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
    position: relative;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.location-bar {
    max-width: 600px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 1);
    border-radius: 50px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    perspective: var(--perspective);
}

.location-bar:hover {
    transform: translateZ(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.location-bar i {
    margin: 0 1rem;
    font-size: 1.25rem;
    color: var(--accent-color);
}

.location-bar input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.location-bar button {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    margin-left: 0.5rem;
}

/* Categories */
.categories {
    background: none;
    padding: 4rem 2rem;
    position: relative;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    transform: translateY(-50px);
}

.category-item {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transform: rotate(var(--diagonal-angle));
    transition: all 0.4s ease;
}

.category-item:hover {
    transform: rotate(0deg) translateY(-10px);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition-fast);
    transform-style: preserve-3d;
}

.category-icon i {
    color: white;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.category-item:hover .category-icon {
    background: var(--accent-color);
    transform: translateZ(20px) rotate(-10deg);
}

.category-item:hover .category-icon i {
    transform: scale(1.2);
}

.category-item span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.category-item small {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* Restaurant Grid */
.suggestions {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.suggestions h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.suggestions h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.restaurant-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.restaurant-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.restaurant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 55, 255, 0.1);
}

.restaurant-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: white;
}

.restaurant-card:hover img {
    transform: scale(1.03);
}

.restaurant-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.restaurant-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.restaurant-card p::before {
    content: '⏱';
    font-size: 1.2rem;
}

/* App Download Section */
.app-download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    padding: 6rem 2rem;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    color: white;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: rotate(calc(-1 * var(--diagonal-angle)));
    padding: 0 2rem;
}

.app-content {
    padding: 2rem;
    max-width: 500px;
    position: relative;
    flex: 1;
}

.app-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.app-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-image {
    margin-top: 2rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 2rem;
}

.app-image img {
    max-width: 100%;
    transition: transform 0.3s;
}

.store-button {
    height: auto;
    min-width: 300px;
    margin: 1rem;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.store-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.store-button i {
    font-size: 3.5rem;
    margin-right: 1.5rem;
}

.store-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.store-button small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.app-store-btn {
    background: #0037ff;
}

.play-store-btn {
    background: #0037ff;
}

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

/* Responsive styles for app section */
@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-content {
        margin-bottom: 2rem;
    }
    
    .app-image img {
        max-width: 80%;
    }
}

/* Footer */
footer {
    background: var(--primary-dark);
    padding: 6rem 2rem 2rem;
    color: white;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 1rem;
}

.footer-section p i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section a i {
    margin-right: 0.5rem;
    transition: var(--transition-fast);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.social-links a i {
    margin-right: 0.5rem;
    transition: var(--transition-fast);
}

.social-links a:hover i {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
    
    .restaurant-card {
        grid-column: span 6;
        margin-top: 0;
    }
    
    .restaurant-card:nth-child(even) {
        margin-top: 0;
    }
    
    .location-bar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .location-bar button {
        width: 100%;
        margin: 0.5rem 0 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
    }

    .mobile-nav {
        display: flex;
    }

    nav {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
}

/* Add these new styles after the existing header styles */

.hero-content {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Update location-bar styles */
.location-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-bar button {
    white-space: nowrap;
}

/* Update category styles */
.category-item small {
    color: var(--accent-color);
    font-weight: 500;
}

/* Restaurant card updates */
.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-card:nth-child(1) .card-badge {
    background: #ff458b;
}

.restaurant-card:nth-child(2) .card-badge {
    background: #ff458b;
}

.restaurant-card:nth-child(3) .card-badge {
    background: #ff458b;
}

.card-badge i {
    font-size: 0.7rem;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
    color: #666;
}

.restaurant-info {
    padding: 1rem 1.2rem;
    background: white;
    border-top: none;
}

.restaurant-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.restaurant-info p {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.restaurant-info p i {
    color: #ffc107;
    font-size: 0.8rem;
}

.restaurant-info p i.fa-utensils {
    color: #666;
}

.delivery-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #ff458b;
    font-size: 0.9rem;
    font-weight: 500;
}

.delivery-time i {
    color: #ff458b;
    font-size: 0.8rem;
}

/* Features section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem;
}

.feature {
    position: relative;
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-slow);
    box-shadow: 0 10px 20px rgba(0, 55, 255, 0.2);
}

.feature-icon i {
    color: white;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.feature:hover .feature-icon {
    transform: translateY(-10px) rotateY(180deg);
}

.feature:hover .feature-icon i {
    transform: rotateY(-180deg);
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* App download updates */
.pre-title {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact info styles */
.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--accent-color);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add these button hover effects */
.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary i, .btn-secondary i {
    font-size: 1.1rem;
}

/* Logo animation */
.logo i {
    margin-right: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add these responsive styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .location-bar {
        flex-direction: column;
    }
    
    .location-bar button {
        width: 100%;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* Add wave section dividers */
.wave-section {
    position: relative;
    background: var(--primary-color);
    padding-bottom: 150px;
}

.wave-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--secondary-color);
    clip-path: polygon(0% 100%, 0% 0%, 25% 50%, 50% 0%, 75% 50%, 100% 0%, 100% 100%);
}

.wave-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.categories-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .categories-container {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* Add diagonal section styling */
.diagonal-section {
    position: relative;
    padding: 8rem 0;
    margin: 4rem 0;
    transform: skewY(var(--diagonal-angle));
    overflow: hidden;
}

.diagonal-section > * {
    transform: skewY(calc(-1 * var(--diagonal-angle)));
}

/* Create overlapping sections */
.overlap-section {
    position: relative;
    margin-top: -100px;
    z-index: 2;
    background: var(--secondary-color);
    border-radius: 30px;
    box-shadow: var(--card-shadow);
    padding: 3rem;
}

/* Add floating elements */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(100px, 100px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Add decorative patterns */
.pattern-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--primary-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-light) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

/* Update feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem;
}

.feature {
    position: relative;
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add these responsive styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .location-bar {
        flex-direction: column;
    }
    
    .location-bar button {
        width: 100%;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* Add wave section dividers */
.wave-section {
    position: relative;
    background: var(--primary-color);
    padding-bottom: 150px;
}

.wave-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--secondary-color);
    clip-path: ellipse(75% 100% at 50% 100%);
}

.wave-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.categories-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .categories-container {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* Add styles for fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Enhanced Navigation */
.nav-link {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Enhanced Location Bar */
.location-bar.focused {
    transform: translateZ(30px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.search-btn {
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.search-btn:hover::before {
    width: 300px;
    height: 300px;
}

.search-btn.loading {
    pointer-events: none;
    animation: buttonLoading 1.5s infinite;
}

@keyframes buttonLoading {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
}

/* Newsletter Button States */
.newsletter-form button {
    position: relative;
    overflow: hidden;
}

.newsletter-form button.ready {
    background: var(--primary-color);
    transform: translateZ(10px);
}

.newsletter-form button.success {
    background: #00c853;
    transform: translateZ(20px);
}

.newsletter-form button.success::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}

/* Newsletter form button icon */
.newsletter-form button i {
    margin-right: 0.5rem;
    transition: var(--transition-fast);
}

.newsletter-form button:hover i {
    animation: flyIcon 1s infinite;
}


.newsletter-form button.success i {
    display: none;
}

/* Remove unused keyframes */
@keyframes newsletterPattern {
    /* This animation is no longer needed */
}

@keyframes flyIcon {
    /* This animation is no longer needed */
}

/* Floating Animation for Features */
.feature {
    animation: floatY 6s infinite ease-in-out;
}

.feature:nth-child(2) {
    animation-delay: -2s;
}

.feature:nth-child(3) {
    animation-delay: -4s;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced App Store Buttons */
.app-buttons {
    display: flex;
    gap: 1rem;
    perspective: 1000px;
}

.app-store-button, .play-store-button {
    transform-style: preserve-3d;
    transition: var(--transition-fast);
}

.app-store-button:hover, .play-store-button:hover {
    transform: translateZ(20px) scale(1.05);
}

/* Social Links Enhancement */
.social-links a {
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: var(--transition-fast);
}

.social-links a:hover::before {
    animation: shine 1.5s;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .restaurant-card,
    .category-item,
    .feature {
        transform: none !important;
    }

    .floating-element {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-link::after {
        bottom: -5px;
    }
}

/* Navigation icons */
.nav-link i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

/* App buttons icons */
.app-store-button i, .play-store-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Enhanced Restaurant Cards */
.restaurant-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.restaurant-info {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    padding: 1.5rem;
}

@media (max-width: 992px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Update section heading */
#restaurants h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#restaurants h2 i {
    color: #ff458b;
    font-size: 1.4rem;
}

/* Mobile Navigation Bar */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 0.8rem 0 0.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: white;
}

.mobile-nav-item.active i {
    color: white;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    footer {
        padding-bottom: 5rem;
    }
}

/* Empty Cards and View More Section */
.more-section {
    margin-top: 3rem;
    text-align: center;
}

.more-section h3 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.empty-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.empty-card {
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 250px;
    display: flex;
    flex-direction: column;
    border: 1px dashed #e0e0e0;
}

.empty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 55, 255, 0.08);
}

.empty-card-placeholder {
    height: 160px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-card-placeholder i {
    font-size: 3rem;
    color: #ccc;
}

.empty-info {
    padding: 1.2rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.empty-line {
    height: 20px;
    background: #f0f0f0;
    border-radius: 4px;
    width: 80%;
}

.empty-line.small {
    height: 14px;
    width: 60%;
}

.view-more-container {
    margin: 2rem 0;
    text-align: center;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 15px rgba(0, 55, 255, 0.2);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 55, 255, 0.3);
    background: var(--primary-dark);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .empty-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .empty-card-container {
        grid-template-columns: 1fr;
    }
}

/* Hidden Restaurant Cards */
.hidden-restaurant {
    display: none;
}

/* See More Button */
.see-more-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.see-more-btn {
    background-color: var(--primary-color, #1e88e5);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.see-more-btn:hover {
    background-color: var(--primary-dark, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.see-more-btn i {
    transition: transform 0.3s ease;
}

.see-more-btn.active i {
    transform: rotate(180deg);
} 