/*
Theme Name: Nepal Trails Theme
Author: Pravin
Version: 1.0
Description: Custom WordPress theme for Nepal Trails
*/

/* RESET (Eric Meyer v2) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* GENERAL STYLES */

:root {
  /* Primary Colors */
  --color-primary: #e07a3f;    
  --color-primary-hover: #c66b36; 
  /* Background Colors */
  --color-dark-bg: #142132;
  --color-light-bg: #f2f2f2;
  /* Text Colors */
  --color-light-text: #eeeded;
  --color-dark--text: #1e1f21;
  /* Button Colors */
  --color-btn: #388df8;
  --color-btn-hover: var(--color-primary-hover);
}


body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--color-light-bg);
  color: var(--color-dark-text);
}

h1, h2, h3 {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 600;
}
p{
  font-size: 1.1rem;
}
a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  background: var(--color-dark-bg);
  color: var(--color-light-text);
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 1000;
}

/* NAV WRAPPER */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* LOGO */
.logo {
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-primary);
}

/* MOBILE MENU */
.menu-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-dark-bg);
  padding: 1rem;
  z-index: 999;
}

.menu-wrapper.active {
  display: block;
}

/* NAV LIST */
.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-list li a {
  color: var(--color-light-text);
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s ease;
}

/* Hover */
.nav-list li a:hover {
  background: rgba(224, 122, 63, 0.15);
  color: var(--color-primary);
}

/* ACTIVE PAGE */
.nav-list li.current-menu-item > a,
.nav-list li.current-page-ancestor > a,
.nav-list li.current-menu-parent > a {
  color: var(--color-primary);
}

/* HAMBURGER */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-light-text);
  display: block;
}

/* =========================
   TABLET & DESKTOP
========================= */
@media (min-width: 768px) {

  .site-header {
    padding: 1.5rem 0;
  }


  .menu-toggle {
    display: none;
  }

  .menu-wrapper {
    display: block !important;
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .nav-list li a {
    padding: 0;
    font-size: 1.15rem;
  }
}


/* FOOTER====================================================================================================================== */
/* FOOTER */
.site-footer {
  background: var(--color-dark-bg);
  color: var(--color-light-text);
  padding: 4rem 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.7rem;
}

.footer-column a {
  color: var(--color-light-text);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* desktop */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}



/* HOME/LANDING PAGE=========================================================================================================== */
.hero {
  height: 90vh;
  background: url('/wp-content/themes/nepal_trails/assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--color-light-text);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero-btn {
  padding: 12px 24px;
  background: var(--color-btn);
  color: var(--color-light-text);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero-btn:hover {
  background: var(--color-btn-hover);
}

/* INTRO ==*/
.home-intro {
  padding: 4rem 0;
  text-align: center;
}

.home-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.home-intro p {
  max-width: 700px;
  margin: auto;
  color: var(--color-dark-text);
}

/* FEATURES ===*/
.home-features {
  padding: 4rem 0;
  background: var(--color-light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature {
  background: var(--color-light-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature:hover {
  transform: translateY(-6px);
}

/* CTA ==*/
.home-cta {
  padding: 4rem 0;
  text-align: center;
  background: var(--color-dark-bg);
  color: var(--color-light-text);
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 24px;
  background: var(--color-btn);
  color: var(--color-light-text);
  border-radius: 6px;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--color-btn-hover);
}

/* CONTAINER */
.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* RESPONSIVE (min-width) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* PAGE TEMPLATE =============================================================================================================== */

.page-hero{
  padding: 4rem 1rem 3rem;
}

.page-hero-inner,
.page-body-inner{
  width: min(1200px, 90%);
  margin: 0 auto;
}


.page-hero p{
  max-width: 700px;
  line-height: 1.6;
  color: var(--color-light-text);
}

.page-body{
  padding: 3rem 1rem;
}

.page-body-inner{
  max-width: 800px;
}

.page-body-inner p{
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.page-body-inner h2{
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}

.page-body-inner h3{
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
}

.page-body-inner ul,
.page-body-inner ol{
  margin: 1rem 0 1.5rem 1.2rem;
}

.page-body-inner li{
  margin-bottom: 0.6rem;
}

.page-body-inner img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
  border-radius: 12px;
}

@media (min-width: 768px){
  .page-hero{
    padding: 6rem 1rem 4rem;
  }

  .page-hero h1{
    font-size: 3rem;
  }
}



/* TREKS ARCHIVE ===================================================================================================================*/
.treks-archive{
  padding-bottom: 4rem;
}


.treks-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 6rem 1rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light-text);
  overflow: hidden;

  /* fallback color when no image */
  background-color: #37425b;
}

/* Dark overlay */
.treks-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* content above overlay */
.treks-hero-inner {
  position: relative;
  z-index: 2;
}

.treks-hero-inner{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
}

.treks-hero h1{
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-light-text);
}

.treks-hero p{
  max-width: 700px;
  line-height: 1.7;
  color: var(--color-light-text);
  font-size: 1rem;
}

.treks-grid-section{
  padding: 2.5rem 1rem 0;
}

.treks-grid{
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.trek-card{
  background: #fff;
  border: 1px solid rgb(234, 234, 234);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trek-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.trek-card-image{
  display: block;
}

.trek-card-image img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.trek-card-content{
  padding: 1rem;
}

.trek-card-content h2{
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: var(--color-dark-text);
}

.trek-card-content h2 a{
  transition: color 0.3s ease;
  font-weight: 600;
}

.trek-card-content h2 a:hover{
  color: var(--color-primary);
}

.trek-excerpt{
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-light-text);
  margin-bottom: 1rem;
}

.trek-meta{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0;
}

.trek-meta li{
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-dark-text);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--color-light-text);
}

.trek-meta li strong{
  color: var(--color-dark-text);
}

.trek-button{
  display: inline-block;
  background: var(--color-btn);
  color: var(--color-light-text);
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.trek-button:hover{
  background: var(--color-primary);
  transform: translateY(-2px);
}

@media (min-width: 530px){
    .treks-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .treks-hero{
    padding: 5rem 1.25rem;
  }

  .treks-hero h1{
    font-size: 2.5rem;
  }

  .trek-card-image img{
    height: 250px;
  }

  .trek-card-content{
    padding: 1rem;
  }
}

@media (min-width: 768px){
  .treks-grid{
    gap: 2rem;
  }
  .treks-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .treks-hero p{
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px){
  .treks-hero{
    padding: 8rem 1rem;
  }
  
  .treks-hero h1{
    font-size: 4rem;
  }

  .treks-grid{
    grid-template-columns: repeat(4, 1fr);
  }

  .trek-card-image img{
    height: 240px;
  }
}


/* Region menu section */
.trek-region-menu-section {
  padding: 1.5rem 1rem 0;
}

.trek-region-dropdown {
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
}

.trek-region-dropdown select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-light-text);
  background: var(--color-light-bg);
  color: var(--color-dark-text);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.trek-region-menu {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: none;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trek-region-menu a {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  background: var(--color-btn);
  color: var(--color-light-text);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.trek-region-menu a:hover,
.trek-region-menu a.active-region {
  background: var(--color-primary);
}

.trek-region-label {
  margin: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (min-width: 768px) {

  .trek-region-dropdown {
    display: none;
  }

  .trek-region-menu {
    display: flex;
  }
}


/* SINGLE TREK ======================================================== */
.single-trek-page{
  padding-bottom: 4rem;
}

.single-trek-hero{
  position: relative;
}

.single-trek-hero-image img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.single-trek-hero-content{
  padding: 0rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.single-trek-hero-inner{
  width: min(1100px, 90%);
}

.trek-label{
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.single-trek-hero h1{
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  margin-top: 2rem;
  font-weight: 600;
}


.single-trek-layout{
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.single-trek-left,
.single-trek-right{
  display: grid;
}

.trek-overview-card,
.sidebar-card{
  padding: 0rem 1rem 1rem 1rem;

}

.trek-overview-card h2,
.sidebar-card h2{
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-dark-text);
}

.trek-info-list{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}


.trek-info-list li strong{

  font-size: 0.85rem;
  color: var(--color-dark-text);
  margin-bottom: 0.2rem;
}

.trek-info-list li span{
  color: var(--color-dark-text);
  line-height: 1.5;
}

.single-trek-content{
  line-height: 1.8;
  color: var(--color-dark-text);
  padding: 0 1rem;
}

.single-trek-content p{
  margin-bottom: 1.2rem;
}

.single-trek-content h2{
  font-size: 1.6rem;
  margin: 0rem 0 0.5rem;
  font-weight: 600;
}

.single-trek-content ul,
.single-trek-content ol,
.trek-itinerary ul,
.trek-itinerary ol,
.trek-emergency ul,
.trek-emergency ol{
  margin: 1rem 0rem 0rem 1rem;
}

.single-trek-content li,
.trek-itinerary li,
.trek-emergency li{
  margin-bottom: 0.6rem;
}

.single-trek-content img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}

.trek-map{
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
}

.trek-itinerary,
.trek-emergency{
  line-height: 1.7;
  color: var(--color-dark-text);
}

.trek-itinerary ul {
  padding-left: 1.5rem;

}

.trek-itinerary li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.trek-emergency {
  line-height: 1.6;
  font-size: 0.95rem;
}


.trek-info-tabs-section{
  margin-top: 2rem;
  padding: 0 1rem;
}

.trek-info-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.tab-button{
  border: none;
  background: var(--color-btn);
  color: var(--color-light-text);
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-button:hover{
  background: var(--color-primary);
}

.tab-button.active{
  background: var(--color-primary);
  color: var(--color-light-text);
}

.trek-tab-panels{
  display: none;
}

.tab-panel{
  display: none;
  line-height: 1.8;
  color: var(--color-dark-text);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
  padding-bottom: 2rem;
}

.tab-panel.active{
  display: block;
    opacity: 1;
  transform: translateY(0);
}

.trek-tab-panels.show{
  display: block;
}

.tab-panel h2{
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--color-dark-text);
}


.gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.gallery-item{
  width: 100% !important;
}

.gallery-item img{
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.back-to-treks{
  width: min(1100px, 90%);
  margin: 2.5rem auto 0;
}

.back-to-treks a{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 5px;
  background: var(--color-btn);
  color: var(--color-light-text);
  font-weight: 600;
  font-size: 0.95rem;

  transition: all 0.3s ease;
}

/* hover */
.back-to-treks a:hover{
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* active click */
.back-to-treks a:active{
  transform: translateY(0);
}

@media (min-width: 600px){
  .trek-info-list{
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery{
  grid-template-columns: repeat(3, 1fr);
 }

}

@media (min-width: 768px){
  .single-trek-hero-image img{
    height: 420px;
  }

  .single-trek-hero-content{
    padding: 0rem 1rem;
  }

  .single-trek-hero h1{
    font-size: 3rem;
  }


}

@media (min-width: 1024px){
  .single-trek-layout{
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .single-trek-right{
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}


/* ABOUT PAGE ========================================================================================================= */
.about-split-hero {
  padding: 2rem 1rem 0rem 1rem;
  
  background: #f8f9fc;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about-label {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-left h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
}

/* .about-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Main big image */
.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Bottom 2 images grid */
.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-img-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .about-img-main img {
    height: 300px;
  }

  .about-img-grid {
    grid-template-columns: 1fr;
  }

  .about-img-grid img {
    height: 200px;
  }
}

/* STORY SECTION */
.about-story {
  padding: 6rem 0;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 1rem;
  border-bottom: 1px solid #ddd;
}

.story-title h2 {
  font-size: 2rem;
  font-weight: 600;
}

.story-text p {
  line-height: 1.9;
  color: var(--color-dark-text);
}

/* VALUES SECTION */
.about-values {
  padding: 1rem 1rem;
  background: #fff;
}

.values-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.values-heading p {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.values-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.value-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.value-item h3 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.value-item h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-item p {
  line-height: 1.8;
}

/* CONTAINER */
.container {
  width: min(1200px, 100%);
  margin: auto;
}

/* DESKTOP */
@media (min-width: 768px) {
  .about-split-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-row {
    grid-template-columns: 300px 1fr;
    gap: 4rem;
  }

  .values-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .value-item {
    border-bottom: none;
  }
}






/* SAFETY PAGE ========================================================================================================== */

.safety-hero {
  padding: 5rem 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('assets/safety.JPG') center/cover no-repeat;
  color: var(--color-light-text);
  text-align: center;
}

.safety-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.safety-intro {
  padding: 3rem 1rem;
  text-align: center;
}

.safety-intro p {
  max-width: 700px;
  margin: auto;
  color: var(--color-dark-text);
}

/* SAFETY DETAILS (Image + Text)  */

.safety-details {
  padding: 5rem 1rem;
}

.safety-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.safety-img img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.safety-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.safety-text p {
  color: var(--color-dark-text);
  line-height: 1.7;
}

/* Desktop */
@media (min-width: 768px) {
  .safety-hero {
  padding: 11rem 0;
}

  .safety-row {
    grid-template-columns: 1fr 1fr;
  }

  .safety-row.reverse .safety-img {
    order: 2;
  }

  .safety-row.reverse .safety-text {
    order: 1;
  }
}

/* TEXT CONTENT SECTIONS */

.safety-section {
  padding-top: 5rem;
  padding-right: 1rem;
  padding-left: 1rem;
}

.alt-bg {
  background: var(--color-light-bg);
}

.safety-content {
  max-width: 800px;
  margin: auto;
}

.safety-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.safety-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--color-dark-text);
}

/* CHECKLIST */

.safety-checklist {
  padding: 5rem 0;
  background: var(--color-light-bg);
  text-align: center;
}

.checklist {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 2rem auto 0;
}

.checklist li {
  background: var(--color-light-bg);
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: left;
  position: relative;
  padding-left: 2.5rem;
}

/* custom check icon */
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 1rem;
  color: var(--color-primary);
  font-weight: bold;
}

/* EMERGENCY SECTION */

.safety-emergency {
  padding: 4rem 1rem;
  text-align: center;
  background: var(--color-dark-bg);
  color: var(--color-light-text);
}

.safety-emergency h2 {
  margin-bottom: 1rem;
}

.safety-emergency p {
  max-width: 600px;
  margin: auto;
  opacity: 0.9;
}







/* CONTACT PAGE================================================================================================== */
/* .contact-page{
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('assets/contact.jpg') center/cover no-repeat;
  color: var(--color-light-text);
} */

.contact-top {
  padding: 4rem 0 2rem;
  text-align: center;
}

.contact-top h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-top p {
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
  color: var(--color-dark-text);
}

/* LAYOUT */
.contact-layout {
  padding: 4rem 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

/* LEFT SIDE TEXT (no cards) */
.contact-left h2,
.contact-right h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-left p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--color-dark-text);
}

.contact-details {
  margin-top: 2rem;
  line-height: 2;
  font-size: 0.95rem;
}

.contact-details strong {
  color: var(--color-primary);
}


/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
}

.contact-form button {
  padding: 14px;
  background: var(--color-primary);
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* FOOT NOTE */
.contact-footer-note {
  padding: 3rem 0;
  text-align: center;
  font-style: italic;
  color: var(--color-light-text);
}

/* DESKTOP */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}