/* ============================================
   Samek-Mary Int. Ltd - Homepage Styles
   ============================================ */

:root {
  --primary-color: #0d2c54;
  --primary-glow: rgba(13, 44, 84, 0.4);
  --accent-color: #d4af37;
  --accent-glow: rgba(212, 175, 55, 0.5);
  --text-dark: #1f2937;
  --text-light: #f9fafb;
  --text-muted: #6b7280;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= Navbar ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.navbar.scrolled .brand-text {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn-primary-glow) {
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a:not(.btn-primary-glow) {
  color: var(--text-dark);
}

.nav-links a:not(.btn-primary-glow)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-glow):hover::after {
  width: 100%;
}

.btn-primary-glow {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 44, 84, 0.6);
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

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

.parallax-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13,44,84,0.9) 0%, rgba(13,44,84,0.4) 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  color: var(--text-light);
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 3rem;
  color: #e5e7eb;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.7);
}

.btn-secondary-large {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= About Section ================= */
.about-section {
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.title-underline.center {
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.about-image-wrapper {
  position: relative;
  height: 500px;
  background: url('/hero_logistics.png') center/cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,44,84,0.8), transparent);
}

.glass-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 16px;
  color: var(--text-light);
}

.glass-card h3 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

/* ================= Services Section ================= */
.services-section {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(13, 44, 84, 0.1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(13, 44, 84, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: var(--bg-white);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ================= CTA Section ================= */
.cta-section {
  padding: 6rem 0;
  background: var(--primary-color);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ================= Footer ================= */
.footer {
  background: #081a33;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 48px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  margin-bottom: 0.5rem;
}

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

.link-group h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.link-group a {
  display: block;
  margin-bottom: 0.75rem;
}

.link-group a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    flex-wrap: wrap;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
