:root {
  --primary-color: #003366;
  --secondary-color: #000;
  --accent-color: gold;
  --text-color: white;
  --background-color: linear-gradient(to bottom, #003366, #000);
  --highlight-color: #e61b1b;
}

#site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--background-color);
  min-height: 100vh;
  color: var(--text-color);
  position: relative;
  overflow-x: hidden;
  font-size: calc(1rem + 0.5vw);
}

#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  animation: colorShift 10s infinite alternate;
}

main {
  max-width: 1400px;
  margin: auto;
  padding: 3rem 1rem;
  position: relative;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.8),
    rgba(0, 0, 0, 0.8)
  );
  border-radius: 20px;
  margin-bottom: 3rem;
  animation: fadeIn 1.2s ease-in, colorPulse 5s infinite alternate;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero h1 {
  font-size: calc(2.5rem + 1.5vw);
  color: var(--accent-color);
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 900;
}

.hero p {
  font-size: calc(1.1rem + 0.4vw);
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

.card h1 {
  font-size: calc(2rem + 1vw);
  margin: 0 0 1.5rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.card p {
  font-size: calc(0.9rem + 0.3vw);
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  font-size: calc(0.8rem + 0.3vw);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::after {
  width: 200%;
  height: 200%;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--accent-color);
}

.btn.primary {
  background: var(--accent-color);
  color: black;
}

.btn.primary:hover {
  background: #ccac00;
  color: var(--text-color);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 4rem;
  animation: fadeIn 0.8s ease-out;
}

.gallery h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: calc(1.8rem + 1vw);
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.gallery .subtitle {
  grid-column: 1 / -1;
  text-align: center;
  font-size: calc(0.9rem + 0.3vw);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}

.gallery-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  opacity: 0.7;
}

.gallery-item p {
  font-size: calc(0.9rem + 0.3vw);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  width: 80%;
  text-align: center;
}

.gallery-item:hover p {
  opacity: 1;
}

.testimonials {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  margin-bottom: 3rem;
  animation: slideInRight 0.8s ease-out;
}

.testimonials h2 {
  font-size: calc(1.5rem + 0.8vw);
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-card p {
  font-size: calc(0.8rem + 0.3vw);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem;
}

.testimonial-card span {
  font-size: calc(0.7rem + 0.2vw);
  color: var(--accent-color);
  font-weight: bold;
}

.social-feed {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  animation: slideInLeft 0.8s ease-out;
}

.social-feed h2 {
  font-size: calc(1.5rem + 0.8vw);
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: var(--highlight-color);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: calc(0.8rem + 0.3vw);
}

.social-links a:hover {
  background: #ff7373;
  transform: scale(1.05);
}

.newsletter {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-out;
}

.newsletter h2 {
  font-size: calc(1.5rem + 0.8vw);
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: calc(0.9rem + 0.3vw);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: calc(0.8rem + 0.3vw);
  width: 250px;
}

.newsletter input:hover {
  border: 1px solid var(--accent-color);
}

.newsletter button {
  padding: 0.8rem 1.5rem;
  background: var(--accent-color);
  color: black;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: calc(0.8rem + 0.3vw);
}

.newsletter button:hover {
  background: #ccac00;
  color: var(--text-color);
}

footer {
  margin-top: 3rem;
  padding: 3rem 2rem;
  text-align: center;
  font-size: calc(0.8rem + 0.2vw);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: calc(0.8rem + 0.2vw);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-color);
  text-decoration: none;
  font-size: calc(1rem + 0.4vw);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--highlight-color);
}

.footer-contact {
  margin-top: 1rem;
}

.footer-contact p {
  margin: 0.5rem 0;
}

#description {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem auto;
  font-size: calc(0.9rem + 0.3vw);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 1000px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

#description-text {
  margin-left: 1.5rem;
  font-size: calc(1.2rem + 0.5vw);
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
}

#logo {
  width: 100px;
  height: 100px;
  overflow: hidden;
}

#logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes colorShift {
  0% {
    background-color: rgba(0, 51, 102, 0.2);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.2);
  }
}

@keyframes colorPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1175px) {
  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: calc(2rem + 1vw);
  }

  .hero p {
    font-size: calc(1rem + 0.4vw);
  }

  .card {
    padding: 2rem 1.5rem;
  }

  .card h1 {
    font-size: calc(1.8rem + 0.9vw);
  }

  .card p {
    font-size: calc(0.9rem + 0.3vw);
  }

  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .btn {
    width: 90%;
    max-width: 350px;
    text-align: center;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    height: 220px;
  }

  .testimonials,
  .social-feed,
  .newsletter {
    padding: 2rem 1rem;
  }

  #description-text {
    font-size: calc(1.1rem + 0.4vw);
  }

  #logo {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 460px) {
  .btn,
  .btn.primary {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: calc(0.7rem + 0.2vw);
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: calc(1.5rem + 0.7vw);
  }

  .hero p {
    font-size: calc(0.8rem + 0.3vw);
  }

  .card h1 {
    font-size: calc(1.3rem + 0.6vw);
  }

  .card p {
    font-size: calc(0.8rem + 0.2vw);
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item img {
    height: 180px;
  }

  .testimonials h2,
  .social-feed h2,
  .newsletter h2 {
    font-size: calc(1.3rem + 0.6vw);
  }

  .testimonial-card {
    padding: 1rem;
  }

  .social-links a {
    padding: 0.6rem 1rem;
    font-size: calc(0.7rem + 0.2vw);
  }

  .newsletter input {
    width: 100%;
  }

  footer {
    padding: 2rem 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  #description {
    flex-direction: column;
  }

  #description-text {
    margin-left: 0;
    margin-top: 1rem;
    font-size: calc(1rem + 0.4vw);
  }

  #logo {
    width: 60px;
    height: 60px;
  }
}
