/* Import Modern Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Reset & Variables */
:root {
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Premium HSL Color Palette */
  --bg-main: hsl(222, 47%, 9%);
  --bg-card: hsl(222, 47%, 14%);
  --bg-sidebar: hsla(222, 47%, 12%, 0.85);
  --border-color: hsla(217, 33%, 20%, 0.5);
  
  --primary: hsl(224, 76%, 48%);
  --primary-glow: hsla(224, 76%, 48%, 0.3);
  --secondary: hsl(175, 84%, 37%);
  --secondary-glow: hsla(175, 84%, 37%, 0.2);
  --accent: hsl(25, 95%, 53%);
  --accent-glow: hsla(25, 95%, 53%, 0.2);
  --whatsapp-green: hsl(142, 70%, 45%);
  --whatsapp-glow: hsla(142, 70%, 45%, 0.35);

  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 25%, 68%);
  --text-muted: hsl(215, 16%, 47%);

  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 340px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* 2-Column Responsive Layout Structure */
.app-container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  position: relative;
}

/* Left Sidebar (Sticky Booking Column) */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
  transition: var(--transition-smooth);
}

.brand:hover .brand-logo {
  transform: rotate(5deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-primary);
}

.brand-name span {
  color: var(--secondary);
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
  margin-bottom: auto;
}

.booking-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Big Animated WhatsApp Button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--whatsapp-glow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.whatsapp-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: var(--transition-smooth);
  opacity: 0;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  background-color: hsl(142, 70%, 40%);
  box-shadow: 0 8px 30px var(--whatsapp-glow);
}

.whatsapp-btn:hover::after {
  left: 130%;
  opacity: 1;
  transition: all 0.7s ease-in-out;
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.info-item svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

.sidebar-footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Right Column (Main Content Area) */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 4rem 5%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* Section Common Styling */
section {
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

/* TOP PART: Graphic & Business Services */
.services-section {
  width: 100%;
}

/* Graphic Showcase Container */
.graphic-showcase {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-main));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.graphic-showcase::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Logistics SVG Map/Flow Graphic */
.interactive-map-container {
  width: 100%;
  height: 220px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow-svg {
  width: 100%;
  height: 100%;
  max-width: 800px;
}

/* Animated shipping dots */
.animated-dot {
  animation: dash 8s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -80;
  }
}

.glow-point {
  animation: pulsePoint 2s infinite ease-in-out;
}

@keyframes pulsePoint {
  0%, 100% { r: 5px; opacity: 0.7; }
  50% { r: 9px; opacity: 1; fill: var(--accent); }
}

/* Services Grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.15);
}

.service-img-container {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: #111827;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 80%);
}

.service-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-title {
  color: var(--secondary);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-badge {
  background-color: var(--secondary-glow);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  width: fit-content;
  border: 1px solid hsla(175, 84%, 37%, 0.3);
}

.service-card.active {
  border-color: var(--accent);
  box-shadow: 0 12px 35px rgba(249, 115, 22, 0.18);
}
.service-card.active .service-title {
  color: var(--accent);
}

/* Service Detail Modal/Drawer Panel */
.service-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  display: none;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.detail-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.detail-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.detail-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-item svg {
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.detail-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.detail-action h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

/* BOTTOM PART: Facebook Feed & Embedding */
.social-section {
  width: 100%;
}

.social-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

/* Toggle Switch Styling */
.feed-toggle-container {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 0.35rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--secondary);
  animation: pulseWave 1.8s infinite ease-in-out;
}

@keyframes pulseWave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* Custom Facebook Posts Grid */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  transition: var(--transition-smooth);
}

/* Iframe Container */
.iframe-container {
  display: none;
  width: 100%;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  animation: fadeIn 0.4s ease-out;
}

.iframe-container iframe {
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
  max-width: 500px;
  width: 100%;
  background: white;
}

/* Post Card Styling */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-glow);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.post-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.post-author-meta {
  display: flex;
  flex-direction: column;
}

.post-author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-fb-badge {
  color: #1877f2;
  transition: var(--transition-smooth);
}
.post-card:hover .post-fb-badge {
  transform: scale(1.1);
}

.post-content {
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-line;
  flex-grow: 1;
}

.post-image-container {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.03);
  position: relative;
}

.post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.post-card:hover .post-img {
  transform: scale(1.03);
}

.post-footer {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.1);
}

.post-actions {
  display: flex;
  gap: 1.25rem;
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.post-action-btn:hover {
  color: var(--primary);
}

.post-action-btn svg {
  width: 16px;
  height: 16px;
}

/* Skeleton Loading State for Feed */
.skeleton-card {
  height: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: translateX(-100%);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  100% { transform: translateX(100%); }
}

.skeleton-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skeleton-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.skeleton-line {
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.mid { width: 70%; }

.skeleton-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeleton-image {
  height: 160px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  width: 100%;
}

/* Sticky Mobile Floating Booking Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsla(222, 47%, 9%, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
  z-index: 150;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .interactive-map-container {
    height: 150px;
  }
}

@media (max-width: 991px) {
  .app-container {
    flex-direction: column;
  }
  
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
  }

  .booking-panel {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .main-content {
    margin-left: 0;
    padding: 3rem 1.5rem 6rem 1.5rem;
    gap: 4rem;
  }

  .feed-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-body {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-bar {
    display: block;
  }
  
  .sidebar .whatsapp-btn {
    display: none;
  }
  
  .sidebar .booking-desc {
    display: none;
  }
}

/* Language Switcher Styling */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3px;
  width: fit-content;
  margin-top: 1.5rem;
  z-index: 10;
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background-color: var(--secondary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--secondary-glow);
}

