/* ==========================================
   SAVORY ELEGANCE - Premium Restaurant Website
   Custom Styles
   ========================================== */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1A1A1A; }
::-webkit-scrollbar-thumb { background: #C9A227; border-radius: 4px; }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 9999; background: #0A0A0A; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s, visibility 0.5s; }
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-spinner { width: 50px; height: 50px; border: 3px solid rgba(201,162,39,0.2); border-top-color: #C9A227; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Glass Effect */
.glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); }
.glass-light { background: #1A1A1A; backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); }

/* 3D Card */
.card-3d { transform-style: preserve-3d; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.card-3d:hover { transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) translateZ(15px); box-shadow: 0 25px 50px -12px rgba(201,162,39,0.25); }

/* Gradient Text */
.gradient-text { background: linear-gradient(135deg, #C9A227 0%, #E8D5A3 50%, #C9A227 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Scroll Progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, #C9A227, #E8D5A3); z-index: 9999; width: 0%; transition: width 0.1s; }

/* Nav Active */
.nav-link { position: relative; color: rgba(255,255,255,0.7); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #C9A227; transition: width 0.3s; }
.nav-link:hover, .nav-link.active { color: #C9A227; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Menu Filter */
.menu-filter {
  transition: all 0.3s ease;
  background: rgb(0 0 0 / 65%) !important;
  color: rgb(255 255 255) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}
.menu-filter:hover {
  transform: scale(0.9);
}
.menu-filter.active {
  background: linear-gradient(135deg, #C9A227, #D46A2B) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(201,162,39,0.4);
}

/* Gallery Item */
.gallery-item { position: relative; overflow: hidden; border-radius: 1rem; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ==========================================
   TESTIMONIAL SECTION - Professional Grid
   ========================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-item {
  background: linear-gradient(145deg, #1f1f1f, #151515);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  border-color: rgba(201,162,39,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(201,162,39,0.1);
}

.testimonial-quote-icon {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #C9A227, #9A7B1C);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d4d4d4;
  font-style: italic;
  margin: 1.5rem 0 1.25rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,162,39,0.5);
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #C9A227;
  margin: 0;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: #888;
}

/* Mobile Testimonial Grid */
@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  .testimonial-item {
    padding: 1.75rem 1.5rem;
  }
  .testimonial-quote {
    font-size: 0.95rem;
  }
  .testimonial-quote-icon {
    width: 40px;
    height: 40px;
    top: -10px;
    left: 20px;
  }
  .testimonial-img {
    width: 48px;
    height: 48px;
  }
  .testimonial-info h4 {
    font-size: 0.9rem;
  }
}

/* ==========================================
   RESERVATION FORM - Redesigned
   ========================================== */
.reservation-form {
  background: linear-gradient(145deg, #1A1A1A, #0F0F0F);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2rem;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a3a3a3;
  margin-bottom: 0.5rem;
}
select.form-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A227' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
.form-field {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  padding-right: 2.5rem;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-field::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-field:focus {
  outline: none;
  border-color: #C9A227;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

/* Select styling */
.form-field select,
.form-field select option {
  background: #1A1A1A !important;
  color: #fff !important;
}

.form-field option {
  background: #1A1A1A;
  color: #fff;
}

/* Date input */
.form-field[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.form-field[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  width: 12px;
  height: 12px;
}

/* Make date field position relative for the pseudo element */
.form-field[type="date"],
.form-field[type="date"]::-webkit-inner-spin-button,
.form-field[type="date"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #C9A227, #9A7B1C);
  color: #0A0A0A;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,162,39,0.4);
}

/* Mobile Form */
@media (max-width: 640px) {
  .reservation-form { padding: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field { padding: 0.75rem; font-size: 0.85rem; }
  .form-submit { padding: 0.875rem 1.5rem; font-size: 0.85rem; }
}

/* ==========================================
   END REDESIGNED SECTIONS
   ========================================== */

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: 0; width: 85%; max-width: 320px; height: 100vh; background: linear-gradient(180deg, #1A1A1A 0%, #0F0F0F 100%); z-index: 100; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); padding: 2rem; }
.mobile-menu.open { transform: translateX(0); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 99; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-overlay.show { opacity: 1; visibility: visible; }

/* Back to Top */
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(201,162,39,0.5); }

/* Scroll Down Icon */
.scroll-indicator {position: absolute;bottom: 1rem;left: 50%;transform: translateX(-50%) !IMPORTANT;display: flex;flex-direction: column;align-items: center;gap: 0.75rem;z-index: 10;}
.scroll-indicator span { font-size: 0.7rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 3px; }
.scroll-indicator .mouse {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.4); border-radius: 12px; position: relative;
}
.scroll-indicator .mouse::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #C9A227; border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Floating Animation */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.float-anim { animation: float 4s ease-in-out infinite; }

/* Menu Item Animation */
.menu-item { transition: all 0.4s ease; }
.menu-item.filter-hidden { display: none !important; }
.menu-item.filter-show { display: block !important; animation: fadeInUp 0.5s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Chef Social Icons */
.chef-social { opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
.chef-card:hover .chef-social { opacity: 1; transform: translateY(0); }

/* Button styles */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, #C9A227, #9A7B1C); color: #0A0A0A;
  padding: 0.75rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(201,162,39,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,162,39,0.4); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); color: white;
  padding: 0.75rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* Star Icon */
.star-icon { color: #C9A227; }

/* Additional Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 162, 39, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 162, 39, 0.6); }
}

@keyframes text-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scale-in {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pulse-glow { animation: pulse-glow 2s infinite; }

.text-shimmer {
  background: linear-gradient(90deg, #C9A227 0%, #E8D5A3 25%, #C9A227 50%, #E8D5A3 75%, #C9A227 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 3s linear infinite;
}

.rotate-slow { animation: rotate-slow 20s linear infinite; }
.scale-in { animation: scale-in 0.5s ease forwards; }

/* Responsive Fixes */
@media (max-width: 640px) {
  .section-padding { padding-top: 3rem; padding-bottom: 3rem; }
  .title-size { font-size: 1.875rem; }
  .subtitle-size { font-size: 0.875rem; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .section-padding { padding-top: 4rem; padding-bottom: 4rem; }
  .title-size { font-size: 2.25rem; }
}
@media (min-width: 1025px) {
  .section-padding { padding-top: 5rem; padding-bottom: 5rem; }
  .title-size { font-size: 3rem; }
}

/* ==========================================
   FOOTER SECTION - New Professional Design
   ========================================== */
.footer-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  border-top: 1px solid rgba(201,162,39,0.2);
}

.footer-main {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

/* Brand */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #C9A227, #9A7B1C);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .logo-icon span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0A0A0A;
}

.footer-brand .logo-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #C9A227;
  margin: 0;
}

.footer-brand .logo-text span {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-brand .footer-desc {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #C9A227, #9A7B1C);
  border-color: transparent;
  color: #0A0A0A;
  transform: translateY(-3px);
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #C9A227, transparent);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #888;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: -11px;
}

.footer-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C9A227;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #C9A227;
  padding-left: 0.5rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Contact */
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A227;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Bottom */
.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #555;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #555;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #C9A227;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-main {
    padding: 3rem 0 2rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    gap: 1.5rem;
  }
  .contact-item {
    flex-direction: column;
    gap: 0.75rem;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
  }
}