@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@400;700&display=swap');

:root {
  --color-bg: #F5EFE0;
  --color-primary: #C49C48;
  --color-text: #3C2B1F;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Fade-in keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header with logo image and decorative corners */
header {
  position: relative;
  text-align: center;
  padding: 4rem 1rem;
  background: url('/image/header-bg.jpg') center/cover no-repeat;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}

header::before,
header::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
}

header::before {
  top: 1rem;
  left: 1rem;
  background-image: url('/image/ornament-top-left.png');
}

header::after {
  bottom: 1rem;
  right: 1rem;
  background-image: url('/image/ornament-bottom-right.png');
}

header .logo-img {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
  animation: fadeInUp 1.2s ease-out;
}

header .slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.4s ease-out;
  color: #C49C48;
}

/* Nav styling */
nav {
  position: relative;
}
nav .burger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  animation: fadeInUp 1.6s ease-out;
}

nav ul li a {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: rgba(196, 156, 72, 0.2);
}

/* Mobile nav toggler */
@media (max-width: 768px) {
  nav .burger { display: block; }
  nav ul {
    flex-direction: column;
    background: rgba(0,0,0,0.7);
    position: absolute;
    top: 3rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
  }
  nav ul.show {
    display: flex;
  }
}

/* Intro */
section.intro {
  text-align: center;
  padding: 4rem 1rem;
  animation: fadeInUp 1s ease-out;
}

header .header-title {
	font-family: var(--font-heading);
	font-size: 2rem;
	color: var(--color-primary);
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	animation: fadeInUp 1.3s ease-out;
  }

section.intro h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Services */
section.services {
  padding: 6rem 1rem;
  text-align: center;
  background: #fff;
  animation: fadeInUp 1s ease-out;
}
section.services h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
section.services .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--color-bg);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1.2s ease-out;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.service-card img {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Recruitment */
section.recrutement {
  padding: 6rem 1rem;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}
section.recrutement h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
section.recrutement ul {
  list-style: none;
  margin-bottom: 2rem;
}
section.recrutement ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
section.recrutement ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
}
section.recrutement h3 {
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
section.recrutement p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Contact */
section.contact {
  padding: 6rem 1rem;
  text-align: center;
  background: #fff;
  animation: fadeInUp 1s ease-out;
}
section.contact h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 2rem;
}
section.contact p {
  line-height: 1.6;
}
section.contact a {
  display: inline-block;
  margin: 0.5rem;
  font-weight: 700;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  header {
    padding: 3rem 1rem;
    background-position: top center;
  }
  section.services .service-list {
    grid-template-columns: 1fr;
  }
}