/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  
  font-size: 16px; 
  --brand: #0077cc;
  --muted: #f5f7fa;
  --text: #222;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--muted);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

picture img,
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.container {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
}


header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.logo a {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

/* Mobile-first nav */

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: calc(100% + 8px);
  right: 1rem;
  width: 220px;
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-radius: 8px;
  z-index: 40;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.25rem;
  display: block;
}

.nav-links a:focus,
.nav-links a:hover {
  color: var(--brand);
  outline: none;
}

/* hamburger visible on mobile */
.hamburger {
  display: block;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
}

.menu-toggle { display: none; }
.menu-toggle:checked + .hamburger + .nav-links {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.hero-img {
  width: 100%;
  height: 100vh;                
  object-fit: cover;
  filter: brightness(0.45);
  display: block;
}

/* hero content  */

.hero-content {
  position: absolute;
  inset: 0;                    
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 1.25rem;
  text-align: center;
  pointer-events: none;       
}

.hero-content * { pointer-events: auto; } 

h1 { font-size: 1.5rem; margin-bottom: 0.5rem; font-weight:700; font-family: 'Playfair Display', serif; }
.lead { font-size: 1rem; margin-bottom: 0.5rem; opacity: 0.95; }
.hero-content h2 { font-size: 1rem; margin-top: 0.6rem; margin-bottom: 0.6rem; }
.hero-content p { font-size: 0.95rem; margin-bottom: 1rem; max-width: 56ch; }


.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Page containers */

.about-container,
.why-container {
  padding: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.two-column {
  display: block;
  gap: 1.25rem;
}

/* media grid */

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
  justify-items: center;
}

.media-item { width: 100%; max-width: 520px; }
.media-caption { font-size: 0.95rem; color: #555; margin-top: 0.5rem; text-align: center; }


.video-container {
  width: 700px;
  max-width: 900px;
  margin: 1rem auto;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #fff;
  margin-top: 2.25rem;
}
footer p { color: #555; margin-bottom: 0.5rem; }
.social-list { list-style:none; display:flex; gap:0.75rem; justify-content:center; padding:0; margin:0; }
.social-list img { width: 26px; height:26px; }


img:hover, video:hover { transform: translateZ(0) scale(1.03); transition: transform .25s ease; }

/*  responsive type and layout
   Two  breakpoints: 600px and 900px */

@media (min-width: 600px) {
  :root { font-size: 16.5px; } 
  
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 1.25rem;
    background: none;
    box-shadow: none;
    width: auto;
    padding: 0;
    align-items: center;
  }

  .hamburger { display: none; }
  h1 { font-size: 2rem; }
  .lead { font-size: 1.05rem; }
  .hero-content h2 { font-size: 1.15rem; }

  /* two-column layout  */
  .two-column { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .about-container, .why-container { padding: 1.75rem; }

  .media-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { font-size: 18px; } 
  h1 { font-size: 2.75rem; }
  .lead { font-size: 1.15rem; }
  .hero-content h2 { font-size: 1.4rem; }
  .hero-content p { font-size: 1.05rem; max-width: 70ch; }

  .container { max-width: 1200px; }
  .about-container, .why-container { max-width: 1100px; padding: 2.5rem; }
  .media-grid { gap: 1.5rem; }
}
