:root {
  --black: #0d0d0d;
  --yellow: #e9a111;
  --white: #f5f5f5;
  --gray: #cccccc;
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.section {
  padding: 4rem 2rem;
}

h2 {
  font-size: 2.5rem;
  color: var(--yellow);
  margin-bottom: 2rem;
  text-align: center;
}

.header {
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

.logo .highlight {
  color: var(--yellow);
}

.nav a {
  margin-left: 1.5rem;
  color: var(--gray);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--yellow);
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #e9a111; /* yellow text */
}

.hero-content {
  position: relative;
  z-index: 2; /* Keeps your text on top of the image */
  padding: 2rem;
  max-width: 800px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('slide1.jpg'); /* 🔁 Put your image filename here */
  background-size: cover;
  background-position: center;
  filter: brightness(0.4); /* Darkens background so text is readable */
  z-index: 1;
}


.headline {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.subtext {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease-out;
}

.cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  animation: fadeInUp 2s ease-out;
}

.cta:hover {
  background: #e9a111;
}

/*about*/
.about .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

/* Text styling */
.about .text {
  flex: 1;
  font-size: 1.1rem;
  color: var(--gray);
}

/* Image slider container */
.image-slider {
  flex: 1;
  max-width: 700px;
  height: 300px; /* fixed height for all slides */
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Individual slides */
.image-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slider .slide.active {
  opacity: 1;
  position: relative;
}

/* Image styling */
.image-slider img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* ensures uniform size */
  border-radius: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .about .container {
    flex-direction: column;
  }
  .image-slider {
    max-width: 90%;
    height: 250px;
    margin: 0 auto;
  }
}



/*services*/
.services-section {
  padding: 6rem 2rem;
  background-color: #0a0a0a;
  color: #f5f5f5;
  text-align: center;
}

.section-subtitle {
  font-size: 1.5rem; /* or 20px */
  color: var(--gray); /* if you have a color variable */
  margin-top: 0.5rem;
  text-align: center;
}


.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: #111;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  color: #bbb;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.service-card.reveal {
  opacity: 1;
  transform: translateY(0);
}



/* Portfolio Section layout */
.portfolio-section {
  padding: 4rem 2rem;
  background-color: #000;
  color: #e9a111;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* Filter Buttons */
.filter-buttons {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background-color: #111;
  color: #e9a111;
  border: 2px solid #e9a111;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #e9a111;
  color: #000;
  transform: scale(1.05);
}

/* Grid Layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  transition: all 0.4s ease;
}

/* Portfolio Items */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: stretch;
  margin-top: 2rem;
}

.portfolio-item {
  width: 100%;
  max-width: 300px;
  height: 220px;
  background-color: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: scale(0.95);
  display: none;
}

.portfolio-item.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1rem;
  margin-right: 1rem;
  float: right;
  color: #e9a111;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.view-more-link i {
  margin-left: 0.4rem;
  font-size: 1.1rem;
}

.view-more-link:hover {
  color: white;
  transform: translateX(3px);
}



/* Contact Section */
/* ============================
   CONTACT SECTION
   ============================ */
.contact-section {
  position: relative;
  background-image: url("part.png"); /* update path if needed */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* keep cover if you want it to fill */
  background-color: #0a0a0a; /* fallback if image doesn't load */
  padding: 1rem 1rem;       /* reduced padding (less vertical space) */
  text-align: center;
  width: 100%;
  min-height: 250px;         /* optional fixed smaller height */
  box-sizing: border-box;
  overflow: hidden;
}


/* dark overlay for readability */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* ensure content is above overlay */
.contact-section > * {
  position: relative;
  z-index: 1;
}

/* Headline and paragraph */
.contact-section h2 {
  color: #e9a111;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.contact-section p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

/* Form container */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Input groups */
.input-group {
  position: relative;
  margin-bottom: 1.8rem;
  width: 100%;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  background-color: #111;
  border: 1px solid #333;
  color: white;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #e9a111;
  box-shadow: 0 0 8px #e9a111;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #aaa;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -12px;
  left: 0.75rem;
  font-size: 0.8rem;
  color: #e9a111;
  background-color: #0a0a0a;
  padding: 0 0.4rem;
}

/* Button */
button {
  background-color: #e9a111;
  color: #000;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

button:hover {
  background-color: white;
  color: black;
  transform: translateY(-2px);
}

/* Responsive typography */
@media (max-width: 600px) {
  .contact-section h2 {
    font-size: 2rem;
  }

  .contact-section p {
    font-size: 1rem;
  }

  button {
    width: 100%;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Extra responsive tweaks */
@media (max-width: 768px) {
  .headline {
    font-size: 2rem;
  }

  .nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }

  .cta {
    padding: 0.6rem 1.5rem;
  }

  .about .container {
    flex-direction: column;
  }
}

/*map*/
.map-section {
  padding: 2rem 1rem;
  background-color: #0d0d0d;
  text-align: center;
  color: #e9a111;
}

.map-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.map-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(233, 161, 17, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-container:hover {
  transform: scale(1.01);
  box-shadow: 0 0 35px rgba(233, 161, 17, 0.4);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  transition: filter 0.4s ease;
}

.map-container:hover iframe {
  filter: brightness(1.1) saturate(1.2);
}

.map-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #e9a111;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}


/*footer*/
/* ============ FOOTER ============ */

/* Footer */
.footer {
  background: linear-gradient(180deg, #000000, #111111);
  color: #e9a111;
  padding: 1rem 2rem; /* compact */
  font-family: 'Poppins', sans-serif;
  text-align: center;
  overflow: hidden;
}

/* Top row: working hours + social icons */
/* Top row: working hours + social icons centered together */
.footer-top {
  display: flex;
  justify-content: center; /* center the entire row */
  align-items: center;
  gap: 1.5rem; /* spacing between hours and icons */
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}


.footer-hours {
  font-size: 1rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-hours i {
  font-size: 1rem;
  color: #ffd700;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(1); }
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #e9a111;
  border-radius: 50%;
  color: #000;
  font-size: 1.1rem;
  transition: all 0.3s ease, box-shadow 0.5s ease;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.social-icon:hover {
  background-color: white;
  color: #e9a111;
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
}

/* Contact info row */
.footer-contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-contact-row p {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  color: #e9a111;
}

.footer-contact-row a {
  text-decoration: none;
  color: #e9a111;
  font-weight: 600;
}

.footer-contact-row a:hover {
  color: white;
}

/* Logo & copyright */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.footer-logo-img {
  width: 85px;
  height: auto;
  transition: transform 0.4s ease;
}

.footer-logo-img:hover {
  transform: rotate(6deg) scale(1.05);
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-top, .footer-contact-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}






/* ======================= */
/* UNIVERSAL MOBILE STYLING */
/* ======================= */

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }

  body {
    padding: 0 1rem;
    overflow-x: hidden;
  }

  .section-title {
    font-size: 1.8rem;
  }

  h1.headline {
    font-size: 2rem;
    text-align: center;
  }

  p.subtext {
    font-size: 1rem;
    text-align: center;
  }

  .cta {
    display: inline-block;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
  }

  .hero-content {
    padding: 2rem 1rem;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }

  .footer-logo,
  .footer-contact,
  .footer-socials {
    justify-content: center;
    text-align: center;
  }

  .contact-section .form-container {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .map-section iframe {
    height: 250px;
  }

  .filter-buttons {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .view-more-link {
    float: none;
    text-align: center;
    display: block;
    margin: 1.5rem auto 0;
  }

  .portfolio-item {
    max-width: 100%;
    height: auto;
  }

  .portfolio-item img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  h1.headline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .footer-logo p {
    font-size: 0.75rem;
  }

  .cta {
    width: 100%;
  }
}


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  z-index: 20;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #e9a111;
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;

    /* hidden state */
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1), opacity 0.4s ease;
  }

  .nav.show {
    /* visible state */
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Animate links in (staggered) */
  .nav a {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeSlide 0.5s forwards;
  }
  .nav.show a:nth-child(1) { animation-delay: 0.1s; }
  .nav.show a:nth-child(2) { animation-delay: 0.2s; }
  .nav.show a:nth-child(3) { animation-delay: 0.3s; }
  .nav.show a:nth-child(4) { animation-delay: 0.4s; }
  .nav.show a:nth-child(5) { animation-delay: 0.5s; }
  .nav.show a:nth-child(6) { animation-delay: 0.6s; }

  @keyframes fadeSlide {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hamburger to X animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
