:root {
  --primary: #dd6464; /* Warm gold */
  --primary-dark: #a67c52;
  --secondary: #333333;
  --light: #f8f5f2;
  --dark: #1a1a1a;
  --text: #4a4a4a;
  --text-light: #777777;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--secondary);
}

.navbar {
  padding: 20px 0 !important;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 7px 0 !important;
}

.navbar-brand img {
  height: 75px;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary) !important;
  margin: 0 15px;
  position: relative;
  padding: 5px 0 !important;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/static/elements/bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--light);
}

.about-img {
  height: 600px;
  border-radius: 10px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.about-img:hover {
  transform: scale(1.02);
}

.about-content {
  padding-left: 50px;
}

.about-content h2 {
  margin-bottom: 30px;
  position: relative;
}

.about-content h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  transform: translateX(-50%);
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Projects Section */
.projects-section {
  padding: 100px 0;
  background-color: var(--light);
}

.project-card {
  position: relative;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
  height: 450px !important;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-title {
  color: white;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-category {
  color: var(--primary);
  font-weight: 600;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.project-card:hover .project-title,
.project-card:hover .project-category {
  transform: translateY(0);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--secondary);
  color: white;
}

.contact-info i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
}

.contact-info h3 {
  color: white;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.social-links a i {
  font-size: 1.2rem;
  color: white;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0;
  color: white;
  padding: 15px;
  margin-bottom: 20px;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 30px 0 0;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.copyright {
  padding: 20px 0;
}

.nav-link {
  color: white !important;
}

a {
  text-decoration: none !important; /* removes underline */
  color: inherit !important;        /* keeps the color as it was (inherited from parent) */
}

a:hover {
  color: inherit;        /* optional: keeps the color on hover too */
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    padding-left: 15px;
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}
