/* style.css */

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

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: auto; /* allow vertical scroll on the page */
}

/* Scroll control */
/* Disable scroll on index and about pages */
body.no-scroll {
  overflow: hidden;  /* disables scrolling */
  height: 100vh;     /* prevent page height overflow */
}

/* Enable scroll explicitly on photo, video, contact pages */
body.photos-page,
body.videos-page,
body.contact-page {
  overflow-y: auto;
  height: auto;
  display: flex;
  flex-direction: column;
}

body.contact-page .contact-container {
  max-width: 800px;
  margin: 40px auto;
  overflow-y: auto;
  height: calc(100vh - 80px); /* Adjust 80px: header + footer total height */
  padding-bottom: 60px;
  box-sizing: border-box;
}

/* main container */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* center vertically */
  height: 100vh; /* full screen height */
  background-color: white; /* your background */
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}




/* ---------- HEADER & NAVIGATION ---------- */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
  position: sticky; /* sticks on scroll */
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header img {
  height: 30px;
  width: auto;
}

.menu-toggle {
  display: none; /* hide on desktop */
  font-size: 28px;
  cursor: pointer;
  z-index: 1002;
}

header nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  display: block;
  padding: 0;
  text-decoration: none;
  color: black;
  font-weight: 300;
}

header nav ul li a.active {
  color: rebeccapurple;
}

/* MOBILE HEADER */
@media (max-width: 768px) {

  .menu-toggle {
    display: block; /* show burger */
    position: absolute;
    top: 12px;
    right: 20px;
  }

  header nav {
    display: none;        /* hidden by default */
    flex-direction: column;
    position: absolute;
    top: 60px;            /* below header */
    left: 0;
    width: 100%;
    background: white;
    z-index: 1001;
    padding: 10px 0;
  }

  header nav.active {
    display: flex;        /* show when burger clicked */
  }

  header nav ul {
    flex-direction: column;
    gap: 15px;
  }

  header nav ul li a {
    padding: 10px 20px;
  }
}






/* font site */
body {
  font-family: 'Oswald', sans-serif;
  font-weight: 100; /* light */
  line-height: 1.6;
}

header {
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: space-between;
  padding: 4px 20px;         /* small vertical padding */
  background-color: rgba(255, 255, 255, 0.9);
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
}

header img {
  height: 30px;              /* adjust logo height */
  width: auto;
}

 /* adjust meniu peste in scroll */

nav ul {
  display: none;
  flex-direction: column;
}
nav ul.showing {
  display: flex;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* Mobile: center navigation */
@media (max-width: 768px) {
  nav ul {
    justify-content: center;
       gap: 0px;
  }
}

/* Mobile: highlight the active menu item */
@media (max-width: 768px) {
  nav ul li a.active {
    background-color: whitesmoke; /* light highlight */
    color: white;              /* text color when active */
    border-radius: 5px;
    padding: 5px 10px;
  }
}

nav ul li a {
  font-weight: bold; /* Always bold */
  text-decoration: none;
  color: black;
  font-weight: 300;
  transition: color 0.3s ease;
}

/* Highlight active/selected page */
nav ul li a.active {
  color: rebeccapurple; /* #0077cc is blue Change to your highlight color */
}

nav ul li a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

/* Slideshow styles */
.slideshow {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
}

.slideshow img.active {
  opacity: 1;
}

/* Container for galleries and content */
.container {
  padding: 20px;
}

/* Gallery and video grids */
.gallery, .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(364px, 1fr));
  gap: 20px;
}

.gallery-item, .video-item {
  text-align: center;
}

/* About Us specific styles */
.about-us-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 76px; /* replicate margin-t76 */
  gap: 20px;
  justify-content: center;
}

.about-person {
  flex: 1 1 300px; /* flexible width with min 300px */
  box-sizing: border-box;
}

.about-person-img img {
  max-width: 35%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.about-person-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: left;
}

.about-person-text p {
  margin-bottom: 1em;
  line-height: 1.5;
  text-align: left;
}

.about-person-text a {
  color: #007bff;
  text-decoration: none;
}

.about-person-text a:hover,
.about-person-text a:focus {
  text-decoration: underline;
}

/* Responsive navigation */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 41px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
  }

  nav ul.showing {
    display: flex;
  }

  nav ul li {
    margin: -5px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
  
  /* About Us responsive */
  .about-us-container {
    flex-direction: column;
    margin-top: 10px;
  }
  
  .about-person-text h1 {
    text-align: center;
  }
  
  .about-person-text p,
  .about-person-text a {
    text-align: center;
  }
}

.about-us-container {
  max-width: 1100px;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
  padding: 80px 40px;
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-photo img {
  max-width: 320px;
  height: auto;
  border-radius: 10px;
}

.about-text {
  max-width: 750px;
  flex: 1;
}

.about-text h2 {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 700;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.about-text a {
  color: #c29d59; /* matches accent color from your site */
  text-decoration: none;
  font-weight: 600;
}

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

/* Footer */
footer {
  position: fixed;       /* fixed at bottom */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;          /* set fixed footer height */
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* space between copyright and icons */
  padding: 10px 20px;
  z-index: 1000;
  flex-wrap: wrap; /* wrap on small screens */
}

.footer-social {
  display: flex;
  gap: 15px; /* spacing between icons */
  align-items: center;
}

.footer-social a {
  color: black;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #c29d59; /* your accent color */
}

.container.gallery {
  max-width: 960px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  height: 250px;  /* Fixed height */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: filter 0.3s ease;
  border-radius: 8px;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item p {
  margin-top: 8px;
  font-weight: 600;
  color: #333;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* exactly 5 columns on desktop */
  gap: 20px;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 0 15px #000;
}

.lightbox-controls {
  margin-top: 15px;
}

.lightbox-controls button {
  background: #c29d59;
  border: none;
  color: white;
  font-size: 1.5rem;
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
}

.lightbox-controls button:hover {
  background: #a87f3f;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.lightbox-caption {
  margin-top: 15px;
  color: white;
  font-size: 1.1rem;
  max-width: 90%;
  text-align: center;
}

.contact-photo {
  text-align: center;
  margin-top: -20px;
}

.contact-photo img {
  width: 100%;       /* full width of container/screen */
  max-width: 100vw;  /* max width never exceeds viewport width */
  height: 272px;     /* fixed height */
  object-fit: cover; /* crop to fill, centered by default */
  object-position: center center; /* ensure crop from center */
  border-radius: 8px;
  display: block;    /* removes inline spacing */
}

#form_message + .help-block,
label[for="form_message"] {
  text-align: center;
  display: block;
  font-weight: 700; /* bold */
  color: red;       /* red text */
  margin-bottom: 10px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

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

.form-group.full-width {
  flex: 100%;
}

label {
  margin-bottom: 5px;
  font-weight: 300;
}

input, select, textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.btn-send {
  padding: 12px 30px;
  font-size: 18px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-send:hover {
  background-color: #333;
}

/* Responsive */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* Center the button and colors */

/* Center the send button */
/* Ensure the parent container centers its content */
.col-md-12.text-center {
  text-align: center; /* center inline elements inside */
}

/* Style the send button */
input[type="submit"].btn-send {
  display: inline-block; /* make it inline-block to respect text-align */
  background-color: #00aaff; /* sky blue */
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 150px; /* optional: consistent width */
}

input[type="submit"].btn-send.sent {
  background-color: #28a745; /* green */
}

input[type="submit"].btn-send.error {
  background-color: #dc3545; /* red */
}

/* carousel */
.carousel-caption h1,
.carousel-caption p {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
}

.carousel-caption h1 {
  font-weight: 300;
  margin: 0;
  padding: 0;
  font-size: 46px;
  font-family: 'Dosis', sans-serif;
  /* Uncomment below if you want subtle shadow */
  /* text-shadow: 2px 2px #ccc; */
}

.carousel-caption p {
  font-size: 18px;
  margin-top: 10px;
  font-family: 'Dosis', sans-serif;
  font-weight: 400;
}

/* Prevent user selection and dragging */
body, img, p, h1, h2, h3, h4, h5, h6, div {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
  -khtml-user-select: none;  /* older Konqueror */
  cursor: default; /* Optional: changes cursor to default arrow */
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none; /* optional, disables clicking/selecting */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

/* Overlay message no background, black text */
.carousel-caption.overlay-message-no-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  padding: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  max-width: 90%;
  z-index: 10;
}

.carousel-caption.overlay-message-no-bg h1 {
  margin: 0 0 10px;
  font-size: 46px;
}

.carousel-caption.overlay-message-no-bg p {
  margin: 0 0 20px;
  font-size: 22px;
}

/* Social icons container */
.carousel-caption.overlay-message-no-bg .social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 40px; /* bigger icons */
}

.carousel-caption.overlay-message-no-bg .social-icons a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.carousel-caption.overlay-message-no-bg .social-icons a:hover {
  color: #007BFF; /* optional hover color, blue */
}

/* Photos page specific overrides */
body.photos-page .carousel-caption.overlay-message-no-bg {
  color: indigo;           /* Text color for <h1> and <p> */
  text-shadow: none;       /* Remove text shadow */
  background: transparent; /* Make sure background stays clear */
}

body.photos-page .carousel-caption.overlay-message-no-bg h1 {
  color: indigo;
  text-shadow: none;
}

body.photos-page .carousel-caption.overlay-message-no-bg p {
  color: darkslateblue;
  text-shadow: none;
}

body.photos-page .carousel-caption.overlay-message-no-bg .social-icons a {
  color: indigo;
  text-shadow: none;
}

body.photos-page .carousel-caption.overlay-message-no-bg .social-icons a:hover {
  color: #c29d59;
  text-shadow: none;
}





/* Centered page title video */
.page-title {
  color: indigo;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 3rem;
  margin-bottom: 40px;
}

/* Override video grid to 3 columns */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}



/* Responsive adjustments */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Optional: make iframe responsive */
.video-item iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

..video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertically centers */
  text-align: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: 100%; /* makes sure card takes full height of its grid cell */
}

.video-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps videos proportional like Vimeo */
  background-color: #000; /* background if video thumbnail is smaller */
}

.video-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; /* fill without distortion */
}

.video-title {
  font-weight: 300; /* light */
  text-transform: uppercase;
  font-size: 1rem;
  margin: 10px 0;
}

border-radius
overflow: hidden
clip-path

#myImage {
  border-radius: 12px; /* adjust radius as needed */
}

.image-container {
  border-radius: 12px;
  overflow: hidden; /* so overlay and image are clipped */
}

border-radius: 10px;

.video-thumbnail {
  border-radius: 10px;
  overflow: hidden; /* clips overlay and image inside rounded corners */
}



header {
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: space-between;
  padding: 4px 20px;         /* keep padding small */
  background-color: rgba(255, 255, 255, 0.9);
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 18px;           /* slightly smaller font to match footer */
  line-height: 1;
  height: 40px;              /* fixed height to keep consistent */
  box-sizing: border-box;
}

header img {
  height: 30px;              /* logo height */
  width: auto;
}


header {
  position: relative;
}

/* menu-toggle */

.menu-toggle {
  position: relative;
  z-index: 2000; /* high enough to be clickable */
}

/* menu-toggle sa mearga in scroll */

header {
  position: sticky; /* or fixed */
  top: 0;
  background: white; /* so it covers content under when scrolling */
  z-index: 10000; /* high z-index to stay on top */
  width: 100%; /* full width */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* optional shadow for separation */
}


nav ul.showing {
  display: flex;
  position: absolute;  /* ensure it overlays content */
  top: 20px;
  left: 0;
  right: 0;
  background: white;
  z-index: 1500;
}

.menu-toggle {
  position: fixed;  /* or absolute if inside a relative parent */
  top: 4px;        /* spacing from top */
  right: 10px;      /* move to the right side */
  left: auto;       /* reset left if previously set */
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;    /* keep it on top */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



/* Mobile styles for About Us page */
@media (max-width: 768px) {
  .about-us-container {
    padding: 10px;
  }

  .about-row {
    flex-direction: column !important; /* stack vertically */
    align-items: center;
  }

  .about-row.reverse {
    flex-direction: column !important; /* remove row-reverse on mobile */
  }

  .about-photo {
    width: 80vw;       /* smaller width */
    max-width: 300px;  /* max cap */
    margin-bottom: 15px;
  }

  .about-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .about-text {
    width: 90vw;
    max-width: 320px;
    font-size: 0.9rem;       /* smaller font */
    line-height: 1.3;        /* better line height for reading */
    text-align: justify;     /* nicer text flow */
  }

  .about-text h2 {
    font-size: 1.6rem;       /* smaller heading */
    margin-bottom: 8px;
  }

  .about-text p {
    margin-bottom: 12px;
  }

  /* Optional: break long lines by forcing max width */
  .about-text p {
    word-break: break-word;
  }
}



/* Adjust photo item container and image sizes */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px; /* equal horizontal and vertical gaps */
  padding: 200px;
  box-sizing: border-box;
}

.photo-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 300px; /* fixed height for consistent rows */
}

.photo-item img {
  width: 100%;
  height: 70%; /* fixed portion of height for image */
  object-fit: cover; /* cover the container without distortion */
  border-radius: 8px 8px 0 0;
  display: block;
}

.photo-item p {
  height: 30%; /* remaining height for caption */
  margin: 0;
  padding: 10px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  color: #333;
}


/* Hide menu by default on small screens */
nav ul {
  display: none;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

/* Show menu when .showing is added */
nav ul.showing {
  display: flex;
}

/* Desktop view — always show */
@media (min-width: 768px) {
  nav ul {
    display: flex !important;
    flex-direction: row;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 265px; /* fixed height */
}

/* Image inside photo-item */
.photo-item img {
  width: 100%;
  height: 100%; /* fill height */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
  flex-shrink: 0;
}

/* MOBILE fix */
@media (max-width: 480px) {
  .photo-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* center horizontally */
    padding: 10px 20px;
  }
  .photo-item {
    width: 390px;
    height: 265px;
    margin-bottom: 20px;
  }
}

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

body.photos-page nav ul li {
  margin: 10px 0 !important;
}

body.photos-page nav ul li a {
  padding: 10px 20px !important;
}



/* Font  */

@font-face {
  font-family: 'Oswald';
  src: url('/fonts/Oswald-Regular.woff2') format('woff2'),
       url('/fonts/Oswald-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Force Font Size  */

.my-text {
  font-family: 'Oswald', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* optional */
}

.about-row {
  display: flex;
  align-items: center;
  gap: 20px; /* space between text and photo */
  margin-bottom: 40px;
}

header nav {
  display: none;
}

header nav.active {
  display: block;
  background: white;
  position: absolute;
  top: 20px; /* adjust if your header height changes */
  left: 0;
  width: 100%;
  padding: 0px 0;
  z-index: 1002;
}

header nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav ul li a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: black;
}

@media (min-width: 768px) {
  header nav {
    display: block !important;
    position: static;
    width: auto;
    background: none;
  }
  header nav ul {
    flex-direction: row;
    gap: 20px;
  }
}

