:root {
  --bg: #ffffff;
  --text: #191919;

  --header-h: 60px;
  --footer-h: 60px;
  --slider-pad-top: 0px;
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --footer-h: 60px;
    --slider-pad-top: 0px;
  }
}

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.site-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.header-left {
  font-size: 20px;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text);
}

/* CONTAINER & CENTERING */
.copy-page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px; /* Spacing between blocks */
}

/* TYPOGRAPHY */
li {
  line-height: 2.0; /* adds breathing room for multi-line bullets */
}

.main-headline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 36px;   /* 2x the 18px body font */
  font-weight: 800;  /* 2x the 400 body weight */
  color: #191919;
  text-align: left;
  margin: 0;
}

.text-block p {
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 1.5em;
}

.text-block ul {
  padding-left: 0;            /* removes default browser indent */
  margin-left: 0;             /* ensures ul itself doesn’t shift */
  list-style-position: inside; /* bullets align with first line of text */
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* SPLIT SECTION */
.split-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0; /* Gap is managed by padding around the border */
  align-items: start; /* Ensures list-column height is based on its content */
}

.list-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.list-column ul {
  font-size: 14px;
  list-style: disc;
  padding-left: 20px;
}

.list-column li {
  margin-bottom: 10px;
  line-height: 1.4;
}

/* THE VERTICAL LINE (Controlled by list-column height) */
.list-column {
  /* Border is on the right of this column, creating the divider */
  border-right: 4px solid #191919; 
  padding-right: 40px; 
  box-sizing: border-box;
}

.text-column {
  padding-left: 40px;
  text-align: left;
}

.text-column ul {
  padding-left: 0;            /* removes default browser indent */
  margin-left: 0;             /* ensures ul itself doesn’t shift */
  list-style-position: inside; /* bullets align with first line of text */
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 768px) {
  .copy-page-container {
    padding: 40px 16px;
  }

  .split-section {
    grid-template-columns: 1fr; /* Stack on mobile */
  }
  
  .list-column {
    border-right: none;
    border-bottom: 8px solid #191919; /* Horizontal line on mobile */
    padding-right: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .text-column {
    padding-left: 0;
  }
  
  .main-headline {
    font-size: 32px;
  }
}

/* MAIN COPY PAGE */
main.copy-page {
  flex: 1;
  display: flex;
  justify-content: center; /* Centers the grid container horizontally */
  align-items: center;     /* Centers the grid container vertically */
  padding: 60px 32px;
  min-height: calc(100vh - 140px); /* Adjusted for header + footer */
  box-sizing: border-box;
}

/* COPY GRID */
.copy-grid {
  display: grid;
  /* Change 1fr to auto so the grid doesn't force itself to be wide */
  grid-template-columns: 80px 132px 140px; 
  column-gap: 48px;
  row-gap: 24px;
  max-width: 1000px;
  /* Remove width: 100% so it only takes up as much space as the text needs */
  width: f-content; 
  margin: 0 auto;
  text-align: left;
}

/* RESPONSIVE - Keep this as is for mobile centering */
@media (max-width: 768px) {
  .copy-grid {
    grid-template-columns: 1fr;
    width: 100%;
    row-gap: 20px;
    text-align: center;
    justify-items: center;
  }
}

/* TYPOGRAPHY */
.copy-type,
.copy-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #191919;
}

.copy-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #191919;
  text-decoration: none;
}

.copy-title:hover {
  text-decoration: underline;
}

/* RESPONSIVE - single column mobile */
@media (max-width: 768px) {
  main.copy-page {
    padding: 80px 16px;
  }

  .copy-grid {
    grid-template-columns: 1fr;
    /* Increase row-gap to create space between every single element */
    row-gap: 20px; 
    text-align: center;
    justify-items: center;
  }

  /* Add a specific bottom margin to the Title to separate the "blocks" */
  .copy-title {
    margin-bottom: 0px; 
    display: block; /* Ensures the margin is respected */
  }

  /* Optional: remove margin from the very last title */
  .copy-title:last-child {
    margin-bottom: 0;
  }

  .copy-author {
    margin-bottom: 60px; 
    display: block;
  }

  .copy-author:last-child {
    margin-bottom: 0px;
  }  

  .copy-type,
  .copy-author,
  .copy-title {
    font-size: 16px;
  }
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  /* Hide previous and next buttons on mobile */
  .nav.prev,
  .nav.next {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 1000;
}

.mobile-menu a {
  font-size: 24px;
  text-decoration: none;
}

.mobile-menu a,
.mobile-menu a:link,
.mobile-menu a:visited {
  color: #191919;
}

.menu-toggle {
  -webkit-appearance: none; /* remove native iOS button styling */
  color: #191919;            /* enforce desktop color */
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu.open {
  display: flex;
}

/* SLIDER WRAPPER */
.slider-wrapper {
  position: relative;
  padding-top: var(--slider-pad-top);
  height: calc(
    100svh
    - var(--header-h)
    - var(--footer-h)
    - var(--slider-pad-top)
  );
}

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease-in-out;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* MEDIA */
.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CAPTION */
.caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0.85;
  color: #fff;
}

/* NAV ARROWS */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 32px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.nav.prev { left: 16px; }
.nav.next { right: 16px; }

@media (hover: hover) {
  .nav {
    opacity: 0.4;
  }

  .nav:hover {
    opacity: 0.85;
  }
}

/* FOOTER */
.site-footer {
  display: flex;
  justify-content: space-between; /* left/right alignment */
  align-items: center;
  padding: 16px 32px;
  height: 80px; /* or your variable --footer-h */
  font-size: 14px;
  background-color: #;
  color: #191919;
  box-sizing: border-box;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  text-decoration: none;
  color: #191919;
  font-weight: 500;
}

@media (max-width: 768px) {
  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    height: auto;
  }
  .footer-left,
  .footer-right {
    text-align: center;
  }
}

.pdp-image {
  display: flex;
  justify-content: center;
}

.pdp-image img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}

/* Contact Page Styling */

main.contact-page {
    max-width: 800px;
    margin: 100px auto; /* 100px spacing top & bottom */
    padding: 0 32px;
}

main.contact-page form {
    display: flex;
    flex-direction: column;
    gap: 24px; /* even spacing between fields */
}

main.contact-page input,
main.contact-page textarea {
    border: none;
    border-bottom: 2px solid #191919;
    padding: 12px 8px;
    font-size: 18px;
    line-height: 1.5;
    background: transparent;
    color: #191919;
    width: 100%;
}

main.contact-page input:focus,
main.contact-page textarea:focus {
    outline: none;
    border-color: #555555;
}

main.contact-page textarea {
    min-height: 160px;
    resize: vertical;
}

main.contact-page button[type="submit"] {
    background: #191919;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 18px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 200ms ease;
}

main.contact-page button[type="submit"]:hover {
    background: #555555;
}

@media (max-width: 768px) {
    main.contact-page {
        margin: 80px 16px;
        padding: 0 16px;
    }
}

/* CONTACT FORM - GENERAL */
.contact-page form {
  display: flex;
  flex-direction: column; /* Stack inputs vertically */
  gap: 16px; /* Even spacing between fields */
  max-width: 600px; /* Keep the form a reasonable width on desktop */
  margin: 0 auto; /* Center form */
}

.contact-page input,
.contact-page textarea,
.contact-page button {
  border: none;          /* Remove default iOS borders */
  border-bottom: 2px solid #191919; /* Underline style */
  border-radius: 0;      /* Remove oval corners */
  padding: 12px 8px;     /* Comfortable tappable area */
  font-size: 18px;       /* Matches desktop line-height */
  font-family: 'Montserrat', Arial, sans-serif;
  background: transparent; /* Remove default background */
  width: 100%;           /* Full width of form container */
  box-sizing: border-box;
  outline: none;         /* Remove default focus outline */
}

/* Textarea extra spacing */
.contact-page textarea {
  min-height: 120px;     /* Make message box taller */
  resize: vertical;      /* Allow vertical resize only */
}

/* Send button styling */
.contact-page button {
  background: #191919;    /* Matches desktop style */
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  transition: background 0.2s ease;
}

.contact-page button:hover {
  background: #333;
}

/* MOBILE SPECIFIC FIXES */
@media (max-width: 768px) {
  .contact-page form {
    padding: 0 16px; /* small padding for mobile edges */
  }
}
