/*
Theme Name: Angelos Ristorante
Theme URI: http://example.com/angelos-ristorante
Author: Antigravity
Author URI: http://example.com/
Description: A custom WordPress theme for Angelos Ristorante, inspired by Fratelli Ponteland.
Version: 1.5.0
Text Domain: angelos-ristorante
*/

/* Design System */
:root {
    --primary-color: #252f38;
    --bg-dark: #0b1116;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Playfair Display', serif;
    --font-logo: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --charcoal: #252f38;
    --light-gray: #f1f0ee;
}

/* Base Overrides */
body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.letter-spacing-5 {
    letter-spacing: 5px;
}

.text-gold {
    color: var(--primary-color) !important;
}

.font-logo {
    font-family: var(--font-logo) !important;
}

/* Header & Nav */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.top-bar {
    padding: 15px 0 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.main-nav-container {
    padding: 0;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 3.2rem;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
    line-height: 1;
}

.header-logo img.custom-logo {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

.custom-footer-logo img.custom-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.navbar-nav .nav-link {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: #fff !important;
    padding: 0.5rem 1.4rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.header-actions .btn {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-width: 1px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-youtube-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio (100 / 16 * 9) */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio (100 * 16 / 9) */
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    /* Prevent interacting with the YT player */
}

.hero-youtube-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-branding h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(6rem, 15vw, 15rem);
    line-height: 0.9;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 50px;
    /* Increased spacing to description */
    font-weight: 500;
}

.hero-welcome {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-discover {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 40px 0 !important;
}

.hero-bottom-bar .col-md-4 {
    font-size: 0.82rem;
    letter-spacing: 2.5px;
}

.bottom-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

/* Welcome Section */
.welcome-section {
    position: relative;
    padding: 0;
    margin-top: -100px;
    /* Pushed down to reveal discover arrow */
    margin-bottom: -150px;
    /* Negative margin to overlap section below */
    z-index: 50;
    /* Higher z-index to fly over following content */
}

@media (max-width: 767.98px) {
    .welcome-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 60px 0 !important;
    }

    .welcome-card {
        padding: 0 !important;
    }

    .welcome-inner-content {
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 30px 20px !important;
    }
}

.welcome-card {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e5e5e5 !important;
}

.welcome-action-bar {
    background-color: #fff;
}

.dot-separator {
    color: #252f38;
    font-size: 0.5rem;
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    .dot-separator {
        display: none !important;
    }

    .welcome-actions {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .welcome-actions .btn {
        width: 100% !important;
        margin: 0 !important;
    }
}

.welcome-inner-content h2 {
    font-family: var(--font-logo);
    line-height: 1.1;
}

@media (max-width: 767.98px) {
    .welcome-inner-content h2 {
        font-size: 2.2rem !important;
    }
}

.welcome-card p {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Events Split */
.event-box {
    height: 650px !important;
}

.event-box .overlay h3 {
    font-family: var(--font-logo);
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 500;
}

/* Menus Section */
.menus-section .section-title h2 {
    font-size: 5rem;
    font-weight: 400;
}

.menu-food-card h4 {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 400;
}

/* Instagram */
.instagram-sidebar {
    background: #1a2228 !important;
}

.instagram-sidebar p {
    font-size: 0.85rem;
    letter-spacing: 3px;
}

/* Reviews */
.reviews-section .review-quote h2 {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 2.8rem;
    line-height: 1.2;
}

/* Footer Redesign (1:1 Parity) */
.site-footer {
    background-color: #f0f0ee !important;
    color: #252f38 !important;
    padding-top: 120px !important;
    padding-bottom: 20px !important;
    border-top: none;
}

.footer-logo {
    text-align: center;
}

.footer-logo .logo-text {
    font-family: var(--font-logo);
    font-size: 5rem;
    color: #252f38;
    font-weight: 500;
}

.footer-logo .subtitle {
    color: #252f38;
    opacity: 0.8;
}

.footer-main-row {
    margin-top: 80px;
}

.footer-col {
    position: relative;
    padding-bottom: 40px;
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #252f38;
}

.footer-text {
    font-size: 0.82rem;
    line-height: 1.8;
    color: #252f38;
}

.footer-text strong {
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #79cc83;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(121, 204, 131, 0.5);
}

.border-start-md {
    border-left: 1px solid rgba(37, 47, 56, 0.1);
}

.border-top-light {
    border-top: none !important;
}

.site-info {
    font-size: 0.65rem;
    letter-spacing: 1px;
}

/* Responsive Separators */
@media (max-width: 991.98px) {
    .border-start-md {
        border-left: none;
        border-top: 1px solid rgba(37, 47, 56, 0.1);
        padding-top: 40px;
        margin-top: 20px;
    }
}

.footer-map-section {
    line-height: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer-map-section iframe {
    width: 100% !important;
    display: block;
    transition: filter 0.3s ease;
}

.footer-map-section:hover iframe {
    filter: grayscale(0.2) contrast(1) opacity(1) !important;
}

/* Menu Tab Section */
.menus-section .nav-pills .nav-link {
    background-color: #f1f0ee;
    color: #252f38;
    padding: 15px 10px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.menu-tab-section .nav-pills .nav-link.active {
    background-color: #000;
    color: #fff;
}

.menu-list .menu-item:first-child {
    padding-top: 0 !important;
}

.menu-list .menu-item h4 {
    font-size: 1rem;
    color: #252f38;
}

.menu-list .menu-item .text-muted p {
    margin-bottom: 0;
}

.menu-cat-image {
    background-color: #f1f0ee;
}

@media (max-width: 991.98px) {
    .menus-section .nav-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .menus-section .nav-pills .nav-item {
        margin: 0 !important;
    }

    .menus-section .nav-pills .nav-link {
        font-size: 0.75rem;
        padding: 12px 10px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .menus-section .nav-pills {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Inline Style Externalization Utilities */
.hero-swirl {
    width: 40px;
    opacity: 0.8;
}

.welcome-inner-content {
    background-color: var(--light-gray);
}

.welcome-title {
    font-size: 3.5rem;
}

.welcome-swirl {
    width: 50px;
    opacity: 0.3;
}

.welcome-swirl-flipped {
    transform: scaleX(-1);
}

.event-box-overlay-title {
    max-width: 450px;
    background: rgba(37, 47, 56, 0.85);
    padding: 25px 20px;
    letter-spacing: 1px;
}

.menu-section-title {
    font-size: 4rem;
}

.menu-cat-image img {
    height: 500px;
    object-fit: cover;
}

.instagram-grid img {
    aspect-ratio: 1.2;
    object-fit: cover;
}

.footer-google-map {
    border: 0;
    filter: grayscale(1) contrast(0.8) opacity(0.6);
    display: block;
}

.charcoal-bg {
    background-color: var(--charcoal) !important;
}

/* Slick Carousel Overrides */
.events-carousel .slick-track {
    display: flex !important;
}

.events-carousel .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.events-carousel .slick-list {
    margin: 0;
}

.events-carousel .event-box {
    margin: 0;
    aspect-ratio: 1.5;
    height: auto;
}

.events-carousel .slick-prev,
.events-carousel .slick-next {
    z-index: 100;
    width: 60px;
    height: 60px;
    background: rgba(37, 47, 56, 0.8) !important;
    transition: all 0.3s ease;
}

.events-carousel .slick-prev {
    left: 30px;
}

.events-carousel .slick-next {
    right: 30px;
}

.events-carousel .slick-prev:hover,
.events-carousel .slick-next:hover {
    background: #252f38 !important;
}

@media (max-width: 767.98px) {
    .events-carousel .event-box {
        aspect-ratio: 4/5;
    }

    .events-carousel .event-box .overlay {
        padding: 2rem !important;
    }

    .events-carousel .event-box .overlay h3 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .event-box-overlay-title {
        padding: 15px 15px !important;
    }

    .events-carousel .slick-prev,
    .events-carousel .slick-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 991.98px) {
    .welcome-section {
        margin-top: 0;
        margin-bottom: 0;
        padding: 50px 0;
    }

    .welcome-card {
        padding: 40px 20px !important;
    }

    .event-box {
        aspect-ratio: 1 !important;
    }
}

/* ------------------------------------- */
/* Instagram Section: Charcoal Asymmetric */
/* ------------------------------------- */

.editorial-section {
    padding: 120px 0;
    background-color: var(--charcoal);
    color: #fff;
    overflow: hidden;
}

.editorial-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 100px;
    /* Increased spacing from gallery */
}

.editorial-tag {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.editorial-title {
    font-family: var(--font-logo);
    font-size: 5rem;
    line-height: 1;
    color: #fff;
    margin-bottom: 30px;
}

.editorial-handle {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.editorial-handle:hover {
    background: #fff;
    color: var(--charcoal);
}

.editorial-gallery {
    position: relative;
    height: 650px;
}

.editorial-img {
    position: absolute;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
}

/* Tighter overlaps: increased width/height and pulled in coordinates */
.ed-img-1 {
    width: 45%;
    height: 340px;
    top: 0;
    left: 0;
    z-index: 2;
}

.ed-img-2 {
    width: 55%;
    height: 380px;
    top: 60px;
    right: 5%;
    z-index: 5;
}

.ed-img-3 {
    width: 38%;
    height: 260px;
    bottom: 80px;
    left: 10%;
    z-index: 4;
}

.ed-img-4 {
    width: 48%;
    height: 320px;
    bottom: 0;
    right: -5%;
    z-index: 3;
}

.ed-img-5 {
    width: 35%;
    height: 240px;
    top: -20px;
    right: -10px;
    z-index: 1;
    opacity: 0.7;
}

.ed-img-6 {
    width: 38%;
    height: 260px;
    bottom: -30px;
    left: -10px;
    z-index: 6;
}

/* Responsive adjustments for the Editorial stack */
@media (max-width: 991.98px) {
    .editorial-section {
        padding: 80px 0;
    }

    .editorial-text {
        text-align: center;
        padding-left: 0;
        margin-bottom: 50px;
    }

    .editorial-title {
        font-size: 3.5rem;
    }

    .editorial-gallery {
        height: 550px;
    }

    .ed-img-1 {
        width: 50%;
        height: 260px;
    }

    .ed-img-2 {
        width: 60%;
        height: 300px;
        right: 0;
        top: 40px;
    }

    .ed-img-3 {
        width: 45%;
        height: 220px;
        left: 5%;
        bottom: 60px;
    }

    .ed-img-4 {
        width: 55%;
        height: 240px;
        right: -5%;
    }

    .ed-img-5 {
        display: none;
    }

    /* Hide some overlapping elements on small screens */
    .ed-img-6 {
        width: 40%;
        height: 180px;
        left: -5%;
    }
}

@media (max-width: 575.98px) {
    .editorial-gallery {
        height: 450px;
    }

    .ed-img-1 {
        width: 55%;
        height: 200px;
    }

    .ed-img-2 {
        width: 65%;
        height: 240px;
        right: -5%;
    }

    .ed-img-3 {
        display: none;
    }

    /* Simplify for mobile */
    .ed-img-4 {
        width: 70%;
        height: 200px;
        right: -10%;
    }

    .ed-img-6 {
        width: 50%;
        height: 160px;
        bottom: -10px;
        left: -5%;
    }
}

/* ------------------------------------- */
/* Reviews Section (Concept 1)         */
/* ------------------------------------- */

.review-split {
    background: #fff;
    color: var(--charcoal);
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.split-title {
    font-family: var(--font-logo);
    font-size: 4rem;
    line-height: 1;
    color: var(--charcoal);
}

.split-content {
    border-left: 2px solid #d4af37;
    padding-left: 40px;
    margin-left: 20px;
}

.split-quote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--charcoal);
}

.split-author {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

.split-date {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

.split-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 991.98px) {
    .review-split {
        padding: 80px 0;
        text-align: center;
    }

    .split-content {
        border-left: none;
        border-top: 2px solid #d4af37;
        padding-left: 0;
        padding-top: 40px;
        margin-left: 0;
        margin-top: 20px;
    }

    .split-quote {
        font-size: 1.8rem;
    }

    .review-meta {
        justify-content: center !important;
        text-align: center;
        margin-bottom: 30px;
    }

    .review-controls {
        justify-content: center;
        margin-top: 20px;
    }
}

.review-controls {
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (max-width: 991.98px) {
    .review-controls {
        position: static;
        margin-top: 30px;
    }
}

/* ------------------------------------- */
/* Single Event Template                 */
/* ------------------------------------- */

.single-event-hero {
    position: relative;
    padding: 150px 0 100px;
    /* Top padding to clear the 100px fixed header */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--charcoal);
    /* Fallback dark background */
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.single-event-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 47, 56, 0.85);
    /* Charcoal tint overlay */
    z-index: 1;
}

.single-event-hero .entry-title {
    font-size: 4rem;
    letter-spacing: -1px;
}

.single-event-content-section {
    position: relative;
    padding: 0;
    margin-top: -100px;
    /* Pulls container up to overlap hero */
    margin-bottom: -150px;
    z-index: 50;
    /* Ensure it floats above the hero and next section */
}

.single-event-card {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #e5e5e5 !important;
}

.single-event-card p {
    margin-bottom: 1.5rem;
}

.single-event-content p {
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .single-event-hero {
        padding: 120px 0 60px;
    }

    .single-event-hero .entry-title {
        font-size: 2.5rem;
    }

    .single-event-content-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 50px 0 !important;
    }

    .single-event-card {
        padding: 30px 20px !important;
    }
}