/*
Theme Name: Ο Μπάτης
Theme URI: https://mpatis.gr
Author: Developer
Description: Custom theme για την ψαροταβέρνα Ο Μπάτης στον Ωρωπό
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mpatis
*/

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

body {
    font-family: 'Manrope', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.top-bar {
    background: #1a1a1a;
    color: #999;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3a7a8a;
}

.book-btn {
    background: #3a7a8a;
    color: #fff;
    padding: 12px 25px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #03678d;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/batishero.PNG') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 550px;
}

.hero h1 {
    font-size: 55px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 18px;
}

.btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border: 1px solid #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn:hover {
    background: #3a7a8a;
    border-color: #3a7a8a;
}

.btn-gold {
    background: #3a7a8a;
    border-color: #3a7a8a;
}

/* About Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #3a7a8a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title h2 {
    font-size: 42px;
    margin-top: 10px;
}

/* Culinary Art Section */
.culinary-section {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 100px 0;
}

.culinary-image {
    flex: 1;
    position: relative;
}

.culinary-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
}

.culinary-content {
    flex: 1;
}

.culinary-content span {
    color: #3a7a8a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.culinary-content h2 {
    font-size: 42px;
    margin: 15px 0 25px;
}

.culinary-content p {
    color: #666;
    margin-bottom: 20px;
}

/* Timeline History Style */
.history-timeline {
    margin: 30px 0;
}

.timeline-item {
    margin-bottom: 30px;
}

.timeline-year {
    font-size: 28px;
    font-weight: 700;
    color: #3a7a8a;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.timeline-item p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.history-quote {
    font-style: italic;
    font-size: 18px;
    color: #3a7a8a;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

/* Delicious Food Section */
.delicious-section {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 100px 0;
}

.delicious-content {
    flex: 1;
}

.delicious-content span {
    color: #3a7a8a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.delicious-content h2 {
    font-size: 42px;
    margin: 15px 0 25px;
}

.delicious-content p {
    color: #666;
    margin-bottom: 30px;
}

.delicious-image {
    flex: 1;
    position: relative;
}

.delicious-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
}

/* Features Section */
.features {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('images/batis4.PNG') center/cover fixed;
    padding: 100px 0;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 50px;
    color: #3a7a8a;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: #fff;
}

.menu-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.menu-intro p {
    color: #666;
}

.menu-category {
    margin-bottom: 50px;
}

.menu-category h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
}

.menu-category h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #3a7a8a;
    margin: 15px auto 0;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 60px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.menu-item-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item-content {
    flex: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.menu-item-header h4 {
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.menu-item-header .price {
    color: #3a7a8a;
    font-weight: 700;
}

.menu-item-content p {
    color: #999;
    font-size: 14px;
}

/* Parallax Section */
.parallax-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/batis2.PNG') center/cover fixed;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reviews Section (Elfsight Google Reviews) */
.reviews-section {
    padding: 100px 0;
    background: #1a1a1a;
    color: #fff;
}

.reviews-section .section-title span {
    color: #3a7a8a;
}

.reviews-section .section-title h2 {
    color: #fff;
}

/* Homepage News Section */
.home-news-section {
    padding: 100px 0;
    background: #f6f2ea;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.home-news-card {
    height: 100%;
}

.home-news-card .news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-news-card .news-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-news-card .news-card-content p {
    flex: 1;
}

.home-news-actions {
    margin-top: 40px;
    text-align: center;
}

/* Reservation Section */
.reservation {
    padding: 100px 0;
    background: #fff;
}

/* Map Section */
.map-section {
    height: 400px;
    background: #ddd;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column p {
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    border-color: #3a7a8a;
    color: #3a7a8a;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 13px;
}

/* Blog Styles */
.blog-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-card-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card-content .read-more {
    color: #3a7a8a;
    font-weight: 600;
    font-size: 14px;
}

/* Single Post */
.single-post {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.single-post h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.single-post .post-meta {
    color: #999;
    margin-bottom: 30px;
}

.single-post .post-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-post .post-content p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .culinary-section,
    .delicious-section {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ARTICLE/SINGLE POST STYLES
   ======================================== */

/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, #1a3a4a 0%, #2d5a6a 100%);
    padding: 40px 0 20px;
    color: #fff;
    text-align: center;
}

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

.article-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
}

.article-title {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.article-meta i {
    margin-right: 8px;
    color: #d4af37;
}

/* Article Content Section */
.article-section {
    padding: 60px 0 80px;
    background: #f5f5f5;
}

.article-card {
    max-width: 800px;
    margin: -60px auto 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}

.article-featured-img {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 50px;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body h2 {
    font-size: 28px;
    margin: 35px 0 20px;
    color: #1a1a1a;
}

.article-body h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #1a1a1a;
}

.article-body ul, .article-body ol {
    margin: 20px 0 25px 25px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    border-left: 4px solid #d4af37;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f9f9f9;
    font-style: italic;
    font-size: 18px;
    color: #555;
    border-radius: 0 10px 10px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.article-body a {
    color: #3a7a8a;
    text-decoration: underline;
}

.article-body a:hover {
    color: #d4af37;
}

/* Article Tags */
.article-tags {
    padding: 0 50px 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    margin: 0 50px;
    padding-top: 30px;
}

.article-tag {
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.article-tag:hover {
    background: #d4af37;
    color: #fff;
}

/* Article Navigation */
.article-nav {
    padding: 30px 50px 50px;
    text-align: center;
}

/* Responsive Article */
@media (max-width: 768px) {
    .article-hero {
        padding: 120px 0 60px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-card {
        margin-top: -40px;
        border-radius: 15px;
    }

    .article-body {
        padding: 30px;
        font-size: 16px;
    }

    .article-tags {
        margin: 0 30px;
        padding: 20px 0;
    }

    .article-nav {
        padding: 20px 30px 40px;
    }
}

/* =================================
   NEWS PAGE STYLES
   ================================= */

/* Page Hero (for News and other pages) */
.page-hero {
    background: linear-gradient(135deg, #1a3a4a 0%, #2d5a6a 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: #fff;
}

.page-hero-content span {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #f5f5f5;
}

/* News Grid - Featured Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* First item featured */
.news-grid .news-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.news-grid .news-card:first-child .news-card-image {
    height: 100%;
    min-height: 400px;
}

.news-grid .news-card:first-child .news-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 40px;
    color: #fff;
}

.news-grid .news-card:first-child .news-card-content h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
}

.news-grid .news-card:first-child .news-card-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

.news-grid .news-card:first-child .news-card-date {
    color: rgba(255,255,255,0.7);
}

.news-grid .news-card:first-child:hover .news-card-content h3 {
    color: #d4af37;
}

/* News Card */
.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.news-card:hover .news-card-image::after {
    opacity: 1;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a4a 0%, #2d5a6a 100%);
    color: rgba(255,255,255,0.2);
    font-size: 50px;
}

.news-card-content {
    padding: 28px;
}

.news-card-date {
    display: inline-flex;
    align-items: center;
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

.news-card-date i {
    margin-right: 8px;
    color: #d4af37;
    font-size: 12px;
}

.news-card-content h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s;
}

.news-card:hover .news-card-content h3 {
    color: #3a7a8a;
}

.news-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.news-card-more {
    display: inline-flex;
    align-items: center;
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.news-card-more i {
    margin-left: 8px;
    font-size: 11px;
    transition: transform 0.3s;
}

.news-card:hover .news-card-more {
    color: #b8962d;
}

.news-card:hover .news-card-more i {
    transform: translateX(5px);
}

/* News Pagination */
.news-pagination {
    margin-top: 60px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 5px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    width: auto;
    padding: 0 20px;
    border-radius: 25px;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #d4af37;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* News Empty State */
.news-empty {
    text-align: center;
    padding: 100px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.news-empty i {
    font-size: 70px;
    color: #ddd;
    margin-bottom: 25px;
    display: block;
}

.news-empty h3 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.news-empty p {
    color: #666;
    margin-bottom: 35px;
    font-size: 16px;
}

/* Responsive News Grid */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid .news-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .news-grid .news-card:first-child .news-card-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .news-section {
        padding: 60px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-news-section {
        padding: 70px 0;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .news-grid .news-card:first-child {
        grid-column: span 1;
    }

    .news-grid .news-card:first-child .news-card-image {
        min-height: 250px;
    }

    .news-grid .news-card:first-child .news-card-content {
        padding: 25px;
    }

    .news-grid .news-card:first-child .news-card-content h3 {
        font-size: 22px;
    }

    .news-card-image {
        height: 200px;
    }

    .news-card-content {
        padding: 22px;
    }
}
