* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #ebe5de;
  overflow-x: hidden;
}

/* Fixed background text */
.background-title {
  position: fixed;
  font-family: "Cardo", serif;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: min(10vw, 8rem);
  font-weight: 700;
  color: black;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 600ms ease 200ms;
}

.background-subtitle {
  position: fixed;
  font-family: "Neuton", serif;
  font-weight: 700;
  font-style: normal;
  font-size: min(4vw, 3rem);
  z-index: 1;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 600ms ease 400ms;
}

.visible {
  opacity: 1;
}

/* Container for scrollable content */
.content {
  position: relative;
  z-index: 2;
  padding: 10px 20px;
  margin-bottom: 90px;
}

/* Image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 3.5s ease, transform 3s ease;
}

.image-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-wrapper img {
  width: 100%;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

/* Header */
header {
  position: relative;
  z-index: 3;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  font-size: 4vw;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .background-subtitle {
    top:55%;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  header h1 {
    font-size: 8vw;
  }
}

@media (max-width: 375px) {
  .background-subtitle {
    top:53%;
  }
}

/* Fixed Bottom Menu */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ebe5de;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  z-index: 100;
}

.menu-btn {
  font-family: "Cardo", serif;
  background: none;
  border: none;
  color: #000000;
  outline: none;
  padding: 12px 40px;
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #ebe5de;
  margin: 5% auto;
  padding: 40px;
  border: none;
  width: 90%;
  max-width: 600px;
  border-radius: 0;
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #000;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 35px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #666;
}

.modal-content h2 {
  font-family: "Cardo", serif;
  font-size: 32px;
  margin-bottom: 30px;
  color: #000;
  letter-spacing: 0.05em;
}

/* Work Options */
.work-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.work-option {
  font-family: "Cardo", serif;
  display: block;
  padding: 15px 20px;
  background: transparent;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.work-option:hover {
  background: #000;
  color: #ebe5de;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: "Cardo", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid #000;
  background: transparent;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #000;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #666;
}

.submit-btn {
  font-family: "Cardo", serif;
  padding: 15px 40px;
  background: #000;
  color: #ebe5de;
  border: 2px solid #000;
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 10px;
}

.submit-btn:hover {
  background: transparent;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .background-text {
    font-size: 10vw;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  header h1 {
    font-size: 8vw;
  }

  .bottom-menu {
    gap: 10px;
    padding: 15px;
  }

  .menu-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .modal-content {
    width: 95%;
    padding: 30px 20px;
    margin: 10% auto;
  }

  .modal-content h2 {
    font-size: 24px;
  }

  .work-option {
    font-size: 16px;
    padding: 12px 15px;
  }
}