html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Headings font */
h1, h2, h3, h4, .hero-title, .about-title, .gallery-title, .location-title, .machine-name, .modal-title, .contact-info-title, .support-text {
  font-family: 'Playfair Display', Georgia, serif;
}

body {
  background: #fff;
  overflow-x: hidden;
}

/* ===== VARIABLES FOR RESPONSIVE DESIGN & THEME ===== */
:root {
  --container-padding-mobile: 15px;
  --container-padding-tablet: 30px;
  --container-padding-laptop: 50px;
  --container-padding-desktop: 80px;
  --container-padding-tv: 120px;
  
  --font-size-xs: 14px;
  --font-size-sm: 16px;
  --font-size-md: 18px;
  --font-size-lg: 24px;
  --font-size-xl: 32px;
  --font-size-xxl: 48px;
  --font-size-tv: 64px;
  
  --primary-gold: #f8c83a;
  --primary-gold-dark: #8c7333;
  
  /* Theme Variables */
  --theme-bg-primary: #000000;
  --theme-bg-secondary: #0a0a0a;
  --theme-bg-card: #1a1a1a;
  --theme-text-primary: #ffffff;
  --theme-text-secondary: #cccccc;
  --theme-text-muted: #888888;
  --theme-border: #333333;
  --theme-accent: var(--primary-gold);
  --theme-accent-hover: #c4a94b;
}

/* ===== DARK THEME APPLIED ===== */

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--theme-bg-secondary) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 40px;
  border-bottom: 1px solid var(--theme-border) !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-accent) !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo img {
  height: 60px;
  transition: height 0.3s ease;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--theme-text-muted) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 16px;
}

nav a:hover,
nav a.active {
  color: var(--theme-accent) !important;
  font-weight: 700;
}

nav button {
  background: linear-gradient(145deg, var(--theme-accent), var(--primary-gold-dark)) !important;
  color: #000;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  white-space: nowrap;
}

nav button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(181, 154, 84, 0.3);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background: var(--theme-accent) !important;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

nav.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  background: var(--theme-bg-secondary) !important;
  padding: 30px 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 999;
  gap: 20px;
}

/* ===== NEWS TICKER MARQUEE ===== */
.news-ticker-container {
  background: linear-gradient(90deg, var(--theme-bg-secondary) 0%, var(--theme-bg-card) 100%) !important;
  border-bottom: 2px solid var(--primary-gold);
  display: flex;
  align-items: center;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 999;
}

.news-ticker-label {
  background: var(--theme-accent) !important;
  color: #000;
  font-weight: 700;
  padding: 4px 20px;
  margin-right: 20px;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.news-ticker-label span {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.news-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
}

.news-ticker-content {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: newsTicker 40s linear infinite;
  padding: 5px 0;
}

.news-ticker-content:hover {
  animation-play-state: paused;
}

.news-item {
  color: var(--theme-text-secondary) !important;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  padding-left: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-item::before {
  content: "●";
  color: var(--primary-gold);
  font-size: 10px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  animation: blink 1.5s infinite;
}

.news-item:hover {
  color: var(--theme-accent) !important;
  transform: translateX(3px);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes newsTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HOME SECTION ===== */
.hero {
  position: relative;
  min-height: 71vh;
  padding: 50px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--theme-bg-primary) !important;
}

.home-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 200px;
}

.home-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: var(--font-size-xxl);
  letter-spacing: 2px;
  background-clip: text;
  color: var(--primary-gold);
  text-shadow: 0 1px 0 #fff4a3, 0 2px 2px rgba(0,0,0,0.4);
}

.content-home {
  color: var(--theme-text-primary) !important;
  font-size: var(--font-size-lg);
  line-height: 1.5;
  margin-right: 20px;
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
}

.home-gif-container {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-gif {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 45px 80px 45px 80px;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-title {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 2px;
  background-clip: text;
  color: var(--primary-gold);
  text-shadow: 0 1px 0 #fff4a3, 0 2px 2px rgba(0,0,0,0.4);
}

.about-details {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  align-items: stretch;
}

.abount-text {
  width: 55%;
  font-size: 30px;
  color: var(--theme-text-primary) !important;
  line-height: 40px;
  display: flex;
  align-items: center;
  text-align: justify;
  text-justify: inter-word;
}

.about-img {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  max-width: 70%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--theme-bg-primary) !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 20px;
  width: 100%;
  overflow: hidden;
}

.gallery-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.gallery-title {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
  background-clip: text;
  color: var(--primary-gold);
  text-shadow: 0 1px 0 #fff4a3, 0 2px 2px rgba(0,0,0,0.4);
}

.grallery-sub-title {
  color: var(--theme-text-primary) !important;
  font-size: 24px;
  margin-left: 30%;
  margin-right: 30%;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.more-button {
  width: 150px;
  height: 40px;
  font-size: 20px;
  border-radius: 20px;
  background-color: var(--theme-accent) !important;
  margin-bottom: 20px;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  display: block;
  white-space: nowrap;
}

.more-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: scale(1.05);
}

.grallery-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.gallery1, .gallery3 {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}

.gallery2 {
  width: 400px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
}

.grallery-image-tracker {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 15px;
}

.image-tracker {
  width: 15px;
  height: 15px;
  background-color: gray;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.image-tracker-black {
  width: 15px;
  height: 15px;
  background-color: black;
  border-radius: 10px;
}

/* ===== AUTO SCROLL CONTAINERS ===== */
.auto-scroll-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  padding: 10px 0;
}

.auto-scroll-content {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: autoScroll 30s linear infinite;
  padding: 10px 0;
}

.auto-scroll-content:hover {
  animation-play-state: paused;
}

@keyframes autoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.auto-scroll-item {
  flex-shrink: 0;
}

/* ===== LOCATION SECTION ===== */
.location-section {
  padding: 0px 20px;
  width: 100%;
  overflow: hidden;
}

.location-container {
  padding: 50px 80px;
  margin: 0 auto;
  max-width: 1920px;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.location-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.location-right {
  display: flex;
  align-items: center;
  width: 350px;
  gap: 5px;
}

.location-title {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
  background-clip: text;
  color: var(--primary-gold);
  text-shadow: 0 1px 0 #fff4a3, 0 2px 2px rgba(0,0,0,0.4);
}

.location-logo1 {
  width: 60px;
  height: 60px;
  background-color: #CAB44B;
  border-radius: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo1 {
  width: 35px;
  height: 35px;
}

.location-description {
  font-size: 24px;
  color: var(--theme-text-primary) !important;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
}

/* Location Dropdown */
.location-dropdown {
  margin: 10px 0;
}

.venue-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--theme-border);
  border-radius: 12px;
  font-size: 14px;
  background: var(--theme-bg-card) !important;
  color: var(--theme-text-primary) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.venue-select:focus {
  outline: none;
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px rgba(181, 154, 84, 0.1);
}

/* MACHINE CARD */
.machine-card {
  background: var(--theme-bg-card) !important;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--theme-border);
  position: relative;
  min-height: 400px;
  margin-left: 75px;
  margin-right: 75px;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.machine-content-left {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
}

.machine-image-wrapper {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.machine-name {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.machine-description {
  font-size: 18px;
  color: var(--theme-text-primary) !important;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
}

.machine-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--theme-text-primary) !important;
}

/* Features List */
.machine-features {
  margin: 20px 0;
  padding: 0;
  width: 100%;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: var(--theme-bg-card) !important;
  border-radius: 10px;
  border-left: 3px solid var(--theme-accent);
  transition: all 0.3s ease;
}

.feature-point:hover {
  transform: translateX(5px);
  background: var(--theme-bg-secondary) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-point-icon {
  font-size: 20px;
  min-width: 30px;
  text-align: center;
  color: var(--theme-accent);
}

.feature-point-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-text-secondary);
  line-height: 1.5;
  flex: 1;
}

/* Machine Images Gallery */
.machine-images-gallery {
  margin-top: 20px;
  width: 100%;
}

.images-gallery-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.gallery-thumb:hover {
  border-color: var(--theme-accent);
  transform: scale(1.05);
}

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

.gallery-title-small {
  font-size: 16px;
  font-weight: 600;
  margin: 15px 0 10px;
  color: var(--theme-accent);
}

.no-features {
  text-align: center;
  padding: 30px;
  color: var(--theme-text-muted);
  font-style: italic;
  background: var(--theme-bg-secondary);
  border-radius: 10px;
}

.machine-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  max-height: 280px;
}

.slider-dots {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: var(--theme-text-muted) !important;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background: var(--theme-accent) !important;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  background: var(--theme-bg-card) !important;
  color: var(--theme-accent) !important;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  transition: all 0.3s ease;
  border: 1px solid var(--theme-border);
}

.slider-arrow:hover {
  background: var(--theme-accent) !important;
  color: #000 !important;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: -25px;
}

.right-arrow {
  right: -25px;
}

/* LOCATION MAPS */
.location-maps {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
  width: auto;
}

.map-card {
  flex: 1;
  min-width: 240px;
  background: var(--theme-bg-card) !important;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  padding: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 1px solid var(--theme-border);
}

.map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(181, 154, 84, 0.2);
  border-color: var(--primary-gold);
}

.map-card.active {
  border: 2px solid var(--primary-gold);
}

.map-container {
  height: 180px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.map-title {
  text-align: center;
  margin-top: 12px;
  font-weight: 700;
  color: var(--theme-text-primary);
  font-size: 15px;
}

.map-location {
  text-align: center;
  font-size: 13px;
  color: var(--theme-text-muted);
  margin-top: 4px;
}

.map-machines {
  text-align: center;
  font-size: 12px;
  color: var(--primary-gold);
  margin-top: 6px;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer-wrap {
  padding: 60px 20px 80px;
  width: 100%;
  overflow: hidden;
}

.footer-card {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--theme-bg-secondary) !important;
  border-radius: 40px;
  padding: 50px 60px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid #2a2a2a !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.3fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2a2a2a;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 28px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.7;
  color: #aaaaaa !important;
  margin-bottom: 10px;
  max-width: 440px;
  text-align: justify;
  text-justify: inter-word;
}

.footer-socials {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  font-size: 16px;
  justify-content: flex-start;
}

.footer-socials i {
  color: #cccccc !important;
  cursor: pointer;
  transition: 0.25s ease;
}

.footer-socials i:hover {
  color: var(--theme-accent) !important;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 18px;
  color: #ffffff !important;
  font-weight: 600;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #888888 !important;
  margin-bottom: 10px;
  font-size: 14px;
  transition: 0.25s ease;
}

.footer-col a:hover {
  color: var(--theme-accent) !important;
}

.footer-col a.active {
  color: var(--theme-accent);
  font-weight: 600;
}

.footer-col p {
  font-size: 14px;
  color: #888888 !important;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888888 !important;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  margin-left: 25px;
  font-size: 13px;
  text-decoration: none;
  color: var(--theme-accent) !important;
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
}

.footer-links a:hover {
  border-bottom: 1px solid var(--theme-accent);
  color: #ffffff !important;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: clamp(12px, 1.8vw, 14px);
  color: var(--theme-text-muted);
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--primary-gold);
  font-size: 16px;
  margin-top: 2px;
  min-width: 18px;
}

.footer-contact-link {
  color: var(--theme-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
  flex: 1;
}

.footer-contact-link:hover {
  color: var(--primary-gold);
}

.footer-contact-item span {
  color: var(--theme-text-muted);
  flex: 1;
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow: auto;
}

.modal-content {
  background-color: var(--theme-bg-secondary) !important;
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 1200px;
  position: relative;
  animation: modalopen 0.4s;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-30px);}
  to {opacity: 1; transform: translateY(0);}
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 15px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  width: 32px;
  height: 32px;
  background-color: var(--theme-accent);
  border-radius: 20px;
  text-align: center;
  line-height: 32px;
  z-index: 10;
}

.close-modal:hover {
  background-color: var(--theme-text-primary);
}

/* News Modal */
.news-modal-content {
  max-width: 500px;
  width: 90%;
  border-radius: 16px;
  background: var(--theme-bg-secondary) !important;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.news-modal-body {
  padding: 30px 25px 25px 25px;
}

.news-modal-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--theme-text-primary);
  padding-right: 30px;
}

.news-modal-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--theme-text-secondary);
  margin-bottom: 25px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.news-modal-link {
  margin-top: 10px;
}

.news-read-more-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--theme-accent) 0%, #8b6b2e 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.news-read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 154, 84, 0.3);
}

/* Contact Modal */
.contact-modal-content {
  max-width: 1100px;
  padding: 0;
  overflow: hidden;
  border-radius: 30px;
}

.contact-container {
  display: flex;
  min-height: auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
  padding: clamp(30px, 5vw, 50px) clamp(20px, 5vw, 40px);
  color: #000;
}

.contact-info-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
  text-align: left;
}

.contact-info-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: clamp(20px, 5vw, 40px);
  line-height: 1.5;
  text-align: left;
}

.contact-support {
  margin-bottom: clamp(20px, 5vw, 40px);
  text-align: left;
}

.support-text {
  font-size: clamp(20px, 4vw, 36px);
  line-height: 1.4;
  margin-bottom: 15px;
  color: #000;
  font-weight: bold;
  text-align: left;
}

.support-highlight {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  text-align: left;
}

.contact-chat {
  margin-bottom: 30px;
  text-align: left;
}

.chat-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
  text-align: left;
}

.chat-text {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  text-align: left;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: clamp(14px, 2vw, 16px);
  color: #000;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-align: left;
}

.social-item:hover {
  transform: translateX(5px);
}

.social-item i {
  width: 24px;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #000;
}

.contact-chat-social {
  width: 100%;
  max-width: 400px;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  background: var(--theme-bg-secondary);
  padding: clamp(30px, 5vw, 40px);
}

.phone-number-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 25px;
  text-align: left;
}

.phone-number-wrapper i {
  color: #000;
  font-size: clamp(16px, 2.5vw, 18px);
  width: 24px;
}

.phone-number {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #000;
  font-weight: 500;
}

.contact-all {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: clamp(12px, 2vw, 15px) clamp(15px, 2.5vw, 20px);
  border: 2px solid var(--theme-border);
  border-radius: 12px;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.3s ease;
  background: var(--theme-bg-card) !important;
  color: var(--theme-text-primary) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--theme-text-muted) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--theme-accent);
  background: var(--theme-bg-card) !important;
  box-shadow: 0 0 0 4px rgba(181, 154, 84, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: clamp(12px, 2vw, 15px) clamp(20px, 4vw, 30px);
  background: linear-gradient(145deg, var(--theme-accent), var(--primary-gold-dark)) !important;
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(181, 154, 84, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.close-contact {
  position: absolute;
  right: 25px;
  top: 25px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-contact:hover {
  background-color: var(--theme-accent);
  color: #000;
  transform: rotate(90deg);
}

#successMessage,
#errorMessage {
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  display: none;
}

#successMessage {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
  border: 1px solid #4caf50;
}

#errorMessage {
  background: rgba(244, 67, 54, 0.15);
  color: #f44336;
  border: 1px solid #f44336;
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.98) !important;
  cursor: pointer;
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 3001;
}

.lightbox-close:hover {
  color: var(--theme-accent);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  background: rgba(0,0,0,0.8);
  border-radius: 30px;
  white-space: nowrap;
}

/* ===== INFINITE GALLERY GRID (4x4 WITH VIDEO WALL) ===== */
.infinite-gallery-section {
  padding: 0px 40px 0px;
}

.gallery-loader {
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 35px;
  width: 100%;
  position: relative;
}

.grid-item {
  position: relative;
  background: var(--theme-bg-card) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--theme-border);
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.grid-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.grid-item:hover .grid-item-image {
  transform: scale(1.05);
}

.grid-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent) !important;
  padding: 20px 15px 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.grid-item:hover .grid-item-overlay {
  transform: translateY(0);
}

.grid-item-category {
  color: var(--theme-accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.grid-item-title {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.grid-item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Video Wall Container */
.video-wall-container {
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
}

.image-grid .video-wall-container {
  grid-column: span 2;
  grid-row: span 2;
}

.video-wall-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.video-wall-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.feature-video,
.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wall-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 20px;
  z-index: 2;
}

.video-wall-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
}

.video-wall-container:hover .video-wall-play-btn {
  opacity: 1;
}

.video-wall-play-btn i {
  font-size: 35px;
  color: var(--primary-gold);
  margin-left: 5px;
}

.video-wall-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(181, 154, 84, 0.8);
}

.video-wall-play-btn:hover i {
  color: white;
}

.video-wall-info {
  text-align: left;
}

.video-wall-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.video-wall-category {
  color: var(--primary-gold);
  font-size: 12px;
  font-weight: 500;
}

.hidden-cell {
  display: none !important;
}

.image-wall-mode {
  cursor: pointer;
}

.error-message {
  text-align: center;
  padding: 60px;
  grid-column: 1 / -1;
}

.error-message i {
  font-size: 48px;
  color: var(--primary-gold);
  margin-bottom: 20px;
  display: block;
}

.error-message h3 {
  margin-bottom: 10px;
  color: var(--theme-text-primary);
}

/* ===== HERO BANNER BACKGROUND STYLES ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-banner.active {
    opacity: 0.5;
}

.hero .home-content,
.hero .home-gif-container {
    position: relative;
    z-index: 2;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
}

/* GOLD TEXT */
.logo div {
    display: block;
    letter-spacing: 4px;
    background: linear-gradient(
        to bottom,
        #fff4a3,
        #f7c948,
        #d4a017,
        #b8860b,
        #fff4a3
    );
    -webkit-background-clip: text;
    color: transparent;
    text-shadow:
        0 1px 0 #fff4a3,
        0 2px 2px rgba(0,0,0,0.4);
}

/* stretch only second line */
.line2 {
    display: block;
    transform: scaleX(1.25);
    transform-origin: center;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  align-items: center;
}

/* GOLD STYLE */
.footer-logo div {
  display: block;
  letter-spacing: 4px;
  background: linear-gradient(
    to bottom,
    #fff4a3,
    #f7c948,
    #d4a017,
    #b8860b,
    #fff4a3
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 #fff4a3,
    0 2px 2px rgba(0,0,0,0.4);
}

/* Stretch STREET to visually match */
.footer-logo .line2 {
  transform: scaleX(1.25);
  transform-origin: center;
}

.footer-link {
  text-decoration: none;
  display: inline-block;
}

/* ===== REDESIGNED MACHINE CARD ===== */
.location-section {
  padding: 0px 70px;
  width: 100%;
  overflow: hidden;
}

.location-container {
  padding: 50px 0px;
  margin: 0 auto;
  max-width: 1920px;
}

/* Machine Card Container */
.machine-card {
  position: relative;
  margin: 40px auto;
  border-radius: 30px;
  overflow: hidden;
  background: var(--theme-bg-card);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  min-height: 500px;
}

/* Machine Content Wrapper */
.machine-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 50px;
  padding: 50px;
  min-height: 500px;
  backdrop-filter: blur(2px);
}

.machine-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.machine-name {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #ffd700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.machine-description {
  font-size: 18px;
  color: var(--theme-text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: justify;
}

/* Features Container */
.machine-features {
  margin: 20px 0;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border-left: 3px solid var(--primary-gold);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.feature-point:hover {
  transform: translateX(8px);
  background: rgba(181, 154, 84, 0.2);
}

.feature-point-icon {
  font-size: 22px;
  min-width: 35px;
  text-align: center;
  color: var(--primary-gold);
}

.feature-point-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-text-primary);
  line-height: 1.4;
  flex: 1;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.6);
  color: var(--primary-gold);
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s ease;
  border: 1px solid rgba(181, 154, 84, 0.5);
  backdrop-filter: blur(5px);
}

.slider-arrow:hover {
  background: var(--primary-gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

/* Responsive for redesigned machine card */
@media (max-width: 992px) {
  .location-section { padding: 0px 30px; }
  .machine-card { width: calc(100% - 40px); margin: 30px auto; }
  .machine-content-wrapper { flex-direction: column; padding: 40px 30px; gap: 30px; }
  .machine-name { font-size: 36px; }
  .machine-description { font-size: 16px; }
  .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .location-section { padding: 0px 20px; }
  .machine-card { width: calc(100% - 30px); margin: 20px auto; }
  .machine-content-wrapper { padding: 30px 20px; }
  .machine-name { font-size: 28px; }
  .machine-description { font-size: 14px; }
  .feature-point { padding: 10px 15px; }
  .feature-point-icon { font-size: 18px; min-width: 28px; }
  .feature-point-text { font-size: 13px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 20px; }
  .left-arrow { left: 10px; }
  .right-arrow { right: 10px; }
}

@media (max-width: 480px) {
  .location-section { padding: 0px 15px; }
  .machine-card { width: calc(100% - 20px); margin: 15px auto; }
  .machine-content-wrapper { padding: 25px 15px; }
  .machine-name { font-size: 24px; }
  .machine-description { font-size: 13px; }
  .slider-arrow { width: 35px; height: 35px; font-size: 18px; }
}

/* ===== REDESIGNED MACHINE CARD - CLEAN MODERN LAYOUT ===== */
.machine-card {
  position: relative;
  margin: 40px auto;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--theme-bg-card) 0%, #0f0f0f 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(181, 154, 84, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -12px rgba(181, 154, 84, 0.2);
  border-color: rgba(181, 154, 84, 0.4);
}

/* Machine Content Wrapper - New Layout */
.machine-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 45px;
}

/* Alternating Layout Container */
.machine-layout {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

/* Image Section */
.machine-image-section {
  flex: 0 0 40%;
  position: relative;
}

.machine-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(181, 154, 84, 0.3);
}

.machine-display-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.machine-image-container:hover .machine-display-image {
  transform: scale(1.05);
}

/* Image Gallery Thumbnails */
.machine-image-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.image-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.image-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.image-thumb.active {
  border-color: var(--primary-gold);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(181, 154, 84, 0.3);
}

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

/* Content Section */
.machine-content-section {
  flex: 1;
}

.machine-name {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff4a3 0%, var(--primary-gold) 50%, #ffd700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.machine-name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), transparent);
  border-radius: 3px;
}

.machine-description {
  font-size: 16px;
  color: var(--theme-text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

/* Features Grid */
.machine-features {
  margin: 25px 0;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-left: 3px solid var(--primary-gold);
  transition: all 0.3s ease;
}

.feature-point:hover {
  background: rgba(181, 154, 84, 0.1);
  transform: translateX(5px);
}

.feature-point-icon {
  font-size: 20px;
  min-width: 32px;
  text-align: center;
  color: var(--primary-gold);
}

.feature-point-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-text-primary);
  line-height: 1.4;
  flex: 1;
}

/* Machine Counter Badge */
.machine-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-gold);
  border: 1px solid rgba(181, 154, 84, 0.3);
  z-index: 10;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE FOR MACHINE CARD ===== */
@media (max-width: 1100px) {
  .machine-layout { gap: 35px; }
  .machine-image-section { flex: 0 0 38%; }
  .machine-name { font-size: 36px; }
  .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .machine-content-wrapper { padding: 35px 30px; }
  .machine-layout { flex-direction: column; }
  .machine-image-section { flex: auto; width: 100%; max-width: 500px; margin: 0 auto; }
  .machine-layout.image-left .machine-image-section,
  .machine-layout.image-right .machine-image-section,
  .machine-layout.image-left .machine-content-section,
  .machine-layout.image-right .machine-content-section { order: unset; }
  .machine-name { font-size: 32px; text-align: center; }
  .machine-name::after { left: 50%; transform: translateX(-50%); width: 80px; }
  .machine-counter { top: 10px; right: 10px; font-size: 11px; padding: 4px 10px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 18px; }
}

@media (max-width: 600px) {
  .machine-content-wrapper { padding: 25px 20px; }
  .machine-name { font-size: 26px; }
  .machine-description { font-size: 14px; }
  .feature-point { padding: 8px 12px; }
  .feature-point-icon { font-size: 16px; min-width: 28px; }
  .feature-point-text { font-size: 12px; }
  .image-thumb { width: 55px; height: 55px; }
  .slider-arrow { width: 35px; height: 35px; font-size: 16px; }
  .left-arrow { left: 10px; }
  .right-arrow { right: 10px; }
}

/* Animation for machine change */
@keyframes machineFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.machine-layout {
  animation: machineFadeIn 0.4s ease-out;
}

/* FULL PAGE BACKGROUND IMAGE */
html, body {
  background: url('/assets/fullbg2.png') no-repeat center center fixed !important;
  background-size: cover !important;
  min-height: 100%;
}

.infinite-gallery-section,
.footer-wrap,
.about-section,
.gallery-section,
.location-section {
  background: rgba(0, 0, 0, 0.65) !important;
}

/* ===== VR HEADSET SHAPE - HANGING BY CHAINS ===== */
.floating-tv {
    position: fixed;
    top: 141px;
    right: 20px;
    z-index: 9999;
    width: 280px;
    height: 160px;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* VR Headset Body */
.tv-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 60px 60px 40px 40px;
    overflow: hidden;
    box-shadow: 
        0 0 0 2px #2a2a2a,
        0 0 0 5px #1a1a1a,
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ===== ADD BEZELS TO VR HEADSET ===== */
/* Top Bezel */
.tv-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 8px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 0 0 4px 4px;
    z-index: 5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Bottom Bezel */
.tv-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 6px;
    background: linear-gradient(0deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 4px 4px 0 0;
    z-index: 5;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.5);
}

/* VR Headset Front Panel */
.tv-screen {
    position: relative;
    margin: 18px 25px;
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    height: calc(100% - 36px);
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Video inside VR headset - CENTERED */
.tv-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Dual Lens Effect */
.tv-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0,0,0,0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    border-radius: 35px;
}

/* Left Lens Glow */
.tv-screen::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: lensGlow 3s ease-in-out infinite;
}

/* Right Lens Glow */
.lens-glow-right {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: lensGlow 3s ease-in-out infinite 1.5s;
}

@keyframes lensGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* VR Headstrap connectors */
.vr-strap-left {
    position: absolute;
    left: -15px;
    top: 40%;
    width: 20px;
    height: 40px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.3);
}

.vr-strap-right {
    position: absolute;
    right: -15px;
    top: 40%;
    width: 20px;
    height: 40px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

/* Top Strap */
.vr-top-strap {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 25px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 5px 5px 0 0;
    z-index: 3;
}

.vr-top-strap::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 10px;
    background: #2a2a2a;
    border-radius: 3px;
}

/* Mounting Bracket */
.tv-mount-bracket {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: linear-gradient(135deg, #6a6a6a, #4a4a4a);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 5;
}

.tv-mount-bracket::before {
    content: "⛓️";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #C4A67A;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.tv-mount-bracket::after {
    content: "⛓️";
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #C4A67A;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* VR Nose Rest */
.vr-nose-rest {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 12px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 0 0 10px 10px;
    z-index: 3;
}

/* VR Brand Text */
.tv-brand {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    z-index: 5;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
    white-space: nowrap;
}

/* Status LED */
.vr-power-led {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00;
    animation: powerBlink 2s ease-in-out infinite;
    z-index: 5;
}

@keyframes powerBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px #00ff00; }
    50% { opacity: 0.4; box-shadow: 0 0 2px #00ff00; }
}

/* Overlay with controls */
.tv-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    border-radius: 0 0 40px 40px;
}

.floating-tv:hover .tv-overlay {
    opacity: 1;
}

.floating-tv.expanded .tv-overlay {
    opacity: 1;
    padding: 20px;
}

.tv-title {
    color: var(--primary-gold);
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.floating-tv.expanded .tv-title {
    font-size: 16px;
}

.tv-expand-icon {
    background: rgba(0,0,0,0.7);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(181, 154, 84, 0.5);
    backdrop-filter: blur(4px);
}

.floating-tv.expanded .tv-expand-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.tv-expand-icon:hover {
    background: var(--primary-gold);
    color: #000;
    transform: scale(1.1);
}

/* Close button */
.tv-close-btn {
    position: absolute;
    top: 12px;
    right: 30px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-gold);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.floating-tv.expanded .tv-close-btn {
    opacity: 1;
    pointer-events: auto;
}

.tv-close-btn:hover {
    background: var(--primary-gold);
    color: #000;
    transform: scale(1.1);
}

/* Mute button */
.tv-mute-btn {
    position: absolute;
    bottom: 12px;
    right: 45px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(181, 154, 84, 0.5);
    backdrop-filter: blur(4px);
}

.floating-tv:hover .tv-mute-btn {
    opacity: 1;
    pointer-events: auto;
}

.floating-tv.expanded .tv-mute-btn {
    opacity: 1;
    pointer-events: auto;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.tv-mute-btn:hover {
    background: var(--primary-gold);
    color: #000;
}

/* Expanded VR Headset Mode */
.floating-tv.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    height: 85vh;
    max-width: 1400px;
    max-height: 900px;
    min-width: 320px;
    min-height: 240px;
    z-index: 10000;
}

.floating-tv.expanded .tv-body {
    border-radius: 80px 80px 50px 50px;
}

.floating-tv.expanded .tv-screen {
    margin: 25px 35px;
    border-radius: 50px;
    height: calc(100% - 50px);
}

/* Hide VR details when expanded */
.floating-tv.expanded .vr-strap-left,
.floating-tv.expanded .vr-strap-right,
.floating-tv.expanded .vr-top-strap,
.floating-tv.expanded .vr-nose-rest,
.floating-tv.expanded .tv-mount-bracket,
.floating-tv.expanded .vr-power-led {
    display: none;
}

/* Floating animation */
@keyframes vrFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(1deg); }
}

.floating-tv:not(.expanded) {
    animation: vrFloat 3s ease-in-out infinite;
}

/* Screen Glare Effect */
.tv-glare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    animation: glareMove 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 6;
}

@keyframes glareMove {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

/* Hover effect - static noise */
.floating-tv:hover .tv-screen::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
    pointer-events: none;
    animation: staticNoise 0.15s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 35px;
}

.floating-tv:hover .tv-screen::after {
    opacity: 1;
}

@keyframes staticNoise {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, -1%); }
    30% { transform: translate(-1%, 1%); }
    40% { transform: translate(1%, 1%); }
    50% { transform: translate(-1%, -1%); }
    60% { transform: translate(1%, -1%); }
    70% { transform: translate(-1%, 1%); }
    80% { transform: translate(1%, 1%); }
    90% { transform: translate(0, -1%); }
    100% { transform: translate(0, 0); }
}

/* ===== VIDEO CONTROLS - NON-OVERLAPPING ===== */

/* Video Controls Container */
.tv-video-controls {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-tv:hover .tv-video-controls,
.floating-tv.expanded .tv-video-controls {
    opacity: 1;
    pointer-events: auto;
}

.control-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--primary-gold);
    color: #000;
    transform: scale(1.1);
}

/* Video Progress Bar */
.tv-progress-container {
    position: absolute;
    bottom: 55px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-tv:hover .tv-progress-container,
.floating-tv.expanded .tv-progress-container {
    opacity: 1;
}

.tv-progress-bar {
    height: 100%;
    background: var(--primary-gold);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

/* Video Title Display */
.tv-video-title {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-tv:hover .tv-video-title,
.floating-tv.expanded .tv-video-title {
    opacity: 1;
}

/* Expanded mode adjustments */
.floating-tv.expanded .tv-video-controls {
    bottom: 100px;
    gap: 20px;
    padding: 12px 25px;
}

.floating-tv.expanded .control-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.floating-tv.expanded .tv-progress-container {
    bottom: 80px;
    left: 40px;
    right: 40px;
    height: 4px;
}

.floating-tv.expanded .tv-video-title {
    bottom: 25px;
    font-size: 16px;
    padding: 6px 16px;
}

/* ===== 3D VIDEO CARDS CAROUSEL STYLES ===== */
.tv-video-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 12;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: visible;
    padding: 0 20px;
}

/* Show cards ONLY when expanded */
.floating-tv.expanded .tv-video-indicators {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Carousel Container - NO ARROWS */
.video-cards-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    overflow: visible;
}

.video-cards-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 10px;
    margin: 0 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) rgba(255,255,255,0.2);
    max-width: 100%;
}

.video-cards-container::-webkit-scrollbar {
    height: 3px;
}

.video-cards-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.video-cards-container::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

/* 3D Video Card */
.video-card {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    cursor: pointer;
    perspective: 500px;
    transition: transform 0.2s ease;
}

.video-card:hover {
    transform: translateY(-3px);
}

.video-card.active {
    transform: translateY(-2px);
}

.video-card.active .video-card-inner {
    box-shadow: 0 0 0 2px var(--primary-gold);
}

/* 3D Flip Card Inner */
.video-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.video-card:hover .video-card-inner {
    transform: rotateY(180deg);
}

/* Front and Back faces */
.video-card-front,
.video-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

/* Front Face */
.video-card-front {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    transform: rotateY(0deg);
    border: 1px solid rgba(181, 154, 84, 0.3);
}

.video-card-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-card:hover .video-card-play-icon {
    opacity: 1;
}

.video-card-play-icon i {
    font-size: 20px;
    color: var(--primary-gold);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Back Face */
.video-card-back {
    background: linear-gradient(145deg, #b59a54, #8c7333);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-back-content {
    text-align: center;
}

.video-card-back-content i {
    font-size: 20px;
    color: white;
    display: block;
    margin-bottom: 4px;
}

.video-card-back-content span {
    font-size: 8px;
    color: white;
    font-weight: 600;
}

/* No videos message */
.no-videos-message {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    padding: 5px;
}

/* ===== RESPONSIVE FOR FLOATING TV ===== */

/* Large screens */
@media (max-width: 1200px) {
    .floating-tv { 
        top: 135px; 
        right: 18px; 
        width: 260px; 
        height: 148px; 
    }
}

/* Tablet screens */
@media (max-width: 992px) {
    .floating-tv { 
        top: 130px; 
        right: 15px; 
        width: 240px; 
        height: 135px; 
    }
    .tv-screen {
        margin: 15px 22px;
        height: calc(100% - 30px);
    }
    .tv-brand { font-size: 7px; }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
    .floating-tv { 
        top: 120px; 
        right: 12px; 
        width: 200px; 
        height: 115px; 
    }
    .tv-screen {
        margin: 12px 18px;
        height: calc(100% - 24px);
        border-radius: 28px;
    }
    .tv-body {
        border-radius: 45px 45px 30px 30px;
    }
    .tv-body::before {
        height: 6px;
        width: 60%;
    }
    .tv-body::after {
        height: 5px;
        width: 60%;
    }
    .tv-brand { font-size: 6px; bottom: 6px; padding: 1px 6px; }
    .tv-mount-bracket::before { font-size: 12px; top: -18px; }
    .tv-mount-bracket::after { font-size: 12px; top: -32px; }
    .tv-overlay { padding: 8px; }
    .tv-title { font-size: 9px; }
    .tv-expand-icon { width: 24px; height: 24px; font-size: 10px; }
    .tv-video-controls { bottom: 60px; gap: 8px; padding: 6px 12px; }
    .control-btn { width: 26px; height: 26px; font-size: 12px; }
    .tv-progress-container { bottom: 45px; left: 15px; right: 15px; }
    .tv-mute-btn { bottom: 10px; right: 35px; width: 24px; height: 24px; font-size: 10px; }
    
    /* Expanded mode adjustments for tablet */
    .floating-tv.expanded {
        width: 92vw;
        height: 70vh;
        min-width: auto;
        min-height: auto;
    }
    .floating-tv.expanded .tv-screen {
        margin: 20px 25px;
        border-radius: 35px;
        height: calc(100% - 40px);
    }
    .floating-tv.expanded .tv-body {
        border-radius: 60px 60px 40px 40px;
    }
    .floating-tv.expanded .tv-video-controls {
        bottom: 80px;
        gap: 15px;
        padding: 10px 18px;
    }
    .floating-tv.expanded .control-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .floating-tv.expanded .tv-progress-container {
        bottom: 65px;
        left: 30px;
        right: 30px;
    }
    .floating-tv.expanded .tv-overlay {
        padding: 15px;
    }
    .floating-tv.expanded .tv-title {
        font-size: 14px;
    }
    .floating-tv.expanded .tv-expand-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .floating-tv.expanded .tv-close-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 10px;
        right: 20px;
    }
    .floating-tv.expanded .tv-mute-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
        bottom: 15px;
        right: 15px;
    }
    .floating-tv.expanded .tv-video-indicators {
        bottom: 8px;
    }
    .floating-tv.expanded .video-card {
        width: 50px;
        height: 50px;
    }
    .floating-tv.expanded .video-cards-container {
        gap: 6px;
        padding: 3px 8px;
    }
    .floating-tv.expanded .video-card-play-icon i {
        font-size: 16px;
    }
    .floating-tv.expanded .video-card-back-content i {
        font-size: 16px;
    }
    .floating-tv.expanded .video-card-back-content span {
        font-size: 7px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .floating-tv { 
        top: 110px; 
        right: 10px; 
        width: 160px; 
        height: 92px; 
    }
    .tv-screen {
        margin: 10px 14px;
        height: calc(100% - 20px);
        border-radius: 20px;
    }
    .tv-body {
        border-radius: 35px 35px 25px 25px;
    }
    .tv-body::before {
        height: 5px;
        width: 50%;
    }
    .tv-body::after {
        height: 4px;
        width: 50%;
    }
    .tv-brand { font-size: 5px; bottom: 4px; padding: 1px 4px; letter-spacing: 1px; }
    .vr-strap-left { width: 12px; height: 25px; left: -10px; }
    .vr-strap-right { width: 12px; height: 25px; right: -10px; }
    .vr-top-strap { width: 20px; height: 18px; top: -15px; }
    .vr-top-strap::before { width: 10px; height: 8px; top: -4px; }
    .tv-mount-bracket { top: -30px; width: 20px; height: 6px; }
    .tv-mount-bracket::before { font-size: 10px; top: -16px; }
    .tv-mount-bracket::after { font-size: 10px; top: -28px; }
    .vr-nose-rest { width: 20px; height: 8px; bottom: -6px; }
    .vr-power-led { width: 4px; height: 4px; top: 6px; right: 12px; }
    .tv-overlay { padding: 6px; }
    .tv-title { font-size: 7px; }
    .tv-expand-icon { width: 20px; height: 20px; font-size: 8px; }
    .tv-video-controls { bottom: 45px; gap: 6px; padding: 4px 10px; border-radius: 20px; }
    .control-btn { width: 22px; height: 22px; font-size: 10px; }
    .tv-progress-container { bottom: 35px; left: 10px; right: 10px; height: 2px; }
    .tv-mute-btn { bottom: 8px; right: 28px; width: 20px; height: 20px; font-size: 8px; }
    .tv-glare { display: none; }
    .tv-screen::before { display: none; }
    .tv-screen::after { display: none; }
    .lens-glow-right { display: none; }
    .tv-video-title { display: none; }
    
    /* Expanded mode for small mobile */
    .floating-tv.expanded {
        width: 95vw;
        height: 60vh;
        min-width: auto;
        min-height: auto;
        top: 50%;
        left: 50%;
    }
    .floating-tv.expanded .tv-screen {
        margin: 15px 18px;
        border-radius: 25px;
        height: calc(100% - 30px);
    }
    .floating-tv.expanded .tv-body {
        border-radius: 45px 45px 30px 30px;
    }
    .floating-tv.expanded .tv-video-controls {
        bottom: 60px;
        gap: 10px;
        padding: 8px 14px;
        border-radius: 25px;
    }
    .floating-tv.expanded .control-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .floating-tv.expanded .tv-progress-container {
        bottom: 48px;
        left: 20px;
        right: 20px;
        height: 3px;
    }
    .floating-tv.expanded .tv-overlay {
        padding: 12px;
        border-radius: 0 0 30px 30px;
    }
    .floating-tv.expanded .tv-title {
        font-size: 12px;
    }
    .floating-tv.expanded .tv-expand-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .floating-tv.expanded .tv-close-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
        top: 8px;
        right: 15px;
    }
    .floating-tv.expanded .tv-mute-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        bottom: 12px;
        right: 12px;
    }
    .floating-tv.expanded .tv-video-indicators {
        bottom: 5px;
        padding: 0 10px;
    }
    .floating-tv.expanded .video-card {
        width: 40px;
        height: 40px;
    }
    .floating-tv.expanded .video-cards-container {
        gap: 5px;
        padding: 2px 5px;
        margin: 0 5px;
    }
    .floating-tv.expanded .video-card-play-icon i {
        font-size: 14px;
    }
    .floating-tv.expanded .video-card-back-content i {
        font-size: 14px;
    }
    .floating-tv.expanded .video-card-back-content span {
        font-size: 6px;
    }
    .floating-tv.expanded .tv-body::before,
    .floating-tv.expanded .tv-body::after {
        display: none;
    }
}

/* Very small mobile phones */
@media (max-width: 374px) {
    .floating-tv { 
        top: 100px; 
        right: 8px; 
        width: 140px; 
        height: 80px; 
    }
    .tv-screen {
        margin: 8px 12px;
        height: calc(100% - 16px);
        border-radius: 16px;
    }
    .tv-body {
        border-radius: 28px 28px 20px 20px;
    }
    .tv-body::before {
        height: 4px;
        width: 40%;
    }
    .tv-body::after {
        height: 3px;
        width: 40%;
    }
    .tv-brand { font-size: 4px; bottom: 3px; padding: 1px 3px; }
    .tv-overlay { padding: 4px; }
    .tv-title { font-size: 6px; }
    .tv-expand-icon { width: 18px; height: 18px; font-size: 7px; }
    .tv-video-controls { bottom: 35px; gap: 4px; padding: 3px 8px; }
    .control-btn { width: 18px; height: 18px; font-size: 8px; }
    .tv-progress-container { bottom: 28px; left: 8px; right: 8px; height: 2px; }
    .tv-mute-btn { bottom: 6px; right: 22px; width: 16px; height: 16px; font-size: 7px; }
    
    /* Expanded mode for very small */
    .floating-tv.expanded {
        width: 96vw;
        height: 50vh;
    }
    .floating-tv.expanded .tv-screen {
        margin: 12px 14px;
        border-radius: 20px;
        height: calc(100% - 24px);
    }
    .floating-tv.expanded .tv-body {
        border-radius: 35px 35px 25px 25px;
    }
    .floating-tv.expanded .tv-video-controls {
        bottom: 45px;
        gap: 6px;
        padding: 5px 10px;
    }
    .floating-tv.expanded .control-btn {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    .floating-tv.expanded .tv-progress-container {
        bottom: 38px;
        left: 15px;
        right: 15px;
    }
    .floating-tv.expanded .tv-title {
        font-size: 10px;
    }
    .floating-tv.expanded .tv-expand-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    .floating-tv.expanded .video-card {
        width: 35px;
        height: 35px;
    }
    .floating-tv.expanded .video-cards-container {
        gap: 4px;
        padding: 2px 4px;
    }
}

/* ===== INFINITE GALLERY GRID RESPONSIVE ===== */

/* Tablet screens */
@media (min-width: 768px) and (max-width: 991px) {
  .infinite-gallery-section {
    padding: 0px 30px 0px;
  }
  .image-grid {
    gap: 15px;
    padding: 15px 25px;
  }
}

/* Small tablets & large phones */
@media (min-width: 576px) and (max-width: 767px) {
  .infinite-gallery-section {
    padding: 0px 20px 0px;
  }
  .image-grid {
    gap: 12px;
    padding: 15px 15px;
  }
}

/* Small mobile phones */
@media (min-width: 375px) and (max-width: 575px) {
  .infinite-gallery-section {
    padding: 0px 0px 0px;
  }
  .image-grid {
    gap: 10px;
    padding: 12px 10px;
  }
  .about-details {
    padding-top: 1px;
  }
  .location-container {
    padding: 8px 0px;
  }
  .location-main {
    gap: 3px;
  }
  .machine-card {
    margin: 1px auto;
  }
}

/* Very small mobile phones */
@media (max-width: 374px) {
  .infinite-gallery-section {
    padding: 0px 10px 0px;
  }
  .image-grid {
    gap: 8px;
    padding: 10px 8px;
  }
}

/* Mobile responsive for hero banner */
@media (max-width: 768px) {
    .hero-banner.active {
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .hero-banner.active {
        opacity: 0.7;
    }
}

/* Video Loading Indicator */
.video-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.video-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--primary-gold, #b59a54);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.video-error-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* TV Screen positioning for loading indicator */
.tv-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.tv-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ADDITIONAL RESPONSIVE FIXES ===== */

/* Navbar responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 20px;
    }
    .logo img {
        height: 50px;
    }
    nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 5px 15px;
    }
    .logo img {
        height: 40px;
    }
}

/* Home section responsive */
@media (max-width: 992px) {
    .hero {
        padding: 40px 50px;
    }
    .home-content {
        padding-right: 100px;
    }
    .home-title {
        font-size: 42px;
    }
    .content-home {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 30px 30px;
        min-height: auto;
    }
    .home-content {
        padding-right: 0;
        width: 100%;
    }
    .home-title {
        font-size: 36px;
    }
    .content-home {
        font-size: 18px;
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 25px 20px;
    }
    .home-title {
        font-size: 28px;
    }
    .content-home {
        font-size: 15px;
    }
}

/* About section responsive */
@media (max-width: 992px) {
    .about-section {
        padding: 80px 50px;
    }
    .abount-text {
        font-size: 24px;
        line-height: 34px;
        width: 50%;
    }
    .about-img {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 30px;
    }
    .about-title {
        font-size: 32px;
    }
    .about-details {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .abount-text {
        width: 100%;
        font-size: 20px;
        line-height: 30px;
        padding: 20px;
    }
    .about-img {
        width: 80%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 20px;
    }
    .about-title {
        font-size: 28px;
    }
    .abount-text {
        font-size: 16px;
        line-height: 24px;
        padding: 0px;
    }
    .about-img {
        width: 95%;
        max-width: 350px;
    }
}

/* Gallery section responsive */
@media (max-width: 992px) {
    .gallery-title {
        font-size: 32px;
    }
    .grallery-sub-title {
        font-size: 20px;
        margin-left: 20%;
        margin-right: 20%;
    }
    .gallery1, .gallery3 {
        width: 180px;
        height: 180px;
    }
    .gallery2 {
        width: 320px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 28px;
        margin-left: 10%;
        margin-right: 10%;
    }
    .grallery-sub-title {
        font-size: 18px;
        margin-left: 10%;
        margin-right: 10%;
    }
    .grallery-images {
        flex-direction: column;
        gap: 15px;
    }
    .gallery1, .gallery3 {
        width: 300px;
        height: 250px;
    }
    .gallery2 {
        width: 350px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 24px;
        margin-left: 0;
        margin-right: 0;
        padding: 0 10px;
    }
    .grallery-sub-title {
        font-size: 16px;
        margin-left: 0;
        margin-right: 0;
        padding: 0 10px;
    }
    .grallery-images {
        display: none;
    }
    .auto-scroll-gallery {
        display: block;
    }
    .more-button {
        width: 130px;
        height: 36px;
        font-size: 16px;
    }
    .grallery-image-tracker {
        display: none;
    }
}

/* Location section responsive */
@media (max-width: 992px) {
    .location-container {
        padding: 40px 50px;
    }
    .location-title {
        font-size: 42px;
    }
    .location-description {
        font-size: 20px;
    }
    .machine-card {
        margin-left: 50px;
        margin-right: 50px;
        padding: 30px;
        gap: 30px;
    }
    .machine-name {
        font-size: 32px;
    }
    .machine-description {
        font-size: 16px;
    }
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    .location-maps {
        margin-left: 50px;
        margin-right: 50px;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 40px 15px;
    }
    .location-container {
        padding: 40px 30px;
    }
    .location-main {
        flex-direction: column;
        gap: 20px;
    }
    .location-title {
        font-size: 38px;
    }
    .location-description {
        font-size: 18px;
    }
    .location-right {
        width: 100%;
    }
    .machine-card {
        margin-left: 30px;
        margin-right: 30px;
        padding: 30px;
        min-height: auto;
        flex-direction: column;
        gap: 25px;
    }
    .machine-content-left {
        flex: auto;
        width: 100%;
    }
    .machine-image-wrapper {
        flex: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .machine-name {
        font-size: 30px;
    }
    .machine-description {
        max-width: 100%;
        font-size: 16px;
    }
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    .left-arrow {
        left: -15px;
    }
    .right-arrow {
        right: -15px;
    }
    .location-maps {
        margin-left: 30px;
        margin-right: 30px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .location-section {
        padding: 30px 15px;
    }
    .location-container {
        padding: 0px;
    }
    .location-main {
        flex-direction: column;
        gap: 20px;
    }
    .location-header {
        flex-wrap: wrap;
        gap: 5px;
    }
    .location-title {
        font-size: 28px;
    }
    .location-logo1 {
        width: 40px;
        height: 40px;
    }
    .logo1 {
        width: 25px;
        height: 25px;
    }
    .location-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .location-right {
        width: 100%;
    }
    .machine-card {
        margin-left: 15px;
        margin-right: 15px;
        padding: 0px;
        flex-direction: column;
        gap: 20px;
    }
    .machine-content-left {
        flex: auto;
        width: 100%;
    }
    .machine-image-wrapper {
        flex: auto;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    .machine-name {
        font-size: 24px;
    }
    .machine-description {
        font-size: 14px;
        max-width: 100%;
        text-align: justify;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .left-arrow {
        left: -10px;
    }
    .right-arrow {
        right: -10px;
    }
    .location-maps {
        margin-left: 15px;
        margin-right: 15px;
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
    }
    .map-card {
        flex: 0 0 280px;
        min-width: 260px;
        scroll-snap-align: start;
    }
}

/* Footer responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
        gap: 30px;
    }
    .footer-card {
        padding: 40px 40px 25px;
    }
}

@media (max-width: 768px) {
    .footer-wrap {
        padding: 40px 15px 60px;
    }
    .footer-card {
        padding: 40px 30px 20px;
        border-radius: 30px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-left {
        grid-column: span 2;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col h4 {
        text-align: center;
    }
    .footer-col a {
        text-align: center;
    }
    .footer-col p {
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-wrap {
        padding: 30px 15px 40px;
    }
    .footer-card {
        padding: 30px 25px 20px;
        border-radius: 25px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .footer-left {
        grid-column: span 1;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-logo img {
        height: 24px;
    }
    .footer-left p {
        max-width: 100%;
        word-break: break-word;
        margin: 0 auto 10px;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col h4 {
        font-size: 15px;
        text-align: center;
    }
    .footer-col a {
        font-size: 13px;
        text-align: center;
    }
    .footer-col p {
        font-size: 13px;
        text-align: center;
        max-width: 100%;
        word-break: break-word;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 11px;
    }
    .footer-links a {
        margin: 0 8px;
        font-size: 11px;
    }
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar, .footer-wrap, .modal, button, .floating-tv {
        display: none !important;
    }
    body {
        background: white !important;
    }
    .hero, .about-section, .gallery-section, .location-section {
        page-break-inside: avoid;
        background: white !important;
    }
    .hero-banner {
        display: none !important;
    }
}

/* ===== HIGH-DPI SCREENS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img, .about-img img, .gallery1, .gallery2, .gallery3, .map-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== AUTO SCROLL VISIBILITY ===== */
@media (min-width: 768px) {
    .auto-scroll-gallery,
    .auto-scroll-maps {
        display: none;
    }
}

@media (max-width: 767px) {
    .grallery-images,
    .location-maps:not(.auto-scroll-maps) {
        display: none;
    }
    .auto-scroll-gallery,
    .auto-scroll-maps {
        display: block;
    }
}

/* ===== LANDSCAPE MODE FOR MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 20px 30px;
    }
    .home-content {
        padding-right: 0;
    }
    .home-gif {
        max-height: 200px;
    }
    .about-section {
        padding: 40px 30px;
    }
    .gallery-section {
        padding: 30px 15px;
    }
    .location-section {
        padding: 30px 15px;
    }
    .machine-card {
        min-height: 300px;
        flex-direction: row;
    }
    .machine-image-wrapper {
        width: 200px;
    }
    nav.mobile-active {
        max-height: 80vh;
        overflow-y: auto;
    }
    .floating-tv {
        top: 100px;
        right: 15px;
        width: 200px;
        height: 115px;
    }
}
/* ===== VR HEADSET SHAPE - HANGING BY CHAINS ===== */
.floating-tv {
    position: fixed;
    top: 141px;
    right: 20px;
    z-index: 9999;
    width: 280px;
    height: 160px;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* VR Headset Body */
.tv-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 60px 60px 40px 40px;
    overflow: hidden;
    box-shadow: 
        0 0 0 2px #2a2a2a,
        0 0 0 5px #1a1a1a,
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ===== BEZELS ===== */
/* Top Bezel */
.tv-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 8px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 0 0 4px 4px;
    z-index: 5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Bottom Bezel */
.tv-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 6px;
    background: linear-gradient(0deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 4px 4px 0 0;
    z-index: 5;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.5);
}

/* VR Headset Front Panel - FIXED WITH EQUAL SPACING */
.tv-screen {
    position: relative;
    margin: 18px 25px; /* Equal left and right margins */
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    height: calc(100% - 36px);
    width: calc(100% - 50px); /* Equal width accounting for margins */
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Centering container */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video inside VR headset - PERFECTLY CENTERED AND FITTED */
.tv-screen video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    /* Ensure video fills exactly */
    min-width: 100%;
    min-height: 100%;
}

/* Alternative: If video has black bars, use this instead */
/*
.tv-screen video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
*/

/* Expanded mode - FIXED */
.floating-tv.expanded .tv-screen {
    margin: 25px 35px;
    border-radius: 50px;
    height: calc(100% - 50px);
    width: calc(100% - 70px);
}

.floating-tv.expanded .tv-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===== VR HEADSET SHAPE - HANGING BY CHAINS ===== */
.floating-tv {
    position: fixed;
    top: 141px;
    right: 20px;
    z-index: 9999;
    width: 280px;
    height: 160px;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* ===== RESPONSIVE FLOATING TV - MOBILE FIX ===== */

/* Tablet screens */
@media (max-width: 992px) {
    .floating-tv { 
        top: 130px; 
        right: 15px; 
        width: 200px; 
        height: 115px; 
    }
    .tv-screen {
        margin: 14px 20px;
        height: calc(100% - 28px);
        width: calc(100% - 40px);
    }
    .tv-brand { font-size: 7px; }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
    .floating-tv { 
        top: 120px; 
        right: 12px; 
        width: 160px; 
        height: 92px; 
    }
    .tv-screen {
        margin: 10px 16px;
        height: calc(100% - 20px);
        width: calc(100% - 32px);
        border-radius: 25px;
    }
    .tv-body {
        border-radius: 40px 40px 25px 25px;
    }
    .tv-body::before {
        height: 5px;
        width: 60%;
    }
    .tv-body::after {
        height: 4px;
        width: 60%;
    }
    .tv-brand { 
        font-size: 5px; 
        bottom: 4px; 
        padding: 1px 5px;
        letter-spacing: 1px;
    }
    .tv-mount-bracket::before { font-size: 10px; top: -16px; }
    .tv-mount-bracket::after { font-size: 10px; top: -28px; }
    .tv-overlay { padding: 6px; }
    .tv-title { font-size: 7px; }
    .tv-expand-icon { width: 20px; height: 20px; font-size: 8px; }
    .vr-strap-left { width: 10px; height: 25px; left: -8px; }
    .vr-strap-right { width: 10px; height: 25px; right: -8px; }
    .vr-top-strap { width: 20px; height: 18px; top: -14px; }
    .vr-top-strap::before { width: 10px; height: 8px; top: -4px; }
    .vr-nose-rest { width: 20px; height: 8px; bottom: -5px; }
    .vr-power-led { width: 4px; height: 4px; top: 5px; right: 10px; }
    
    /* Controls - smaller */
    .tv-video-controls { 
        bottom: 45px; 
        gap: 5px; 
        padding: 4px 10px;
        border-radius: 20px;
    }
    .control-btn { 
        width: 20px; 
        height: 20px; 
        font-size: 9px; 
    }
    .tv-progress-container { 
        bottom: 35px; 
        left: 12px; 
        right: 12px; 
        height: 2px;
    }
    .tv-mute-btn { 
        bottom: 8px; 
        right: 28px; 
        width: 18px; 
        height: 18px; 
        font-size: 8px; 
    }
    .tv-glare { display: none; }
    .tv-screen::before { display: none; }
    .tv-screen::after { display: none; }
    .lens-glow-right { display: none; }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .floating-tv { 
        top: 110px; 
        right: 10px; 
        width: 130px; 
        height: 75px; 
    }
    .tv-screen {
        margin: 8px 12px;
        height: calc(100% - 16px);
        width: calc(100% - 24px);
        border-radius: 18px;
    }
    .tv-body {
        border-radius: 30px 30px 20px 20px;
    }
    .tv-body::before {
        height: 4px;
        width: 50%;
    }
    .tv-body::after {
        height: 3px;
        width: 50%;
    }
    .tv-brand { 
        font-size: 4px; 
        bottom: 3px; 
        padding: 1px 4px;
        letter-spacing: 0.5px;
    }
    .tv-mount-bracket { 
        top: -25px; 
        width: 16px; 
        height: 5px; 
    }
    .tv-mount-bracket::before { 
        font-size: 8px; 
        top: -14px; 
    }
    .tv-mount-bracket::after { 
        font-size: 8px; 
        top: -24px; 
    }
    .vr-strap-left { width: 8px; height: 18px; left: -6px; }
    .vr-strap-right { width: 8px; height: 18px; right: -6px; }
    .vr-top-strap { width: 16px; height: 14px; top: -11px; }
    .vr-top-strap::before { width: 8px; height: 6px; top: -3px; }
    .vr-nose-rest { width: 16px; height: 6px; bottom: -4px; }
    .vr-power-led { width: 3px; height: 3px; top: 4px; right: 8px; }
    .tv-overlay { padding: 4px; }
    .tv-title { font-size: 6px; }
    .tv-expand-icon { 
        width: 16px; 
        height: 16px; 
        font-size: 6px; 
        border-width: 1px;
    }
    
    /* Controls - even smaller */
    .tv-video-controls { 
        bottom: 35px; 
        gap: 4px; 
        padding: 3px 8px;
        border-radius: 15px;
    }
    .control-btn { 
        width: 16px; 
        height: 16px; 
        font-size: 7px; 
    }
    .tv-progress-container { 
        bottom: 28px; 
        left: 8px; 
        right: 8px; 
        height: 2px;
    }
    .tv-mute-btn { 
        bottom: 6px; 
        right: 22px; 
        width: 14px; 
        height: 14px; 
        font-size: 6px; 
    }
    .tv-video-title { display: none; }
}

/* Very small mobile phones */
@media (max-width: 374px) {
    .floating-tv { 
        top: 100px; 
        right: 8px; 
        width: 110px; 
        height: 63px; 
    }
    .tv-screen {
        margin: 6px 10px;
        height: calc(100% - 12px);
        width: calc(100% - 20px);
        border-radius: 14px;
    }
    .tv-body {
        border-radius: 25px 25px 16px 16px;
    }
    .tv-body::before {
        height: 3px;
        width: 40%;
    }
    .tv-body::after {
        height: 3px;
        width: 40%;
    }
    .tv-brand { 
        font-size: 3px; 
        bottom: 2px; 
        padding: 1px 3px;
    }
    .tv-mount-bracket { 
        top: -20px; 
        width: 12px; 
        height: 4px; 
    }
    .tv-mount-bracket::before { 
        font-size: 6px; 
        top: -12px; 
    }
    .tv-mount-bracket::after { 
        font-size: 6px; 
        top: -20px; 
    }
    .vr-strap-left { width: 6px; height: 14px; left: -5px; }
    .vr-strap-right { width: 6px; height: 14px; right: -5px; }
    .vr-top-strap { width: 12px; height: 10px; top: -8px; }
    .vr-top-strap::before { width: 6px; height: 5px; top: -2px; }
    .vr-nose-rest { width: 12px; height: 5px; bottom: -3px; }
    .vr-power-led { display: none; }
    .tv-overlay { padding: 3px; }
    .tv-title { font-size: 5px; }
    .tv-expand-icon { 
        width: 14px; 
        height: 14px; 
        font-size: 5px; 
    }
    .tv-video-controls { 
        bottom: 28px; 
        gap: 3px; 
        padding: 2px 6px;
        border-radius: 12px;
    }
    .control-btn { 
        width: 14px; 
        height: 14px; 
        font-size: 6px; 
    }
    .tv-progress-container { 
        bottom: 22px; 
        left: 6px; 
        right: 6px; 
        height: 1px;
    }
    .tv-mute-btn { 
        bottom: 4px; 
        right: 16px; 
        width: 12px; 
        height: 12px; 
        font-size: 5px; 
    }
    .tv-video-title { display: none; }
    .tv-glare { display: none; }
    .tv-screen::before { display: none; }
    .tv-screen::after { display: none; }
    .lens-glow-right { display: none; }
}

/* ===== EXPANDED MODE MOBILE FIXES ===== */

/* Expanded mode - Tablet */
@media (max-width: 768px) {
    .floating-tv.expanded {
        width: 92vw;
        height: 65vh;
        min-width: auto;
        min-height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .floating-tv.expanded .tv-screen {
        margin: 18px 22px;
        border-radius: 30px;
        height: calc(100% - 36px);
        width: calc(100% - 44px);
    }
    .floating-tv.expanded .tv-body {
        border-radius: 50px 50px 35px 35px;
    }
    .floating-tv.expanded .tv-body::before,
    .floating-tv.expanded .tv-body::after {
        display: none;
    }
    .floating-tv.expanded .tv-video-controls {
        bottom: 70px;
        gap: 12px;
        padding: 8px 16px;
    }
    .floating-tv.expanded .control-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .floating-tv.expanded .tv-progress-container {
        bottom: 55px;
        left: 25px;
        right: 25px;
        height: 3px;
    }
    .floating-tv.expanded .tv-overlay {
        padding: 14px;
    }
    .floating-tv.expanded .tv-title {
        font-size: 13px;
    }
    .floating-tv.expanded .tv-expand-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .floating-tv.expanded .tv-close-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
        top: 10px;
        right: 18px;
    }
    .floating-tv.expanded .tv-mute-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
        bottom: 14px;
        right: 14px;
    }
    .floating-tv.expanded .tv-video-indicators {
        bottom: 8px;
        padding: 0 15px;
    }
    .floating-tv.expanded .video-card {
        width: 45px;
        height: 45px;
    }
    .floating-tv.expanded .video-cards-container {
        gap: 6px;
        padding: 3px 8px;
    }
    .floating-tv.expanded .video-card-play-icon i {
        font-size: 14px;
    }
    .floating-tv.expanded .video-card-back-content i {
        font-size: 14px;
    }
    .floating-tv.expanded .video-card-back-content span {
        font-size: 6px;
    }
}

/* Expanded mode - Small mobile */
@media (max-width: 480px) {
    .floating-tv.expanded {
        width: 95vw;
        height: 55vh;
        min-width: auto;
        min-height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .floating-tv.expanded .tv-screen {
        margin: 14px 16px;
        border-radius: 22px;
        height: calc(100% - 28px);
        width: calc(100% - 32px);
    }
    .floating-tv.expanded .tv-body {
        border-radius: 40px 40px 28px 28px;
    }
    .floating-tv.expanded .tv-body::before,
    .floating-tv.expanded .tv-body::after {
        display: none;
    }
    .floating-tv.expanded .tv-video-controls {
        bottom: 55px;
        gap: 8px;
        padding: 6px 12px;
        border-radius: 20px;
    }
    .floating-tv.expanded .control-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .floating-tv.expanded .tv-progress-container {
        bottom: 42px;
        left: 18px;
        right: 18px;
        height: 2px;
    }
    .floating-tv.expanded .tv-overlay {
        padding: 10px;
        border-radius: 0 0 28px 28px;
    }
    .floating-tv.expanded .tv-title {
        font-size: 11px;
    }
    .floating-tv.expanded .tv-expand-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .floating-tv.expanded .tv-close-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
        top: 8px;
        right: 14px;
    }
    .floating-tv.expanded .tv-mute-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
        bottom: 10px;
        right: 10px;
    }
    .floating-tv.expanded .tv-video-indicators {
        bottom: 5px;
        padding: 0 10px;
    }
    .floating-tv.expanded .video-card {
        width: 35px;
        height: 35px;
    }
    .floating-tv.expanded .video-cards-container {
        gap: 4px;
        padding: 2px 5px;
        margin: 0 5px;
    }
    .floating-tv.expanded .video-card-play-icon i {
        font-size: 12px;
    }
    .floating-tv.expanded .video-card-back-content i {
        font-size: 12px;
    }
    .floating-tv.expanded .video-card-back-content span {
        font-size: 5px;
    }
}

/* Expanded mode - Very small mobile */
@media (max-width: 374px) {
    .floating-tv.expanded {
        width: 96vw;
        height: 45vh;
    }
    .floating-tv.expanded .tv-screen {
        margin: 10px 12px;
        border-radius: 18px;
        height: calc(100% - 20px);
        width: calc(100% - 24px);
    }
    .floating-tv.expanded .tv-body {
        border-radius: 32px 32px 22px 22px;
    }
    .floating-tv.expanded .tv-video-controls {
        bottom: 42px;
        gap: 5px;
        padding: 4px 8px;
    }
    .floating-tv.expanded .control-btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .floating-tv.expanded .tv-progress-container {
        bottom: 32px;
        left: 12px;
        right: 12px;
    }
    .floating-tv.expanded .tv-title {
        font-size: 9px;
    }
    .floating-tv.expanded .tv-expand-icon {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .floating-tv.expanded .tv-close-btn {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: 6px;
        right: 10px;
    }
    .floating-tv.expanded .tv-mute-btn {
        width: 20px;
        height: 20px;
        font-size: 8px;
        bottom: 8px;
        right: 8px;
    }
    .floating-tv.expanded .video-card {
        width: 30px;
        height: 30px;
    }
    .floating-tv.expanded .video-cards-container {
        gap: 3px;
        padding: 2px 4px;
    }
    .floating-tv.expanded .video-card-play-icon i {
        font-size: 10px;
    }
    .floating-tv.expanded .video-card-back-content i {
        font-size: 10px;
    }
    .floating-tv.expanded .video-card-back-content span {
        font-size: 4px;
    }
}

/* ===== FULL PAGE BACKGROUND IMAGE ===== */
html, body {
    background: url('/assets/fullbg2.png') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100%;
}

/* Section backgrounds */
.infinite-gallery-section,
.footer-wrap,
.about-section,
.gallery-section,
.location-section {
    background: rgba(0, 0, 0, 0.65) !important;
}

/* ===== MOBILE BACKGROUND ZOOM-OUT ===== */
@media (max-width: 992px) {
    html, body {
        background-size: 120% !important;
        background-position: center 40% !important;
    }
}

@media (max-width: 768px) {
    html, body {
        background-size: 150% !important;
        background-position: center 35% !important;
    }
    /* Make sections slightly more transparent on mobile for better visibility */
    .infinite-gallery-section,
    .footer-wrap,
    .about-section,
    .gallery-section,
    .location-section {
        background: rgba(0, 0, 0, 0.75) !important;
    }
}

@media (max-width: 480px) {
    html, body {
        background-size: 180% !important;
        background-position: center 30% !important;
    }
    .infinite-gallery-section,
    .footer-wrap,
    .about-section,
    .gallery-section,
    .location-section {
        background: rgba(0, 0, 0, 0.80) !important;
    }
}

@media (max-width: 374px) {
    html, body {
        background-size: 220% !important;
        background-position: center 25% !important;
    }
    .infinite-gallery-section,
    .footer-wrap,
    .about-section,
    .gallery-section,
    .location-section {
        background: rgba(0, 0, 0, 0.85) !important;
    }
}

/* ============================================
   FLOATING CONTACT ACTION BAR (Call, WhatsApp, Email)
   ============================================ */

/* Base styles for the floating bar */
.floating-contact-bar {
  position: fixed;
  z-index: 9999;
  display: flex;
  transition: all 0.3s ease;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-action-btn i {
  font-size: 20px;
}

/* ===== MOBILE VIEW (Bottom Bar) ===== */
@media (max-width: 767px) {
  .floating-contact-bar {
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a0a0a; /* Dark theme background */
    border-top: 1px solid var(--theme-border, #333);
    padding: 10px 0;
    justify-content: space-around;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  }

  .contact-action-btn {
    flex-direction: column; /* Icon on top, text below */
    color: var(--theme-text-secondary, #cccccc);
    font-size: 12px;
    width: 33.33%;
    padding: 5px 0;
  }

  /* Make icons gold/yellow */
  .contact-action-btn i {
    color: var(--primary-gold, #f8c83a);
    font-size: 22px;
    margin-bottom: 4px;
  }

  /* Active state for mobile */
  .contact-action-btn:active {
    background: rgba(248, 200, 58, 0.1);
    transform: scale(0.95);
  }

  /* Add padding to body so content doesn't hide behind the bar */
  body {
    padding-bottom: 70px;
  }

  /* Adjust footer padding to account for the new bar */
  .footer-wrap {
    padding-bottom: 80px !important;
  }
}

/* ===== DESKTOP & TABLET VIEW (Side Floating Bar) ===== */
@media (min-width: 768px) {
  .floating-contact-bar {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    flex-direction: column; /* Vertical stack */
    gap: 15px;
    background: transparent;
  }

  .contact-action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 1px solid var(--theme-border, #333);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
  }

  /* Hide text on desktop, show only icons */
  .contact-action-btn .action-text {
    display: none;
  }

  .contact-action-btn i {
    color: var(--primary-gold, #f8c83a);
    font-size: 22px;
    transition: transform 0.3s ease;
  }

  /* Hover effects for Desktop */
  .contact-action-btn:hover {
    background: var(--primary-gold, #f8c83a);
    border-color: var(--primary-gold, #f8c83a);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(248, 200, 58, 0.4);
  }

  .contact-action-btn:hover i {
    color: #000000;
    transform: rotate(10deg);
  }

  /* Specific hover colors */
  .contact-action-btn.whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
  }
  .contact-action-btn.whatsapp-btn:hover i {
    color: #ffffff;
  }
}

/* ===== MOBILE VIEW (Bottom Bar) ===== */
@media (max-width: 767px) {
  .floating-contact-bar {
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-top: 1px solid var(--theme-border, #333);
    padding: 10px 0;
    justify-content: space-around;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  }

  .contact-action-btn {
    flex-direction: column;
    color: var(--theme-text-secondary, #cccccc);
    font-size: 12px;
    width: 25%; /* ✅ Changed from 33.33% to 25% for 4 items */
    padding: 5px 0;
  }

  .contact-action-btn i {
    color: var(--primary-gold, #f8c83a);
    font-size: 22px;
    margin-bottom: 4px;
  }

  .contact-action-btn:active {
    background: rgba(248, 200, 58, 0.1);
    transform: scale(0.95);
  }

  body {
    padding-bottom: 70px;
  }

  .footer-wrap {
    padding-bottom: 80px !important;
  }
}

/* ===== DESKTOP & TABLET VIEW (Side Floating Bar) ===== */
@media (min-width: 768px) {
  .floating-contact-bar {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 15px;
    background: transparent;
  }

  .contact-action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 1px solid var(--theme-border, #333);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
  }

  .contact-action-btn .action-text {
    display: none;
  }

  .contact-action-btn i {
    color: var(--primary-gold, #f8c83a);
    font-size: 22px;
    transition: transform 0.3s ease;
  }

  .contact-action-btn:hover {
    background: var(--primary-gold, #f8c83a);
    border-color: var(--primary-gold, #f8c83a);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(248, 200, 58, 0.4);
  }

  .contact-action-btn:hover i {
    color: #000000;
    transform: rotate(10deg);
  }

  /* Specific hover colors */
  .contact-action-btn.whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
  }
  .contact-action-btn.whatsapp-btn:hover i {
    color: #ffffff;
  }

  /* ✅ NEW: Instagram brand hover */
  .contact-action-btn.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
  }
  .contact-action-btn.instagram-btn:hover i {
    color: #ffffff;
  }

  /* Optional: distinct hover for call & email too */
  .contact-action-btn.call-btn:hover {
    background: #34a853;
    border-color: #34a853;
  }
  .contact-action-btn.call-btn:hover i {
    color: #ffffff;
  }

  .contact-action-btn.email-btn:hover {
    background: #ea4335;
    border-color: #ea4335;
  }
  .contact-action-btn.email-btn:hover i {
    color: #ffffff;
  }
}