/*
Theme Name:  HushSushi
Theme URI:   https://example.com/hushsushi
Author:      Your Name
Author URI:  https://example.com
Description: A modern, dark-themed restaurant WordPress theme for HushSushi — featuring hero sections, menu highlights, reviews, and contact info. WooCommerce ready.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hushsushi
Tags:        restaurant, food, dark, modern, one-page, woocommerce

*/

/* ================================================================
   CSS VARIABLES
================================================================ */
:root {
    --bg-dark:    #121315;
    --bg-light:   #ffffff;
    --accent:     #ff5722;
    --accent-hover: #e64a19;
    --text-light: #f4f4f4;
    --text-dark:  #222222;
    --text-muted: #a0a0a0;
    --font-main:  'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --radius-card: 15px;
    --radius-pill: 30px;
    --radius-section: 50px;
    --transition: 0.3s ease;
}

/* ================================================================
   GLOBAL RESET & BASE
================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

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

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

/* ================================================================
   BUTTONS
================================================================ */
.btn,
button.btn,
a.btn,
input[type="submit"].btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn:hover,
button.btn:hover,
a.btn:hover,
input[type="submit"].btn:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ================================================================
   SITE HEADER
================================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(18, 19, 21, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
}

.site-logo .logo-icon {
    font-size: 1.8rem;
}

/* Primary Nav */
#primary-nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

#primary-nav ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color var(--transition), background-color var(--transition);
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
    color: var(--accent);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ================================================================
   HERO SECTION
================================================================ */
.hero-section {
    display: flex;
    align-items: center;
    padding: 80px 0 120px;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 80%;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    border-radius: var(--radius-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

/* ================================================================
   SECTION TITLES
================================================================ */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 50px;
}

/* ================================================================
   MENU HIGHLIGHTS (white bg)
================================================================ */
.menu-highlights {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 0;
    border-top-left-radius:  var(--radius-section);
    border-top-right-radius: var(--radius-section);
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.menu-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.menu-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.special-card {
    background: #fafafa;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.special-card h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.special-card a.more-link {
    color: var(--accent);
    font-weight: 700;
    margin-top: auto;
}

/* ================================================================
   PROMO SECTION (dark bg)
================================================================ */
.promo-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    gap: 60px;
}

.promo-text {
    flex: 1;
}

.promo-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.promo-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.promo-image {
    flex: 1;
}

.promo-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(255, 87, 34, 0.2);
}

/* ================================================================
   CONTACT SECTION (white bg)
================================================================ */
.contact-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 0;
    border-radius: var(--radius-section) var(--radius-section) 0 0;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-img {
    flex: 1;
}

.contact-img img {
    width: 100%;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info {
    flex: 1;
    background: #f9f9f9;
    padding: 35px;
    border-radius: var(--radius-card);
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-info ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ================================================================
   REVIEWS SECTION (dark bg)
================================================================ */
.reviews-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
}

.reviews-section .section-title {
    color: var(--text-light);
    margin-bottom: 15px;
}

.reviews-section .section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

.review-card {
    background-color: #1a1c1e;
    padding: 40px 30px 30px;
    border-radius: var(--radius-card);
    text-align: left;
    position: relative;
    transition: transform var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-card::before {
    content: "\201C";
    font-size: 4rem;
    color: rgba(255, 87, 34, 0.25);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.review-author {
    color: var(--accent);
    font-weight: 700;
}

/* ================================================================
   FOOTER
================================================================ */
#site-footer {
    background-color: #080809;
    color: var(--text-muted);
    text-align: center;
    padding: 60px 20px 30px;
    border-top: 1px solid #222;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: color var(--transition), transform var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 0.85rem;
    border-top: 1px solid #222;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright a {
    color: var(--text-muted);
}

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

/* ================================================================
   WOOCOMMERCE BASIC OVERRIDES
================================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--accent);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: background-color var(--transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--accent-hover);
    color: #fff;
}

/* ================================================================
   WORDPRESS CORE
================================================================ */
.wp-caption {
    max-width: 100%;
}

.alignleft  { float: left;  margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }

/* ================================================================
   RESPONSIVE BREAKPOINTS
================================================================ */

/* Tablet */
@media (max-width: 900px) {
    .hero-section,
    .promo-section {
        flex-direction: column;
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        text-align: center;
    }

    .hero-image img {
        margin: 0 auto;
    }

    .promo-image img {
        max-width: 320px;
        margin: 0 auto;
    }

    .contact-grid {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 640px) {
    #primary-nav,
    .header-cta {
        display: none;
    }

    #primary-nav.is-open {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(18,19,21,0.98);
        padding: 20px;
        border-bottom: 1px solid #333;
    }

    #primary-nav.is-open ul {
        flex-direction: column;
        gap: 5px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
        padding: 40px 0 60px;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .menu-highlights {
        border-top-left-radius:  30px;
        border-top-right-radius: 30px;
    }

    .contact-section {
        border-radius: 30px 30px 0 0;
    }

    .footer-links a {
        margin: 0 8px;
    }

    .card-grid,
    .review-cards {
        grid-template-columns: 1fr;
    }
}
