/* PJ's Pancakes External CSS 
Author: Adison Crabtree 
Date: 12/10/2025 */

/* CSS Variables - Using System Fonts */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #4ECDC4;
    --dark-color: #292F36;
    --light-color: #F7FFF7;
    --accent-color: #FFE66D;

    /* System Fonts */
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: Arial, Helvetica, sans-serif;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transcription: all 0.3s ease;
}

/* Reset and Base Styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header{
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo img{
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    border: 4px solid white;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.catchphrase {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Navigation Styles */
nav {
    background-color: var(--dark-color);
    border-radius: 8px;
    margin-bottom: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    flex: 1;
    text-align: center;
    min-width: 120px;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem;
    transition: var(--transition);
    font-weight: bold;
}

nav a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

nav a:active {
    background-color: var(--secondary-color);
}

/* Main Content Styles */
main {
    min-height: 60vh;
    margin-bottom: 2rem;
}

/* Banner Styles */
.banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Grid Layout for Food Items */
.food-grid {
    margin: 2rem 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.grid-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Review Styles */
.reviews {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.review-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.review {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.reviewer {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--primary-color)
}

/* Survey Styles */
.survey {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 8px;
    margin: 2rem 0;
}

.survey.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: var(--transition);
    font-weight: bold;
}

.survey.btn:hover {
    background-color: var(--dark-color);
    transform: scale(1.05);
}

/* About Page Styles */
.about-content {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Table Styles */
.team-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: var(--shadow);
}

.team-table th, .team-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.team-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.team-table tr:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

/* Menu Page Styles */
.menu-content {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.menu-category {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.menu-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.menu-category ul {
    list-style: none;
}

.menu-category li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.item-name {
    font-weight: bold;
    display: inline-block;
    width: 60%;
}

.item-price {
    font-weight: bold;
    color: var(--primary-color);
    float: right;
}

.item-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.catering-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

/* Locations Page Styles */
.locations-content {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.location-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.address, .hours, .phone, .features {
    margin-bottom: 0.8rem;
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    background: #f0f0f0;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    gap: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-method {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-groupinput:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background-color: var(--dark-color);
}

/* FAQ Styles */
.faq-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--light-color);
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--secondary-color);
    color: white;
}

.faq-answer {
    padding: 1rem;
    background-color: white;
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.rating {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 8px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-wdith: 768px) {
    h1 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .features {
        flex-direction: column;
    }

    .location-cards {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .item-name {
        width: 100%;
        display: block;
    }

    .item-price {
        float: none;
        display: block;
        margin-top: 0.3rem;
    }
}

@media (max-width: 480px) {
    #wrapper {
        padding: 0 10px;
    }

    header, main, footer {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
}

/* Print Styles */
@media print {
    nav, .survey, .modal, footer a {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    .grid-item, .review, .location-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
}