/* =========================================
   FONT-FACES
   ========================================= */

   @font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Regular.ttf");
}

@font-face {
    font-family: "LatoLight";
    src: url("fonts/Lato-Light.ttf");
}

@font-face {
    font-family: "LatoBold";
    src: url("fonts/Lato-Bold.ttf");
}

@font-face {
    font-family: "RajdhaniBold";
    src: url("fonts/Rajdhani-Bold.ttf");
}

:root {
    --primary-color: #008fab;
    --secondary-color: #f7b042;
    --text-dark: #1d1d1b;
    --font-heading: "RajdhaniBold", sans-serif;
    --font-body: "Lato", sans-serif;
    --max-width: 1920px;
}

/* =========================================
   BASE STYLES
   ========================================= */

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

html, body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {

    width: 90%;
}

main {
    flex-grow: 1;
    width: 100%;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

h2 {
    color: var(--secondary-color);
    font-size: 2.35rem
}

p {
    font-family: var(--font-body);
}

/* =========================================
   HEADER
   ========================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.top-header {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headerr {
    display: flex;
    align-items: center;
}

.header-h1-text {
    font-size: clamp(1.5rem, 2.5vw, 2.35rem);
    font-family: var(--font-heading);
}

/* Navbar base styling */
.custom-navbar {
    border: none;
    margin-bottom: 0;
}

/* Brand logo text */
.navbar-brand {
    font-family: var(--font-heading);
    color: black !important;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navbar links */
.navbar-nav > li > a {
    color: white !important;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

/* Hover & active state */
.navbar-nav > li > a:hover,
.navbar-nav > .active > a {
    background-color: #0288a2 !important;
    color: #89d2ff !important;
}

/* Responsive logo alignment */
.navbar-header .navbar-brand img {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.navbar-right {
 background-color: var(--primary-color);
}


/* .menu {
    display: flex;
    float: right;
    justify-content: flex-end;
    background: var(--primary-color);
}


.menu ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
}

.menu li a {
    color: white !important; /* force it
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s;
} */

/* =========================================
   BANNER
   ========================================= */

.Banner {
    margin-top: 0px;
    background-color: var(--primary-color);
    padding: 3rem 1rem;
    color: white;
    text-align: center;
}

.BannerTextHeader {
    /* font-size: clamp(1.5rem, 2.5vw, 2rem); */
    padding-top: 0px;
    font-size: 3rem;
    color: white;
    padding-left: 20px;
    font-family: var(--font-heading);
    text-align: left;
}

/* =========================================
   HOME PAGE WORKSHOPS
   ========================================= */

.UpcomingWorkshops,
.indexsfeed {
    background-color: var(--primary-color);
    padding: 2rem 1rem;
    color: white;
}

.upcomingworkshops-blocks,
.news-blocks {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap; /* Prevent wrapping on desktop */
}

.upcomingworkshop-block,
.news-block {
    flex: 0 0 300px;
    background: #007994;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.upcomingworkshop-block a.btn,
.news-block a.btn {
    margin-top: 1rem;
    align-self: center;
}

.upcomingworkshop-block-header {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.news-block-image {
    background-color: #006b7d;
    height: 150px;
    margin-bottom: 1rem;
}

.upcomingworkshop-block img,
.news-block img {
    max-height: 150px;
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
}

.news-block-text {
    font-size: 1rem;
}

/* =========================================
   HOME PAGE LOCATIE & SOCIALS
   ========================================= */

.SocialLinks {
    background-color: var(--primary-color);
    margin-top: 9rem;
    padding-left: 4.5rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem;
}

/* =========================================
   WORKSHOPOVERZICHT
   ========================================= */

   .Workshops {
       background-color: var(--secondary-color);
       padding: 2rem 1rem;
       color: white;
   }
   
   .Workshops-blocks {
       display: flex;
       gap: 1rem;
       overflow-x: auto;
       padding: 1rem 0;
       scroll-behavior: smooth;
       -webkit-overflow-scrolling: touch;
       flex-wrap: wrap; /* Prevent wrapping on desktop */
   }
   
   .Workshop {
       flex: 0 0 300px;
       background: white;
       padding: 1rem;
       border-radius: 10px;
       text-align: center;
       color: black;
       min-width: 300px;
       display: flex;
       flex-direction: column;
       justify-content: space-between;
   }
   
   .upcomingworkshop-block a.btn,
   .news-block a.btn {
       margin-top: 1rem;
       align-self: center;
   }
   
   .upcomingworkshop-block-header {
       font-size: 2rem;
       margin-bottom: 1rem;
   }
   
   .news-block-image {
       background-color: #006b7d;
       height: 150px;
       margin-bottom: 1rem;
   }
   
   .upcomingworkshop-block img,
   .news-block img {
       max-height: 150px;
       object-fit: cover;
       width: 100%;
       border-radius: 5px;
   }
   
   .news-block-text {
       font-size: 1rem;
   }

/* =========================================
   INDIVIDUAL WORKSHOP PAGE
   ========================================= */

   .AddLargeWorkshop {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
}

    .AddLargeWorkshop-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    background-color: #f3f3f3;
    color: #000000;
    text-align: left;
    align-items: center;
    }

   .LargeWorkshop {
    padding-left: 1rem;
}

.LWorkshop-container {
    display: flex;
    flex-wrap: wrap;
}

.LWorkshopBaseInfo {
    margin-left: 10rem;
    padding-left: 2.5rem;
    height: fit-content;
    color: white;
    width: fit-content;
    padding-right: 2.5rem;
    background-color: #0288a2;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.FooterDivOne,
.FooterDivTwo {
    flex: 1 1 300px;
}

/* =========================================
   BUTTONS
   ========================================= */

.WorkshopButton,
.InfoButton,
.InfoButton2,
.SubmitButton,
.WorkshopAddButton {
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
}

.WorkshopButton {
    background: #0288a2;
    color: white;
    font-size: 1.5rem;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.WorkshopAddButton {
    background: #0288a2;
    color: white;
    font-size: 5rem;
    height: 10rem;
    width: 10rem;
    display: flex;
    margin-left: 10rem;
    align-items: center;
    justify-content: center;
}

.InfoButton {
    background: #0288a2;
    color: white;
}

.InfoButton2 {
    background: var(--secondary-color);
    color: white;
}

.SubmitButton {
    background: #0288a2;
    color: white;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }
    .top-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu ul {
        flex-direction: column;
        width: 100%;
    }

    .BannerTextHeader,
    .header-h1-text {
        text-align: center;
        font-size: 2rem;
        padding-left: 0px;
    }

    footer {
        flex-direction: column;
    }
}

/* 📱 Mobile view: stack vertically */
@media (max-width: 768px) {
    .upcomingworkshops-blocks {
      flex-direction: column;
      overflow-x: hidden;
    }
  
    .upcomingworkshop-block {
      width: 100%;
      flex: none;
      min-width: unset;
    }

    .LWorkshopBaseInfo {
        margin-top: 2.5rem;
        margin-left: 1rem;
        padding-left: 2.5rem;
        height: fit-content;
        color: white;
        width: fit-content;
        padding-right: 2.5rem;
        background-color: #0288a2;
    }
  }

  

  @media (max-width: 768px) {
    .news-blocks {
      flex-direction: column;
      overflow-x: hidden;
    }
  
    .news-block {
      width: 100%;
      flex: none;
      min-width: unset;
    }
  }
  

@media (max-width: 480px) {
    .menu li a {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .SocialLinks,
    .Locatie {
        margin-top: 3rem;
        width: 60%;
        margin-left: 0;
    }

    .SocialLinks {
        margin-left: 6rem;
    }

    .LWorkshopBaseInfo {
        margin-top: 2.5rem;
        margin-left: 1rem;
        padding-left: 2.5rem;
        height: fit-content;
        color: white;
        width: fit-content;
        padding-right: 2.5rem;
        background-color: #0288a2;
    }
}
