/* --- Custom Local Font Import --- */
@font-face {
    font-family: 'OTRFlapjack';
    src: url('OTRFlapjack-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* --- CSS Variables (Retro Branding) --- */
:root {
    --bg-color: #FDF8F5;       
    --brand-red: #D84327;      
    --brand-red-hover: #b9371f;
    --text-color: #222222;     
    --footer-bg: #1A1A1A;      
    --white: #FFFFFF;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden; 
}

h1, h2, h3 {
    font-family: 'OTRFlapjack', cursive, sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* --- Navigation --- */
.navbar {
    background-color: var(--bg-color); 
    border-bottom: 2px solid var(--brand-red);
    padding: 8px 0; 
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 96%; 
    margin: 0 auto;
}

.nav-logo {
    max-height: 42px; 
    width: auto;
    object-fit: contain; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: 'OTRFlapjack', cursive, sans-serif;
    font-size: 1.35rem; 
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-red);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 20px 20px 30px 20px; 
    background-image: url('images/Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Added a tiny bit more padding around the card to frame the cropped logo nicely */
.hero-card {
    background-color: rgba(253, 248, 245, 0.92);
    border-radius: 20px;
    padding: 24px 35px 22px 35px; 
    max-width: 820px; 
    margin: 0 auto 15px auto; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-logo {
    max-width: 520px; 
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px; 
}

.hero h2 {
    font-size: 2.1rem; 
    color: var(--brand-red); 
    margin-bottom: 0px; 
    line-height: 1.1;
    white-space: nowrap; 
}

.hero p {
    font-size: 1.15rem; 
    color: var(--text-color);
    margin-bottom: 5px; 
}

/* Floating Button below the card */
.btn {
    display: inline-block;
    background-color: var(--brand-red);
    color: var(--white);
    padding: 14px 35px; 
    text-decoration: none;
    font-family: 'OTRFlapjack', cursive, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    border-radius: 50px; 
    transition: all 0.3s;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); 
}

.btn:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px); 
}

/* --- About Section --- */
.about {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 3px solid var(--brand-red);
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: flex-start; 
}

.about-text {
    flex: 3;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--brand-red);
}

.about-text p {
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.about-ig-wrapper {
    flex: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-ig-wrapper iframe, 
.about-ig-wrapper .instagram-media {
    max-width: 100% !important;
    min-width: 100% !important;
}

/* --- How to Order Section --- */
.how-to-order {
    padding: 80px 0;
    background-color: var(--bg-color); 
    border-top: 3px dashed var(--brand-red);
    border-bottom: 3px solid var(--brand-red);
}

.how-to-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.how-to-card {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--brand-red);
}

.how-to-card h3 {
    font-size: 2.8rem;
    color: var(--brand-red);
    margin-bottom: 20px;
    line-height: 1.1;
}

.how-to-card p {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.how-to-card ol {
    padding-left: 20px; 
}

.how-to-card li {
    font-size: 1.15rem;
    margin-bottom: 15px;
    padding-left: 5px; 
}

.how-to-card a {
    color: var(--brand-red);
    text-decoration: underline;
    font-weight: 600;
}

.how-to-card a:hover {
    color: var(--brand-red-hover);
}

/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    color: var(--bg-color);
    padding: 50px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    flex: 1;
}

.footer-text p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-text a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: bold;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-mascot img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 30px 20px 40px 20px; 
    }

    .hero-card {
        padding: 20px 20px; 
    }

    .hero h2 {
        font-size: 1.5rem;
        white-space: normal;
    }

    .hero p {
        font-size: 1.05rem;
    }
    
    .about-container, .how-to-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-ig-wrapper {
        order: 2; 
    }

    .how-to-card {
        padding: 30px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}