:root {
  --primary-color: #040304;
  --secondary-color: #d5a310;
  --text-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--text-color);
  cursor: pointer;
}

li {
  list-style: none;
}

.secondary-text {
  color: var(--secondary-color);
}

/* Hero Section */
#hero-section {
  background: url("./images/hero-bg.png");
  padding: 0.5rem 6.25rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  font-size: 1rem;
}

.nav-list li {
  padding: 0.5rem;
}

.btn {
  padding: 1rem;
  color: var(--text-color);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-primary {
  background-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: #9e7408;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.close-menu {
  display: none;
}

/* Hero Content */
.hero-content {
  margin: 5rem 0rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  width: 50%;
  animation: fadeInUp 1s ease forwards;
}

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

.hero-content h1 {
  font-size: 6rem;
  font-weight: bold;
  line-height: 6.5rem;
}

.hero-content p {
  font-size: 1.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Hero Rectangle */
.hero-rectangle {
  display: flex;
  justify-content: space-between;
  background-color: var(--secondary-color);
  padding: 2.5rem 6.25rem;
  border-radius: 30px;
  margin: 2.5rem 0rem;
}

.rectangle-content {
  display: flex;
  flex-direction: column;
  line-height: 2.5rem;
}

.rectangle-content h1 {
  font-size: 3.5rem;
  font-weight: 600;
}

.rectangle-content p {
  font-size: 1.5rem;
}

/* About Section */
#about-us {
  padding: 5.5rem 6.25rem 3rem;
}

.section h4 {
  margin-bottom: 2rem;
  font-weight: 600;
}

.about-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.6875rem;
}

.about-heading h1 {
  font-size: 2.375rem;
  font-weight: 400;
  width: 35%;
}

.about-heading > p {
  width: 30%;
}

.about-content {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 2fr;
}

.about-content p {
  background-color: var(--secondary-color);
  border-radius: 20px;
  color: #000000;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
}

.about-content img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-content img:hover {
  transform: scale(1.05);
}

.about-content img:last-child {
  grid-column: 1/-1;
  width: 100%;
}

/* Services Section */
#services {
  padding: 5.5rem 6.25rem;
}

.services-heading {
  margin-bottom: 3.3125rem;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.services-card {
  padding: 1.75rem 1.125rem 1.125rem;
  background: linear-gradient(180deg, #292113 0%, #d5a310 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.services-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.services-card h3 {
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-card p {
  font-size: 0.875rem;
  margin-bottom: 2.4375rem;
}

.services-card img {
  width: 100%;
}

/* Contact Section */
#contact {
  padding: 5.5rem 6.25rem 7.6875rem;
  background-color: #292113;
}

.contact-heading {
  margin-bottom: 4rem;
}

.contact-info {
  display: flex;
  justify-content: space-between;
}

.contact-cards {
  width: 40%;
  margin-top: 4rem;
}

.contact-cards > p {
  font-size: 1.125rem;
  margin-bottom: 2.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.contact-card img {
  padding: 0.875rem;
  background-color: #2c2c2c;
  border: 5px;
}

.contact-mail,
.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-card .contact-mail h4,
.contact-card .contact-phone h4 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.contact-form {
  width: 50%;
  background-color: #d5a310;
  border-radius: 24px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-input {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input label {
  font-weight: 600;
  color: #000000;
}

.form-input input,
.form-input textarea {
  padding: 1rem;
  border-radius: 16px;
  border: none;
  outline: none;
}

.form-input input:focus,
.form-input textarea:focus {
  border: 2px solid #292113;
}

.contact-form button {
  align-self: flex-start;
  background-color: #292113;
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
}

.contact-form button:hover {
  background-color: #1f1f1f;
}

.error {
  color: red;
  font-size: 0.85rem;
}

.success-message {
  color: green;
  font-weight: 600;
}

/* Footer */
#footer {
  padding: 1.875rem 4.375rem 2.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: #292113;
}

.footer-links {
  padding-bottom: 6rem;
  border-bottom: 1.5px solid #f1f0eb;
  display: flex;
  justify-content: space-between;
}

.footer-link {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.footer-socials i {
  font-weight: 50;
}

.footer-socials i,
.footer-socials img {
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-socials i:hover,
.footer-socials img:hover {
  transform: scale(1.2) rotate(5deg);
}

.footer-lists {
  display: flex;
  margin-top: 1.5rem;
}

.footer-list {
  margin-right: 4.375rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-list ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mail,
.phone {
  cursor: pointer;
}

#footer > small {
  align-self: center;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
  #hero-section,
  #about-us,
  #services,
  #contact {
    padding: 3rem;
  }

  .hero-content {
    width: 70%;
  }

  .hero-content h1 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .hero-rectangle {
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
  }

  .about-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .about-heading h1,
  .about-heading > p {
    width: 100%;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-cards,
  .contact-form {
    width: 100%;
  }
}

/* Small Tablet responsiveness */
@media (max-width: 768px) {
  .nav-list {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #040304;
    display: none;
    flex-direction: column;
    padding: 4.5rem 3rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .navbar.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .close-menu {
    display: flex;
    justify-content: flex-end;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 2rem;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .header .btn {
    display: none;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-rectangle {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-lists {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  #hero-section,
  #about-us,
  #services,
  #contact,
  #footer {
    padding: 2rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .rectangle-content h1 {
    font-size: 2rem;
  }

  .rectangle-content p {
    font-size: 1rem;
  }

  .services-card h3 {
    font-size: 1.3rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-input input,
  .form-input textarea {
    padding: 0.75rem;
  }

  .footer-logo h3 {
    font-size: 1.2rem;
  }
}
