/* ===========================
   DARASAMUT — style.css
   Theme: Deep Navy Blue
   =========================== */

:root {
  --navy-deep:   #0B1F3A;
  --navy-mid:    #122D55;
  --navy-light:  #1A3D70;
  --gold:        #C9A84C;
  --gold-light:  #E4C97A;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --text-main:   #1A2636;
  --text-muted:  #5A6B80;
  --border:      #D8E2EE;
  --shadow:      0 4px 24px rgba(11,31,58,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--gold); }
ul { list-style: none; padding: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-eyebrow {
  font-family: 'Sarabun', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-deep);
  box-shadow: 0 2px 16px rgba(11,31,58,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .02em;
}
.navbar nav {
  display: flex;
  gap: 32px;
}
.navbar nav a {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 400;
  transition: color .2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.navbar nav a:hover,
.navbar nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 16px 24px;
  gap: 16px;
}
.mobile-menu a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* ===========================
   HERO (homepage)
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,31,58,.88) 40%, rgba(18,45,85,.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 24px 80px;
  margin-left: calc((100vw - 1140px)/2);
  margin-left: max(24px, calc((100vw - 1140px)/2));
}
.hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.hero-sub {
  color: rgba(255,255,255,.80);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 68px;
}
.page-hero-short { height: 280px; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,.90) 0%, rgba(11,31,58,.45) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px 48px;
  max-width: 1140px;
  margin: 0 auto;
}
.page-hero-content .hero-eyebrow { color: var(--gold-light); }
.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background .2s, transform .15s;
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy-light);
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 32px;
  border-radius: 4px;
  border: 2px solid var(--navy-light);
  transition: all .2s;
  margin-top: 1.5rem;
}
.btn-outline:hover {
  background: var(--navy-light);
  color: var(--white);
}
.btn-full { width: 100%; text-align: center; cursor: pointer; }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: white;
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: 4px;
  margin-top: 1.75rem;
  transition: background .2s, transform .15s;
}
.btn-line:hover {
  background: #05a847;
  color: white;
  transform: translateY(-2px);
}

/* ===========================
   SERVICES GRID
   =========================== */
.services { background: var(--off-white); }
.services h2 { text-align: center; margin-bottom: 2.5rem; }
.services .section-eyebrow { text-align: center; display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(11,31,58,.14);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.service-card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ===========================
   WHY US
   =========================== */
.why-us { background: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 480px;
}
.why-list { margin: 1.5rem 0; }
.why-list li {
  padding: 8px 0;
  font-size: .97rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: none; }

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio { background: var(--navy-deep); }
.portfolio h2, .portfolio .section-eyebrow { color: var(--white); }
.portfolio h2 { margin-bottom: 2.5rem; }
.portfolio .section-eyebrow { display: block; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.port-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.port-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.port-item:hover img { transform: scale(1.04); }
.port-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11,31,58,.88), transparent);
  color: var(--white);
  padding: 24px 16px 14px;
  font-size: .9rem;
  font-weight: 600;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: var(--navy-mid);
  text-align: center;
  padding: 80px 0;
}
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy-deep);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { font-size: 1.4rem; display: block; margin-bottom: .75rem; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-links h4, .footer-contact h4 {
  color: var(--gold);
  font-family: 'Sarabun', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  padding: 4px 0;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: .5rem;
}
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 20px 24px;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .85rem; margin: 0; }

/* ===========================
   ABOUT PAGE
   =========================== */
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.story-text p { color: var(--text-muted); }

.values-section { background: var(--off-white); }
.values-section h2, .values-section .section-eyebrow { text-align: center; display: block; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--gold);
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .75rem;
  opacity: .7;
}
.value-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }

.team-section { background: var(--navy-deep); }
.team-section h2, .team-section .section-eyebrow { color: var(--white); }
.team-section h2 { margin-bottom: 2.5rem; }
.team-section .section-eyebrow { display: block; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.team-card h3 { color: var(--gold); padding: 20px 20px 8px; }
.team-card p { color: rgba(255,255,255,.65); padding: 0 20px 24px; font-size: .9rem; margin: 0; }

.process-section { background: var(--white); }
.process-section h2, .process-section .section-eyebrow { text-align: center; display: block; }
.process-steps {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 0 0 36px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.step-content h3 { color: var(--navy-deep); margin-bottom: .4rem; }
.step-content p { color: var(--text-muted); margin: 0; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-section { background: var(--off-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc { color: var(--text-muted); margin-bottom: 2rem; }
.info-items { display: flex; flex-direction: column; gap: 20px; }
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.info-item strong {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy-deep);
  margin-bottom: .25rem;
}
.info-item p { color: var(--text-muted); font-size: .93rem; margin: 0; line-height: 1.6; }
.info-item a { color: var(--navy-light); }
.info-item a:hover { color: var(--gold); }

.contact-form-wrap { background: var(--white); border-radius: 12px; padding: 48px 40px; box-shadow: var(--shadow); }
.contact-form-wrap h2 { margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: 'Sarabun', sans-serif;
  font-size: .95rem;
  color: var(--text-main);
  background: var(--off-white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-light);
  background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-success {
  margin-top: 16px;
  background: #e6f9ee;
  color: #1a7a42;
  padding: 16px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.map-section { background: var(--white); padding-bottom: 0; }
.map-eyebrow { display: block; text-align: center; margin-bottom: .25rem; }
.map-title { text-align: center; margin-bottom: 2rem; }
.map-embed { width: 100%; margin-top: 0; }
.map-embed iframe { display: block; }

/* ===========================
   PRIVACY PAGE
   =========================== */
.privacy-section { background: var(--off-white); }
.privacy-content {
  max-width: 780px;
  margin: 0 auto;
}
.privacy-date {
  color: var(--text-muted);
  font-size: .88rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2.5rem;
}
.privacy-block {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(11,31,58,.06);
}
.privacy-block h2 {
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .5rem;
  display: inline-block;
}
.privacy-block p, .privacy-block li {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
}
.privacy-block ul { margin: .75rem 0 .75rem 1.25rem; list-style: disc; }
.privacy-block li { margin-bottom: .4rem; }
.privacy-block a { color: var(--navy-light); font-weight: 600; }
.privacy-block a:hover { color: var(--gold); }
.privacy-contact-box {
  background: var(--off-white);
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 1rem;
}
.privacy-contact-box p { margin-bottom: .4rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner, .story-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-img img, .story-img img { height: 300px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .navbar nav { display: none; }
  .hamburger { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 20px; }
  .privacy-block { padding: 24px 20px; }
  .hero-content { padding: 120px 24px 60px; }
  .section { padding: 56px 0; }
  .process-steps::before { left: 22px; }
  .step-circle { width: 44px; height: 44px; font-size: 1rem; }
}

/* ===========================
   SCROLL FADE-IN ANIMATION
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
