:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #2e7d32;
    --accent-light: #4caf50;
    --accent-dark: #1b5e20;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --success-color: #28A745;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    font-weight: 400;
}

.fancy-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
}

.playful-font {
    font-family: 'Caveat', cursive;
    font-weight: 500;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.8rem;
    color: white !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 400;
    margin: 0 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #FFE082 !important;
    transform: translateY(-3px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFE082, #FFF176);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255,107,53,0.9), rgba(247,147,30,0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="food" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23food)"/></svg>');
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 75px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="60" opacity="0.05">🍽️</text></svg>') repeat;
    animation: float 20s infinite linear;
}

.hero::after {
    content: '🍜 ☕ 🍕 🥘 🍲 🥗 🍱 🍛';
    position: absolute;
    top: 20%;
    left: -100px;
    font-size: 2rem;
    opacity: 0.1;
    animation: slideFood 25s infinite linear;
    white-space: nowrap;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(-100px) translateY(-100px) rotate(360deg); }
}

@keyframes slideFood {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

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

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

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s ease-in-out infinite;
}

.hero .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.8;
}

.btn-hero {
    background: linear-gradient(45deg, var(--accent-color), #388E3C);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(46,125,50,0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::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.5s;
}

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

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(46,125,50,0.4);
    color: white;
    animation: wiggle 2s ease-in-out;
}

/* Search Section */
.search-section {
    background: white;
    padding: 60px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.search-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 2px solid #F0F0F0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.search-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.search-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.form-control, .form-select {
    border-radius: 20px;
    border: 2px solid #E8E8E8;
    padding: 18px 25px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(255,107,53,0.15);
    transform: translateY(-2px);
    background: white;
}

.btn-search {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 18px 35px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-search:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255,107,53,0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #F8F9FA, #E3F2FD);
    padding: 80px 0;
}

.feature-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.05), transparent);
    transition: left 0.7s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(255,107,53,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotateY(180deg);
    animation: bounce 0.6s ease-in-out;
}

.feature-card h4 {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    font-weight: 400;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Popular Places Section */
.popular-places {
    padding: 80px 0;
    background-color: #fff;
}

.popular-places .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.popular-places .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.popular-places .section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.places-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.place-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    position: relative;
}

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

.place-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.place-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.place-rating {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.place-rating i {
    color: #FFD700;
    margin-right: 5px;
}

.rating-count {
    color: #ddd;
    font-size: 0.8rem;
    margin-left: 5px;
}

.place-info {
    padding: 20px;
}

.place-header {
    margin-bottom: 15px;
}

.place-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.place-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.place-meta {
    margin-bottom: 15px;
}

.place-location,
.place-hours {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.place-location i,
.place-hours i {
    margin-right: 8px;
    color: var(--primary-color);
}

.place-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.qris-badge {
    display: flex;
    align-items: center;
    background: rgba(247, 147, 30, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.qris-badge i {
    margin-right: 5px;
}

.btn-detail {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-view-all:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popular-places .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-controls {
        margin-top: 20px;
    }
    
    .places-carousel {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Articles Section */
.articles {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f9f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%23FF6B35" opacity="0.1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.1;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.article-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.article-content {
    padding: 25px;
    position: relative;
}

.article-date {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.article-date i {
    margin-right: 8px;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--primary-color);
}

.article-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.read-time {
    font-size: 0.8rem;
    color: #888;
    margin-top: 3px;
}

/* Animation Classes */
.article-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .article-image {
        height: 160px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), #34495E);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.15rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .search-card {
        padding: 30px 20px;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.qris-badge {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quick-stats {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Category Section Styles */
.category-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.category-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.category-section .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.category-section .section-title p {
    color: #666;
    font-size: 1.1rem;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid #eee;
}

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

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.category-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-count {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}