/* Custom CSS for bernsjann
   adding to f2504pancake 
*/





:root {
  /* Layout */
  --content-width: 1318px;
  --header-height: 140px;
  --video-control-size: 80px;
  --video-icon-size: 30px;

  /* Transitions */
  --transition-default: 0.3s ease-in-out;
  --transition-smooth: 0.6s ease-in-out;

  /* Fonts */
  --font-primary: "Open Sans", Helvetica, sans-serif;
  --font-secondary: serif;

  --base-font-size: 115%;
  --base-font-size-mobile: 100%;
  --line-height: 1.6;



   /* Colors */
  --col-text: #444444;
  --col-text-lighter: #999999;
  --col-bg: #ffffff;
  --col-nav-bg1: transparent; /* normal nav  */
  --col-nav-bg2: #00000077; /* landing page nav over photo bg */

  --col-accent-01: #3E308E;  /* bernsjann */
  --col-accent-01-lighter: #929e62aa; /* lighter green, for hover */

   accent-color: #929e62;

  --color-ci-01: #272f65;
  --color-ci-02: #bbaf87;
  --color-ci-03: #416628;

  --color-text: #444444;
  --color-heading: #444444;

  --color-link: var(--color-ci-01);
  --color-link-hover: var(--color-ci-03);

  --color-bg: #ffffff;
  --color-bg-light: #f2f2f2;
  --color-bg-medium: #e3e1de;
  --color-bg-dark: #d9d8d6;
  --color-grey: #efeeeb; /* for elements of bg scroll animation */

  --color-white: #ffffff;
  --color-border: #efeeeb;
  --color-overlay: #d9d8d6;
  --color-video-control: rgba(255, 255, 255, 0.2);
  --color-video-control-hover: rgba(255, 255, 255, 0.3);
  --color-sound-control: rgba(0, 0, 0, 0.5);
  --color-sound-control-hover: rgba(0, 0, 0, 0.7);

  --bs-primary: var(--col-accent-01); /* Bootstrap primary color */


}

@font-face {
  /* 
  font-family: "Assistant";
  src: url("../fonts/assistant/Assistant-VariableFont_wght.ttf")
    format("truetype-variations");
  font-weight: 200 800;
  font-stretch: 75% 125%;
  font-style: normal;
  */
  font-family: "open sans";
  src: url("../fonts/open_sans/OpenSans-VariableFont_wdth,wght.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-stretch: 75% 125%;
  font-style: normal;
}





body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--col-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--col-text);
}

h1 {
  font-size: 5rem;
  font-weight: 500;
  color: var(--col-accent-01);
}

h4 {
    color: var(--col-accent-01);
    font-size: 1rem;
    font-weight: 700;
}

a {
    var(--col-text);
    text-decoration: none;
}

a:hover {
    color: var(--col-accent-01);
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    margin: 0 3rem;
}

.padding {
    padding: 3rem 1rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

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

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

/* Content Styling */
.header .padding {
    padding: 1rem 0;
}

.header {
    background-color: #1F8DD6;
    color: #eee;
}

.header a {
    color: #fff;
}

.header .logo {
    font-size: 1.7rem;
    text-transform: uppercase;
}

.footer {
    background-color: #eee;
}







/* NAVIGATION ================*/

ul.nav {
    align-items: flex-end;
    padding-bottom: 0.4rem;
}

.nav-link {
  color: var(--col-text);
  text-decoration: none;
}

/* Optional: Styling for hover and focus states */
nav a:hover,
nav a:focus {
  color: var(--col-text-lighter); /* Slightly lighter white on hover/focus */
  text-decoration: none;
}

/* Optional: Styling for the active state */
.nav-link.active {
  color: var(--col-text-lighter);
}

.nav-link.disabled {
  color: rgba(255, 255, 255, 0.5); /* disabled links faded */
  pointer-events: none;
  cursor: not-allowed;
}

.main-nav {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--col-text);
}

.main-nav li {
  padding-right: 2rem;
}

.second-nav {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--col-text);
}

.second-nav li {
  padding-right: 2rem;
}

.hamburger-div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--header-height);
  width: 120px;
  background-color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--col-text);
}
.hamburger-div svg {
  height: 24px;
}

.booking-div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--header-height);
  width: 120px;
  background-color: var(--col-accent-01);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
}

.hamburger-div p,
.booking-div p {
  margin-bottom: 0;
}

.booking-div a {
  color: #ffffff;
  text-decoration: none;
}

/* Optional: Styling for hover and focus states */
.booking-div a:hover,
.booking-div a:focus {
  color: #ffffffaa; /* Slightly lighter white on hover/focus */
  text-decoration: none;
}

@media (max-width: 768px) {
  .hamburger-div { width:90px }
  .booking-div { width:90px }
  ul.nav { flex-direction: column; align-items: flex-start;}
}






/* Custom styles for the hero section */

.hero-h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
}

.hero-tag {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-section {
    padding-bottom: 5rem;
    overflow: hidden; /* Prevent potential horizontal scrollbars  */
}

.hero-text-container {
    display: flex;
    align-items: center;
    height: 100%; 
    min-height: 400px;
}

.hero-text-box {
    background-color: var(--col-accent-01);
    padding: 2.5rem 2.5rem 3.5rem 2.5rem; 
    border-left: 7px solid var(--col-accent-01);
    position: relative; 
    z-index: 1; /* Ensure text box is layered above the image */
    width: 115%; /* Make box wider than its column */
    /* Negative margin pushes the box to the right, creating overlap */
    /* -15% means 15% of its *own* width overlaps the right column */
    /* Adjust this percentage to get the desired 25% visual overlap */
    margin-right: -25%; /* Trial value, adjust as needed */
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);  */
}

/* Image column styling */
.hero-image-col {
    position: relative; /* Needed for potential z-index stacking context */
    z-index: 0; /* Ensure image is behind the text box */
    padding-left: 0; /* Remove default column padding on the side of overlap */
}

.hero-image {
    display: block; /* Remove extra space below image */
    width: 100%;
    height: 100%; /* Make image fill column height */
    object-fit: cover; /* Cover the area, cropping if needed */
    min-height: 400px; /* Match min-height of text container if set */
}

/* Responsive adjustments for smaller screens (below lg breakpoint 992px) */
@media (max-width: 576px) {
    .hero-text-box {
        width: 100%; /* Reset width */
        margin-right: 0; /* Remove overlap margin */
        margin-top: 1.5rem; /* Add space when stacked */
            padding: 1.5rem; /* Reduce padding on smaller screens */
            border-left-width: 4px; /* Slightly smaller border */
    }

        .hero-image-col {
            padding-left: var(--bs-gutter-x, 0.75rem); /* Restore padding */
            order: -1; /* Optional: Move image above text on small screens */
        }
        .hero-text-container {
            min-height: auto; /* Reset min height */
        }
        .hero-image {
            min-height: auto; /* Reset min height */
            max-height: 400px; /* Optional: limit image height */
            object-fit: contain; /* Or 'contain' if you don't want cropping */
            height: auto;
        }
        .hero-section {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        .hero-text-box h1 {
            font-size: 2rem; 
        }

        h1 {font-size: 2.5rem;}
        h2 {font-size: 1.5rem;}
}


.xcard-wrapper {
    width:100%;
    display: flex;
}

.card {
    background-color: var(--col-accent-01);
    color: white;
    padding:1rem;
    margin: 1rem 0;
    border: 0;
    border-radius: 0;
}

.card h4 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 500;
}



footer .footer {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--col-text);
  background-color: var(--color-bg-light);
}

