/* 
   VikinGo Lasit - Gold & Black Theme
   Modern, Premium, High Contrast
*/

:root {
  /* Theme variables moved to theme-dark.css and theme-light.css */

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --container-width: 1200px;
}

/* ... Light Mode stays same ... */

/* Header */
/* Header */
header {
  background: var(--bg-body);
  /* Solid Black */
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: background-color 0.3s ease;
}

/* Logo */
.brand-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* Nav Tools / Buttons */
.btn-icon-only {
  padding: 12px;
  background: #222;
  /* Solid background for visibility */
  border: 1px solid #444;
  color: #FFF;
  border-radius: var(--radius-sm);
  min-width: 44px;
  /* Ensure wide touch target */
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-only:hover {
  background: #333;
  border-color: var(--primary);
}

/* Hero */
.hero {
  /* Remove radial gradient to ensure pure black */
  background: var(--bg-body);
  /* ... */
}

/* ... */

@media (max-width: 600px) {

  /* ... */
  .brand-logo-img {
    height: 70px;
    /* Bigger on mobile too */
  }

  .nav-tools {
    display: flex;
    margin-right: 8px;
    padding-right: 8px;
    gap: 12px;
    /* More space */
  }

  .btn-icon-only {
    padding: 10px;
    background: #333;
    /* High contrast on mobile */
    border: 1px solid #555;
  }

  /* ... */
}



/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #9E8655);
  color: #000;
  box-shadow: 0 4px 15px rgba(191, 163, 111, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 163, 111, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(191, 163, 111, 0.1);
  transform: translateY(-2px);
}

.btn-icon-only {
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.btn-icon-only:hover {
  background: var(--border);
}

.section-padding {
  padding: 80px 0;
}

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

.text-gold {
  color: var(--primary);
}

/* Header */
header {
  background: var(--bg-body);
  /* Using variable for theme support */
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: background-color 0.3s ease;
}

/* Ensure transparency works if desired, passing rgba manually or utilizing opacity */
header {
  background: color-mix(in srgb, var(--bg-body), transparent 5%);
  backdrop-filter: blur(10px);
}


.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logo-img {
  height: 80px;
  /* Increased Size */
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 16px;
  border-right: 1px solid var(--border);
  padding-right: 16px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.phone-link:hover {
  color: var(--primary);
}

.phone-icon {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  overflow: hidden;
  position: relative;
  /* Adjust radial gradient for light/dark compatibility */
  background: var(--bg-body);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--primary);
  background: linear-gradient(to right, var(--primary), var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback for browsers */
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: var(--primary);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  padding: 20px;
  border: 1px solid var(--border);
  transform: rotate(-2deg);
  transition: transform 0.5s ease, background-color 0.3s, border-color 0.3s;
}

.hero-card:hover {
  transform: rotate(0deg);
}

.hero-image-placeholder {
  aspect-ratio: 4/3;
  /* Use vars for placeholder bg */
  background: linear-gradient(135deg, var(--bg-surface), var(--border));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 163, 111, 0.2);
}

.hero-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(191, 163, 111, 0.03) 10px, rgba(191, 163, 111, 0.03) 20px);
}

/* Promise Section */
.promise {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s;
}

.promise-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.promise h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.promise p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* About Section */
.about {
  /* If dark mode, keep black, if light mode, use surface */
  background: var(--bg-body);
  transition: background-color 0.3s;
}

/* Ensure consistent look for specific section preference */



.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-text {
  padding: 80px 40px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

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

.about-visual {
  background: var(--bg-body);
  position: relative;
  min-height: 400px;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  /* Keep transparency */
  backdrop-filter: blur(5px);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-highlight);
  text-align: center;
  box-shadow: var(--shadow-glow);
}



.stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(to bottom, #BFA36F, #9E8655);
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-sub {
  color: white;
}




/* Services */
.services-header {
  margin-bottom: 60px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-item {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.service-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-visual {
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border);
}

.service-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--bg-body), var(--bg-surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

/* Footer */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--primary);
  padding: 60px 0 20px;
  transition: background-color 0.3s;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  color: var(--text-muted);
}

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

.newsletter-box {
  background: var(--bg-body);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.newsletter-input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  background: var(--bg-surface);
  color: var(--text-main);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}


/* Mobile Responsiveness */
/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    padding: 40px 20px;
    text-align: center;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-visual {
    height: 200px;
    order: -1;
    border-left: none;
    border-bottom: 1px solid var(--border);
  }

  .nav-tools {
    display: flex;
    margin-right: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 600px) {
  .nav-cta span {
    display: none;
  }

  .nav-cta {
    gap: 8px;
  }

  .brand-logo-img {
    height: 60px;
    /* Adjusted to fit header better */
  }

  .nav-tools {
    display: flex;
    margin-right: 8px;
    padding-right: 8px;
    gap: 16px;
    /* Increased gap for better touch targets */
  }

  .btn-icon-only {
    padding: 0;
    /* Reset padding */
    width: 48px;
    /* Fixed larger touch target */
    height: 48px;
    background: #222;
    /* High contrast */
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .section-padding {
    padding: 50px 0;
  }

  /* Make content buttons full width, but keep header button auto to fit in row */
  .btn {
    width: 100%;
  }

  header .btn {
    width: auto;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 3rem;
  }
}

/* Booking / Form Styles */
.booking-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-body);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(201, 162, 77, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

  .booking-wrapper {
    padding: 24px;
  }
}

/* Button Click Animation */
.btn:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-body);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}