/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header, footer {
  width: 100%;
  background-color: #595751;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* Modern form styling */
.form-group {
  margin-bottom: 20px;
  width: 100%;
}

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

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

label.field {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.4;
}

input.textbox-300, textarea.textbox-300 {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background-color: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

input.textbox-300:focus, textarea.textbox-300:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

textarea.textbox-300 {
  min-height: 100px;
  resize: vertical;
}

input.textbox-300::placeholder, textarea.textbox-300::placeholder {
  color: #9ca3af;
  font-style: italic;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.required {
  color: #ef4444;
  font-weight: 600;
}

.submit-button {
  background: linear-gradient(135deg, #666 0%, #333 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(102, 102, 102, 0.2);
  margin-top: 16px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 102, 102, 0.3);
  background: linear-gradient(135deg, #555 0%, #222 100%);
}

.submit-button:active {
  transform: translateY(0);
}

.optional-section {
  margin-top: 20px;
  border-top: 2px solid #f3f4f6;
  padding-top: 20px;
}

.optional-toggle {
  background: none;
  border: none;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px auto;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.optional-toggle:hover {
  background-color: #f8fafc;
  color: #555;
}

.optional-toggle .arrow {
  transition: transform 0.2s ease;
  font-size: 12px;
}

.optional-toggle.expanded .arrow {
  transform: rotate(180deg);
}

.optional-fields {
  display: none;
  animation: slideDown 0.3s ease;
}

.optional-fields.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  height: 64px;
  z-index: 1000;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 20px;
  justify-content: space-between;
  height: 64px;
  width: 100%;
  z-index: 1001;
}

.branding {
  font-size: 1.5em;
  font-weight: bold;
  font-family: 'Roboto', Arial, sans-serif;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: #f9f7f1;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: all 0.3s ease;
  border-radius: 4px;
}

nav a:hover {
  background-color: #555;
  transform: translateY(-1px);
}

nav a.active {
  background-color: #666;
}

.hamburger {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}

.container {
  flex: 1;
  padding-top: 64px;
  padding-bottom: 64px;
}

section {
  min-height: calc(100vh - 128px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-margin-top: 64px;
}

.section1 { background-color: #f9f7f1; }
.section2 { background-color: #999791; }
.section3 { background-color: #c9c7c1; }

/* Swiper Gallery Styles */
.gallery-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 200px);
  max-height: calc(100vh - 200px);
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  width: auto !important;
  height: 100%;
  flex-shrink: 0;
}

.swiper-slide img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-right: 15px;
}

.swiper-slide img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hide default Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

.gallery-container .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
}

.gallery-container .arrow:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.about-content {
  display: flex;
  align-items: center;
  max-width: 60%;
  margin: 0 auto;
}

.about-content img {
  max-width: 40%;
  margin-right: 20px;
  border-radius: 20px;
}

.about-text {
  text-align: left;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
}

.contact-form {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  border: 1px solid #f3f4f6;
}

.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button {
  font-family: 'Inter', sans-serif;
}

.contact-form button {
  clear: both;
  text-align: center;
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #111827;
  margin-bottom: 8px;
}

.form-header p {
  font-family: 'Inter', sans-serif;
  color: #6b7280;
  font-size: 16px;
}

.form-subtitle {
  font-size: 14px !important;
  color: #9ca3af !important;
  font-style: italic;
  margin-top: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  text-decoration: none;   
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Fix logo size and header spacing on mobile */
  .branding img {
    height: 20px;
  }
  
  header {
    padding: 10px 15px;
  }

  nav {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 64px;
    width: 100%;
    left: 0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  nav a {
    padding: 15px 10px;
    border-bottom: 1px solid #555;
  }

  nav a:last-child {
    border-bottom: none;
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    justify-content: space-between;
    height: 64px;
    width: 100%;
  }

  .hamburger {
    display: block;
  }

  .gallery-container {
    height: calc(100vh - 200px);
    max-height: calc(100vh - 200px);
    padding: 20px 0;
  }

  .swiper {
    height: 100%;
  }

  /* Hide desktop arrows on mobile - mobile will use touch swipe */
  .gallery-container .arrow {
    display: none;
  }

  /* Mobile form adjustments */
  .contact-form {
    padding: 24px;
    margin: 20px;
    max-width: calc(100% - 40px);
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 24px;
  }

  .form-header h2 {
    font-size: 24px;
  }

  input.textbox-300, textarea.textbox-300 {
    font-size: 16px;
  }

  .about-content {
    flex-direction: column;
    max-width: 90%;
  }

  .about-content img {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .about-text {
    text-align: center;
  }
}