/* 
* Longhorn Burgers - Main Stylesheet
* Website: LonghornBurgers.com
* Theme: Authentic Texas-style Burgers
*/

/* ===== BASE STYLES ===== */
:root {
    /* Primary Colors */
    --primary: #8b0000; /* Dark red */
    --primary-light: #c41e3a; /* Red */
    --secondary: #8b4513; /* Saddle brown */
    
    /* Accent Colors */
    --accent: #f1c40f; /* Yellow */
    --accent-light: #f8c471; /* Light yellow */
    
    /* Neutral Colors */
    --dark: #2c3e50;
    --medium: #7f8c8d;
    --light: #ecf0f1;
    --white: #ffffff;
    
    /* Font Families */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 4rem;
    height: 0.25rem;
    background-color: var(--accent);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

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

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

a:hover {
    color: var(--primary-light);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-bg {
    background-color: var(--light);
}

/* ===== HEADER ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    width: 3rem;
    height: 3rem;
    margin-right: 0.75rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    position: relative;
}

.nav-link:before {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover:before {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 700px;
    padding-top: 5rem;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

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

.about-image svg {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== MENU SECTION ===== */
.menu {
    background-color: var(--light);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 2rem;
    background-color: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-tab.active {
    background-color: var(--primary);
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-image {
    height: 200px;
    background-color: var(--accent-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-image svg {
    width: 80%;
    height: auto;
}

.menu-content {
    padding: 1.5rem;
}

.menu-content h3 {
    margin-bottom: 0.5rem;
}

.menu-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.menu-description {
    color: var(--medium);
    margin-bottom: 1rem;
}

/* ===== NEWS SECTION ===== */
.news {
    background-color: var(--white);
}

.news-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.news-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.news-link-item {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.news-link-item:hover {
    background-color: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.news-link-item a {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info ul {
    list-style: none;
    margin-top: 2rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.2);
}

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

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo svg {
    width: 3rem;
    height: 3rem;
    margin-right: 0.75rem;
}

.footer-logo span {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.footer p {
    opacity: 0.8;
}

.footer-heading {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-content .about-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 5rem;
        right: -100%;
        width: 100%;
        height: calc(100vh - 5rem);
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        transition: all 0.4s ease;
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .about-image svg {
        max-height: 300px;
    }
}
