:root {
  --dark: #222;
  --wood: #6b4a34;
  --sand: #efe7dd;
  --green: #7a9a6e;
  --max: 1100px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav strong { 
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .nav strong {
    font-size: 0.85rem;
  }
}

/* ========================================
   MOBILE MENU STYLES
   ======================================== */

/* Hamburger button - hidden on desktop, visible on mobile */
.hamburger {
  display: none; /* Hidden by default (desktop) */
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

/* The three lines of the hamburger icon */
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 3px 0;
  transition: all 0.3s ease; /* Smooth animation */
  border-radius: 3px;
}

/* Animate hamburger to X when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* Hide middle line */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation menu - horizontal on desktop */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  padding: 0.5rem 0;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.7;
}

/* ========================================
   MOBILE RESPONSIVE STYLES (768px and below)
   ======================================== */

@media (max-width: 768px) {
  /* Show hamburger button on mobile */
  .hamburger {
    display: flex;
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  
  /* Transform nav menu into vertical mobile menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease; /* Smooth slide-in animation */
    z-index: 99;
    overflow-y: auto;
  }
  
  /* Show menu when active class is added */
  .nav-menu.active {
    right: 0; /* Slide in from right */
  }
  
  /* Make nav links larger and easier to tap on mobile */
  .nav-menu a {
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

section {
  padding: 3rem 1.25rem;
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 1.25rem;
  }
}

.container {
  max-width: var(--max);
  margin: auto;
}

.hero {
  position: relative;
  text-align: center;
  padding: 6rem 1.25rem;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    padding: 4rem 1.25rem;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hero p.lead {
  max-width: 700px;
  margin: 1.5rem auto;
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 2px solid var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 160px;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta:active {
  transform: translateY(0);
}

.cta.primary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.cta.primary:hover {
  background: #333;
  border-color: #333;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .grid {
    gap: 2rem;
  }
  
  .grid.two {
    grid-template-columns: 1fr;
  }
}

.media {
  background: #ddd;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 0.9rem;
}

/* ========================================
   VIDEO STYLES
   ======================================== */

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  h2 {
    margin-bottom: 1.25rem;
  }
}

ul { padding-left: 1.1rem; }

.advisory {
  background: #f6f6f6;
}

.digital {
  background: #111;
  color: #fff;
  text-align: center;
}

.digital input {
  padding: 0.85rem;
  margin-top: 1rem;
  max-width: 300px;
  width: 100%;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 1rem;
}

.digital input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.digital button {
  margin-top: 0.5rem;
}

.portfolio {
  background: #fafafa;
}

.gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery a.social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f6f6f6 0%, #f0f0f0 100%);
  border: 2px solid #e0e0e0;
}

.social-card-content {
  text-align: center;
}

.social-card-content h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
}

.social-card-content p {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  color: #666;
}

.gallery a.social-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: linear-gradient(135deg, #efefef 0%, #e5e5e5 100%);
  border-color: var(--dark);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .gallery a.social-card {
    height: 150px;
  }
  
  .social-card-content h3 {
    font-size: 1.1rem;
  }
  
  .social-card-content p {
    font-size: 0.8rem;
  }
}

form input, form textarea, form select {
  width: 100%;
  padding: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.1);
}

form input::placeholder {
  color: #999;
}

form button {
  min-height: 44px;
}

@media (max-width: 768px) {
  form input, form textarea, form select {
    font-size: 16px;
  }
}

/* ========================================
   SOCIAL MEDIA LINKS
   ======================================== */

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-weight: 500;
}

.social-links a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

footer {
  padding: 2rem 1.25rem;
  background: #111;
  color: #bbb;
  text-align: center;
  font-size: 0.85rem;
}
