/*
Theme Name: Liberty Kabob
Description: A custom WordPress theme for Liberty Kabob restaurant
Version: 1.0
*/

/*site color variables */
:root {
  --primary-color: rgba(255, 81, 47, 1);
  --secondary-color: rgba(55, 84, 102);
  --secondary-color-opacity: rgba(55, 84, 102, 0.9);
  --sky-blue: #f6fafc;
  --baby-blue: #b3d7e6;
  --header-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Avenir", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: rgba(200, 47, 0, 0.64);
  margin: 0;
  padding: 0;
}

body::before {
  background-image: url("../images/body-background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.3;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--sky-blue);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background: var(--sky-blue);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

#daedabyte-link {
  color: #ff7b36;
  text-decoration: none;
}

#daedabyte-link:hover {
  text-decoration: underline;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo img {
  height: 80px;
  transition: height 0.3s ease;
}

header.scrolled .logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

header.scrolled .nav-links a {
  color: #222;
}

header.scrolled .logo {
  color: #222;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

header.scrolled .mobile-menu-toggle span {
  background-color: #222;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--sky-blue);
  backdrop-filter: blur(10px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin: 2rem 0;
}

.mobile-menu ul li a {
  color: #333;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--primary-color);
}

.mobile-call-button {
  background: var(--primary-color) !important;
  color: var(--sky-blue) !important;
  padding: 1rem 2rem !important;
  border-radius: 25px !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-top: 1rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.mobile-call-button:hover {
  background-color: rgba(255, 81, 47, 0.9) !important;
  transform: scale(1.05) !important;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sky-blue);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-content {
  margin-top: var(--header-height);
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  position: relative;
  transform: translateY(calc(-1 * var(--header-height) / 2));
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/body-background.jpg") center/cover no-repeat;
  opacity: 0.4;
  z-index: 1;
  animation: heroBackgroundMove 20s ease-in-out infinite;
}

@keyframes heroBackgroundMove {
  0%,
  100% {
    transform: scale(1) translateX(0px) translateY(0px);
  }
  25% {
    transform: scale(1.05) translateX(-10px) translateY(-5px);
  }
  50% {
    transform: scale(1.02) translateX(5px) translateY(-10px);
  }
  75% {
    transform: scale(1.03) translateX(-5px) translateY(5px);
  }
}

.hero h1 {
  font-family: "Lora", serif;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  animation: slideUp 1s ease-out;
  position: relative;
  color: var(--sky-blue);
  text-shadow: 0 2px 6px rgba(255, 81, 47, 0.25),
    0 1px 2px rgba(255, 81, 47, 0.15);
}

.hero h1::before {
  content: attr(data-text);
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  height: 100%;
  color: var(--primary-color);
  z-index: -1;
  opacity: 0.3;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: heroParaEntrance 1.5s ease-out 0.3s both;
  position: relative;
  color: rgba(246, 250, 252, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

@keyframes heroParaEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.orange-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), #ff7b36, #ffaa44);
  background-size: 200% 100%;
  margin: 1rem auto;
  animation: dividerGrow 1s ease-out 0.6s both,
    dividerGlow 3s ease-in-out infinite;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 81, 47, 0.3), 0 0 20px rgba(255, 81, 47, 0.2);
  position: relative;
  overflow: hidden;
}

.orange-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

@keyframes dividerGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100px;
    opacity: 1;
  }
}

@keyframes dividerGlow {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(255, 81, 47, 0.3),
      0 0 20px rgba(255, 81, 47, 0.2);
  }
  50% {
    box-shadow: 0 2px 8px rgba(255, 81, 47, 0.5),
      0 0 30px rgba(255, 81, 47, 0.4);
  }
}

.orange-divider-left {
  width: 100px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color), #ff7b36);
  margin: 1rem;
  margin-left: 0;
  animation: slideUp 1s ease-out 0.3s both;
  border-radius: 1px;
  box-shadow: 0 1px 5px rgba(255, 81, 47, 0.3);
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--primary-color);
  color: var(--sky-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
  animation: slideUp 1s ease-out 0.4s both;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(255, 81, 47, 0.3);
  position: relative;
}

header .cta-button {
  background: var(--primary-color);
  color: var(--sky-blue) !important;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(255, 81, 47, 0.3);
  transition: all 0.3s ease;
}

header .cta-button:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: rgba(255, 81, 47, 0.92);
  box-shadow: 0 12px 25px rgba(255, 81, 47, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: rgba(255, 81, 47, 0.92);
  box-shadow: 0 12px 25px rgba(255, 81, 47, 0.4);
}

/* Split Section Styles */
.split-section {
  display: flex;
  min-height: 80vh;
  max-width: 1600px;
  margin: 0 auto;
}

.split-content,
.split-image {
  flex: 1;
  display: flex;
  align-items: center;
}

.split-content {
  padding: 4rem;
  background: var(--sky-blue);
}

.split-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.content-inner {
  max-width: 500px;
  margin: auto;
}

.content-inner h2 {
  font-family: "Lora", serif;
  font-size: 3rem;
  color: #000;
  font-weight: 300;
  line-height: 1.2;
}

.content-inner p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.highlight {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Why Liberty Kabob Section */
.why-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 10;
}

.why-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-section .split-image {
  background-image: url("../images/about.jpg");
}

.why-section,
.chef-section,
.visit-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.why-section.visible,
.chef-section.visible,
.visit-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Banner Section */
.banner-section {
  color: var(--sky-blue);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.banner-section::before {
  background: var(--secondary-color-opacity);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.banner-content {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.banner-section h2 {
  font-family: "Lora", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.banner-section p {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.banner-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.banner-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
  font-size: 4rem;
}

.banner-text {
  min-width: 220px;
  text-align: center;
}

.banner-text h2 {
  font-family: "Lora", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Menu Section */
.menu-section {
  padding: 6rem 2rem;
  background: var(--sky-blue);
  max-width: 1600px;
  margin: auto;
}

.menu-container {
  max-width: 1600px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 2rem;
}

.section-title {
  font-family: "Lora", serif;
  text-align: center;
  font-size: 3rem;
  color: #000;
  font-weight: 300;
  letter-spacing: 1px;
}

#call-to-action {
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.category-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: 600;
}

.category-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.menu-item {
  background: var(--sky-blue);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
}

.menu-item-content {
  padding: 2rem;
}

.menu-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: 600;
}

.menu-item p {
  color: #666;
  line-height: 1.6;
}

.price {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
  display: block;
}

.spice-level {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6b35;
}

.spice-level i {
  font-size: 0.9rem;
}

/* Bread Items Styling */
.bread-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.bread-item {
  background: var(--sky-blue);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.bread-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.bread-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  flex: 1;
}

.bread-price {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.3rem;
  margin-left: 1rem;
}

/* Chef Section */
.chef-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 10;
  margin-top: 0;
  background-color: #ff6b35;
}

.chef-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.chef-section .split-content {
  order: 2;
}

.chef-section .split-image {
  background-image: url("../images/chef.png");
  order: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

/* Visit Us Section */
.visit-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  max-width: 100%;
  box-shadow: none;
}

.visit-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.visit-section .split-content {
  background: var(--secondary-color);
  color: var(--sky-blue);
  justify-content: center;
}

.visit-section .content-inner h2 {
  font-family: "Lora", serif;
  color: var(--sky-blue);
}

.visit-section .content-inner p {
  color: #ccc;
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-item strong {
  color: var(--primary-color);
}

.contact-item a {
  color: var(--sky-blue);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.map-container {
  flex: 1;
  min-height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: var(--sky-blue);
  text-align: center;
  padding: 3rem 2rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
}

footer a {
  color: var(--sky-blue);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
}

/* Fixed Call Button - Mobile Only */
.fixed-call-button {
  position: fixed;
  bottom: 50%;
  right: -50px;
  transform: translateY(50%) rotate(-90deg);
  z-index: 1001;
  background: var(--primary-color);
  color: var(--sky-blue);
  padding: 0.8rem 1.5rem;
  border-radius: 25px 25px 0 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: -5px 0 15px rgba(255, 81, 47, 0.3);
  transition: all 0.3s ease;
  display: none;
  align-items: center;
  gap: 0.5rem;
  animation: pulse 2s infinite;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.fixed-call-button:hover {
  right: -40px;
  box-shadow: -8px 0 20px rgba(255, 81, 47, 0.4);
  background-color: rgba(255, 81, 47, 0.95);
}

.fixed-call-button i {
  font-size: 1rem;
  transform: rotate(90deg);
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(255, 81, 47, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(255, 81, 47, 0.6),
      0 0 0 10px rgba(255, 81, 47, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(255, 81, 47, 0.4);
  }
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bread {
  position: relative;
  background: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.7)),
    url("../images/alo-parah.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* WordPress specific styles */
.wp-post-image {
  max-width: 100%;
  height: auto;
}

.custom-logo-link {
  display: inline-block;
}

.custom-logo {
  height: 80px;
  width: auto;
  transition: height 0.3s ease;
}

header.scrolled .custom-logo {
  height: 50px;
}

/* Responsive Design */
@media (max-width: 1600px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .logo img,
  .custom-logo {
    height: 60px;
  }
  .cta-button {
    padding: 0.8rem 1rem !important;
  }
}

@media (max-width: 1330px) {
  header {
    padding: 0.8rem 0;
  }
  .nav-links a {
    font-size: 1rem;
  }
  header .cta-button {
    font-size: 0.8rem;
  }
  .banner-icon {
    font-size: 3rem;
  }
  .banner-text h2 {
    font-size: 2.5rem;
  }
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .menu-grid .menu-item img {
    height: 300px;
  }
}

@media (max-width: 1024px) {
  header .cta-button {
    font-size: 0.8rem;
  }
  .split-section {
    flex-direction: row;
    min-height: auto;
  }
  .split-content {
    padding: 3rem 2rem;
    order: 1;
  }
  .split-image {
    order: 2;
  }
  .content-inner h2 {
    font-size: 2.5rem;
  }
  .banner-section h2 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .banner-text h2 {
    font-size: 2.5rem;
  }
  .category-title {
    font-size: 1.8rem;
  }
  .menu-item h3 {
    font-size: 1.3rem;
  }
  .banner-icon {
    font-size: 3rem;
    margin-right: 0;
  }
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .bread-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .visit-section .map-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .fixed-call-button {
    display: flex;
    bottom: 8%;
    right: -45px;
    transform: translateY(50%) rotate(-90deg);
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  .hero {
    --header-height: 80px;
  }
  .hero::before {
    animation: none;
  }
  .hero-content {
    transform: translateY(calc(-1 * var(--header-height) / 2));
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .content-inner h2 {
    font-size: 2rem;
  }
  .banner-section h2 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .banner-text h2 {
    font-size: 2rem;
  }
  .category-title {
    font-size: 1.6rem;
  }
  .menu-item h3 {
    font-size: 1.2rem;
  }
  .banner-section p {
    font-size: 1rem;
  }
  .banner-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .banner-icon {
    margin-right: 0;
    flex: none;
    font-size: 3rem;
  }
  .banner-text {
    text-align: center;
    min-width: auto;
  }
  .split-image {
    height: 300px !important;
    min-height: 300px !important;
    order: 1;
  }
  .split-content {
    order: 2;
  }
  .split-section {
    flex-direction: column;
    min-height: auto;
  }
  #about .split-content {
    order: 1;
  }
  .chef-section .split-image {
    min-height: 500px !important;
    order: 2;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bread-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .bread-item {
    padding: 1.2rem 1.5rem;
  }
  .menu-item {
    margin-bottom: 1rem;
  }
  .menu-item img {
    height: 200px;
  }
  .section-title {
    margin-bottom: 1rem;
  }
  .visit-section .map-container {
    flex: unset !important;
    height: 350px;
    width: 100%;
  }
  .map-container iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .hero {
    --header-height: 70px;
  }
  .hero::before {
    animation: none;
  }
  .hero-content {
    transform: translateY(calc(-1 * var(--header-height) / 2));
  }
  .hero h1 {
    font-size: 2rem;
  }
  .content-inner h2 {
    font-size: 1.8rem;
  }
  .banner-section h2 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .banner-text h2 {
    font-size: 1.8rem;
  }
  .category-title {
    font-size: 1.4rem;
  }
  .menu-item h3 {
    font-size: 1.1rem;
  }
  .banner-flex {
    gap: 1.5rem;
  }
  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
  .visit-section .map-container {
    height: 300px;
    width: 100%;
  }
  .map-container iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
  }
}
