/* Theme Name: Maria Fusion Bites */
/* Theme URI: https://mariafusionbites.com */
/* Author: Your Name */
/* Description: Bold Asian-fusion restaurant theme with modern UI and editable sections */
/* Version: 2.0 */
/* License: GPL v2 or later */
/* Text Domain: maria-fusion-bites */

/* CSS Variables */
:root {
    --primary-dark: #1a1a1a;
    --primary-accent: #c73e1d;
    --secondary-accent: #e09d32;
    --background-light: #fef8f0;
    --background-tertiary: #fff3e6;
    --text-dark: #2c2c2c;
    --text-light: #6b6b6b;
    --border-radius-card: 20px;
    --border-radius-button: 50px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 3px;
}

h4 {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
}

p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Layout */
.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.wp-block-group {
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.wp-block-group:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(192, 62, 29, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Buttons with Icons */
.wp-block-button__link {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    border-radius: var(--border-radius-button);
    padding: 14px 36px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wp-block-button__link: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;
    z-index: -1;
}

.wp-block-button__link:hover:before {
    left: 100%;
}

.wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}

.is-style-outline .wp-block-button__link:hover {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    border-color: transparent;
}

/* Hero Section */
.hero-content {
    animation: fadeInUp 0.8s ease;
}

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

.hero-image-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Menu Cards */
.menu-card {
    background: white;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.menu-card-image {
    overflow: hidden;
    position: relative;
}

.menu-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-accent);
    font-family: 'Playfair Display', serif;
}

.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.menu-tag {
    background: var(--background-tertiary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-accent);
    font-weight: 500;
}

/* Fan Favorites Grid */
.fan-card {
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.fan-card:hover {
    transform: translateY(-5px);
}

.fan-card-image {
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    padding: 3px;
}

.fan-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.fan-card:hover .fan-card-image {
    transform: scale(1.02);
}

.fan-card h5 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.fan-card p {
    font-size: 0.9rem;
}

/* Catering Section */
.catering-feature {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.catering-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.catering-feature i,
.catering-feature .icon {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.meal-plan-card {
    background: linear-gradient(135deg, var(--background-tertiary), white);
    border-radius: var(--border-radius-card);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.meal-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.meal-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-accent);
}

/* Contact Section */
.contact-icon-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-icon-wrapper i {
    font-size: 4rem;
    color: var(--primary-accent);
    background: white;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.contact-icon-wrapper i:hover {
    transform: rotate(360deg) scale(1.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    transform: translateY(-3px) rotate(360deg);
}

/* Header */
.site-header {
    padding: 1rem 0;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transition: width 0.3s;
}

.main-navigation a:hover:after,
.main-navigation .current-menu-item a:after {
    width: 100%;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-dark), #2a2a2a);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-accent);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .alignwide {
        padding: 0 1rem;
    }
    
    .wp-block-columns {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--primary-accent);
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }
    
    .main-navigation ul.show {
        display: flex;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .fan-card-image {
        width: 150px;
        height: 150px;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-left i {
    margin-right: 6px;
    color: var(--secondary-accent);
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.top-bar-right a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--secondary-accent);
    transform: translateY(-2px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions a {
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 1.2rem;
}

.header-actions a:hover {
    color: var(--primary-accent);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--primary-accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: bold;
}

.reserve-btn {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem !important;
    font-weight: 600;
}

.reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Search Form */
.search-form-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.search-form-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    gap: 1rem;
}

.search-field {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
}

.close-search {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-dark), #2a2a2a);
    color: white;
    margin-top: 0;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-accent);
}

.footer-logo {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--secondary-accent);
}

.footer-contact p {
    margin: 0.5rem 0;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    width: 25px;
    color: var(--secondary-accent);
}

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

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-menu i {
    font-size: 0.7rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hours-list span {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.hours-list strong {
    color: white;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0 5px;
}

.newsletter-input-group i {
    padding: 0 12px;
    color: var(--secondary-accent);
}

.newsletter-input-group input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 0;
    color: white;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-input-group button {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-input-group button:hover {
    transform: scale(1.05);
}

.footer-social {
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
}

.footer-bottom .alignwide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary-accent);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar-left {
        justify-content: center;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .reserve-btn {
        display: none;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom .alignwide {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}