/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap&subset=latin,greek');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Geologica:wght@100..900&family=Mansalva&display=swap');
/* ============================
   ROOT VARIABLES
============================ */
:root {
    /* Fonts */
    --font-base: 'Fira Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-accent: 'Kaushan Script', cursive;
    /* Colors */
    --color-primary: #547435;
    --color-secondary: #c49a6c;
    --color-secondary-dark: #a87d52;
    --color-accent: #9ad163;
    --color-text: #111;
    --color-light: #fff;
    --color-dark: #000;
    /* Sizes */
    --radius: 5px;
    --transition: 0.3s ease;
    --container-padding: 3rem;
    /* Shadows */
    --shadow-soft: 2px 2px 6px rgba(0,0,0,0.6);
    /* Font Sizes (scales with breakpoints) */
    --fs-h1: 4rem;
    --fs-h2: 3rem;
    --fs-p: 1.7rem;
}

/* Reset & Global */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    font-size: 11px; /* base 10px for easier rem calculation */
    box-sizing: border-box;
    background: var(--color-primary);
    overflow-x: hidden;
    overflow-y: auto;
}





.home-wrapper {
    position: relative; /* parent for absolute positioning */
}


/* SVG container */
.svg-seperator {
    position: relative;
    width: 100%;
    height: 30vw; /* control height here */
    overflow: hidden;
    margin: 0;
    z-index: 2;
    pointer-events: none;
}

    /* --- SVG Animation --- */
    .svg-seperator svg {
        display: block;
        width: 100%; /* always span full width */
        height: 100%; /* fill container height */
        object-fit: cover; /* crop without squishing */
        transform: translateY(-10vw); /* hidden: up */
        opacity: 1;
        transition: all 1s ease-out;
    }

    .svg-seperator.active svg {
        transform: translateY(-10vw); /* slide into place */
        opacity: 1;
    }

.overflow-beans {
    position: absolute;
    height: 15vw;
    left: 100%; /* hidden: off screen right */
    top: 20%;
    z-index: 10;
    opacity: 0;
    transition: all 1s ease-out;
}

.svg-seperator.active .overflow-beans {
    left: 70%; /* final resting position */
    top: 2vw; /* keep same */
    opacity: 1;
}





body.no-scroll {
    overflow: hidden; /* Prevent background scroll when mobile menu is open */
}

h1, h2, .btn {
    font-family: var(--font-heading);
    font-weight: 700;
}

p {
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

p, nav a {
    font-family: var(--font-base);
    font-weight: 400;
}




/* ============================
   NAVBAR
============================ */
.nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  transition: var(--transition);
  z-index: 1000;
  background: var(--color-light);
  display: flex;
  flex-direction: column;
  height: 93px;
}

.nav.affix {
  background: var(--color-primary);
  padding: 0;
}

/* Change nav link color to white when affix */
.nav.affix .main_list ul li a {
  color: var(--color-light);
}

.nav.affix .main_list ul li a:hover {
  color: var(--color-secondary); /* keep hover gold color */
}

/* Container */
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-padding);
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo */
.logo img {
  height: 90px;
  width: auto;
}

/* Nav Links */
.main_list ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main_list ul li {
  padding-right: 2rem;
}

.main_list ul li a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 1.6rem;
  transition: color 0.3s;
  font-weight: 500;
}

.main_list ul li a:hover {
  color: var(--color-secondary);
}

/* Mobile Menu Trigger */
.navTrigger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.navTrigger i {
  background-color: var(--color-text);
  display: block;
  height: 4px;
  margin: 5px 0;
  transition: 0.4s;
}

.navTrigger.active i:nth-child(1) {
  transform: translateY(9px) rotate(135deg);
}

.navTrigger.active i:nth-child(2) {
  opacity: 0;
}

.navTrigger.active i:nth-child(3) {
  transform: translateY(-9px) rotate(-135deg);
}

/* ============================
   LANGUAGE SWITCH FLAGS
============================ */
.lang-switch {
  position: absolute; /* absolute relative to the parent */
  top: 100px; /* under navbar */
  left: 45px;
  display: flex;
  gap: 12px;
  z-index: 2000;
  z-index: 50;
}

.lang-switch a {
  font-size: 2rem;
  text-decoration: none;
  color: var(--color-light);
  transition: opacity 0.3s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); 

}


@media screen and (max-width: 768px) {
  .nav .container {
    padding: 0 2rem;
  }

  .lang-switch {
    left: 36px;
  }

  .main_list {
    position: absolute;
    top: 93px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--color-text);
    transition: all 0.3s ease;
        overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main_list.show {
    height: 100vh !important;
  }

  .main_list ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 550px;
    margin-top: -103px;
    padding: 2em 0;
  }

  .main_list ul li {
    padding: 14px 0;
  }

  .main_list ul li a {
    color: var(--color-light);
    font-size: 1.8rem;
  }

  .navTrigger {
    display: block;
  }
}



.phone-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #547435; /* coffee green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.3s ease;
}

    .phone-btn img {
        height: 20px;
        width: 20px;
    }

    .phone-btn:hover {
        background-color: #ffffff;
        transform: scale(1.1);
    }