
* {
  box-sizing: border-box;
  margin:0;
  padding:0;
}

body {
  
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
  background-color: #faf2ed;
  background-size: cover;
  font-family: 'Playfair Display', sans-serif;
  
}
header {
  display: flex;
  align-items: center;
  padding:1px 25px;
  background: #f1c78a;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  justify-content: space-between;
}
.logo img{
margin-top: 1px;
height:35px;
}

.topnav {
  overflow: hidden;
}
.topnav a {
  float: left;
  display: block;
  color: #000000;
  text-align: center;
  padding: 10px 25px;
  text-decoration: none;
}
.topnav .icon {
  display: none;
}

/* HERO */
.hero{
position:relative;
width:100%;
height:556px;
overflow:hidden;
}

video{
width:100%;
height:100%;
object-fit:cover;
}

.play-btn{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
font-size:50px;
background:rgba(0,0,0,0.4);
color:white;
width:80px;
height:80px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
cursor:pointer;
}

.hero h1{
position:absolute;
bottom:40px;
left:60px;
color:white;
font-size:50px;
font-weight:300;
letter-spacing:3px;
font-style: italic;
}

/* NEWS */

.news{
background: #f1c78a;
display:flex;
align-items:center;
gap: 20px;
padding:9px;

}

.news-title{
margin-left: 10px;
align-items: center;
text-align: center;
text-orientation:mixed;
font-size:15px;
color:#c0392b;
font-family: 'TT Fors', Arial;
}

.news-cards{
display:flex;
gap:20px;
}

.card{
background:white;
border-radius:10px;
border:5px solid #c0392b;
}

.card img{
width:190px;
height:230px;
display: block;

}

.news-images{
padding:25px;
display:flex;
gap:20px;
}

.news-images img{
width:300px;
height:200px;
object-fit:cover;
border-radius:5px;
}

/* gallery */
.gallery{
text-align:center;
padding:105px 20px;
background:#e6dfd7;
}

.gallery-tabs{
display:inline-flex;
gap:20px;
margin-bottom:30px;
}

.tab{
background:transparent;
border:none;
padding:0;
font-size:18px;
font-weight:400;
cursor:pointer;
color:#000;
transition:0.25s;
}

.tab:hover,
.tab.active{
color:#6f4a1f;
font-weight:700;
text-decoration:underline;
}

.active-section{
display:block;
}

#photosGallery,
#videosGallery{
display:none;
}

#photosGallery.active-section,
#videosGallery.active-section{
display:block;
}

.gallery h2{
font-weight:500;
letter-spacing:2px;
margin-bottom:40px;
}

/*gallery slider */
.slider{
position:relative;
width:1000px;
margin:auto;
overflow:hidden;
}   

.slides{
position:relative;
height:500px;
}

.slide{
position:absolute;
top:50%;
left:50%;
width:500px;
max-width:100%;
transform:translate(-50%, -50%) scale(0.8);
opacity:0;
transition:transform 0.4s ease, opacity 0.4s ease;
}

.slide.active{
opacity:1;
transform:translate(-50%, -50%) scale(1);
z-index:3;
}

.photo-slide{
width:700px;
height:450px;
object-fit:cover;
}

.video-slide{
width:700px;
height:450px;
object-fit:cover;
}

.photo-slide img,
.video-slide video{
width:100%;
height:100%;
object-fit:cover;
}


.slide.slide-prev,
.slide.slide-next{
opacity:0.8;
transform:translateY(-50%) scale(0.85);
z-index:2;
}

.slide.slide-prev{
left:20%;
transform:translate(-50%, -50%) scale(0.85);
}

.slide.slide-next{
left:80%;
transform:translate(-50%, -50%) scale(0.85);
}

.slide.hidden {
opacity:0;
transform:translate(-50%, -50%) scale(0.7);
pointer-events:none;
z-index:1;
}

.slider-nav{
display:flex;
justify-content:center;
gap:20px;
margin-top:15px;
}

.prev, .next{
position:relative;
transform:none;
font-size:30px;
background:#fff;
border:2px solid #c8a472;
border-radius: 50%;
width:50px;
height:50px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
}

.prev:hover, .next:hover {
background:#f7e5ca;
}

/* SERVICES */


.services{
  position: relative;
  padding: 60px 20px;
  color: #020202;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:url("images/bgservices.png") center/cover no-repeat;
  opacity: 0.9; /* adjust darkness */
  z-index: 0;
}

.services * {
  position: relative;
  z-index: 1;
}
.services h2{
font-size:32px;
margin-bottom:30px;
font-weight:800;
letter-spacing:2px;
}

.other{
margin-top:40px;
}

.service-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
margin-bottom:40px;
}

.service h3{
font-size:20px;
font-weight:700;
margin-bottom:10px;
color:#0b3b2e;
}

.service p{
font-size:14px;
line-height:1.6;
color:#333;
}

/* INDUSTRIES */
.industries-section{
background:#f2ece6;
}
.industries-info{
padding:10px 80px;
}

.who-bar{
background:#b23a25;
color:white;
padding:10px 40px;
font-weight:600;
letter-spacing:2px;
width:100%;
}

.industries-title{
font-size:40px;
margin:30px 0 40px 0;
font-weight:800;
}

.industries-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:50px;
}

.industry-card img{
width:100%;
height:220px;
object-fit:cover;
margin-bottom:20px;
}

.industry-card h3{
font-size:20px;
color:#0b3b2e;
margin-bottom:10px;
}

.industry-card p{
font-size:14px;
line-height:1.6;
color:#333;
}

/* PAST EVENTS  */
.past-events{
background:#f2ece6;
padding:60px;
text-align:center;
}

.past-events h2{
font-size:26px;
letter-spacing:2px;
margin-bottom:40px;
color:#1b3a34;
}

.events-grid{
display:grid;
grid-template-columns: repeat(8, minmax(0, 1fr));
grid-auto-rows: 130px;
gap:10px;
}

.events-grid img{
width:100%;
height:100%;
object-fit:cover;
border-radius:10px;
box-shadow:0 4px 12px rgba(0,0,0,0.2);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;

  grid-auto-flow: dense; /* 🔥 fills gaps automatically */
}

/* INQUIRY FORM */
.contact{
  background:url("images/bgservices.png") center/cover no-repeat;
  background-color: #fff;
  padding:55px 40px;
  color:#0d2b24;
}
#inquiry-section{
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: flex-start;
  min-height: 50vh;
  padding: 1rem 5rem;
 
}
.inquiry-form {
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:1.2rem;
  background:#ffffff;
  padding:2rem;
  border-radius:10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.contact-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
  background:#ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  width: 100%;
  padding: 1rem 1rem; 
  border-radius: 10px;
}
.contact-bg h1 {
  font-size: 28px;
  margin-bottom: 1.5rem;
  color: #0b3b2e;
}
.contact-bg p{
font-size: 16px;
margin-bottom: 1.5rem;
color: #0b3b2e;
}

/*about us*/
.about{
    background:#f2ece6;
    padding: 80px;
}

.grid{
    display:grid;
    grid-template-columns: 1fr 10px 1fr;
    gap:40px;
}

.divider{
    background:#b63d27;
    width:2px;
}

/* LEFT */

.title{
    font-size:90px;
    font-weight:900;

}

.about-title{
    margin-top:40px;
    font-weight:bold;
}

.text{
    margin-top:10px;
    line-height:1.6;
    color:#333;
}

/* RIGHT */

.section-title{
    color:#b63d27;
    font-size:32px;
    font-weight:bold;
}

.section-text{
    margin-top:10px;
    line-height:1.8;
    color:#333;
}


/* FOOTER */
.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  max-width: 1500px;
  margin: 0 auto 0.5rem auto;
  padding: 0.7rem 0;
}

.footer-col {
  flex: 1 1 50px;
  min-width: 140px;
  margin: 0 0.5rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 900;
}
.footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}
.footer-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgb(255, 255, 255));
  transition: transform 0.2s;
}
.footer-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 12px #a8a089);
}
.footer-copy {
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}


/* TRANSISION SLIDE */

.slide-footer {  
  background:#b23a25;
  color: #fff9f9;
  text-align: center;
  padding: 1.5rem 0 1.0rem 0;
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.6s ease, opacity 2s ease;
  transform: translateX(0);
  will-change: transform, opacity;
}
.slide-container {
  opacity: 0;
  transition: transform 0.6s ease, opacity 2s ease;
  transform: translateX(0);
  will-change: transform, opacity;
  
}
.slide-industries{
  opacity: 0;
  transition: transform 0.6s ease, opacity 2s ease;
  transform: translateX(0);
  will-change: transform, opacity;
}
#industries-section h1{
  font-size: 2.5rem;
  color: #000000;
}


.slide-section {
  opacity: 0;
  transition: transform 0.6s ease, opacity 2s ease;
  transform: translateX(0);
  will-change: transform, opacity;

}
.next-section-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: 2rem;
}

/* Fade in and fade out animations */

.fade-in {
  opacity: 1;
}

.fade-out {
  opacity: 0;
}
/* Slide out directions */
.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}
.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}
.no-fade {
  opacity: 0 !important;
  transition: none !important;
}

/* end of animations */



/* Extra small devices (phones, portrait) */
@media screen and (max-width: 480px) {
  /* Styles for very small phones */ 

/* Home */
.hero h1{
font-size: 24px;
left: 15px;
bottom: 15px;
}
video {
width: 100%;
height: 600px;
}
.card img {
width: 200px;
height: 250px;
}
.news {
flex-direction: column;
gap: 20px;
margin-left: 0;
padding: 20px;
text-align: center;
}
.news-cards {
flex-direction: column;
gap: 15px;
align-items: center;
}
.news-images {
flex-direction: column;
gap: 15px;
padding: 0;
align-items: center;
}
header {
flex-direction: column;
align-items: center;
padding: 0.5rem 0.5rem;
height: auto;
  }
header .logo {
height: 48px;
margin-bottom: 0.5rem;
}

/* Gallery */
.gallery {
    padding: 80px 14px;
    margin-top: 60px;
  }

  .gallery-tabs {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .tab {
    font-size: 15px;
  }

  .slider {
    width: 100%;
  }

  .slides {
    margin-top: 120px;
    height: auto;
    min-height: 280px;
  }

  .slide {
    
    top: auto;
    left: auto;
    transform: none;
  }

  .photo-slide,
  .video-slide {
    width: 80%;
    height: auto;
    max-height: 320px;
  }

  .slider-nav {
    gap: 12px;
    margin-top: 10px;
  }

  .prev,
  .next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .contact{
  padding:100px 1px;

}
.about{
  
  padding: 120px 20px;

}
.grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:40px;
}
.grid .title{
    font-size:40px;
}

}


/* Small devices (phones, landscape) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  /* Styles for larger phones */
/* Home */
  .hero h1{
font-size: 24px;
left: 15px;
bottom: 15px;
}
video {
width: 100%;
height: 600px;
}
.card img {
width: 200px;
height: 250px;
}
.news {
flex-direction: column;
gap: 20px;
margin-left: 0;
padding: 20px;
text-align: center;
}
.news-cards {
flex-direction: column;
gap: 15px;
align-items: center;
}
.news-images {
flex-direction: column;
gap: 15px;
padding: 0;
align-items: center;
}
header {
flex-direction: column;
align-items: center;
padding: 0.5rem 0.5rem;
height: auto;
  }
header .logo {
height: 48px;
margin-bottom: 0.5rem;
}
/* Gallery */
 .gallery {
    padding: 90px 16px;
    margin-top: 50px;
  }

  .gallery-tabs {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }

  .tab {
    font-size: 16px;
  }

  .slider {
    width: 100%;
  }

  .slides {
    height: 360px;
  }

  .photo-slide,
  .video-slide {
    width: 80%;
    height: 360px;
  }

  .slider-nav {
    gap: 14px;
    margin-top: 12px;
  }

  .prev,
  .next {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .contact{
  margin-top: 50px;
  padding:55px 40px;
  
}
.about{
  
  padding: 120px 20px;

}
.grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:40px;
}
.grid .title{
    font-size:55px;
    text-align: center;
}
.footer-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.8rem;
    gap: 1rem;
  }

  .footer-col {
    width: 100%;
    margin: 0;
  }
}

/* Medium devices (tablets, portrait) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Styles for tablets */
/* Home */
  .hero h1{
font-size: 24px;
left: 15px;
bottom: 15px;
}
video {
width: 100%;
height: 600px;
}
.card img {
width: 200px;
height: 250px;
}
.news {
gap: 20px;
margin-left: 0;
padding: 20px;
text-align: center;
}
.news-cards {
flex-direction: column;
gap: 15px;
align-items: center;
}
.news-images {
flex-direction: column;
gap: 15px;
padding: 0;
align-items: center;
}
.news-title{
margin-left: 100px;
}
header {
flex-direction: column;
align-items: center;
padding: 0.5rem 0.5rem;
height: auto;
  }
header .logo {
height: 48px;
margin-bottom: 0.5rem;
}
/* Gallery */
 .gallery {
    padding: 95px 18px;
    margin-top: 50px;
  }

  .slider {
    width: 100%;
  }

  .slides {
    height: 430px;
  }

  .photo-slide,
  .video-slide {
    width: 80%;
    height: 430px;
  }

  .slider-nav {
    gap: 16px;
    margin-top: 12px;
  }

  .prev,
  .next {
    width: 45px;
    height: 45px;
    font-size: 26px;
  }
  .contact{
  padding:150px 40px;
  
}
  .about{
  
  padding: 150px 20px 50px;

}
.grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:40px;
}
.grid .title{
    font-size:55px;
    text-align: center;
}

}

/* Large devices (tablets, small laptops) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  /* Styles for standard laptops */
  /* Home */
  .hero h1{
font-size: 24px;
left: 15px;
bottom: 15px;
}
video {
width: 100%;
height: 600px;
}
.card img {
width: 200px;
height: 250px;
}
.news {
gap: 20px;
padding: 20px;

}
.news-cards {

gap: 15px;
align-items: center;
}
.news-images {
flex-direction: column;
gap: 15px;
padding: 0;
align-items: center;
}
.news-title{
margin-left: 130px;
}
header {
flex-direction: column;
align-items: center;
padding: 0.5rem 0.5rem;
height: auto;
  }
header .logo {
height: 48px;
margin-bottom: 0.5rem;
}

/* Gallery */
.gallery {
    padding: 105px 20px;
    margin-top: 50px;
  }

  .slider {
    width: min(100%, 900px);
  }

  .slides {
    height: 470px;
  }

  .photo-slide,
  .video-slide {
    width: 80%;
    height: 470px;
  }

  .slider-nav {
    gap: 18px;
    margin-top: 15px;
  }

  .prev,
  .next {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }
    .contact{
  padding:150px 40px;
  
}
  .about{
  
  padding: 110px 20px 50px;

}
.grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:40px;
}
.grid .title{
    font-size:55px;
    text-align: center;
}
}

/* Gallery responsive breakpoints */
@media screen and (max-width: 480px) {


  .services {
    padding: 90px 16px 32px;
    
  }

  .services h2,
  .other {
    font-size: 1.6rem;
    margin-top: 50px;
  }

  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service {
    padding: 1rem;
  }

  .service h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .service p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .industries-info {
    padding: 1rem 0.8rem 2rem;
  }

  .industries-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-card img {
    height: 200px;
    width: 100%;
  }

  .industries-info p,
  .industry-card p {
    font-size: 0.95rem;
  }

  .past-events {
    padding: 40px 16px 32px;
  }

  .events-grid {
    display: grid;
    grid-template-columns: 2fr;
    gap: 10px;
    grid-auto-rows: auto;
  }

  .events-grid img {
    height: 220px;
  }

  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.8rem;
    gap: 1rem;
  }

  .footer-col {
    width: 100%;
    margin: 0;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .services {
    padding: 100px 18px 36px;
   
  }

  .service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .service h3 {
    font-size: 1.2rem;
  }
  .services h2 {
    margin-top: 30px;
  }

  .industries-info {
    padding: 1rem 1rem 2rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .events-grid {
    gap: 12px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .services {
    padding: 140px 20px 40px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .industries-info {
    padding: 1.5rem 2rem;
  }

  .industries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.8rem;
    gap: 1rem;
  }

  .footer-col {
    width: 100%;
    margin: 0;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .services {
    padding: 150px 50px 48px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .industries-info {
    padding: 2rem 3rem;
  }

  .events-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  
  
}

/* Ultra-wide screens (bigger than 1920px) */
@media screen and (min-width: 1921px) {
  /* Styles for ultra-wide monitors */
}


/* Menutoggle */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: left;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
