/* Rodeo Grill - Main Stylesheet */

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Visually Hidden (for screen readers only) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --background-color: #fff;
    --text-color: #000;
    --accent-color: #9a4119;
    --menu-bg-color: #f9f9f9;
    --menu-border-color: #ddd;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--menu-border-color);
    z-index: 1000;
}

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

.logo {
    max-height: 60px;
    margin-right: 10px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2em;
    font-weight: bold;
}

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

/* Main Content Styles */
.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-text h1 {
    font-size: 3em;
    margin: 0;
}

.hero-text p {
    font-size: 1.5em;
    margin: 10px 0;
}

/* Menu Section Styles */
.menu-section {
    padding: 40px;
    background-color: var(--menu-bg-color);
}

.menu-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.menu-item {
    background: #fff;
    border: 1px solid var(--menu-border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.menu-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.menu-item p {
    font-size: 1em;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.4;
}

.menu-item .price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent-color);
}

.vegetarian {
    color: #2e7d32;
    font-size: 0.9em;
    display: inline-block;
    margin-left: 5px;
}

/* Gallery Styles */
.gallery-section {
    padding: 40px;
    background-color: var(--menu-bg-color);
}

.gallery-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--accent-color);
    text-decoration: none;
}

/* Story & Visit Section Styles */
.story-section {
    padding: 40px;
    background-color: var(--menu-bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1em;
    color: #555;
}

.values-section {
    padding: 40px;
    text-align: center;
    background-color: var(--background-color);
}

.values-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.value-item {
    flex: 1 1 calc(300px - 20px);
    padding: 20px;
    border: 1px solid var(--menu-border-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.value-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.social-proof-section {
    padding: 40px;
    background-color: var(--menu-bg-color);
}

.media-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.media-link {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.media-link:hover {
    color: #7a3314;
}

/* Visit Page Specific Styles */
.visit-section {
    padding: 40px;
    background-color: var(--menu-bg-color);
}

.visit-info {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

.visit-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.visit-info a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 40px;
    text-align: center;
}

.map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 0;
}

/* Footer Styles */
footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--menu-border-color);
    color: #000;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.social-links img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 1em;
    }
    
    .menu {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .social-links img {
        width: 40px;
        height: 40px;
    }
    
    .hero-text h1 {
        font-size: 2em;
    }
    
    .hero-text p {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.9em;
    }
    
    .menu-title,
    .gallery-title {
        font-size: 2em;
    }
    
    .social-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .social-links img {
        width: 35px;
        height: 35px;
    }
}