
/* General Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

/* Sections & Layout Containers */
section,
.page-section,
.column,
.two-columns,
.mobile-column {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Full Page Scroll Setup */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100vh;
    scroll-snap-type: y mandatory;
}

body {
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.page-section,
.mobile-column,
.column {
    max-width: 100vw;
    overflow-x: hidden;
}

h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 1,5rem;
}

h2 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    color: #468FCD;
}

p {
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 1rem;
}

ul {
    font-size: 1rem;
    font-weight: normal;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

label {
    font-size: 1rem;
    font-weight: normal;
}

section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}
section.page-section {
    padding-top: 10vh;
    display: flex;
    align-items: center; /* Only desktop */
}

.top-left {
    position: absolute;
    top: 150px;
    left: 50px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 40%;
    color: #468FCD;
}

#page1 {
    position: relative;
    background-image: url('img/page1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
}

.start ul {
    color: #EB8023;
    font-size: 2rem;
    font-weight: regular;
}

#page2,
.page2 {
    background: #468FCD;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    color: white;
}

.two-columns {
    display: flex;
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column img,
.slideshow .slide {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

#page3,
.page3 {
    background: #BACB6D;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    color: white;
}

.namedrop {
    color: #DE9541;
    font-weight: bold;
}

.namedrop2 {
    color: #468FCD;
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

#page4 {
    background: #7E9239;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    min-height: 100vh;
    color: white;
    padding: 2rem;
    flex-direction: column;
}

#page4 a {
    color: white;
}

.container {
    display: flex;
}

img {
    height: 500px;
}

/* Sticky Navigation Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    height: 8vh;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2vw;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optional */
  }
  
  .nav-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-logo img {
    height: 60px;
    width: auto;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #0096FF;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #E77F24;
  }
  

.drop-animation {
    position: fixed;
    width: 40px;
    height: auto;
    pointer-events: none;
    z-index: 999;
    animation: popFade 3s ease-in-out;
}

.popup {
    position: fixed;
    top: 100px;
    left: 50%;
    width: 50vw;
    transform: translateX(-50%);
    color: #E77F24;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1000;
    text-align: center;
    white-space: normal;
}


.popup.show {
    opacity: 1;
    pointer-events: auto;
}

.slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.slide-container {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    padding: 0 10px;
    user-select: none;
}

.nav.left {
    left: 10px;
}

.nav.right {
    right: 10px;
}

form {
    width: 100%;
    max-width: 600px;
    margin: 2vh auto;
    border-radius: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1vh;
}

input, textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    resize: none;
}

form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

form button:hover {
    background-color: #E77F24;
    color: black;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 8vh;
    text-align: center;
    padding: 1rem 0;
    background: transparent;
    color: #E77F24;
    font-size: 1.5rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@keyframes popFade {
    0% { opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}

.page-section {
    scroll-snap-align: start;
}

/* ========== Desktop Styles ========== */
@media (min-width: 769px) {
    .mobile-column,
    .mobile-only,
    .mobile-page {
        display: none;
    }

    .desktop-only {
        display: block;
    }
  

    #page4 .two-columns {
        gap: 3rem;
    }
}

/* ========== Mobile Styles ========== */
@media (max-width: 768px) {

    .two-columns {
        display: block !important;
        padding: 1rem;
    }

    .column {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 8vh;
        overflow: hidden;
    }

    #page4 {
        height: auto !important;
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    #page4 .column.right {
        display: none;
    }

    .mobile-column {
        padding: 1rem;
        padding-top: 3vh;
    }

    .page-section.mobile-column {
        display: block;
        width: 100%;
        min-height: 100vh;
    }

    .hide-on-mobile {
        display: none !important;
    }

    #page1 {
        background-image: url('img/logo_mobile.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    h1 {
        font-size: 1.5rem;
    }

    section.page-section {
        align-items: flex-start; /* Allow natural top stacking */
      }

    section.mobile-column {
        height: 100vh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;    
        scroll-snap-align: start;
      }

    .slideshow {
        width: 100%;
        
    }

    .slide-container {
        width: 100%;
    }

    .slide {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .slideshow img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }

    .mobile-page {
        display: block;
    }

    .mobile-page img {
        max-width: 100%;
        height: 15vh;
        display: block;
      }
    

    .mobile-page h1 {
        margin-bottom: 1vh;
    }

    .mobile-page p {
        margin-bottom: 3vh;
        font-size: 1rem;
    }

    nav {
        font-size: 2rem;
        padding: 0;
        height: 6vh;
        display: flex;
        justify-content: center !important;
        align-items: center !important;
    }

    nav img {
        height: 7vh;
        object-fit: contain !important;
        padding-right: 0;
    }

    .lower {
        padding-top: 0vh;
        height: 6vh;
    }

    nav a {
        padding: 0;
        padding-top: 3vh;
    }

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    p{
        font-size: 0.8rem;
    }
   
    .zucht{
    margin-top: -10vh;
   }

   input, textarea {
    padding: 1vh;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    resize: none;
   }
}
