/* SPLASH CONTAINER */

#splash {
    position: fixed;
    inset: 0;
    background: #ebe9dd;
    z-index: 99999; /* ensure it sits above navbar + hamburger */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.splash-active {
    overflow: hidden;
}

/* HIDE NAV + HAMBURGER WHILE SPLASH IS ACTIVE */

body.splash-active .hamburger,
body.splash-active .nav-social,
body.splash-active .nav-left,
body.splash-active .nav-right {
    visibility: hidden !important;
}

.seo-h1,
.seo-h2,
.seo-h3 {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* SPLASH ELEMENTS */

.splash-logo,
.splash-title {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.splash-logo {
    width: 520px;
    height: auto;
}

.splash-title {
    margin-top: 20px;
    font-size: 28px;
    color: #ad4100;
    letter-spacing: 1px;
    font-weight: 700;
}

/* FADE-IN */

.splash-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* FADE-OUT */

.splash-fade-out {
    animation: splashFadeOut 1s ease forwards;
}

@keyframes splashFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* MOBILE SPLASH SITE */

@media (max-width: 600px) {
    .splash-logo {
        width: 260px; /* smaller mobile size */
    }

    .splash-title {
        font-size: 22px;
        line-height: 1.2;
    }
}

/* PLATES AND GRAPES FONT LOAD */

@font-face {
    font-family: "Providence Sans Pro";
    src: url("../fonts/providencesansbold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Providence Sans Regular";
    src: url("../fonts/providencesanregular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

/* GLOBAL PAGE STYLING */

body {
    margin: 0;
    padding: 0;
    background: #ebe9dd;
    font-family: "Providence Sans Pro", sans-serif;
}

/* ANNOUNCEMENT BAR */

.announcement-bar {
    background: #ad4100;
    color: #ffffff;
    text-align: center;
    padding: 16px 10px;
    font-size: 14px;
    letter-spacing: 1.2px;
}

/* NAVIGATION BAR */

.navbar {
    background: #ebe9dd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    z-index: 1000;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 20px;
}

.nav-social svg {
    width: 22px;
    height: 22px;
    fill: #ad4100;
    transition: opacity 0.2s ease;
}

.nav-social a:hover svg {
    opacity: 0.7;
}

@media (max-width: 768px) {

    /* Left column: logo */
    .nav-left {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    /* Center column: icons */
    .nav-center {
        flex: 1;
        display: flex;
        justify-content: center;
        margin: 0; 
    }

    /* Right column: hamburger */
    .hamburger {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        z-index: 9999;

        position: relative;
        right: -12px;
    }

    /* Hide desktop menu on mobile */
    .nav-right {
        display: none;
    }
}


/* LOGO */

.nav-logo {
    height: 60px;
    width: auto;
}

/* MENU LINKS */

.nav-right a {
    margin-left: 25px;
    text-decoration: none;
    color: #ad4100;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-right a:hover {
    opacity: 0.7;
}

/* DIVIDER LINE */

.nav-divider {
    width: 100%;
    height: auto;
    background: #ad4100;
    position: relative;
    z-index: 999;
}

/* HERO SLIDESHOW */

.hero-slideshow {
    width: 100%;
    height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* INSTANT FIRST SLIDE VISIBILITY */

.hero-slideshow .slide:first-child {
    opacity: 1;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

/* MOBILE HERO HEIGHT */

@media (max-width: 600px) {
    .hero-slideshow {
        height: 65vh;
    }
}

/* HERO OVERLAY */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hero-text {
    background: rgba(0, 0, 0, 0.65);
    padding: 25px 35px;
    border-radius: 8px;
    color: #ffffff;
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 26px;
    text-align: center;
    max-width: 60%;
    line-height: 1.4;
}

/* MOBILE OVERLAY TEXT */

@media (max-width: 600px) {
    .hero-text {
        font-size: 18px;
        padding: 18px 22px;
        max-width: 75%;
    }
}

/* HERO BUTTON */

.hero-button {
    margin-top: 25px;
    background: #ffffff;
    color: #ad4100;
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    width: auto;
    max-width: 70%;
    text-align: center;
    pointer-events: auto;
}

.hero-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* HAMBURGER ICON (hidden on desktop) */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 9999;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #ad4100;
    border-radius: 2px;
}

/* =============================== */
/* MOBILE MENU */
/* =============================== */

.mobile-menu {
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    background: #ebe9dd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 2000;
}

.mobile-menu.open {
    max-height: 350px;
    padding: 20px 0;
}

.mobile-menu a {
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 26px;
    color: #ad4100;
    text-decoration: none;
    font-weight: 700;
}

/* MOBILE BREAKPOINT */

@media (max-width: 900px) {
    .nav-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ABOUT US SECTION */

.about-section {
    background: #82a497;
    padding: 10px 0;
}

/* 50/50 SPLIT CONTAINER */

.about-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT + RIGHT HALVES */

.about-left,
.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* FIX: both sides top-aligned */
}

/* 3x3 GRID */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 420px;
}

.about-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* ABOUT TEXT BLOCK */

.about-text {
    max-width: 450px;
    text-align: center;
    color: white;
    margin-top: 0;
}

.about-text h2 {
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 42px;
    margin-top: 0;      /* FIX: remove default top margin */
    margin-bottom: 20px;
}

.about-text p {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

/* MOBILE STACKING ABOUT SECTION */

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .about-left,
    .about-right {
        flex: unset;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .about-grid {
        max-width: 350px;
    }

    .about-text {
        max-width: 90%;
    }

    .about-left {
        order: 2;
    }

    .about-right {
        order: 1;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding-top: 5px;
    }

    .about-container {
        padding-top: 5px;
    }
}

/* MENU INTRO SECTION */

.menu-intro {
    background: #ebe9dd;
    padding: 30px 0;
    text-align: center;
}

.menu-intro-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* START HIDDEN (scroll-trigger prep) */

.menu-intro h2,
.menu-intro p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* WHEN VISIBLE */

.menu-intro h2.visible {
    animation: slideInLeft 0.9s ease forwards;
}

.menu-intro p.visible {
    animation: slideInRight 0.9s ease forwards;
    animation-delay: 0.2s;
}

/* MENU INTRO HEADER */

.menu-intro h2 {
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 42px;
    color: #ad4100;
    margin-bottom: 20px;
}

/* MENU INTRO PARAGRAPH */

.menu-intro p {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
}

/* MENU INTRO MOBILE */

@media (max-width: 600px) {
    .menu-intro h2 {
        font-size: 32px;
    }

    .menu-intro p {
        font-size: 16px;
    }
}

/* ANIMATIONS */

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* MENU BUTTONS */

.menu-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.menu-btn {
    background: #ffffff;
    color: #ad4100;
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    width: auto;
    max-width: 70%;
    text-align: center;
}

.menu-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* RESERVATIONS SECTION */

.reservations-section {
    background: #ad4100;
    padding: 20px 0;
    text-align: center;
    color: white;
}

.reservations-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.reservations-section h2 {
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.reservations-section p {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 20px auto;
    color: white;
}

.reservation-iframe-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: 30px;
}

.reservation-iframe-wrapper iframe {
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

/* CONTACT SECTION */

.contact-section {
    background: #82a497;
    padding: 30px 0;
    text-align: center;
    color: white;
}

.contact-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.contact-section p {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: white;
}

/* CONTACT FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: none;
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 16px;
    outline: none;
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

/* SEND MESSAGE BUTTON */

.contact-btn {
    background: #ffffff;
    color: #ad4100;
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    width: auto;
    max-width: 70%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.form-success-message {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    background: #ad4100;
    color: white;
    font-size: 1.2rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.form-success-message.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* START HIDDEN (scroll-trigger prep) */

.contact-section h2,
.contact-section p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* WHEN VISIBLE */

.contact-section h2.visible {
    animation: slideInRight 0.9s ease forwards;
}

.contact-section p.visible {
    animation: slideInLeft 0.9s ease forwards;
    animation-delay: 0.2s;
}

@media (max-width: 480px) {
    .contact-form input,
    .contact-form textarea {
        width: 95%;
    }
}

/* SUBSCRIBE SECTION */

.subscribe-section {
    background: #ad4100;
    padding: 50px 20px;
    text-align: center;
    color: #ffffff;
}

/* CONTAINER */
.subscribe-container {
    max-width: 700px;
    margin: 0 auto;
}

/* HEADER */
.subscribe-heading {
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffffff;
}

/* DESCRIPTION TEXT */
.subscribe-text {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 18px;
    margin-bottom: 25px;
    color: #ffffff;
}

/* FORM LAYOUT */
.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* INPUT FIELD */
.subscribe-input {
    padding: 14px 18px;
    border-radius: 8px;
    border: none;
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 16px;
    width: 300px;
    max-width: 100%;
    outline: none;
}

/* SUBMIT BUTTON */

.subscribe-btn {
    background: #ffffff;
    color: #ad4100;
    font-family: "Providence Sans Pro", sans-serif;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.subscribe-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.subscribe-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    background: #ffffff;
    color: #ad4100;
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 16px;
    text-align: center;
    border: 2px solid #ad4100;
}

/* ERROR COLOURS*/

.subscribe-message.error {
    background: #ffffff;
    color: #ad4100;
}

.subscribe-message.success {
    background: #ffffff;
    color: #ad4100;
}


/* MOBILE TWEAKS */
@media (max-width: 480px) {
    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    /* Make input wider + centred */
    .subscribe-input {
        width: 80%;
        max-width: 100%;
        text-align: left;
    }

    /* Make button smaller + centred */
    .subscribe-btn {
        width: auto;
        padding: 10px 20px;
        align-self: center;
    }

    /* Ensure the whole form is centred */
    .subscribe-form {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
}

/* FOOTER SECTION */

.footer-section {
    background: #ebe9dd;
    padding: 10px 0;
    text-align: center;
    color: #ad4100;
}

.footer-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.footer-copy {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
    color: #ad4100;
}

.footer-design {
    font-family: "Providence Sans Regular", sans-serif;
    font-size: 16px;
    color: #ad4100;
}

.footer-design a {
    color: #ad4100;
    text-decoration: none;
    font-weight: 700;
}

.footer-design a:hover {
    opacity: 0.7;
}

/* FULLSCREEN MENU VIEWER */

.menu-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-viewer.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-viewer img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {

    .menu-viewer {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .menu-viewer img {
        max-width: 100vw;
        max-height: 100vh;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .menu-viewer-close {
        top: 15px;
        right: 15px;
        width: 28px;
        height: 28px;
    }
}

.menu-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 6000;
}

.menu-viewer-close::before,
.menu-viewer-close::after {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 32px;
    background: white;
}

.menu-viewer-close::before {
    transform: rotate(45deg);
}

.menu-viewer-close::after {
    transform: rotate(-45deg);
}

@media (max-width: 600px) {
    .menu-viewer-close {
        top: 15px;
        right: 15px;
        width: 26px;
        height: 26px;
    }

    .menu-viewer-close::before,
    .menu-viewer-close::after {
        height: 26px;
        left: 12px;
    }
}

@media (max-width: 768px) {

    /* Force 3-column layout */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-left,
    .nav-social,
    .hamburger {
        flex: 1;
        display: flex;
        align-items: center;
    }

    /* Left column: logo */
    .nav-left {
        justify-content: flex-start;
    }

    /* Center column: icons */
    .nav-social {
        justify-content: center;
        margin-right: 0 !important;
    }

    /* Right column: hamburger */
    .hamburger {
        justify-content: flex-end;
    }

    /* Hide desktop menu */
    .nav-right {
        display: none !important;
    }
}

/* Cookie Buttons – Plates & Grapes Style */

.cookie-btn {
  margin-top: 20px;
  background: #ad4100;
  color: #ffffff;
  font-family: "Providence Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
  width: auto;
  max-width: 70%;
  text-align: center;
  pointer-events: auto;
  border: none;
  cursor: pointer;
}

/* Hover */

.cookie-btn:hover {
  background: #ad4100;
  transform: translateY(-2px);
}

/* Deny button */

.cookie-btn.deny {
  background: #ad4100;
  color: #ffffff;
}

.cookie-btn.deny:hover {
  background: #ad4100;
}

/* Banner container */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 10px;
  z-index: 9999;
}

/* Popup box */

.cookie-box {
  background: #ffffff;
  padding: 12px 15px;
  border-radius: 10px;
  max-width: 360px;
  width: 90%;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-size: 14px;
  line-height: 1.4;
}

/* Buttons container */
.cookie-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Manage Cookies link */
#manage-cookies-link {
  color: #ad4100;
  text-decoration: none;
  font-weight: 700;
}

#manage-cookies-link:hover {
  color: #ad4100;
  text-decoration: underline;
}

.cookie-short {
  font-size: 14px;
  margin-bottom: 10px;
}

/* ----------------------------- */
/* MOBILE IMPROVEMENTS */
/* ----------------------------- */

@media (max-width: 480px) {

  .cookie-box {
    max-width: 320px;
    padding: 10px 12px;
    margin: 0 auto; 
    transform: translateX(-9px); 
  }

  .cookie-info h3,
  .cookie-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .cookie-info p {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .cookie-btn {
    font-size: 16px;
    padding: 8px 18px;
    max-width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 768px) {
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px; 
        left: auto; 
        width: 45px;
        height: 45px;
        background: #ad4100;
        color: #ffffff;
        font-size: 14px;
        font-weight: bold;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 9999;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .back-to-top.hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
    }
 }


