/*
Theme Name: Queen Sues - Flatsome Child
Theme URI: https://queensues.com
Description: Luxury catering website child theme for Flatsome
Author: Queen Sues Catering
Author URI: https://queensues.com
Template: flatsome
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: queen-sues
*/

/* ========================================
   QUEEN SUES - LUXURY CATERING THEME
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --navy-900: #0a0f1c;
  --navy-800: #0d1321;
  --navy-700: #111827;
  --navy-600: #1a2332;
  --gold: #c5a065;
  --gold-light: #d4b076;
  --gold-dark: #a6854a;
  --cream: #ffffff;
  --cream-muted: #b8c0cc;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
}

/* ========================================
   BASE STYLES
   ======================================== */
body {
  font-family: var(--font-sans);
  background-color: var(--navy-900);
  color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header-main {
  background: transparent !important;
  transition: all 0.5s ease;
}

.header-main.scrolled {
  background: rgba(10, 15, 28, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-main .nav > li > a {
  color: var(--cream) !important;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.header-main .nav > li > a:hover {
  color: var(--gold) !important;
}

.logo a {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--cream) !important;
}

.logo a span {
  color: var(--gold);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-gold {
  background: var(--gold) !important;
  color: var(--navy-900) !important;
  border: none !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(197, 160, 101, 0.3);
}

.btn-outline-gold {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid rgba(197, 160, 101, 0.5) !important;
  padding: 14px 32px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: rgba(197, 160, 101, 0.1) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 20px rgba(197, 160, 101, 0.2);
}

/* ========================================
   HERO SECTION
   ======================================== */
.qs-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.qs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.qs-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 15, 28, 0.95), rgba(10, 15, 28, 0.7), transparent);
  z-index: 2;
}

.qs-hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.6), transparent, rgba(10, 15, 28, 0.3));
  z-index: 2;
}

.qs-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.qs-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(197, 160, 101, 0.4);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(10px); }
}

.qs-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5%;
  max-width: 700px;
}

.qs-hero-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qs-hero-label span {
  width: 50px;
  height: 1px;
  background: var(--gold);
}

.qs-hero-label p {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  margin: 0;
}

.qs-hero-title {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 40px;
}

.qs-hero-title span {
  display: block;
}

.qs-hero-nav {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.qs-hero-nav button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(197, 160, 101, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qs-hero-nav button:hover {
  background: rgba(197, 160, 101, 0.1);
  border-color: var(--gold);
}

.qs-hero-dots {
  display: flex;
  gap: 10px;
}

.qs-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(197, 160, 101, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qs-hero-dot.active {
  width: 32px;
  border-radius: 4px;
  background: var(--gold);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.qs-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.qs-section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  margin-bottom: 16px;
}

.qs-section-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--cream);
  margin-bottom: 16px;
}

.qs-section-subtitle {
  color: var(--cream-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.qs-gallery {
  padding: 100px 0;
  background: var(--navy-900);
}

.qs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.qs-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  perspective: 1000px;
}

.qs-gallery-item:nth-child(1),
.qs-gallery-item:nth-child(6) {
  grid-row: span 2;
}

.qs-gallery-item-inner {
  position: relative;
  height: 100%;
  min-height: 300px;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.qs-gallery-item:hover .qs-gallery-item-inner {
  transform: rotateX(5deg) rotateY(5deg);
}

.qs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.qs-gallery-item:hover img {
  transform: scale(1.1);
}

.qs-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.9), rgba(10, 15, 28, 0.2), transparent);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.qs-gallery-item:hover .qs-gallery-overlay {
  opacity: 0.9;
}

.qs-gallery-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.qs-gallery-item:hover .qs-gallery-content {
  transform: translateY(0);
  opacity: 1;
}

.qs-gallery-category {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  margin-bottom: 8px;
}

.qs-gallery-title {
  color: var(--cream);
  font-size: 22px;
  margin: 0;
}

.qs-gallery-border {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.5s ease;
  pointer-events: none;
}

.qs-gallery-item:hover .qs-gallery-border {
  border-color: rgba(197, 160, 101, 0.3);
}

.qs-gallery-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: transparent;
  border-style: solid;
  transition: border-color 0.5s ease;
  pointer-events: none;
}

.qs-gallery-corner-tl {
  top: 16px;
  left: 16px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.qs-gallery-corner-br {
  bottom: 16px;
  right: 16px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.qs-gallery-item:hover .qs-gallery-corner {
  border-color: rgba(197, 160, 101, 0.5);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.qs-about {
  padding: 100px 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.qs-about-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  font-size: 20vw;
  font-family: var(--font-serif);
  color: rgba(197, 160, 101, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.qs-about-content {
  position: relative;
  z-index: 2;
}

.qs-about-text {
  color: var(--cream-muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.qs-about-badge {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.qs-badge-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 160, 101, 0.2), rgba(197, 160, 101, 0.05));
  border: 1px solid rgba(197, 160, 101, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: pulse-gold 4s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.qs-badge-number {
  font-size: 80px;
  font-family: var(--font-serif);
  color: var(--gold);
  line-height: 1;
}

.qs-badge-text {
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  margin-top: 8px;
}

.qs-badge-label {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 24px;
  margin-top: 4px;
}

.qs-badge-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 101, 0.2);
}

.qs-badge-ring-outer {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 101, 0.1);
}

.qs-badge-text-ring {
  position: absolute;
  inset: 0;
  animation: rotate 20s linear infinite;
}

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

.qs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(197, 160, 101, 0.1);
}

.qs-stat {
  text-align: center;
}

.qs-stat-icon {
  color: var(--gold);
  font-size: 32px;
  margin-bottom: 16px;
}

.qs-stat-number {
  font-size: 48px;
  font-family: var(--font-serif);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}

.qs-stat-label {
  color: var(--cream-muted);
  font-size: 14px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.qs-testimonials {
  padding: 100px 0;
  background: var(--navy-900);
}

.qs-testimonial-carousel {
  position: relative;
  height: 450px;
  perspective: 1000px;
}

.qs-testimonial-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 700px;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.qs-testimonial-item.prev {
  transform: translate(-130%, -50%) scale(0.8) rotateY(25deg);
  opacity: 0.5;
  z-index: 5;
}

.qs-testimonial-item.next {
  transform: translate(30%, -50%) scale(0.8) rotateY(-25deg);
  opacity: 0.5;
  z-index: 5;
}

.qs-testimonial-item.active {
  transform: translate(-50%, -50%) scale(1) rotateY(0);
  opacity: 1;
  z-index: 10;
}

.qs-testimonial-item.hidden {
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  z-index: 0;
}

.qs-testimonial-card {
  background: rgba(13, 19, 33, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 101, 0.2);
  border-radius: 4px;
  padding: 50px;
  position: relative;
}

.qs-testimonial-quote {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 60px;
  color: rgba(197, 160, 101, 0.2);
  font-family: var(--font-serif);
  line-height: 1;
}

.qs-testimonial-text {
  font-size: 20px;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 30px;
  padding-top: 30px;
  font-style: italic;
}

.qs-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qs-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.qs-testimonial-name {
  color: var(--cream);
  font-weight: 500;
  margin: 0;
}

.qs-testimonial-role {
  color: var(--cream-muted);
  font-size: 14px;
  margin: 0;
}

.qs-testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.qs-testimonial-nav button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(197, 160, 101, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qs-testimonial-nav button:hover {
  background: rgba(197, 160, 101, 0.1);
  border-color: var(--gold);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.qs-newsletter {
  padding: 100px 0;
  background: var(--navy-900);
  position: relative;
}

.qs-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(197, 160, 101, 0.05), transparent 70%);
  pointer-events: none;
}

.qs-newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.qs-newsletter-form {
  position: relative;
  margin-top: 40px;
}

.qs-newsletter-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(197, 160, 101, 0.3);
  padding: 16px 140px 16px 0;
  color: var(--cream);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.qs-newsletter-input::placeholder {
  color: rgba(184, 192, 204, 0.5);
}

.qs-newsletter-input:focus {
  border-color: var(--gold);
}

.qs-newsletter-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.5s ease;
}

.qs-newsletter-input:focus + .qs-newsletter-line {
  left: 0;
  width: 100%;
}

.qs-newsletter-submit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--navy-900);
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qs-newsletter-submit:hover {
  background: var(--gold-light);
}

.qs-newsletter-note {
  color: rgba(184, 192, 204, 0.6);
  font-size: 12px;
  margin-top: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
.qs-footer {
  background: var(--navy-800);
  padding: 80px 0 30px;
  position: relative;
}

.qs-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197, 160, 101, 0.5), transparent);
}

.qs-footer-logo {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--cream);
  margin-bottom: 24px;
}

.qs-footer-logo span {
  color: var(--gold);
}

.qs-footer-text {
  color: var(--cream-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.qs-social-links {
  display: flex;
  gap: 12px;
}

.qs-social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(197, 160, 101, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s ease;
}

.qs-social-link:hover {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.qs-footer-title {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 24px;
}

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

.qs-footer-links li {
  margin-bottom: 12px;
}

.qs-footer-links a {
  color: var(--cream-muted);
  transition: color 0.3s ease;
}

.qs-footer-links a:hover {
  color: var(--gold);
}

.qs-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qs-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--cream-muted);
}

.qs-footer-contact i {
  color: var(--gold);
  font-size: 18px;
}

.qs-footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(197, 160, 101, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qs-footer-copyright {
  color: rgba(184, 192, 204, 0.6);
  font-size: 14px;
}

.qs-footer-copyright span {
  color: var(--gold);
}

.qs-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--navy-900);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(197, 160, 101, 0.3);
  z-index: 999;
}

.qs-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.qs-back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  .qs-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .qs-gallery-item:nth-child(1),
  .qs-gallery-item:nth-child(6) {
    grid-row: span 1;
  }
  
  .qs-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .qs-testimonial-item.prev,
  .qs-testimonial-item.next {
    display: none;
  }
}

@media (max-width: 767px) {
  .qs-hero-title {
    font-size: 48px;
  }
  
  .qs-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .qs-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .qs-testimonial-card {
    padding: 30px;
  }
  
  .qs-testimonial-text {
    font-size: 16px;
  }
  
  .qs-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
