/*
Theme Name: Papatatos
Theme URI: https://papatatos.com
Author: ALI Restaurant
Author URI: https://papatatos.com
Description: Exact match prototype of Papatatos Home-4 interactive slider theme. WordPress-ready, scalable.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: papatatos
Tags: restaurant, butcher, food, slider, woocommerce
*/

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1b7a30;
  --gold:       #e82127;
  --gold-dark:  #c41a20;
  --brown:      #f5a800;
  --white:      #ffffff;
  --gray:       #727272;
  --light-gray: #f3f3f3;
  --dark:       #23282d;
  --font-body:  'Circular Std Book', 'Helvetica Neue', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
}

/* =============================================
   HEADER / NAVBAR
============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 30px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-logo img,
.header-logo .wp-custom-logo img,
.custom-logo {
  height: 48px;
  width: auto;
  max-height: 48px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search-btn,
.header-menu-btn {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.header-cart {
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  text-decoration: none;
}

/* =============================================
   MOBILE NAV DRAWER
============================================= */
#mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 80px 30px 30px;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  overflow-y: auto;
}

#mobile-nav.open { right: 0; }

#mobile-nav .nav-logo {
  margin-bottom: 40px;
}

#mobile-nav .nav-logo img { height: 60px; }

#mobile-nav ul li {
  border-bottom: 1px solid #eee;
}

#mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s;
}

#mobile-nav ul li a:hover { color: var(--gold); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
}
.nav-overlay.open { display: block; }

.nav-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* =============================================
   HERO SECTIONS
============================================= */
#hero-sections {
  width: 100%;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px 80px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* ── Reveal animations ── */
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up    { transform: translateY(40px); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-up.revealed {
  opacity: 1;
  transform: translate(0);
}

/* Social icons — right side of every section */
.slide-socials {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.slide-socials a {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slide-socials a:hover {
  background: var(--navy);
  color: var(--white);
}

/* =============================================
   SLIDE 1 — Fresh & Tasty Steaks (light bg)
============================================= */
.section-1 {
  background: var(--white);
}

/* Directional arrow pattern — navy chevrons matching the original reference */
.section-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  width: 70%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20 L10 10 L20 20 L30 10 L40 20' fill='none' stroke='%231b7a30' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M0 36 L10 26 L20 36 L30 26 L40 36' fill='none' stroke='%231b7a30' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.section-1 .slide-inner  {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.section-1 .slide-content {
  flex: 0 0 45%;
  z-index: 2;
}

.section-1 .slide-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.section-1 h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-1 p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 380px;
}

.section-1 .slide-image {
  flex: 0 0 55%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.section-1 .slide-image img.main-meat {
  width: 90%;
  max-width: 520px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.section-1 .badge-price {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 5;
  box-shadow: 0 4px 20px rgba(220,148,28,0.4);
}

.section-1 .badge-price .price-amount {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-serif);
  line-height: 1;
}

.section-1 .badge-price .price-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-1 .hot-spicy-badge {
  position: absolute;
  right: 120px;
  bottom: 20%;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* =============================================
   SLIDE 2 — Special Christmas Fresh Meat (dark bg)
============================================= */
.section-2 {
  background: #111;
  background-image: url('images/BG-1.jpg');
  background-size: cover;
  background-position: center;
}

.section-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.section-2 .slide-inner  {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.section-2 h2.special-line {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1;
}

.section-2 h2.christmas-line {
  font-family: 'Playfair Display', cursive;
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-2 h2.fresh-meat-line {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1;
}

.section-2 .weekend-banner {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 12px 40px;
  margin: 24px 0;
  display: inline-block;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0% 50%);
}

.section-2 .save-badge {
  width: 130px;
  height: 130px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(220,148,28,0.5);
}

.section-2 .save-badge .up-to { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.section-2 .save-badge .save  { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.section-2 .save-badge .num   { font-size: 52px; font-weight: 900; font-family: var(--font-sans); line-height: 1; }
.section-2 .save-badge .off   { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

.section-2 .slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 40px;
  z-index: 3;
}

.section-2 .call-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 40px;
}

.section-2 .call-widget .call-icon {
  font-size: 22px;
}

.section-2 .call-widget .call-label { font-size: 12px; opacity: 0.9; }
.section-2 .call-widget .call-number { font-size: 18px; font-weight: 700; }

.section-2 .slide-footer-right {
  text-align: right;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.section-2 .slide-footer-right p { margin-bottom: 4px; }

/* =============================================
   SLIDE 3 — From our farm to your fork (white)
============================================= */
.section-3 {
  background: var(--white);
  background-image: url('images/bg_empty-1.png');
  background-size: cover;
  background-position: center;
}

.section-3 .slide-inner  {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.section-3 .slide-content {
  flex: 0 0 42%;
}

.section-3 .leaf-divider {
  width: 60px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.section-3 .slide-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}

.section-3 h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-3 h6 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 20px;
}

.section-3 p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 380px;
}

.section-3 .slide-image {
  flex: 0 0 55%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-3 .slide-image img.main-meat {
  width: 100%;
  max-width: 580px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}

.section-3 .quality-badge {
  position: absolute;
  bottom: 60px;
  right: 40px;
  width: 80px;
  height: 80px;
}

.section-3 .fresh-label {
  position: absolute;
  top: 30%;
  left: 5%;
  width: 160px;
  transform: rotate(-8deg);
}

/* =============================================
   SLIDE 4 — Best Meat (dramatic dark)
============================================= */
.section-4 {
  background: #0a0a0a;
  background-image: url('images/2e9c0e25-1069af7943.jpg');
  background-size: cover;
  background-position: center top;
}

.section-4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.section-4 .slide-inner  {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.section-4 .tendolin-script {
  font-family: var(--font-serif);
  font-size: 48px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.section-4 .best-meat-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.section-4 .leaf-ornament {
  font-size: 32px;
  color: rgba(255,255,255,0.7);
}

.section-4 h2 {
  font-family: var(--font-sans);
  font-size: 80px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 10px;
  text-transform: uppercase;
  line-height: 1;
}

.section-4 .perfectly-fresh-badge {
  border: 3px solid var(--white);
  border-radius: 50px;
  padding: 16px 50px;
  display: inline-block;
  position: relative;
}

.section-4 .perfectly-fresh-badge::before,
.section-4 .perfectly-fresh-badge::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 12px;
}
.section-4 .perfectly-fresh-badge::before { left: 12px; }
.section-4 .perfectly-fresh-badge::after  { right: 12px; }

.section-4 .perfectly-fresh-badge .pf-top {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  display: block;
}

.section-4 .perfectly-fresh-badge .pf-sub {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  display: block;
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* =============================================
   SLIDER NAV ARROWS
============================================= */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 60px; }

/* =============================================
   FOOTER (inside slide 2)
============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px;
  font-size: 13px;
}

.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--white); }

/* =============================================
   CART DRAWER
============================================= */
#cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 3000;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

#cart-drawer.open { right: 0; }

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-size: 20px;
  color: var(--navy);
}

.cart-drawer-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 14px;
  gap: 16px;
}

.cart-count-badge {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .section-1 .slide-inner ,
  .section-3 .slide-inner  {
    flex-direction: column;
    padding: 80px 24px 40px;
    text-align: center;
  }

  .section-1 .slide-image,
  .section-3 .slide-image { display: none; }

  .section-1 h2 { font-size: 32px; }
  .section-3 h2 { font-size: 30px; }

  .section-2 h2.christmas-line { font-size: 42px; }
  .section-2 h2.special-line,
  .section-2 h2.fresh-meat-line { font-size: 32px; }

  .section-4 h2 { font-size: 48px; letter-spacing: 6px; }

  .slide-socials { display: none; }

  .slider-arrow.next { right: 20px; }

  .section-2 .slide-footer {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}
