/*
Theme Name: Wabodi Modern
Description: Modern red & white deli theme with hero, cards, and smooth styling
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap");

:root {
    --red: #e63946;
    --red-dark: #c1121f;
    --red-light: #ff6b6b;
    --cream: #fff8f0;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --white: #ffffff;
}

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

body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    cursor: url("/wp-content/uploads/logo/sandwich-cursor.png"), auto;
}

a, button { cursor: url("/wp-content/uploads/logo/sandwich-cursor.png"), pointer; }

h1, h2, h3, h4 {
    font-family: "Archivo", sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

/* Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand img {
    height: 55px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.brand-name {
    font-family: "Archivo", sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--dark);
    line-height: 1.1;
}

.brand-name span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.main-nav a:hover {
    background: var(--cream);
    color: var(--red);
}

.main-nav .current-menu-item a {
    background: var(--red);
    color: white;
}

.header-cta {
    background: var(--red);
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
}

.header-cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: white;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "🥪";
    position: absolute;
    font-size: 300px;
    opacity: 0.08;
    top: -50px;
    right: -30px;
    transform: rotate(-15deg);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.2s;
}

.btn-white {
    background: white;
    color: var(--red);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--red);
}

/* Content */
.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

.content-wrap h1 {
    font-size: 40px;
    margin-bottom: 24px;
    color: var(--dark);
}

/* Feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.feature-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid #f0e6d8;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* Menu styling */
.menu-section {
    background: var(--cream);
    border-radius: 16px;
    padding: 32px;
    margin: 24px 0;
    border: 1px solid #f0e6d8;
}

.menu-section h2 {
    color: var(--red);
    font-size: 28px;
    margin-bottom: 16px;
}

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

.menu-section li {
    padding: 12px 0;
    border-bottom: 1px solid #e8ddd0;
    display: flex;
    justify-content: space-between;
    font-size: 17px;
}

.menu-section li:last-child { border-bottom: none; }

.wabodi-special {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 20px;
}

.call-order {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--red);
    margin: 32px 0;
    padding: 24px;
    border: 3px dashed var(--red);
    border-radius: 16px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #aaa;
    padding: 48px 24px 24px;
    margin-top: 64px;
}

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

.footer-inner h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-inner a { color: var(--red-light); }

.footer-bottom {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* Mobile */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--dark);
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 3px solid var(--red);
        padding: 16px;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav a { display: block; text-align: center; }
    .hero { padding: 48px 20px; }
    .brand-name { font-size: 16px; }
}

/* Hide title on sandwich builder page (it has its own heading) */
.page-id-23 .content-wrap h1 {
    display: none;
}
