/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
}

body {
  background: #333;
}

/* Gallery Section */
.gallery-section {
  padding: 40px 0;
  background: #222;
  color: #fff;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 24px;
  font-size: 2rem;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Image grouping */
.image-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
}

.image-group.single {
  justify-content: center;
}

.image-item {
  flex: 1;
  max-width: 450px;
}

.image-group.single .image-item {
  max-width: 500px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #333;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Description dropdowns - hidden by default */
.image-description {
  display: none;
  margin: 16px auto;
  max-width: 1000px;
  width: 90%;
}

.image-description[open] {
  display: block;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-description summary {
  display: none;
}

.description-content {
  text-align: center;
}

.description-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* Mobile descriptions - hidden by default */
.mobile-description {
  display: none;
  color: #fff;
  text-align: center;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.5;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

/* 
  CONTACT FORM EXAMPLE FOR FORMCARRY

  IMPORTANT NOTE:
  PLEASE ADD formcarry-form class to your form element
  to apply the styles.
*/

.formcarry-container * {
  box-sizing: border-box;
	font-family: "Inter", sans-serif;
  /* background: #333;

  /* colors */
  --color-blue: #2552d0;
  --color-light-blue: #3266e3;
  --color-gray: #e5e7eb;
  --color-dark-gray: #9da3ae;
  --color-pink: #edadd2;
}

.formcarry-container {
  /* container */
  --c-width: 50%;
  --c-max-width: 500px;

  width: var(--c-width);
  max-width: var(--c-max-width);
  display: block;
  margin: 10vh auto 10vh auto;
  background: #333;
  padding: 40px;
  border-radius: 12px;
}

.formcarry-form label {
  display: block;
  padding: 12px 0 2px 0;
  letter-spacing: -0.2px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.formcarry-form input,
.formcarry-form textarea {
  font-size: 16px;
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--color-gray);
  border: none;
  border: 4px solid var(--color-gray);
  outline: none;
  border-radius: 8px;
  color: var(--color-dark-gray);
}

.formcarry-form input:focus,
.formcarry-form textarea:focus {
  background-color: #fff;
  color: var(--color-dark-gray);
}

.formcarry-form input:focus:required:invalid {
  border-color: var(--color-gray);
  background-color: #fff;
}

.formcarry-form button {
  display: block;
  margin-top: 12px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
	border-color: transparent;
  background-color: var(--color-blue);
  color: #fff;
  font-weight: 700;
  font-size: 18px;

  transition: 300ms all;
}

.formcarry-form button:hover {
  background-color: var(--color-light-blue);
}

.formcarry-alert {
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-top: 12px;
  display: none;
}

.formcarry-alert.visible {
  display: block;
}

.formcarry-alert.success {
  background: #69cf9d;
}

.formcarry-alert.error {
  background: #de524c;
}

/* Responsive: for small screens */
@media (max-width: 768px) {
  /* Stack images vertically on mobile */
  .image-group {
    flex-direction: column;
    gap: 16px;
  }
  
  .image-item {
    max-width: 100%;
  }
  
  .gallery-grid img {
    width: 90vw;
    max-width: 400px;
  }
  
  /* Hide popup descriptions on mobile */
  .image-description {
    display: none;
  }
  
  /* Show mobile descriptions instead */
  .mobile-description {
    display: block;
  }
}

@media (max-width: 600px) {
  .gallery-grid img {
    width: 95vw;
    max-width: 100vw;
  }
}

/* Contact Form Section */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}