/**
* Template Name: Restaurantly — Titanic Restaurant Edition
* Brand Colors:
*   Primary Crimson : #4e1734
*   Accent Crimson  : #c0152a
*   Teal Accent     : #4d7478
*   Dark Navy       : #1b2842
*   Dark BG         : #0d1117
*/

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  --titanic-primary:   #4e1734;
  --titanic-crimson:   #c0152a;
  --titanic-teal:      #4d7478;
  --titanic-navy:      #1b2842;
  --titanic-dark:      #0d1117;
  --titanic-dark2:     #111820;
  --titanic-gold:      #c0a060;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #333;
}

a {
  color: var(--titanic-crimson);
  text-decoration: none;
}

a:hover {
  color: #e83050;
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--titanic-dark);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--titanic-dark2);
  border-top-color: var(--titanic-crimson);
  border-bottom-color: var(--titanic-crimson);
  border-radius: 50%;
  width: 60px; height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px; bottom: 15px;
  z-index: 996;
  width: 44px; height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  border: 2px solid var(--titanic-crimson);
}

.back-to-top i {
  font-size: 28px;
  color: var(--titanic-crimson);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--titanic-crimson);
  color: #fff;
}

.back-to-top:hover i { color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  height: 40px;
  font-size: 14px;
  background: var(--titanic-primary);
  transition: all 0.5s;
  z-index: 996;
}

#topbar.topbar-scrolled { top: -40px; }

#topbar .contact-info i {
  font-style: normal;
  color: var(--titanic-gold);
}

#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .languages ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
  color: var(--titanic-gold);
}

#topbar .languages ul a { color: #fff; }
#topbar .languages ul li+li { padding-left: 10px; }
#topbar .languages ul li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: rgba(255,255,255,0.5);
  content: "/";
}

/* Mobile: hide clock text, keep phone */
@media (max-width: 575px) {
  #topbar .contact-info .ms-4 { display: none !important; }
  #topbar { font-size: 13px; }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: rgba(13, 17, 23, 0.97);
  border-bottom: 2px solid var(--titanic-primary);
  transition: all 0.5s;
  z-index: 997;
  padding: 12px 0;
  top: 40px;
}

#header.header-scrolled {
  top: 0;
  background: rgba(13, 17, 23, 0.99);
  border-bottom: 2px solid var(--titanic-crimson);
}

#header .logo {
  font-size: 28px;
  margin: 0; padding: 0;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

#header .logo a { color: #fff; }

#header .logo img {
  max-height: 52px;
}

/*--------------------------------------------------------------
# Order / Checkout Button
--------------------------------------------------------------*/
.book-a-table-btn {
  margin: 0 0 0 15px;
  border: 2px solid var(--titanic-crimson);
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
  white-space: nowrap;
}

.book-a-table-btn:hover {
  background: var(--titanic-crimson);
  color: #fff;
}

@media (max-width: 992px) {
  .book-a-table-btn {
    margin: 0 15px 0 0;
    padding: 8px 16px;
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu — Desktop
--------------------------------------------------------------*/
.navbar { padding: 0; }

.navbar ul {
  margin: 0; padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li { position: relative; }

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--titanic-gold);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0; padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.15);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li { min-width: 200px; }
.navbar .dropdown ul a { padding: 10px 20px; color: #444; }
.navbar .dropdown ul a:hover { color: var(--titanic-crimson); }
.navbar .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }

/*--------------------------------------------------------------
# Navigation Menu — Mobile
--------------------------------------------------------------*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}

.navbar-mobile {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(13, 17, 23, 0.95);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px; right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px; right: 15px; bottom: 15px; left: 15px;
  padding: 10px 0;
  border-radius: 6px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 20px;
  font-size: 16px;
  color: var(--titanic-primary);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--titanic-crimson);
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.navbar-mobile .dropdown > .dropdown-active { display: block; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  position: relative;
  padding: 0;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
}

#hero .container { padding-top: 110px; }

@media (max-width: 992px) {
  #hero .container { padding-top: 98px; }
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

#hero h1 span { color: var(--titanic-gold); }

#hero h2 {
  color: #eee;
  margin: 10px 0 0 0;
  font-size: 20px;
}

#hero .btns { margin-top: 30px; }

#hero .btn-menu,
#hero .btn-book {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.3s;
  line-height: 1;
  color: white;
  border: 2px solid var(--titanic-crimson);
}

#hero .btn-menu:hover,
#hero .btn-book:hover {
  background: var(--titanic-crimson);
  color: #fff;
}

#hero .btn-book { margin-left: 15px; }

@media (min-width: 1024px) {
  #hero { background-attachment: fixed; }
}

@media (max-width: 992px) {
  #hero .play-btn { margin-top: 30px; }
}

@media (max-height: 500px) {
  #hero { height: auto; }
  #hero .container { padding-top: 130px; padding-bottom: 60px; }
}

@media (max-width: 768px) {
  #hero h1 { font-size: 30px; line-height: 38px; }
  #hero h2 { font-size: 16px; line-height: 24px; }
  #hero .btn-menu,
  #hero .btn-book {
    padding: 10px 20px;
    font-size: 12px;
    display: block;
    width: fit-content;
    margin-bottom: 10px;
  }
  #hero .btn-book { margin-left: 0; }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section { padding: 60px 0; overflow: hidden; }

.section-bg { background-color: var(--titanic-dark); }

.section-title { padding-bottom: 40px; }

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgba(255,255,255,0.2);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--titanic-gold);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  background: url("../img/about-bg.jpg") center center;
  background-size: cover;
  position: relative;
  padding: 80px 0;
}

.about .content {
  color: #f0f0f0;
  position: relative;
  z-index: 1;
}

.about:before {
  content: "";
  background: rgba(10, 10, 10, 0.62);
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
  pointer-events: none;   /* never block clicks */
  z-index: 0;
}

.about .about-img {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.about .about-img img {
  max-width: 100%;
  position: relative;
}

.about .about-img::before {
  position: absolute;
  left: 20px; top: 20px;
  width: 60px; height: 60px;
  z-index: 1;
  content: "";
  border-left: 5px solid var(--titanic-primary);
  border-top: 5px solid var(--titanic-primary);
  transition: 0.5s;
}

.about .about-img::after {
  position: absolute;
  right: 20px; bottom: 20px;
  width: 60px; height: 60px;
  z-index: 2;
  content: "";
  border-right: 5px solid var(--titanic-primary);
  border-bottom: 5px solid var(--titanic-primary);
  transition: 0.5s;
}

.about .about-img:hover { transform: scale(1.03); }
.about .about-img:hover::before { left: 10px; top: 10px; }
.about .about-img:hover::after { right: 10px; bottom: 10px; }

.about .content h3 {
  font-weight: 600;
  font-size: 24px;
  color: var(--titanic-gold);
}

.about .content p { color: #ddd; line-height: 1.8; }

.about .content .btn-menu {
  display: inline-block;
  background: var(--titanic-primary);
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s;
  border: 2px solid var(--titanic-primary);
}

.about .content .btn-menu:hover {
  background: var(--titanic-crimson);
  border-color: var(--titanic-crimson);
}

@media (min-width: 1024px) { .about { background-attachment: fixed; } }

@media (max-width: 768px) {
  .about { padding: 50px 0; }
  .about .content h3 { font-size: 20px; }
}

/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
#menu {
  background: url("../img/menu-bg.jpg") top center;
  background-size: cover;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

#menu:before {
  content: "";
  background: rgba(0,0,0,0.6);
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
}

#menu .container {
  padding-top: 150px;
  padding-bottom: 20px;
}

@media (max-width: 992px) {
  #menu .container { padding-top: 100px; }
}

@media (max-width: 768px) {
  #menu .container { padding-top: 90px; }
}

/*--------------------------------------------------------------
# Cart Section
--------------------------------------------------------------*/
#cart {
  background: url("../img/cart-bg.jpg.jpg") top center;
  background-size: cover;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

#cart .container {
  padding-top: 150px;
  padding-bottom: 20px;
}

#cart .forminfo {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: all 0.5s;
  padding: 15px;
}

@media (max-width: 992px) {
  #cart .container { padding-top: 100px; }
}

@media (max-width: 768px) {
  #cart .container { padding-top: 90px; }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact { background: var(--titanic-dark2); }

.contact .info { width: 100%; }

.contact .info i {
  font-size: 20px;
  float: left;
  width: 44px; height: 44px;
  background: var(--titanic-crimson);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #bab3a6;
}

.contact .info p a { color: var(--titanic-gold); }
.contact .info p a:hover { color: #fff; }

.contact .info .open-hours,
.contact .info .email,
.contact .info .phone,
.contact .info .whatsapp {
  margin-top: 35px;
}

.contact .php-email-form { width: 100%; }
.contact .php-email-form .form-group { padding-bottom: 8px; }

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: #1a2030;
  border-color: #2e3a50;
  color: white;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder { color: #7a8aa0; }

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus { border-color: var(--titanic-crimson); }

.contact .php-email-form input { height: 44px; }
.contact .php-email-form textarea { padding: 10px 12px; }

.contact .php-email-form button[type=submit] {
  background: var(--titanic-crimson);
  border: 0;
  padding: 12px 40px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--titanic-primary);
}

@keyframes animate-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--titanic-dark);
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: var(--titanic-dark2);
  border-top: 2px solid var(--titanic-primary);
  border-bottom: 1px solid #1e2530;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info { margin-bottom: 30px; }

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: var(--titanic-gold);
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Playfair Display", serif;
  color: #ccc;
}

#footer .footer-top .footer-info p a {
  color: var(--titanic-gold);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #1e2d45;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px; height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--titanic-crimson);
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--titanic-gold);
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links { margin-bottom: 30px; }

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0; margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--titanic-crimson);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child { padding-top: 0; }

#footer .footer-top .footer-links ul a {
  color: #ccc;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover { color: var(--titanic-gold); }

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  color: #aaa;
}

#footer .copyright strong span { color: var(--titanic-gold); }

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

#footer .credits a { color: var(--titanic-teal); }

/*--------------------------------------------------------------
# Mobile Layout Improvements
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* Footer stacks nicely */
  #footer .footer-top .row > div { margin-bottom: 20px; }

  /* Contact section info spacing */
  .contact .info .open-hours,
  .contact .info .email,
  .contact .info .phone,
  .contact .info .whatsapp {
    margin-top: 25px;
  }

  /* Section titles scale down */
  .section-title p { font-size: 26px; }
}
