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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120,119,198,0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,119,198,0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}

.sidebar-left,
.sidebar-right {
    flex: 0 0 160px;
    position: sticky;
    top: 20px;
    display: none; /* Hide ads until ready */
}

.ad-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #e9ecef;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-section {
    flex: 1;
    min-width: 0;
}

.app-header {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px 0;
}

.header-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.header-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 2.5rem;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.app-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -1px;
}

.app-subtitle {
    font-size: 1rem;
    color: #5a6c7d;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Navigation Styles */
.main-nav {
    margin-top: 20px;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: #764ba2;
    background: rgba(102,126,234,0.1);
    border-color: rgba(102,126,234,0.3);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

/* Back Link Styles */
.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

/* Highlight Box Styles */
.highlight-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid rgba(255,193,7,0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.highlight-box h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.highlight-box p {
    color: #856404;
    margin-bottom: 10px;
}

.highlight-box ul {
    color: #856404;
    margin: 15px 0;
    padding-left: 20px;
}

.highlight-box li {
    margin: 8px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-results-message {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(108,117,125,0.2);
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

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

.no-results-title {
    color: #495057;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.no-results-text {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.no-results-suggestions {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255,193,7,0.3);
    text-align: left;
}

.no-results-suggestions p {
    color: #856404;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-results-suggestions li {
    color: #856404;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(133,100,4,0.2);
    position: relative;
    padding-left: 25px;
}

.no-results-suggestions li:last-child {
    border-bottom: none;
}

.no-results-suggestions li:before {
    content: "✨";
    position: absolute;
    left: 0;
    top: 8px;
}

/* Service Description */
.service-description {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.service-description h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-description p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.demo-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.demo-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.demo-step {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.demo-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.demo-step h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.demo-step p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.faq-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(102,126,234,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.faq-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.features-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(102,126,234,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.app-footer {
    margin-top: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer-separator {
    color: #999;
    margin: 0 15px;
}

.footer-info {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info p:first-child {
    font-weight: 600;
    color: #333;
}


.search-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
}

#useLocationBtn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
    width: 100%;
}

#useLocationBtn:hover {
    background: #5a6fd8;
}

#useLocationBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pick-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

.pick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pick-btn:active {
    transform: translateY(0);
}

.pick-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pick-btn:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

.privacy-link {
    text-align: center;
    margin-top: 20px;
}

.privacy-link a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.privacy-link a:hover {
    color: #ff6b35;
    border-color: #ff6b35;
    background: #fff5f2;
}



.results-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.results-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.place-info {
    text-align: center;
}

.place-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.place-address {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.place-rating {
    font-size: 1.2rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.place-photo {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.place-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.places-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.place-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1), 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,107,53,0.2);
    width: 350px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.place-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 8px 25px rgba(255,107,53,0.2);
    border-color: rgba(255,107,53,0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 10px;
}

.card-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
    word-wrap: break-word;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card-rating {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1rem;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}


.card-phone {
    color: #27ae60;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    word-wrap: break-word;
    margin: 10px 0;
    padding: 12px;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-radius: 10px;
    border: 2px solid rgba(39,174,96,0.2);
    box-shadow: 0 2px 6px rgba(39,174,96,0.1);
}

.card-cuisine {
    color: #5a6c7d;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    word-wrap: break-word;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border-radius: 15px;
    border: 2px solid rgba(52,152,219,0.2);
    box-shadow: 0 2px 8px rgba(52,152,219,0.1);
    text-transform: capitalize;
}

.card-footer {
    text-align: center;
}

.card-address {
    color: #5a6c7d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    word-wrap: break-word;
    line-height: 1.4;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 1px solid rgba(108,117,125,0.2);
}

.directions-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directions-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4c93 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.additional-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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



@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .main-layout {
        flex-direction: column;
        gap: 15px;
    }
    
    .sidebar-left,
    .sidebar-right {
        flex: none;
        position: static;
        order: 2;
    }
    
    .search-section {
        order: 1;
    }
    
    .ad-container {
        min-height: 200px;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
    
    .app-subtitle {
        font-size: 0.9rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .header-content {
        padding: 15px 10px;
    }
    
    .app-header {
        margin-bottom: 10px;
        padding: 10px 0;
    }
    
    .app-footer {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-info {
        font-size: 0.8rem;
    }
    
    .search-section,
    .results-section {
        padding: 20px;
    }
    
    .place-card {
        width: 320px;
        height: 260px;
        padding: 15px;
    }
    
    .card-name {
        font-size: 1.4rem;
    }
    
    .card-cuisine {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .card-phone {
        font-size: 1rem;
        padding: 12px;
    }
    
    .card-address {
        font-size: 1rem;
        padding: 12px;
    }
    
    .directions-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .place-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item,
    .feature-card {
        padding: 20px;
    }
}
