/* Root Variables */
:root {
  --card-height: 500px;
  --card-width: 350px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  padding-top: 80px;
}

/* Glassy Navbar */
#menu {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 80px;
  padding-right: 18px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

#menu ul {
  list-style: none;
  text-align: right;
  padding: 0 30px;
}

#menu li {
  display: inline-block;
  position: relative;
}

#menu a {
  display: block;
  line-height: 76px;
  padding: 0 14px;
  text-decoration: none;
  color: #ffffffcc;
  font-size: 15px;
  text-transform: uppercase;
}

#menu a.dropdown-arrow::after {
  content: "\2B9F";
  margin-left: 5px;
}

#menu li a:hover {
  color: #ff8c42;
}

#menu ul.sub-menus {
  position: absolute;
  top: 76px;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  min-width: 180px;
  z-index: 99;
}

#menu ul.sub-menus li {
  display: block;
}

#menu ul.sub-menus a {
  padding: 10px 14px;
  font-size: 14px;
  color: #ffffffcc;
}

#menu ul.sub-menus a:hover {
  background: #1a1a1a;
  color: #ff8c42;
}

#menu li:hover .sub-menus {
  display: block;
}

#menu input,
#menu label {
  display: none;
}

@media screen and (max-width: 800px) {
  #menu ul {
    display: none;
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 80px;
    width: 100%;
    left: 0;
  }

  #menu li {
    display: block;
    width: 100%;
  }

  #menu ul.sub-menus {
    position: static;
    width: 100%;
  }

  #menu input,
  #menu label {
    display: block;
    position: absolute;
    left: 20px;
    top: 0;
    z-index: 1000;
  }

  #menu input {
    height: 80px;
    width: 100%;
    opacity: 0;
    cursor: pointer;
  }

  #menu label::before {
    content: "\2261";
    font-size: 24px;
    color: #fff;
    line-height: 76px;
  }

  #menu input:checked + label::before {
    content: "\00d7";
  }

  #menu input:checked ~ ul {
    display: block;
  }
}

/* Hero Video Carousel-------------------------------------------------------------------------- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Sections */
.section {
  padding: 60px 30px;
  text-align: center;
}

.section-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card Container Layout */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
}

/* Modern Card */
.modern-card {
  width: 350px;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  background-color: #000;
}

.modern-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover Animation */
.modern-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modern-card:hover img {
  transform: scale(1.08);
}

/* Text Overlay */
.card-hover-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.8);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  text-align: center;
}

.modern-card:hover .card-hover-text {
  opacity: 1;
  transform: translateY(0);
}

.card-hover-text h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.card-hover-text p {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .modern-card {
    width: 90%;
    height: auto;
  }

  .card-hover-text {
    padding: 20px;
  }

  .card-hover-text h3 {
    font-size: 1.2rem;
  }

  .card-hover-text p {
    font-size: 0.85rem;
  }
}



/* Services Section --------------------------------------------------------------------------------------------*/
/* Services Section --------------------------------------------------------------------------------------------*/
/* Services Section --------------------------------------------------------------------------------------------*/
/* Services Section --------------------------------------------------------------------------------------------*/
/* Services Section --------------------------------------------------------------------------------------------*/

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px; /* each row 140px tall */
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: stretch;
  justify-items: stretch;
}


/* Card base style */
.glass-card {
  width: 100%;
  height: 100%; /* let it fill the grid area */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px 0px 20px 0px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.glass-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glass-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.glass-card:hover img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.8);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  text-align: center;
}

.glass-card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.card-overlay p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

/* Grid item positions for updated card size */
.card1 {
  grid-column: span 3 / span 3;
  grid-row: span 2 / span 2;
}

.card2 {
  grid-column: span 3 / span 3;
  grid-row: span 2 / span 2;
  grid-column-start: 4; /* start from column 4 */
  grid-row-start: 3;    /* start from row 6 (so it appears diagonally) */
}


/* Middle text area */
/* Middle text area */
/* Middle text area */
/* Middle text area */
/* Middle text area */

.middle-text {
  grid-column: span 3 / span 3;
  grid-row: span 4 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: center;
  text-align: left;
  padding: 30px;
  font-size: larger;
  font-family: 'Courier New', Courier, monospace;
  color: #b76641;
}


.middle-text2 {
  grid-column: span 3 / span 3;
  grid-row: span 2 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  text-align: left;
  padding: 30px;
  font-size: larger;
  font-family: 'Courier New', Courier, monospace;
  color: #b76641;
}


/* Responsive fallback */
@media screen and (max-width: 200px) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .glass-card {
    width: 90vw;
    height: 330px;
    margin-bottom: 20px;
  }
}


/* about Section --------------------------------------------------------------------------------------------*/
.about-section {
  padding: 80px 30px;
  background-color: #000000;
  color: #ffffff;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.about-left,
.about-right {
  flex: 1 1 45%;
}

.about-left h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #d3cccc;
  font-weight: 700;
}

.about-left p,
.about-right p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #dddddd;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-left,
  .about-right {
    flex: 1 1 100%;
  }
}


/* Get a Quote Button - Styled---------------------------------------------------------------------------------------------------------- */
.get-in-touch {
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-align: center;
  padding: 20px 30px;
}

.button {
  position: relative;
  background: none;
  outline: none;
  border: none;
  display: inline-block;
  text-decoration: none;
  padding: 13px 50px;
  font-size: 16px;
  color: white;
  text-transform: capitalize;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 3px;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(340deg, rgba(189, 189, 189, 1) 0%, rgba(36, 36, 36, 1) 59%, rgba(0, 0, 0, 1) 100%);
  border-radius: 8px;
  z-index: -1;
  transition: all 2s ease;
  opacity: 1;
}

.button:hover::before {
  background: linear-gradient(149deg, rgba(189, 189, 189, 1) 0%, rgba(36, 36, 36, 1) 59%, rgba(0, 0, 0, 1) 100%);
  opacity: 0.8;
  border: 1px solid black;
  transition: all 2s ease;
}

.get-in-touch-button {
  display: inline-block;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 30px;
  font-size: 10px;
  border-radius: 5px;
  transition: background-color 1s ease;
}

/* Footer ========================================================================================================================*/
/* Footer */
/* Footer */
/* Footer */
/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-align: center;
  padding: 20px;
  position: relative;
}


.footer-social {
  text-align: center;
  padding: 20px 0;
  background: #000000;
}

.footer-social a {
  margin: 0 10px;
  color: #bbb;
  font-size: 24px;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #ff8c42;
  transform: translateY(-4px);
}
