/* base.css — loaded by every page, first.
   Section 1: fonts (the Jost face, heading/paragraph/link defaults)   — was fonts.css
   Section 2: page skeleton, banners, tiles, animations                 — was styles-v2.css
   Page-specific rules live in their own file (narrative-styles.css, archives-list.css, ...);
   the shared header, footer, overlays and all responsive rules are in site.css, loaded last. */

/* ===================================================== 1. FONTS */
@font-face {
    font-family: "Jost";
    src: url('fonts/Jost/static/Jost-Light.ttf') format('truetype');
    font-display: swap;
}

h1 {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 76px;
    font-weight: 300;
    color: #FFB719;
}

h2 {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: white;
}

h3 {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 72px;
    font-weight: 300;
    color: white;
}

h4 {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: white;
}

h5 {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: white;
    text-align: justify;
    /*padding-inline: 5px;*/
}

h6 {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: white;
    padding-inline: 5px;
    cursor: pointer
}

p {
    font-family: Garamond, "EB Garamond", Georgia, "Times New Roman", serif;
    font-size: 14pt;
    padding-inline: 5px;
    text-decoration: none;
    color: rgb(226, 226, 226);
    text-align: justify;
}


a {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 14pt;
    padding-inline: 5px;
    text-decoration: none;
    color: white;
    cursor: pointer;
}

a:hover {
    background: white;
    color: #FFB719;
    transition: .3s;
}

/* ===================================================== 2. PAGE SKELETON */
/* good global reset */
* {
  margin: 0;
  box-sizing: border-box;
}

/* only these should be 100% height */
html, body {
  height: 100%;
}




/*body {
    /*background-image: url('https://static.wixstatic.com/media/4d83d2_add2be4925784baaaf48a15431aa0857.jpg/v1/fill/w_1600,h_781,al_t,q_85,enc_auto/4d83d2_add2be4925784baaaf48a15431aa0857.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #1a1a1a;*/
/*
    background:
        #1a1a1a url("../img/background.webp")
        center / cover fixed no-repeat;

    width: 100%;
    min-height: 100vh;
    scroll-behavior: smooth;
}*/

body {
    margin: 0;
    min-height: 100vh;
    background-color: #171717;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url("../img/background-overlay.webp");
    background-repeat: repeat; /* change to no-repeat if it is full-screen */
    background-position: center;
    background-size: cover;

    opacity: 0.3;
    mix-blend-mode: color-dodge; /* closest practical CSS approximation */
    
    pointer-events: none;
    z-index: -1;
}



.img-container {
    display: flex;
    /*position: relative;*/
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fade-in 0.9s forwards;      /* was 2s */
}

.inner-container {
    text-align: center;
    display: inline-block;
    height: auto;
    width: auto;
    opacity: 0;
    animation: fade-in 1.4s forwards;      /* was 4s */
}

.title-line {
    margin-bottom: 5px;
    height: 2px;
    border: none;
    background-color: white;
    width: 100%;
    transform: scaleX(0);
    transform-origin: center;
    animation: line-expand 1.2s 0.3s both; /* was 3s; 0.3s delay so the line follows the fade */
}

/* Define the keyframe for the fade-in animation */
@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes line-expand {
    0% {

        transform: scaleX(0);
    }

    100% {

        transform: scaleX(1);
    }
}

.buttonContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    background-color: #A9A9A9;
    font-size: 24px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.buttonContainer:hover {
    color: #FFB719;
    background-color: white;
    transform: scale(1.05);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.box {
    display: flex;
    width: auto;
    height: auto;
    padding: 5px;
}

.column {
    float: auto;
    width: 487.5px;
}


/* Apply the scrollbar styles to all scrollable elements and the browser scrollbar */
::-webkit-scrollbar {
    width: 0.7em;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(255, 255, 255 0.0);
    border-radius: 12px;
    border: 1px solid white;
}

::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: rgba(82, 82, 82);
}


/*---------------------------------------------------- contact form ---------------------------------------*/

.contact-section {
    padding-top: 30px;
    /* reduce gap from above */
    padding-bottom: 60px;
    text-align: center;
}



.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 12px 12px;
    font-family: "Jost", sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 8px 0;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 183, 25, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 780px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.contact-submit {
    border: none;
    background: #FFB719;
    color: #111;
    padding: 10px 18px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    cursor: pointer;
    margin: 0 auto;
}

.contact-submit:hover {
    filter: brightness(0.95);
}

.contact-status {
    font-size: 11pt;
    opacity: 0.95;
    margin-top: 10px;
    color: white;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-section h2,
.contact-section p {
  text-align: center;
}

.contact-status.success {
  background: rgba(73, 222, 125, 0.783);
  padding: 6px 10px;
  border-radius: 3px;
}

.contact-status.error {
  background: rgba(244, 62, 62, 0.873);
  padding: 6px 10px;
  border-radius: 3px;
}
