/* --- 1. CORE STYLES --- */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Source Sans 3', sans-serif; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 2. HEADER --- */
.main-header { padding: 10px 0; border-bottom: 1px solid #eee; background: #fff; }
.header-grid { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 80px; width: auto; transition: opacity 0.3s; }
.logo-link:hover { opacity: 0.8; }
.nav-group { text-align: right; }
.nav-links { list-style: none; display: flex; gap: 20px; margin: 0 0 5px 0; padding: 0; justify-content: flex-end; }
.nav-links a { text-decoration: none; color: #000; font-size: 14px; font-weight: 600; }

/* Dropdown Styles */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: #fff; min-width: 220px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 100; text-align: left; border: 1px solid #eee; top: 100%; right: 0; border-radius: 4px; overflow: hidden; }
.dropdown-content a { color: #333 !important; padding: 12px 16px; text-decoration: none; display: block; font-size: 14px; font-weight: 400 !important; border-bottom: 1px solid #f9f9f9; transition: background 0.2s; text-align: left; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: #f1f1f1; color: #007bff !important; }
.dropdown:hover .dropdown-content { display: block; }
.dropbtn::after { content: ' \25BE'; font-size: 10px; vertical-align: middle; opacity: 0.6; }
.header-contact { font-size: 13px; }
.phone-link { color: #007bff; text-decoration: underline; font-weight: bold; margin-right: 5px; }
.contact-label { color: #666; }

/* --- 3. FINAL FOOTER --- */
.main-footer { background-color: #f9f9f9; padding: 80px 0 0 0; border-top: 1px solid #eee; color: #555; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-col h4 { color: #111; font-family: 'Outfit', sans-serif; margin-bottom: 25px; font-size: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { text-decoration: none; color: #555; }
.footer-socials a { margin-right: 15px; color: #007bff; font-weight: bold; text-decoration: none; }
.footer-bottom { background-color: #fff; border-top: 1px solid #eee; padding: 25px 0; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.legal-links a { margin-left: 20px; text-decoration: none; color: #999; }

/* --- 4. RESPONSIVE DESIGN FOR HEADER/FOOTER --- */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .gallery-item { flex: 0 1 calc(50% - 8px); }
}
@media (max-width: 768px) {
    .header-grid, .footer-bottom-flex { flex-direction: column; text-align: center; }
    .nav-links { justify-content: center; flex-wrap: wrap; }
    .gallery-item { flex: 0 1 100%; max-width: 300px; }
}

/* --- SPECIALS PAGE --- */
.specials-hero {
    height: 400px;
    background-image: url('../images/specials_hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specials-hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* White rectangle badge for specials hero */
.conf-title-badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 60px;
    text-align: center;
    border: 1px solid #ddd;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    display: inline-block;
}

.conf-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.conf-page-title {
    font-family: 'Outfit', sans-serif;
    color: #111;
    font-size: 52px;
    margin: 0;
    line-height: 1;
}

.conf-divider {
    width: 50px;
    height: 2px;
    background-color: #007bff;
    margin: 20px auto;
}

.conf-desc {
    font-style: italic;
    color: #555;
    margin: 0;
}

.specials-content {
    padding: 60px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.specials-content p {
    margin-bottom: 20px;
}

.specials-content strong {
    color: #222;
}

/* --- GALLERY --- */
.specials-gallery {
    width: 100%;
    padding: 0 20px 80px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.specials-gallery h2 {
    text-align: center;
    width: 100%;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 0 1 calc(33.333% - 10px);
    max-width: 250px;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

/* --- MODAL FOR FULLSCREEN IMAGE --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 50px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
}

#caption {
    display: none;
    margin: auto;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* --- CATEGORY NAVIGATION GRID --- */
.conf-grid-section { padding: 60px 0; border-top: 1px solid #eee; margin-top: 40px; }
.conf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 auto; }
@media (max-width: 900px) { .conf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .conf-grid { grid-template-columns: 1fr; } }
.conf-item { text-align: center; }
.conf-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-category { display: inline-block; background-color: #007bff; color: #fff; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-weight: bold; font-family: 'Source Sans 3', sans-serif; transition: background-color 0.3s; }
.btn-category:hover { background-color: #0056b3; }

.order-button-container { text-align: center; margin-top: 40px; margin-bottom: 20px; }
.btn-primary { display: inline-block; background-color: #007bff; color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; transition: background-color 0.3s; }
.btn-primary:hover { background-color: #0056b3; }
