/*
Theme Name: Swiggiweb
Theme URI: https://askbootstrap.com/
Author: Converted from Swiggiweb HTML5 Template
Author URI: https://askbootstrap.com/
Description: Online Food Ordering WordPress Theme converted from the Swiggiweb HTML5 template. Features restaurant listings, food categories, trending items, and more.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swiggiweb
Tags: food, restaurant, e-commerce, bootstrap, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   SWIGGIWEB THEME - Main Stylesheet
   Imports the original template CSS and adds WordPress-specific styles
   ============================================================ */

/* ---------- WordPress Core Alignments ---------- */
.alignleft  { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }
.alignnone  { margin-bottom: 1em; }

/* ---------- WordPress Captions ---------- */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: #6c757d; text-align: center; padding: 4px 0; }

/* ---------- Screen Reader Text ---------- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ---------- WordPress Navigation ---------- */
.navigation .nav-links { display: flex; justify-content: space-between; padding: 20px 0; }
.nav-previous a, .nav-next a { color: #fc6f2f; font-weight: 600; text-decoration: none; }
.nav-previous a:hover, .nav-next a:hover { color: #e55d1f; }

/* ---------- WordPress Comments ---------- */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.comment-meta { margin-bottom: 10px; font-size: 0.875rem; color: #6c757d; }
.comment-author .fn { font-weight: 600; color: #333; }
.reply a { font-size: 0.8rem; color: #fc6f2f; }

/* ---------- WordPress Widgets ---------- */
.widget { margin-bottom: 30px; }
.widget-title { font-size: 1rem; font-weight: 700; border-bottom: 2px solid #fc6f2f; padding-bottom: 8px; margin-bottom: 15px; }
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; }
.widget ul li a { color: #333; text-decoration: none; }
.widget ul li a:hover { color: #fc6f2f; }

/* ---------- Search Form ---------- */
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; border: 1px solid #dee2e6; border-radius: 6px; padding: 8px 12px; }
.search-form .search-submit { background: #fc6f2f; color: #fff; border: none; border-radius: 6px; padding: 8px 16px; cursor: pointer; }
.search-form .search-submit:hover { background: #e55d1f; }

/* ---------- Post/Page Content ---------- */
.entry-header { margin-bottom: 20px; }
.entry-title { font-size: 1.75rem; font-weight: 700; color: #1a1a2e; }
.entry-meta { font-size: 0.85rem; color: #6c757d; margin-bottom: 15px; }
.entry-meta a { color: #fc6f2f; text-decoration: none; }
.entry-content { line-height: 1.8; color: #444; }
.entry-content h2, .entry-content h3 { color: #1a1a2e; margin-top: 1.5em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.entry-content a { color: #fc6f2f; }
.entry-footer { margin-top: 20px; padding-top: 15px; border-top: 1px solid #eee; font-size: 0.85rem; color: #6c757d; }

/* ---------- Sidebar ---------- */
#sidebar { padding-left: 30px; }
@media (max-width: 991px) { #sidebar { padding-left: 0; margin-top: 40px; } }

/* ---------- Page Hero ---------- */
.page-hero { background: linear-gradient(135deg, #fc6f2f 0%, #ff8c42 100%); color: #fff; padding: 60px 0; margin-bottom: 40px; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.8); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: #fff; }

/* ---------- Custom Post Types ---------- */
.restaurant-card, .menu-item-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.restaurant-card:hover, .menu-item-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }

/* ---------- WooCommerce Compatibility (basic) ---------- */
.woocommerce .button, .woocommerce button.button { background: #fc6f2f; color: #fff; border-radius: 6px; }
.woocommerce .button:hover { background: #e55d1f; color: #fff; }

/* ---------- Gutenberg Block Styles ---------- */
.wp-block-button__link { background: #fc6f2f; }
.has-primary-color { color: #fc6f2f; }
.has-primary-background-color { background: #fc6f2f; }
