
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.bg-layer {
  background: url('background.jpg') no-repeat center center;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 110vw;
  height: 110svh;
  z-index: -2;
  will-change: transform;
  transform: translate(0, 0) scale(1.05);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0.375rem;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 1rem;
}
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff44;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
textarea,
select {
    font-size: 16px !important;
}

.overlay {
##    background: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}
.container {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.signature {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideFadeIn 1.2s ease forwards;
}
@keyframes slideFadeIn {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}
.links a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.links a:hover {
    background: white;
    color: black;
}
.links i {
    margin-right: 8px;
}

/* Contact Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
}
.modal-content {
    background-color: #222;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    color: white;
}
.modal-content input,
.modal-content textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    background: #333;
    border: none;
    border-radius: 5px;
    color: white;
}
.modal-content button {
    background: white;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* Additional animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}
.delay-1 {
    animation-delay: 0.5s;
}
.delay-2 {
    animation-delay: 1s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .signature {
        font-size: 2.5rem;
    }
    p {
        font-size: 1.2rem;
    }
    .links a {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
    }
}

.dynamic-text span {
    transition: opacity 0.3s ease;
    display: inline-block;
}


.social-icons a:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.staggered {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}
.staggered.delay-1 { animation-delay: 0.5s; }
.staggered.delay-2 { animation-delay: 1s; }
.staggered.delay-3 { animation-delay: 1.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.grain-overlay {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.06;
  z-index: 1;
}

footer {
  position: fixed;
  bottom: 1em;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.social-icons a:hover {
  opacity: 0.6;
}


footer {
  position: fixed;
  bottom: 1em;
  width: 100%;
  text-align: center;
  z-index: 5;
  font-size: 0.9em;
}


.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1.5em;
}

.social-icons a {
  border: 1px solid white;
  padding: 0.4em 1em;
  color: white;
  text-decoration: none;
  font-size: 0.95em;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 4px;
}

.social-icons a i {
  margin-right: 0.4em;
}

.social-icons a:hover {
  background-color: white;
  color: black;
}

/* Mobile layout stacks vertically */
@media (max-width: 600px) {
  .social-icons {
    flex-direction: column;
    align-items: center;
  }
}


button, .social-icons a {
  border: 1px solid white;
  padding: 0.4em 1em;
  color: white;
  text-decoration: none;
  font-size: 0.95em;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 4px;
  background: none;
  cursor: pointer;
}

button i, .social-icons a i {
  margin-right: 0.4em;
}

button:hover, .social-icons a:hover {
  background-color: white;
  color: black;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1.5em;
}

@media (max-width: 600px) {
  .social-icons {
    flex-direction: column;
    align-items: center;
  }
}

form select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
  background-color: #2e2e2e;
  border: 1px solid #555;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form select:focus {
  border-color: #888;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  .container {
    height: auto;
    padding-top: 1.5em;
    padding-bottom: 3em;
    justify-content: flex-start;
  }

  .signature {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .dynamic-text,
  .social-icons,
  p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .social-icons {
    flex-direction: column;
    gap: 0.5em;
  }

  footer {
    position: relative;
    margin-top: 2em;
  }
}
