/* ==================================================================================== */
/* Global Reset & Basics */
/* ==================================================================================== */

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

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: black; /* Ensures no white borders */
  overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
  overflow-y: auto;
}

/* ==================================================================================== */
/* Tooltip */
/* ================= */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Add dots under the hoverable text */
  cursor: pointer;
  z-index: 2; /* Ensure tooltip container is above other content */
}

/* Tooltip text */
.tooltip-text {
  visibility: hidden; /* Hidden by default */
  width: 130px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 2; /* Ensure tooltip is displayed above content */
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* ==================================================================================== */
/* Typography Styles */
/* ================= */

h1 {
  font-family: 'GT_custom';
  font-weight: 100;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

h2, h3 {
  font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
  font-weight: 200;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.footerLink{
  font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
  font-weight: 200; 
}

p {
  font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
  font-weight: normal;
  scroll-behavior: smooth;
  text-align: justify;
  width: 80vw;
  line-height: 1.3;
}

/* ==================================================================================== */
/* Header - "Cowcow" Title & Nav */
/* ==================================================================================== */

/* old .header-title {
  position: relative;
  z-index: 4; Ensures the title stays above the image 
  text-align: center;
  padding: 20px 0;
}*/
.header-title {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  color: white;
  display: flex;
  gap: 0.8rem;          /* consistent spacing between links */
  white-space: nowrap;  /* prevent text wrapping */
  align-items: center;  /* vertically center the links */
}

.header-title h1 {
  font-size: 3rem;
  margin-bottom: 10px; /* space between title and links */
}
.header-title a {
  display: inline-block;  /* better link spacing control */
  padding: 0.2rem 0.4rem;
  font-family: 'orator', monospace;
  font-weight: 200;
  font-size: 1.1rem;
  color: white;
  margin: 0 0.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.title {
  position: fixed;
  top: calc(20px + 3rem); /* roughly 20px below the header title */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  margin-bottom: 48px; /* space between .title and the table on desktop */
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.links a {
  font-family: 'orator', monospace;
  font-weight: 200;
  font-size: 0.9rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.title h1 {
  font-size: 3rem;
  max-height: 50px;
  width: 100%;
}

/* ==================================================================================== */
/* Video & Image Background */
/* ==================================================================================== */

.hero {
   z-index: -1;    /* place behind other content */
  display: flex;
  flex-direction: column;  /* Staplar elementen vertikalt */
  align-items: center;     /* Centrerar dem horisontellt */
  text-align: center;      /* Centrerar texten */
  padding: 20px 20px;      /* Lägger till lite luft runt */
}

.hero img {
    z-index: -1;    /* place behind other content */
  width: 100%; /* Justera storlek efter behov */
  height: auto; /* Behåller bildens proportioner */
}

.video-background {
  position: fixed;        /* make it cover the whole viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;          /* full viewport height */
  overflow: hidden;
  z-index: 0;             /* behind all content, but above body background */
  background-color: black;
  animation: fadeIn 1s ease-in-out forwards; /* optional fade-in effect */
}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ensures the video fills and crops properly */
}

.image-background {
  position: fixed;
  inset: 0;                       /* top:0; right:0; bottom:0; left:0 */
  z-index: 0;                     /* <- use 0 (not -1) so it isn't hidden */
  background-image: url('./AMANDA03.jpg'); /* add ./ or correct folder if needed */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: black;
  animation: fadeIn 1s ease-in-out forwards;
}

.background-video, .label-bg, .farm-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==================================================================================== */
/* Centered Content */
/* ==================================================================================== */

/*.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  color: whitesmoke;
  text-decoration: underline;
  background-color: rgba(222, 222, 222, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 5px;
}*/

.content {
  /* ensure content sits above the fixed video background */
  position: relative;
  z-index: 2;             /* must be higher than .video-background (0) */
  min-height: 100vh;      /* fill viewport so centering works */
  display: flex;
  align-items: center;    /* vertical center */
  justify-content: center;/* horizontal center */
  text-align: center;
  padding: 2rem;
  color: white;           /* ensure text is visible over the video */
  /* disable any opacity hiding from shared fadeIn keyframe on this element */
  opacity: 1 !important;
  animation: none !important;
}

.content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.content h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.content p {
  font-size: 0.8rem;
  margin: 15px 0;
}

/* ensure links/nav below the paragraph and centered */
.content .links {
  width: 100%;
  display: flex;            /* keep centered layout */
  justify-content: center;  /* center horizontally */
  margin-top: 1.5rem;       /* space below text */
  gap: 1rem;
  flex-wrap: wrap;
}

/* optional: make single link appear like a block if you want it on its own line */
.content .links .page-links {
  display: inline-block;
  /* add more spacing or styling if needed */
}

/*==========================*/
/* Modal styling           */
/*==========================*/
  .modal-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
  }

  .close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
  }

/*==========================*/
/* mail chimp styling           */
/*==========================*/
.mc-field-group{
  font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
}
  /* Container */
#mc_embed_signup {
    font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
    font-size: 16px;             /* Font size */
    color: #333;                 /* Text color */
    margin: 2px auto;           /* Margin outside (centers form horizontally) */
    border-radius: 8px;          /* Optional rounded corners */
}

/* Headings */
#mc_embed_signup h2 {
font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: none;
}

/* Labels */
#mc_embed_signup label {
    font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 200;
    opacity: 0.8;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Input fields */
#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="number"] {
  font-family: 'orator', monospace;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Submit button */
#mc_embed_signup input[type="submit"] {
  background-color: #000000;
  font-family: 'orator', monospace;
  color: #fff;
  font-size: 1rem;
  font-weight: 200;
  padding: 2px 5px 5px 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#mc_embed_signup input[type="submit"]:hover {
    background-color: #434343;
}

/* Helper text / required asterisk */
#mc_embed_signup .asterisk {
    color: red;
    margin-left: 2px;
}

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }

/* ==================================================================================== */
/* Tour table styling */
/* ==================================================================================== */
.tablet-tour{
  margin-top: 7rem;
  margin-left: 1rem;
  margin-right: 1rem;
}
.tablet-tour h3{
  font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: thinner;
}

.tablet{
  margin-top: 4rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.tablet h3{
  font-family: "GT_custom", "GT Sectra", "Hoefler Text", "Times New Roman", serif;
  font-style: italic;
  color: white;
  margin-bottom: 1rem;
  font-weight: 200;
}

main {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.artist {
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

table {
  color: white;
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  text-align: left;
 
}

td {
  padding: 0.5rem 0;
}

td:nth-child(1) {
  width: 20%;
  padding: 0.5rem;
}

td:nth-child(2) {
  width: 30%;
  padding: 0.5rem;
}

td:nth-child(3) {
  width: 5%;
  padding: 0.5rem;
}

td:nth-child(4) {
  width: 2%;
  padding: 0.5rem;
  text-align: right;
}

tr a {
  color: #fbff0a;
  font-family: orator, monospace;
  text-decoration: none;
  letter-spacing: -0.05rem;
  font-size: 1rem;
}

a:hover {
  text-decoration: underline;
}

/* ==================================================================================== */
/* Navigation & Links */
/* ==================================================================================== */

#active-link{
  text-decoration: underline;
}

.links a:hover, .links-main a:hover, footer a:hover, .header-title a:hover .title a:hover {
  color: whitesmoke;
  text-decoration: underline;
  background-color: rgba(222, 222, 222, 0.1);
  backdrop-filter: blur(8px);
}

/* ==================================================================================== */
/* Footer Styles */
/* ==================================================================================== */

footer {
  position: fixed;
  bottom: 16px;
  left: 0;
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
  padding: 40px 0;
  color: white;
}
.socials {
  position: absolute;
  bottom: -32px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  color: rgb(231, 231, 231);
}
footer a {
  text-decoration: none;
  font-family: "orator", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
  color: rgb(211, 211, 211);
  font-size: 0.8rem;
  margin: 2px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 2rem;
  align-items: center;
  color: #ffffff;                 /* icon color */
}

.socials a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: rgb(223, 223, 223);         /* inherits .socials color */
  display: block;
}

.socials a:hover {
 background: rgba(20, 20, 20, 0.6);
 color: black;
  backdrop-filter: blur(8px);
  transform: translateY(-2px);
        /* highlight color */
}

/* On very small screens slightly shrink spacing */
@media (max-width: 420px) {
  .socials { gap: 0.6rem; margin-bottom: 1.2rem; }
  .socials a { width: 32px; height: 32px; }
  .socials svg { width: 18px; height: 18px; }
}
/* ==================================================================================== */
/* announcement box */
/* ==================================================================================== */

/* Announcement: image + links (links placed outside the box, below it) */
.announcement-wrapper {
  position: fixed;
  top: 48px;
  left: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: auto;
  /* use a simple fade (only opacity) to avoid transform shifting */
  animation: fadeInOpacity 600ms ease forwards;
}

/* image-only box */
.announcement-box {
  padding: 0;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 220px; /* adjust size */
  width: 100%;
}

/* responsive image */
.announcement-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* links below the image, visually outside the box */
.announcement-links {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent; /* keep outside box look */
}

.announcement-links h4{
  color: rgb(255, 255, 255);
  font-family: GT_custom_italic, "GT Sectra", "Hoefler Text", "Times New Roman", serif;
  font-weight: 100;
  font-size: 1rem;
  letter-spacing: 0.2rem;
}

.announcement-links a {
  color: rgb(255, 255, 255);
  font-family: orator, monospace;
  font-weight: 100;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(4px);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.announcement-links a:hover {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(8px);
  transform: translateY(-2px);
}

/* center wrapper on smaller screens */
@media (max-width: 940px) {
  .announcement-wrapper {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 320px;
  }
  .announcement-box{
    max-width: 150px;
  }
}

/* simple opacity-only fade to avoid layout/transform shifts */
@keyframes fadeInOpacity {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==================================================================================== */
/* Font Definitions */
/* ==================================================================================== */

@font-face {
  font-family: 'CustomFont';
  src: url('bnp.woff2') format('woff2'), url('bnp.woff') format('woff');
  font-weight: 200;
}

@font-face {
  font-family: 'GT_custom_italic';
  src: url('GT-italic.woff2') format('woff2'), url('GT-italic.woff') format('woff');
}

@font-face {
  font-family: 'GT_custom';
  src: url('GT-book.woff2') format('woff2'), url('GT-book.woff') format('woff');
}

@font-face {
  font-family: 'orator';
  src: url('orator.woff2') format('woff2'), url('orator.woff') format('woff');
}
@font-face {
  font-family: 'neue-Haas-grotesk-display';
  src: url('NeueHaasDisplayBlack.woff2') format('woff2'), url('NeueHaasDisplayBlack.woff') format('woff');
}

/* ==================================================================================== */
/* Media Queries */
/* ==================================================================================== */

@media only screen and (min-width: 768px) {
  .title h1 {
    font-size: 5rem;
    max-height: 80px;
  }
  .content h2 {
    font-size: 2.5rem;
  }
  .links a{
      font-size: 1rem;
  }
  .header-title a {
    font-size: 1.2rem;
  }
  .links-main a {
    font-size: 2rem;
  }
  p {
    width: 45vw;
    line-height: 1.3;
  }
  .content p {
    font-size: 0.4rem;
  }
  .farm-page .content p {
  font-size: 1.1rem;
}
}


/* Keyframes for fadeIn */
@keyframes fadeIn {
  from {
    opacity: 0; /* Start fully transparent */
  }
  to {
    opacity: 1; /* End fully opaque */
  }
}

/* smaller screens */
@media (max-width: 768px) {
  table{
    font-size: 0.8rem;
  }
}

/* alternative: target the table that follows .title instead
.title + table {
  margin-top: 48px;
}
*/
