/* ==========================================================================
   DECKLE & HIDE BBQ - STYLESHEET
   ========================================================================== */

/* --- CSS Variables / Design System --- */
:root {
    /* Brand Colors */
    --color-charcoal: #0B0B0B;
    --color-smoke: #1A1A1A;
    --color-ash: #2A2A2A;
    --color-ember: #8B1E14;
    --color-fire: #D94B2B;
    --color-bone: #F4EFE6;
    
    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1020px;
    --padding-global: 5%;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--color-charcoal);
    color: var(--color-bone);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--color-bone);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--color-bone);
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: var(--color-bone);
    border-bottom: 2px solid var(--color-ash);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-global);
}

.section-padding {
    padding: 6rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--color-ember);
    color: var(--color-bone);
    box-shadow: 0 4px 15px rgba(139, 30, 20, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-fire);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 75, 43, 0.6);
}

.btn-secondary {
    background-color: var(--color-smoke);
    color: var(--color-bone);
    border: 1px solid var(--color-ash);
}

.btn-secondary:hover {
    background-color: var(--color-ash);
    border-color: var(--color-bone);
}

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

.btn-outline:hover {
    background-color: var(--color-bone);
    color: var(--color-charcoal);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* --- Header --- */
.site-header {
    background-color: rgba(11, 11, 11, 0.95);
    border-bottom: 1px solid var(--color-smoke);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--padding-global);
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin: 0;
    color: var(--color-bone);
}

.brand-logo {
    max-height: 80px;
    width: auto;
    border-radius: 4px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: var(--color-fire);
}

.nav-btn-order {
    background-color: var(--color-ember);
    padding: 0.5rem 1.25rem;
    font-weight: 700;
}

.nav-btn-order:hover {
    background-color: var(--color-fire);
    color: var(--color-bone) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-bone);
    cursor: pointer;
}

/* --- Live Drop Status Bar --- */
.status-bar {
    background-color: var(--color-fire);
    color: var(--color-charcoal);
    text-align: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.6; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.1); }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11,11,11,0.95) 0%, rgba(11,11,11,0.6) 50%, rgba(11,11,11,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-global);
}

.urgency-pill {
    display: inline-block;
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--color-ember);
    color: var(--color-fire);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(217, 75, 43, 0.2);
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #CCC;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Menu Preview Section --- */
.menu-section {
    background-color: var(--color-smoke);
    border-bottom: 2px solid var(--color-ash);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.menu-category {
    background-color: var(--color-charcoal);
    padding: 2rem;
    border: 1px solid var(--color-ash);
    border-top: 4px solid var(--color-ember);
    width: 100%;
}

/* Center the Drop/Preorder category (the 4th item) across the bottom */
.menu-category:nth-child(4) {
    grid-column: 1 / -1;
    max-width: 450px;
    margin: 0 auto;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-bone);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-card {
    border-bottom: 1px dashed var(--color-ash);
    padding-bottom: 1.5rem;
    position: relative;
}

.menu-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.menu-card-header h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0;
    color: var(--color-bone);
}

.price {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-fire);
}

.menu-card p {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    background-color: var(--color-ash);
}

.badge.limited {
    background-color: var(--color-ember);
    color: var(--color-bone);
}

.menu-cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* --- Next Drop Section --- */
.next-drop-section {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-smoke) 100%);
    position: relative;
}

.next-drop-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(139,30,20,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.next-drop-container {
    display: flex;
    justify-content: center;
}

.next-drop-info {
    background-color: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--color-ash);
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.drop-warning {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-fire);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drop-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--color-ember);
    padding-left: 1.5rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #777;
    letter-spacing: 2px;
}

.detail-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-bone);
}

.drop-ctas {
    display: flex;
    gap: 1rem;
}

/* --- Brand Story Section --- */
.brand-story {
    background-color: var(--color-charcoal);
    overflow: hidden;
}

.story-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    min-height: 500px;
    max-width: var(--max-width);
    margin: 0 auto;
    border-left: 1px solid var(--color-ash);
    border-right: 1px solid var(--color-ash);
}

.story-image {
    background-size: cover;
    background-position: center;
}

.story-content {
    background-color: var(--color-smoke);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--color-ash);
    border-right: 1px solid var(--color-ash);
}

.story-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.9;
    color: var(--color-fire);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.1rem;
    color: #BBB;
    max-width: 500px;
    margin: 0 auto;
}

/* --- Location & Order Section --- */
.location-order-section {
    background-color: var(--color-charcoal);
    border-bottom: 1px solid var(--color-ash);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.location-details h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-bone);
    margin-bottom: 0.5rem;
}

.location-details p {
    color: #999;
}

.order-embed-wrapper {
    background-color: var(--color-smoke);
    border: 1px solid var(--color-ash);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.order-embed-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-ember);
    text-align: center;
}

.order-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.order-options .btn {
    width: 100%;
}

.square-placeholder {
    background-color: var(--color-charcoal);
    border: 2px dashed var(--color-ash);
    padding: 3rem 1rem;
    margin-top: 2rem;
}

/* --- Instagram Grid Section --- */
.social-section {
    background-color: var(--color-smoke);
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.social-header .section-title {
    margin-bottom: 0;
    border-bottom: none;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.insta-item {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.insta-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- Footer --- */
.site-footer {
    background-color: #050505;
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--color-ember);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.footer-brand p {
    color: #666;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-smoke);
    color: #555;
    font-size: 0.9rem;
}

/* --- Forms & Inputs --- */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    color: var(--color-bone);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.form-control {
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-ash);
    color: var(--color-bone);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-ember);
    box-shadow: 0 0 8px rgba(139, 30, 20, 0.3);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4EFE6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.events-form-wrapper {
    background-color: var(--color-smoke);
    padding: 3rem;
    border: 1px solid var(--color-ash);
    border-top: 4px solid var(--color-ember);
    max-width: 800px;
    margin: 0 auto;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .story-split {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        min-height: 300px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-category:nth-child(4) {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(11, 11, 11, 0.98);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--color-ash);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        text-align: center;
        justify-content: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .next-drop-info {
        padding: 2rem;
    }
    
    .drop-ctas {
        flex-direction: column;
    }
    
    .social-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .events-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- Video Custom Styles --- */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
}

.videos-section {
    background-color: var(--color-charcoal);
    border-bottom: 2px solid var(--color-ash);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.video-card {
    background-color: var(--color-smoke);
    border: 1px solid var(--color-ash);
    padding: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-fire);
    box-shadow: 0 10px 25px rgba(217, 75, 43, 0.1);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-charcoal);
}

.video-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-bone);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}