/* Modern CSS styling for Talween Furniture & Car Seat Upholstery Trading L.L.C */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-navy: #091a30;
  --header-blue: #0b2545;
  --accent-red: #d9232d;
  --accent-red-hover: #b81b24;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max-width: 1320px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 37, 69, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- BUTTON STYLES --- */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 35, 45, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 35, 45, 0.4);
}

.btn-secondary-outline {
  border: 1.5px solid var(--primary-navy);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary-outline:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
}

/* --- TOP HEADER UTILITY BAR --- */
.top-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  transition: color 0.2s;
}

.top-bar-item:hover { color: #ffffff; }

.top-bar-item i { color: #38bdf8; }

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

.social-links a {
  color: #cbd5e1;
  font-size: 13px;
  transition: color 0.2s;
}
.social-links a:hover { color: #ffffff; }

/* --- MAIN NAVBAR --- */
.navbar {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.navbar-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-navy), #1e3a8a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

.brand-text h1 {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0 auto;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

/* Track Your Order highlighted button */
.track-invoice-link {
  background: linear-gradient(135deg, #0b2545 0%, #1e3a8a 100%);
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 50px;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(11,37,69,0.30), inset 0 1px 0 rgba(255,255,255,0.12);
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.track-invoice-link::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%   { left: -75%; }
  100% { left: 150%; }
}

.track-invoice-link i {
  font-size: 16px;
}

.track-invoice-link:hover {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(192,57,43,0.40);
  border-color: transparent;
}

.track-invoice-link.active {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
}

.track-invoice-link.active::after {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: white;
  display: none !important;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(217, 35, 45, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}

.search-btn:hover {
  transform: scale(1.06);
  background-color: var(--accent-red-hover);
}

/* --- HERO SECTION --- */
.hero-wrapper {
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-content-container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 30px 70px 30px;
  display: grid;
  grid-template-columns: 36% 64%;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left-text {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
}

.hero-tag {
  color: #2563eb;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.02;
  color: #0b2545;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-title span {
  color: #d9232d;
}

.hero-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 360px;
}

.hero-right-slanted-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 32%;
  background: white;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-images-grid {
  display: flex;
  height: 420px;
  gap: 12px;
  position: relative;
  z-index: 3;
  margin-left: -20px;
}

.slanted-hero-item {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.slanted-hero-item.item-1 {
  clip-path: polygon(26% 0, 100% 0, 74% 100%, 0% 100%);
  margin-left: 15px;
}

.slanted-hero-item.item-2 {
  clip-path: polygon(26% 0, 100% 0, 74% 100%, 0% 100%);
}

.slanted-hero-item.item-3 {
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0% 100%);
}

.slanted-hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 0.4s ease;
}

.hero-accent-stripes {
  position: absolute;
  bottom: 75px;
  left: 31%;
  z-index: 10;
  display: flex;
  gap: 6px;
  transform: skewX(-24deg);
}

.stripe-blue {
  width: 28px;
  height: 38px;
  background-color: #0b2545;
  border-radius: 2px;
}

.stripe-red {
  width: 28px;
  height: 38px;
  background-color: #d9232d;
  border-radius: 2px;
}

.top-right-flag {
  position: absolute;
  top: 0;
  right: 40px;
  z-index: 10;
  display: flex;
  gap: 4px;
  transform: skewX(-24deg);
}

.flag-red {
  width: 24px;
  height: 16px;
  background-color: #d9232d;
}

.flag-blue {
  width: 24px;
  height: 16px;
  background-color: #0b2545;
}

/* --- FLOATING FEATURE CARDS OVERLAY --- */
.features-bar-overlay {
  max-width: var(--container-max-width);
  margin: -40px auto 45px auto;
  position: relative;
  z-index: 20;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 15px;
  border-right: 1px solid var(--border-color);
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-red);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
}

.feature-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- GALLERY & SPOTLIGHT SECTION --- */
.gallery-section {
  max-width: var(--container-max-width);
  margin: 0 auto 45px auto;
  padding: 0 30px;
}

.section-subtitle {
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
}

.spotlight-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spotlight-img {
  width: 100%;
  height: 210px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin: 15px 0 20px 0;
  box-shadow: var(--shadow-sm);
}

.gallery-right-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.gallery-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 2px;
  scrollbar-width: none;
  width: 100%;
}

.carousel-track::-webkit-scrollbar { display: none; }

.gallery-card {
  flex: 0 0 165px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.gallery-card img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
}

.gallery-card-title {
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #ffffff;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(9, 26, 48, 0.2);
  transition: background-color 0.2s, transform 0.2s;
  z-index: 10;
}

.nav-arrow:hover {
  background-color: var(--accent-red);
  transform: scale(1.08);
}

/* --- AUTHORIZED PARTNERS --- */
.partners-bar {
  max-width: var(--container-max-width);
  margin: 0 auto 35px auto;
  background: #ffffff;
  padding: 20px 35px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.partners-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  white-space: nowrap;
  margin-right: 35px;
  flex-shrink: 0;
}

.partners-slider {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.partners-slider::before,
.partners-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}

.partners-slider::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.partners-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.partner-logos-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
}

.partner-logos-track:hover {
  animation-play-state: paused;
}

.partner-logos-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}

.partner-logos-group img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 1;
}

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

/* --- NEWSLETTER BAR --- */
.newsletter-bar {
  max-width: var(--container-max-width);
  margin: 0 auto 50px auto;
  background: var(--header-blue);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.newsletter-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-input {
  width: 320px;
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
  font-size: 13px;
  outline: none;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--primary-navy);
  color: #94a3b8;
  padding: 60px 0 25px 0;
  font-size: 13px;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.3fr;
  gap: 35px;
  margin-bottom: 40px;
}

.footer-col h5 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footer-col ul li a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* --- RETAIL PRODUCTS SECTION --- */
.products-section {
  max-width: var(--container-max-width);
  margin: 0 auto 55px auto;
  padding: 0 30px;
}

.products-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
  background: #f8fafc;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.product-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.products-search-sort {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

.product-search {
  padding: 8px 16px 8px 38px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  width: 220px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-search:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(11,37,69,0.1);
}

.product-sort {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  background: #ffffff;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.product-sort:focus {
  border-color: var(--primary-navy);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
  min-height: 250px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.product-badge.genuine {
  background: #0b2545;
}

.product-badge.premium {
  background: #1e3a8a;
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
  line-height: 1.4;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.price-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
}

.price-currency {
  font-size: 12px;
  font-weight: 700;
}

.btn-inquire {
  background: #25d366;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-inquire:hover {
  background: #128c7e;
  color: #ffffff;
  transform: scale(1.03);
}

.no-products-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* --- GALLERY PAGE SPECIFIC STYLES --- */
.gallery-showcase-container {
  max-width: var(--container-max-width);
  margin: 0 auto 55px auto;
  padding: 0 30px;
}

.gallery-slideshow {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  background: #000;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

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

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11,37,69,0.85));
  color: white;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
}

.slide-caption-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.slide-caption-desc {
  font-size: 14px;
  opacity: 0.85;
  max-width: 600px;
  line-height: 1.5;
  color: #e2e8f0;
}

/* Slideshow navigation */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
}

.slideshow-arrow:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.slideshow-arrow.prev {
  left: 20px;
}

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

.slideshow-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slideshow-dot.active {
  background: var(--accent-red);
  transform: scale(1.2);
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.photo-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card:hover img {
  transform: scale(1.06);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 37, 69, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 36px;
  cursor: pointer;
  padding: 10px;
  transition: color 0.2s;
  user-select: none;
  z-index: 1010;
}

.lightbox-nav:hover {
  color: var(--accent-red);
}

.lightbox-nav.prev {
  left: -60px;
}

.lightbox-nav.next {
  right: -60px;
}

@media (max-width: 768px) {
  .gallery-slideshow {
    height: 320px;
  }
  .lightbox-nav.prev {
    left: 10px;
  }
  .lightbox-nav.next {
    right: 10px;
  }
}

/* --- CONTACT PAGE STYLES --- */
.contact-section {
  max-width: var(--container-max-width);
  margin: 0 auto 55px auto;
  padding: 0 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-info-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.contact-info-text h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  text-decoration: none;
}

.contact-info-text a:hover {
  color: var(--accent-red);
}

.working-hours-list {
  margin-top: 30px;
  background: #f8fafc;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.working-hours-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.working-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 13px;
}

.working-hours-row:last-child {
  border-bottom: none;
}

.working-hours-day {
  font-weight: 700;
  color: var(--primary-navy);
}

.working-hours-time {
  color: var(--text-muted);
}

.working-hours-time.closed {
  color: var(--accent-red);
  font-weight: 700;
}

/* Contact Form */
.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-form-input, .contact-form-textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 13px;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.contact-form-input:focus, .contact-form-textarea:focus {
  border-color: var(--primary-navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11,37,69,0.1);
}

.contact-form-textarea {
  height: 120px;
  resize: vertical;
}

.btn-submit-contact {
  background: var(--primary-navy);
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-contact:hover {
  background: var(--accent-red);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- ABOUT US SECTION --- */
.about-section {
  max-width: var(--container-max-width);
  margin: 60px auto;
  padding: 0 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 400px;
}

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

.about-img-badge {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: var(--primary-navy);
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent-red);
}

.about-badge-years {
  font-size: 24px;
  font-weight: 900;
  display: block;
  line-height: 1.1;
  color: #ffffff;
}

.about-badge-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

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

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11,37,69,0.06);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.about-feature-text h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.about-feature-text p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-img-container {
    height: 280px;
  }
}

/* --- MOBILE RESPONSIVENESS OVERRIDES --- */
@media (max-width: 768px) {
  /* Utility Bar */
  .top-bar {
    display: none; /* Hide top bar on mobile to save vertical space */
  }

  /* Navbar & Hamburger Menu */
  .navbar-container {
    padding: 0 15px;
    position: relative;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: var(--primary-navy);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .menu-toggle:hover {
    background-color: var(--border-color);
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 3px solid var(--accent-red);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    gap: 15px;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu .track-invoice-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }

  .nav-right {
    gap: 10px;
  }

  /* Hero Section styling fixes */
  .hero-wrapper {
    min-height: auto;
  }

  .hero-content-container {
    grid-template-columns: 1fr;
    padding: 30px 15px;
    gap: 30px;
  }

  .hero-left-text {
    padding-right: 0;
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-images-grid {
    height: 250px;
    margin-left: 0;
    margin-top: 10px;
  }

  .hero-right-slanted-bg {
    display: none;
  }

  .hero-accent-stripes, .top-right-flag {
    display: none;
  }

  /* Floating Overlay fixes */
  .features-bar-overlay {
    grid-template-columns: 1fr;
    margin: 15px 15px;
    padding: 20px;
    gap: 15px;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    padding-right: 0;
  }

  .feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Spotlight & Gallery fixes */
  .gallery-section {
    padding: 0 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-right-container {
    padding: 20px;
    min-width: 0;
  }

  .gallery-carousel, .spotlight-card {
    min-width: 0;
  }

  .section-title {
    font-size: 18px;
    line-height: 1.3;
  }

  /* Newsletter fixes */
  .newsletter-bar {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 24px 20px;
    text-align: center;
    margin: 0 15px 30px 15px;
  }

  .newsletter-left {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
  }

  /* Footer fixes */
  .footer {
    padding: 40px 0 20px 0;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
}

/* Helper utilities for responsive display split */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
  .menu-toggle {
    display: none !important;
  }
  .nav-right {
    margin-right: 5%;
  }
  .search-btn {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}
