/* 
    Brownsville Deli - Style Sheet
    Theme: Vibrant Modern | Plum + Amber
*/

:root {
    /* Palette */
    --plum-dark: #2D1B2E;
    --plum-primary: #4A2C4A;
    --plum-light: #764676;
    --plum-pale: #FDF2FC; /* Very light background tint */
    
    --amber-dark: #B45309;
    --amber-primary: #FFB81C;
    --amber-light: #FFD166;
    
    --text-dark: #1A1A1A;
    --text-gray: #4B5563;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #FAFAF9;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background Blobs */
.bg-shape {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--plum-light);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--amber-primary);
    bottom: 10%;
    left: -100px;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 600;
}

.text-amber { color: var(--amber-dark); }
.text-plum { color: var(--plum-primary); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--plum-primary);
    color: var(--white);
    border: 2px solid var(--plum-primary);
    box-shadow: 0 4px 14px rgba(74, 44, 74, 0.3);
}

.btn-primary:hover {
    background-color: var(--plum-dark);
    border-color: var(--plum-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--plum-primary);
    border: 2px solid var(--plum-primary);
}

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

/* Section Tags */
.section-tag {
    display: inline-block;
    background-color: var(--amber-primary);
    color: var(--plum-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--plum-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--amber-primary);
    color: var(--plum-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 10px;
    font-family: var(--font-body);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--plum-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--plum-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-color: var(--plum-pale);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.badge {
    display: inline-block;
    background: var(--plum-primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--plum-dark);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: rotate(2deg);
    background: var(--white);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--amber-primary);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2;
}

.card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--plum-dark);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-dark);
    margin-bottom: 4px;
}

.card-price {
    font-size: 0.9rem;
    color: var(--plum-dark);
    font-weight: 500;
}

/* Geometric Accents */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--plum-primary);
    opacity: 0.2;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--amber-primary);
    opacity: 0.3;
    transform: rotate(45deg);
}

.square-1 {
    bottom: 15%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 30px;
    border-radius: 16px;
    background: var(--plum-pale);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--plum-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--plum-dark);
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-gray);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: #FAFAF9;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--plum-dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.menu-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.menu-img {
    height: 220px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.menu-info {
    padding: 24px;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.menu-header h3 {
    font-size: 1.25rem;
    color: var(--plum-dark);
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--amber-light);
    color: var(--plum-dark);
}

.menu-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--plum-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--amber-primary);
    border-radius: 16px;
    z-index: 0;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--white);
}

.about-content p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--amber-primary);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.contact-info {
    padding: 60px;
    background: var(--plum-primary);
    color: var(--white);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-primary);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    color: rgba(255,255,255,0.7);
}

.info-item a {
    color: var(--amber-primary);
    text-decoration: none;
}

.map-wrapper {
    min-height: 400px;
    background: #eee;
}

/* Footer */
.footer {
    background: var(--plum-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--amber-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--amber-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 { font-size: 3rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrapper { display: none; } /* Simplify on tablet/mobile */
    
    .about-container { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
}

@media (max-width: 640px) {
    .feature-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col { margin-bottom: 30px; }
    .hero h1 { font-size: 2.5rem; }
    .about-content h2 { font-size: 2rem; }
}
