
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@100,200,300,400,500,600,700&display=swap');

@import url('https://api.fontshare.com/v2/css?f[]=ginger@100,200,300,350,400,500,600,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: 'Myriad Pro';
  src: url('fonts/MyriadPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Myriad Pro Light';
  src:
       url('fonts/MyriadPro-Light.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body{
    font-family: 'Clash Display', sans-serif;
    /* font-family: 'Myriad Pro', sans-serif; */
    /* font-family: 'Ginger', sans-serif; */
    /* font-family: Arial, sans-serif; */
    /* font-family: 'Mulish', sans-serif; */
    color: #1a1712;
}

/** COLORS **/
.colors{
    color: #bd842c;
    color: #efb450;
    color: #1a1712;
    color: #f5f3ee;
    color: #13a2dc;
    color: #9771e3;
    color: #35bcab;
    color: #662976;
    color: #b8b19d;
    color: #555;  /*test*/
    color: #f1a91e;
}
h2{
    font-size: 42px;
    /* font-weight: 450; */
    font-weight: 500;
}
p{
    font-size: 24px;
    font-weight: normal;
}
/*1/3*/
hr.smooth-spike-hr13 {
  border: none;
  height: 60px;
  width: 100vw;
  background: transparent;
  position: relative;
  margin: 0 auto;
  padding: 0;
}

hr.smooth-spike-hr13::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1000 60' xmlns='http://www.w3.org/2000/svg'><path d='M0,30 H330 C340,30 350,20 355,10 C360,0 365,0 370,10 C375,20 380,30 390,30 H1000' fill='none' stroke='%23bd842c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%);
  z-index: 99;
}

  /* 3/4 */
hr.smooth-spike-hr34 {
  border: none;
  height: 60px;
  width: 100vw;
  background: transparent;
  position: relative;
  margin: 0 auto;
  padding: 0;
}

hr.smooth-spike-hr34::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1000 60' xmlns='http://www.w3.org/2000/svg'><path d='M0,30 H720 C730,30 740,20 745,10 C750,0 755,0 760,10 C765,20 770,30 780,30 H1000' fill='none' stroke='%23bd842c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%);
  z-index: 99;
}

  
.button1 a{
    text-decoration: none;
    padding: 5px 10px;
    background-color: #fff;
    color: #000;
    /* border: 1px solid #000; */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.6s ease;
}
.button1 a:hover{
    padding: 5px 15px;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* letter-spacing: 2px; */
}
.button1b a{
    text-decoration: none;
    padding: 5px 10px;
    background-color: #fff;
    color: #bd842c;
    /* border: 1px solid #000; */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.6s ease;
}
.button1b a:hover{
    padding: 5px 15px;
    background-color: #bd842c;
    color: #000;
    border: 1px solid #000;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* letter-spacing: 2px; */
}
.button2 a{
    text-decoration: none;
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.6s ease;
}
.button2 a:hover{
    padding: 5px 15px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* letter-spacing: 2px; */
}
.button3 a{
    text-decoration: none;
    padding: 5px 10px;
    background-color: #bd842c;
    color: #fff;
    /* border: 1px solid #000; */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.6s ease;
}
.button3 a:hover{
    padding: 5px 15px;
    background-color: #000;
    color: #bd842c;
    border: 1px solid #bd842c;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* letter-spacing: 2px; */
}


/* navigation section*/
nav{
    position: fixed;
    height: 100px;
    width: 95%;
    margin-left: 100px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    border-bottom-left-radius: 30px;
    z-index: 1000;
     visibility: visible;
}
/* nav img{
    margin-top: 15px;
    margin-left: 50px;
    width: 180px;
    height: 80px;
} */
nav .logo {
    /* margin-top: 15px; */
    margin-left: 50px;
    
}
nav .logo img{
    width: 200px!important;
    height: 100px!important;
}

nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 50px;
}
nav ul li{
    list-style-type: none;
    margin: 0 20px;
    
}
nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: .5s ease;
    margin: 0 5px;
}
nav ul li a:hover{
    color: #efb450;
}
/* nav ul li.catalogue a {
    padding: 10px 20px;
    background-color: #efb450;
    color: #fff;
    transition: .5s ease;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
} */
nav ul li.catalogue a {
    padding: 10px 20px;
    color: #fff;
    background: linear-gradient(
        135deg,
        #b8860b 0%,     /* Dark Goldenrod */
        #d4af37 20%,    /* Antique Gold */
        #c2881f 40%,    /* Deep Bronze-Gold */
        #efb450 60%,    /* Mellow Gold */
        #a67c00 80%,    /* Rich Gold */
        #8b6914 100%    /* Saddle Brown-Gold */
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4); /* Subtle border */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s ease;
    box-shadow: 0 4px 25px rgba(180, 130, 20, 0.3);
}



nav ul li.catalogue a:hover{
    color: #1a1712;
}

/* Dropdown menu styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    padding: 10px 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 1001;
    transition: .5s ease;
}

.dropdown-menu li {
    margin: 0;
    padding: 25px 20px;
    border-bottom: 1px solid #bd842c;
}

.dropdown-menu li a {
    color: #fff;
    display: block;
    width: 100%;
}

.dropdown-menu li a:hover {
    color: #efb450;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: flex;
}



/********** hamburger menu **********/
.toggler{
    visibility: hidden;
}
.toggler li{
    list-style: none;
}
.toggler li a {
    font-size: 18px;
    color: #efb450;
    text-decoration: none;
    transition: .5 ease!important;
}
/* .toggler a:visited {
    color: white;
} */
.toggler li a:hover {
    color: #bd842c;
}
/* off-screen-menu */
.off-screen-menu {
    background-color:  #000;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    z-index: 1000;
}
.off-screen-menu.active {
    right: 0;
}

.toggler .logo img{
    /* margin-top: 15px; */
    margin-left: 25px;
    /* width: 180px;
    height: 70px; */
}
.ham-menu-wrapper {/* nav */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    display: flex;
    background-color: #000;
    margin-left: 20px;
    /* margin-top: 100px; */
    border-bottom-left-radius: 45px;
}
/* ham menu */
.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: #efb450;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: white;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* navigation  MEDIA QUERY*/
@media screen and (max-width: 992px) {
    nav{
        visibility: hidden;
    }
    .toggler{
        visibility: visible;
    }
}

@media screen and (max-width: 500px) {
    nav{
        margin-left: 20px;
    }
    nav ul{
        display: none;
    }
}

/* landing section*/
section.landing{
    padding: 100px 100px;
    padding-bottom: 150px;
    /* background-image: url(https://ik.imagekit.io/given/images/evening-weddingreception.jpg); */
    background-image: url(images/evening-weddingreception.jpg);
    background-position: center;
    background-size: cover;
}
.landing-box{
    margin-top: 400px;
    width: 55%;
    min-height: 300px;
    padding: 50px;
    background-color: #000;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    color: #fff;
}
.landing-box h2{
    font-size: 50px;
    font-weight: 350;
}
.landing-box p{
    font-size: 20px;
}


/* landing section MEDIA QUERY*/
@media screen and (max-width: 1350px) {
    .landing-box{
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    section.landing{
        padding: 100px 20px;
        padding-bottom: 150px;
    }
    .landing-box{
        margin-top: 200px;
        /* width: 100%; */
        min-height: 300px;
        padding: 50px;
    }
    .landing-box h2{
        font-size: 35px;
        font-weight: 350;
    }
    .landing-box p{
        font-size: 16px;
    }
}
@media screen and (max-width: 400px) {
    .landing-box .button1{
        display: none;
    }
}

/* legacy-experiences section*/
section.legacy-experiences{
    min-height: 300px;
    background-color: #fff;
    color: #000;
    padding: 50px 100px;
}
.legacy-text{
    padding: 0 200px;
    text-align: center;
}
.legacy-text h2,
.legacy-text p{
    display: flex;
    justify-content: center;
    align-items: center;
}
/* .legacy-text p{
    font-size: 24px;
    font-weight: 150;
} */
 .image-container{
    /* background: rgba(0, 0, 0, 0.4); 
    z-index: 2; */
    position: relative;
    width: 400px;
    height: 500px;
    /* border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px; */
    margin-bottom: 50px;
    overflow: hidden;
 }
 .image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    z-index: 1;
 }
 .overlay {
    position: absolute;
    top: 0;
    left: 3%;
    width: 95%;
    height: 500px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.2)
    ); /* Adjust opacity and direction */
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    z-index: 1;
}
 .content-wrapper{
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 450px;
    /* margin: 0 20px; */
    border: 1px solid #f5f3ee;
    color: #f5f3ee;
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
 }

@media screen and (max-width: 500px) {
    section.legacy-experiences{
        min-height: 300px;
        padding: 50px 20px;
    }
    .legacy-text{
        padding: 0 0;
    }
    h2{
        font-size: 38px;
        font-weight: 450;
    }
    p{
        font-size: 18px;
        font-weight: 150;
    }
}



/* styled-to-last section*/
.styled-to-last {
    padding: 100px;
}

.styled-flex-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Lock left image dimensions */
.styled-left-image {
    width: 400px;
    height: 450px;
    flex-shrink: 0;
}

.styled-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}

.styled-wrapper {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.styled-wrapper h2,
.styled-wrapper p {
    flex-basis: 100%;
    margin-bottom: 10px;
}

.styled-container {
    width: 180px;
    height: 150px;
    margin: 5px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
.styled-container.brown-outline{
    border: 1px solid #bd842c;
}
.styled-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

@media screen and (max-width: 500px) {
    section.styled-to-last{
        padding: 50px 20px;
    }
}



/* family-of-brands section*/
section.family-of-brands{
    min-height: 300px;
    background-color: #fff;
    color: #000;
    padding: 50px 100px;
}
.fob-text{
    padding: 0 200px;
    text-align: center;
}
.fob-text h2{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 500px) {
    section.family-of-brands{
        min-height: 300px;
        padding: 50px 20px;
    }
    .fob-text{
        padding: 0 0;
    }
}



/* spxflow-promise section*/
section.spxflow-promise{
    min-height: 300px;
    background-color: #eee;
    color: #000;
    padding: 50px 100px;
}
.promise-wrapper{
    /* height: 500px; */
    height: fit-content;
}
 .promise-left, .promise-right {
  padding-left: 0;
  padding-right: 0;
}
.promise-left{
    /* height: auto; */
    height: fit-content;
    /* height: 300px; */
}
.promise-left img{
    margin: 0;
    display: block;
    width: 100%;
    width: 100%;
    height: 600px;
    /* height: auto; */
    /* height: 100%; */
    object-fit: cover;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
}
.promise-right{
    padding: 50px 50px;
    height: fit-content;
    /* background-color: #ccc; */
    /* background-image: linear-gradient(rgba(204, 204, 204, 0.9), rgba(204, 204, 204, 0.9)), url(images/styled/27.png); */
    background-image: linear-gradient(rgba(238, 238, 238, 0.8), rgba(238, 238, 238, 0.8)), url(images/styled/styled8.png);
    background-position: center;
    background-size: cover;
    border-top-right-radius: 45px;
    border-bottom-right-radius: 45px;
}
.promise-right h4{
    font-size: 42px;
}
.promise-right h5{
    font-size: 28px;
    font-weight: normal;
}
.spxflow-promise h3{
    text-align: center;
    font-size: 28px;
    color: #efb450;
}

@media screen and (max-width: 500px) {
    section.spxflow-promise{
        min-height: 300px;
        padding: 50px 20px;
    }
}


/* featured-companies section*/
section.featured-companies{
    padding: 50px 100px;
}
.fc-text{
    padding: 0 200px;
    text-align: center;
}
.fc-text h2,
.fc-text p,
.featured-companies p{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
section.featured-companies .button3{
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}
section.featured-companies .button3 a{
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}
.featured-companies .logos{
    padding: 0 100px;
}
.featured-companies .logos img{
    width: 200px;
    height: 100px;
    margin: 20px;
}

@media screen and (max-width: 500px) {
    section.featured-companies{
        padding: 50px 20px;
    }
    .fc-text{
        padding: 0 0;
    }
}


/* work-team section*/
section.work-team{
    padding: 100px 100px;
    background-color: #f5f3ee;
}
.work-text{
    padding: 0 200px;
    text-align: center;
}
.work-text h2,
.work-text p{
    display: flex;
    justify-content: center;
    align-items: center;
}
.work-text p,
.work-text a{
    color: #000;
    font-size: 16px;
}
.work-wrapper{
    padding-right: 50px;
    padding-bottom: 30px;
    justify-content: space-between;
    border: 1px solid #1a1712;
    border-bottom-right-radius: 45px;
    border-top: none;
    border-left: none;
}
.work-box{
    padding: 50px 20px;
    border: 1px solid #000;
    border-radius: 30px;
    border-right: transparent;
    border-bottom: transparent;
    border-top-right-radius: 0%;
    border-bottom-left-radius: 0%;
    
}
.work-box h4{
    color: #bd842c;
    font-size: 28px;
    font-weight: normal;
}
.work-box p{
    font-size: 18px;
}


@media screen and (max-width: 500px) {
    section.work-team{
        padding: 50px 20px;
    }
    .work-text{
        padding: 0 0;
    }
}


/* spx-events section*/
section.spx-events{
    padding: 100px 100px;
    background-color: #bd842c;
}
.spx-events p{
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-decoration: underline;
}
.spx-events .content-wrapper{
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 450px;
    /* margin: 0 20px; */
    border: 2px solid #bd842c;
    color: #f5f3ee;
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
 }
.spx-events .icon{
    width: 50px;
    height: 50px;
    /* float: left; */
    position: absolute;
    left: 2%;
    top: 88%;
}
.spx-events .fa-solid.fa-clone{
    position: absolute;
    font-size: 33px;
    right: 2%;
    bottom: 88%;
}

@media screen and (max-width: 500px) {
    section.spx-events{
        min-height: 300px;
        padding: 50px 20px;
    }
}


/* sub-footer section*/
section.sub-footer{
    min-height: 300px;
    padding: 30px 100px;
    background-color: #555;
    color: #fff;
}
.subfooter-left textarea{
    padding: 15px;
    width: 100%;
    height: 150px;
    background-color: #555;
    border: 1px solid #fff;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
.subfooter-left textarea::placeholder{
    color: #999;
    margin: 20px;
}
.subfooter-left p{
    font-size: 18px;
}
.sfright-wrapper{
    float: right!important;
    text-align: center;
}

.subfooter-right a img{
    margin-left: 10px;
    width: 60px;
    height: 60px;
}

@media screen and (max-width: 500px) {
    section.sub-footer{
        min-height: 300px;
        padding: 50px 20px;
    }
    .subfooter-right{
        padding-top: 100px;
    }
}




footer{
    background-color: #000;
    padding: 50px 100px;
    color: #f5f3ee;
}
footer p{
    font-size: 16px;
}
.foot p a{
    color: #f5f3ee;
    text-decoration: none;
    padding: 0!important;
    margin: 0!important;
}
footer h5{
    color: #bd842c;
}
.text-warning{
    color: #bd842c!important;
}
.row-foot-bot{
    text-align: center!important;
}
.foot-bot{
    text-align: center;
}
.foot-bot a img{
    margin-left: 10px;
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 500px) {
    footer{
        min-height: 300px;
        padding: 50px 20px;
    }
    .foot{
        padding-top: 20px;
    }
}


@media screen and (max-width: 768px) {
    section.legacy-experiences{
        min-height: 300px;
        padding: 50px 20px;
    }
    .legacy-text{
        padding: 0 0;
    }
    section.styled-to-last{
        padding: 50px 20px;
    }
    .styled-flex-wrapper{
        display: flex;
        flex-direction: column;
    }
    section.family-of-brands{
        min-height: 300px;
        padding: 50px 20px;
    }
    .fob-text{
        padding: 0 0;
    }
    section.spxflow-promise{
        min-height: 300px;
        padding: 50px 20px;
    }
    section.featured-companies{
        padding: 50px 20px;
    }
    .fc-text{
        padding: 0 0;
    }
    section.work-team{
        padding: 50px 20px;
    }
    .work-text{
        padding: 0 0;
    }
    section.spx-events{
        min-height: 300px;
        padding: 50px 20px;
    }
    section.sub-footer{
        min-height: 300px;
        padding: 50px 20px;
    }
    .subfooter-right{
        padding-top: 100px;
    }
}



/* 
---------------------------------------------
ABOUT PAGE
--------------------------------------------- 
*/
section.about-landing{
    height: 500px;

    /* padding: 100px 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/about/red-event.jpeg);
    background-position: center;
    background-size: cover; */
}

section.about-landing video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

section.about-landing .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0!important;
}
.about-landing h2{
    padding-top: 250px;
    text-align: center;
    color: #fff;
    font-size: 50px;
}


/* events-promise section*/
section.events-promise{
    min-height: 300px;
    background-color: #fff;
    color: #000;
    padding: 50px 100px;
}
.events-promise-text{
    padding: 0 200px;
    text-align: center;
}
.events-promise-text h2,
.events-promise-text p{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* curved-image section*/
section.curved-image{
    padding: 50px 100px;
}
.curved-image-wrapper{
    width: 100%;
    height: 400px;
}
section.curved-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}

@media screen and (max-width: 768px) {
    section.about-landing{
        padding: 50px 20px;
    }
    section.events-promise{
        padding: 50px 20px;
    }
    .events-promise-text{
        padding: 0 0;
    }
    section.curved-image{
        padding: 50px 20px;
    }
}

@media screen and (max-width: 500px) {
    section.about-landing{
        padding: 50px 20px;
    }
    section.events-promise{
        padding: 50px 20px;
    }
    .events-promise-text{
        padding: 0 0;
    }
    section.curved-image{
        padding: 50px 20px;
    }
}





/* 
---------------------------------------------
ABOUT HISTORY PAGE
--------------------------------------------- 
*/
section.about-history-landing{
    min-height: 400px;
    padding: 100px 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/about/wedding-pink.PNG);
    background-position: top;
    background-size: cover;
}
.about-history-landing h2{
    padding-top: 150px;
    text-align: center;
    color: #fff;
    font-size: 50px;
}
section.proud-premier{
    padding: 100px 300px;
    text-align: center;
}
.proud-premier h2{
    color: #bd842c;
    font-weight: normal;
}
.proud-premier p{
    font-size: 18px;
    /* font-weight: ; */
}

section.curved-image.services{
    padding: 50px 50px;
}
section.curved-image.services .curved-image-wrapper{
    width: 100%;
    height: 600px;
}
section.curved-image.services img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
section.description1{
    padding: 50px 100px;
    padding-top: 100px;
}
.descr-wrapper{
    height: fit-content;
}
.descr1-left, .descr1-right {
  padding-left: 0;
  padding-right: 0;
}
.descr1-left{
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    height: 464px;
}
.descr1-left img {
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}
.descr1-right{
    padding: 20px;
    padding-top: 0;
    border: 2px solid #bd842c;
    border-top: none;
    border-left: none;
    border-bottom-right-radius: 45px;
    height: fit-content;
}
.descr1-right h2{
    color: #bd842c;
    font-weight: 500;
}
.descr1-right p{
    font-size: 18px;
}
section.description2{
    padding: 50px 100px;
}
.descr2-left, .descr2-right {
  padding-left: 0;
  padding-right: 0;
}
.descr2-left{
    padding: 20px;
    padding-top: 0;
    border: 2px solid #bd842c;
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 45px;
    height: fit-content;
}
.descr2-left h2{
    color: #bd842c;
    font-weight: 500;
}
.descr2-left p{
    font-size: 18px;
}
.descr2-right{
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    height: 450px;
}
.descr2-right img {
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}

@media screen and (max-width: 768px) {
    section.about-history-landing{
        padding: 100px 20px;
    }
    .about-history-landing h2{
        font-size: 45px;
    }
    section.proud-premier{
        padding: 50px 20px;
    }
    .proud-premier h2{
        font-size: 33px;
    }
    .proud-premier h2 br{
        display: none;
    }
    section.curved-image.services{
        padding: 50px 20px;
    }
    section.curved-image.services .curved-image-wrapper{
        height: 400px;
    }
    section.description1{
        padding: 50px 20px;
    }
    .descr1-left, .descr2-left{
        margin-bottom: 50px;
    }
    .descr1-left, .descr2-right{
        height: 400px;
    }
    section.description2{
        padding: 50px 20px;
    }

}
@media screen and (max-width: 500px) {
    section.about-history-landing{
        padding: 100px 20px;
    }
    .about-history-landing h2{
        font-size: 35px;
    }
    section.proud-premier{
        padding: 50px 20px;
    }
    .proud-premier h2{
        font-size: 28px;
    }
    .proud-premier h2 br{
        display: none;
    }
    section.curved-image.services{
        padding: 50px 20px;
    }
    section.curved-image.services .curved-image-wrapper{
        height: 350px;
    }
    section.description1{
        padding: 50px 20px;
    }
    .descr1-left, .descr2-left{
        margin-bottom: 50px;
    }
    .descr1-left, .descr2-right{
        height: 350px;
    }
    section.description2{
        padding: 50px 20px;
    }

}

/* 
---------------------------------------------
ABOUT CAREERS PAGE
--------------------------------------------- 
*/
section.about-careers-landing{
    min-height: 400px;
    padding: 100px 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/about/red-event.jpeg);
    background-position: center;
    background-size: cover;
}
.about-careers-landing h2{
    padding-top: 150px;
    text-align: center;
    color: #fff;
    font-size: 50px;
}

section.timeless-mission{
    padding: 100px 100px;
    padding-bottom: 0;
    background-color: #000;
    color: #f5f3ee;
}
.tm-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 150px;
}

.timeless-mission h3{
    color: #bd842c;
    font-size: 48px;
}
.timeless-mission .top-text{
    color: #f5f3ee;
    font-size: 48px;
    font-weight: 200;
}
.timeless-mission p{
    font-size: 18px;
}

.tm-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.collaborative{
    padding: 100px 100px;
    text-align: center;
    background-color: #f5f3ee;
}

section.who-thrives-here{
    padding: 0 200px;
    text-align: center;
    background-color: #f5f3ee;
    color: #f5f3ee;
    padding-bottom: 50px;
}
.wth-wrapper{
    padding: 100px 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/services/black-lined.PNG);
    background-position: bottom;
    background-size: cover;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}
.wth-wrapper p{
    font-size: 21px;
}


section.whole-image{
    padding-top: 50px;
}
.whole-image-wrapper{
    width: 100%;
    height: 600px;
}
section.whole-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.timeless-code{
    padding: 100px 100px;
    text-align: center;
}
.timeless-code p{
    font-weight: 380;
}
.tc-wrapper{
    padding-top: 100px;
}
.tc-boxwrapper{
    padding: 0 45px;
}
.tc-box{
    width: 100%;
    height: 250px;
    border: 1px solid #efb450;
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    padding-bottom: 0;
}
.tc-box p{
    padding: 0!important;
    padding-top: 40px !important;
    padding-bottom: 0;
}
.tc-text h6{
    padding-top: 30px;
    padding-bottom: 5px;
    font-weight: 500;
}
.tc-text p{
    font-size: 15px;
    font-weight: 400;
}

.tc-box h2{
    padding: 0!important;
    /* font-family: 'Myriad Pro', sans-serif; */
    color: white; /* Fill color */
    font-weight: 500;
    font-size: 125px;
  -webkit-text-stroke: 1px #efb450; /* Outline thickness and color */
 /* text-stroke: 1px #efb450;  For non-WebKit browsers (less supported) */
  
}

section.spx-perks{
    padding: 100px 100px;
    text-align: center;
    background-color: #f5f3ee;
}
.spx-perks p{
    font-size: 20px;
}
.perk-wrapper{
    padding-top: 5px;
}
.perk-boxwrapper{
    padding: 30px 45px;
}
.perk-box{
    width: 100%;
    height: 200px;
    padding: 30px 25px;
    border: 2px solid #555;
    color: #1a1712;
    border-top-right-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.perk-box h6{
    font-weight: 500;
}
.perk-box p{
    font-size: 15px;
}

section.spx-circle{
    padding: 0 100px;
    min-height: 600px;
    background-image: url(images/about/careers/sox-circle.PNG);
    background-position: center;
    background-size: cover;

    display: flex;
    align-items: flex-end; /* Align children (like .circle-text) to the bottom */
    justify-content: center;
    
}
.circle-text{
    background-color: #000;
    color: #f5f3ee;
    text-align: center;
    padding: 50px 200px;
    border-top-left-radius: 45px;
}
.circle-text h2{
    color: #bd842c;
}
.circle-text p{
    font-size: 15px;
}

section.culture{
    padding: 100px 100px;
    text-align: center;
    background-color: #f5f3ee;
}

section.grid-images{
    padding: 100px 0;
}
.grid-wrapper{
    min-height: 400px;
    
}

.grid-left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.grid-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .grid-left,
.grid-right{
    margin-bottom: 20px!important;
} */

section.join-our-team{
    padding: 100px 100px;
    text-align: center;
}
.join-our-team h2{
    font-weight: 500;
}
.join-our-team p{
    font-size: 16px;
}

section.work-team.black{
    padding: 100px 100px;
    background-color: #000!important;
    color: #f5f3ee!important;
}
.black .work-text p,
.black .work-text a{
    color: #f5f3ee;
    font-size: 16px;
}
.black .work-wrapper{
    border: 1px solid #f5f3ee;
    border-top: none;
    border-left: none;
}
.black .work-box{
    border: 1px solid #f5f3ee; 
    border-right: #000;
    border-bottom: #000;
}
.black .work-box h4{
    color: #f5f3ee;
}


@media screen and (max-width: 768px) {
    section.about-careers-landing{
        padding: 50px 20px;
    }
    section.timeless-mission{
        padding: 50px 50px;
        padding-top: 200px;
    }
    .tm-left{
        padding-right: 20px;
        padding-bottom: 50px;
    }
    .tm-right{
        height: 400px;
    }
    section.collaborative{
        padding: 50px 50px;
    }
    .collaborative p br,
    .who-thrives-here p br,
    .tc-p br,
    .spx-perks p br,
    .circle-text  p br,
    .join-our-team p br{
        display: none;
    }
    section.who-thrives-here{
        padding: 0 50px;
    }
    .wth-wrapper{
        padding: 50px 50px;
    }
    section.whole-image{
        padding-top: 50px;
    }
    .whole-image-wrapper{
        height: 300px;
    }
    section.timeless-code{
        padding: 50px 50px;
    }
    .tc-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .tc-boxwrapper{
        width: 350px;
    }
    section.spx-perks{
        padding: 50px 50px;
    }
    section.spx-circle{
        padding: 50px 50px;
    }
    .circle-text{
        padding: 50px 50px;
    }
    .circle-text p br{
        display: none;
    }
    section.culture{
        padding: 50px 50px;
    }
    section.grid-images{
        padding: 50px 50px;
    }
    .grid-wrapper{
        min-height: 350px;
    }
    .grid-left,
    .grid-right{
        height: 300px;
        margin-bottom: 20px;
    }
    section.join-our-team{
        padding: 50px 50px;
    }
    section.work-team.black{
        padding: 50px 50px;
    }

}
@media screen and (max-width: 500px) {
    section.about-careers-landing{
        padding: 50px 20px;
    }
    section.timeless-mission{
        padding: 50px 20px;
        
    }
    /* .timeless-mission h3{
        margin: 50px 0;
    } */
    section.collaborative{
        padding: 50px 20px;
    }
    section.who-thrives-here{
        padding: 0 20px;
    }
    .wth-wrapper{
        padding: 50px 20px;
    }
    section.whole-image{
        padding-top: 50px;
    }
    .whole-image-wrapper{
        height: 300px;
    }
    section.timeless-code{
        padding: 50px 20px;
    }
    section.spx-perks{
        padding: 50px 20px;
    }
    section.spx-circle{
        padding: 50px 20px;
    }
    .circle-text{
        padding: 50px 20px;
    }
    .circle-text p br{
        display: none;
    }
    section.culture{
        padding: 50px 20px;
    }
    section.grid-images{
        padding: 50px 20px;
    }
    .grid-wrapper{
        min-height: 350px;
    }
    .grid-left,
    .grid-right{
        height: 300px;
        margin-bottom: 20px;
    }
    section.join-our-team{
        padding: 50px 20px;
    }
    section.work-team.black{
        padding: 50px 20px;
    }

}



/* 
---------------------------------------------
SERVICES PAGE
--------------------------------------------- 
*/
section.services-landing{
    min-height: 400px;
    padding: 100px 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/services/fancy-formal-table-setting-event-decor.jpg);
    background-position: center;
    background-size: cover;
}
.services-landing h2{
    padding-top: 150px;
    text-align: center;
    color: #fff;
    font-size: 50px;
}

/* what-we-deliver section*/
section.what-we-deliver{
    padding: 100px 100px;
    background-color: #f5f3ee;
}
.wwd-wrapper{
    row-gap: 30px;
}
.wwd-box{
    width: 380px;
    min-height: 400px;
    height: auto;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}
.wwd-box.one{
    padding: 50px;
    background-image: url(images/services/black-lined.PNG);
    background-position: center;
    background-size: cover;
    height: 420px;
}
.wwd-box.one h3{
    font-size: 42px;
    color: #f5f3ee;
}
.wwd-box-top{
    width: 380px;
    height: 200px;
}
.wwd-box-top img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 45px;
}
.wwd-box-bottom{
    min-height: 220px;
    padding-top: 30px;
}
.wwd-box-bottom h4{
    color: #bd842c;
    text-decoration: underline;
    margin-bottom: 10px;
}
.wwd-box-bottom p{
    font-size: 14px;
}

/* timeless-experience section*/
section.timeless-experience{
    padding: 100px 100px;
    background-color: #f5f3ee;
}
.twoflex-left{
    /* width: 100%; */
    height: fit-content;
}
.twoflex-left img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}
.twoflex-right{
    padding: 100px 100px;
}
.twoflex-right h2{
    color: #bd842c;
}
.twoflex-right p{
    font-size: 18px;
}

.grid-text-wrapper{
    padding: 50px 0;
}
.grid-text{
    padding: 50px;
    padding-bottom: 0;
}
.grid-text h4{
    color: #bd842c;
}
.grid-text p{
    font-size: 16px;
}

.why-text-wrapper{
    padding: 50px 0;
}
.why-text{
    padding: 50px;
    padding-bottom: 0;
}
.why-text.one{
    display: flex;
    /* justify-content: center; */
    align-items: center;
}
.why-text h3{
    font-size: 36px;
}
.why-text h4{
    color: #f5f3ee;
}
.why-text p{
    font-size: 16px;
    color: #f5f3ee;
}

/* why-choose-spx section*/
section.why-choose-spx{
    padding: 100px 100px;
    background-color: #1a1712;
    color: #f5f3ee!important;
}
section.why-choose-spx .twoflex-right h2{
    color: #f5f3ee;
}

.work-team.services .work-box h4{
    color: #1a1712;
    font-size: 28px;
    font-weight: normal;
}

/* start-planning section*/
section.start-planning{
    padding: 100px 100px;
    background-color: #1a1712;
    color: #f5f3ee;
    display: flex;
    justify-content: center;
    align-items: center;
}
.start-planning-box{
    padding: 50px 100px;
    border: 1px solid #f5f3ee;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}
.start-planning-box h3{
    font-size: 42px;
}

.start-planning-box p,
.start-planning-box a{
    color: #f5f3ee;
    font-size: 18px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    section.services-landing{
        padding: 50px 50px;
    }
    section.what-we-deliver{
        padding: 50px 70px;
    }
    .wwd-box{
        width: 100%;
    }
    .wwd-box.one{
        height: 100%;
    }
    .wwd-box-top{
        width: 100%;
    }
    section.timeless-experience{
        padding: 50px 50px;
    }
    section.why-choose-spx{
        padding: 50px 50px;
    }
    section.start-planning{
        padding: 50px 50px;
    }
    .twoflex-right{
        padding: 50px 50px;
    }
}
@media screen and (max-width: 500px) {
    section.services-landing{
        padding: 50px 20px;
    }
    section.what-we-deliver{
        padding: 50px 20px;
    }
    section.timeless-experience{
        padding: 50px 20px;
    }
    section.why-choose-spx{
        padding: 50px 20px;
    }
    section.start-planning{
        padding: 50px 20px;
    }
    .twoflex-right{
        padding: 50px 20px;
    }
}




/* 
---------------------------------------------
BLOGS (INSPIRATION) PAGE
--------------------------------------------- 
*/
section.blog-landing{
    min-height: 400px;
    padding: 100px 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/blogs/5.PNG);
    background-position: bottom;
    background-size: cover;
    color: #f5f3ee;
}
.blog-landing h2{
    padding-top: 150px;
    text-align: center;
    color: #f5f3ee;
    font-size: 50px;
}
.blog-landing p{
    font-size: 21px;
    text-align: center;
}

section.blogs-section{
    padding: 100px 150px;
}
/* .blog-wrapper{
    justify-content: space-evenly!important;
} */
 /* .blog-box{
    padding: 0 15px;
 } */
.blog-img-wrapper{
    width: 400px;
    height: 250px;
    /* border: 1px solid #000; */
}
.blog-img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-text-wrapper{
    width: 400px;
    padding: 20px 0;
}
.blog-text-wrapper h6{
    font-size: 10px;
    color: #bd842c;
}
.blog-text-wrapper h4{
    /* font-size: 16px; */
    color: #bd842c;
}
.blog-text-wrapper p{
    font-size: 14px;
}
.blog-text-wrapper img{
    width: 30px;
    height: 30px;
    margin-top: -5px;
}

@media screen and (max-width: 768px) {
    section.blog-landing{
        padding: 50px 50px;
    }
    .blog-landing p br{
        display: none;
    }
    section.blogs-section{
        padding: 50px 50px;
    }
    .blog-img-wrapper{
        width: 100%;
    }
    .blog-text-wrapper{
        width: 100%;
        padding: 20px 0;
    }
}
@media screen and (max-width: 500px) {
    section.blog-landing{
        padding: 50px 20px;
    }
    section.blogs-section{
        padding: 50px 20px;
    }
    .blog-text-wrapper{
        width: 100%;
        padding: 20px 0;
    }
}




/* 
---------------------------------------------
CONTACT PAGE
--------------------------------------------- 
*/
section.contact-landing{
    min-height: 400px;
    padding: 100px 100px;
    background-image:linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),  url(images/contact/contact-placeholder.PNG);
    background-position: center;
    background-size: cover;
}
.contact-landing h2{
    padding-top: 150px;
    text-align: center;
    color: #fff;
    font-size: 50px;
}

section.here-to-help{
    padding: 100px 100px;
    text-align: center;
}
.here-to-help h2{
    font-weight: 500;
}
.here-to-help p{
    font-size: 16px;
}

section.contact-form{
    padding: 0 400px;
}

.contact-form input {
    border: 1px solid #1a1712!important;
    border-radius: 0;
    border-top: none!important;
    border-left: none!important;
    border-right: none!important;
}
.contact-form textarea{
    border: 1px solid #1a1712!important;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    height: 150px;
}
/* .form-outline textarea {
    height: 150px;
} */
.contact-form label {
    color: #555;
    font-size: 14px;
}
button {
    
    padding: 5px 10px;
    background-color: #1a1712;
    color: #f5f3ee;
    /* border: 1px solid #000; */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.6s ease;
}
button a{
    text-decoration: none;
    color: #f5f3ee;
    transition: 0.6s ease;
}
button a:hover{
    padding: 5px 15px;
    color: #1a1712;
}

button:hover{
    padding: 5px 15px;
    background-color: #f5f3ee;
    color: #1a1712!important;
    border: 1px solid #1a1712;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* letter-spacing: 2px; */
}
.contact-text{
    padding-top: 50px;
    text-align: center;
}
.contact-text p{
    font-size: 16px;
}


section.our-locations{
    padding: 100px 100px;
    text-align: center;
}
.loc-img-wrapper{
    width: 100%;
    border-radius: 45px;
}
.loc-img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 45px;
}
.location-right{
    border: 2px solid #bd842c;
    /* border-radius: 45px; */
    border-top: none;
    border-left: none;
    border-top-right-radius: none;
    border-bottom-left-radius: none;
    border-top-left-radius: none;
    border-bottom-right-radius: 45px;
}
.location-box{
    padding: 20px;
    text-align: left;
}
.location-box h4{
    padding: 0!important;
    margin: 0!important;
    color: #bd842c;
    font-weight: 400;
}
.location-box a{
    color: #1a1712;
    font-weight: 500;
}
.location-box p{
    font-size: 12px;
}


@media screen and (max-width: 768px) {
    section.contact-landing{
        padding: 50px 50px;
    }
    section.here-to-help{
        padding: 50px 50px;
    }
    section.contact-form{
        padding: 50px 50px;
    }
    section.our-locations{
        padding: 50px 50px;
    }
}
@media screen and (max-width: 500px) {
    section.contact-landing{
        padding: 50px 20px;
    }
    section.here-to-help{
        padding: 50px 20px;
    }
    section.contact-form{
        padding: 50px 20px;
    }
    section.our-locations{
        padding: 50px 20px;
    }
}



/* 
---------------------------------------------
GALLERY PAGE
--------------------------------------------- 
*/
section.gallery-section{
    padding-top: 150px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  gap: 10px;
  padding: 40px;
  grid-auto-flow: dense; /* ✨ This is the key addition */
}


.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}
    
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
   
 .gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1; /* 👈 bring it above the image */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(189, 132, 44, 0.4),
        rgba(0, 0, 0, 0.85)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}


.gallery-item:hover::before {
    opacity: 1;
}

 .gallery-caption {
  position: absolute;
  z-index: 2; /* 👈 above the gradient */
  bottom: 15px;
  left: 15px;
  font-size: 1rem;
  /* font-weight: bold; */
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Vary sizes using nth-child for style */
.gallery-item:nth-child(3n) {
    grid-row: span 2;
}

.gallery-item:nth-child(5n) {
    grid-column: span 2;
}

    @media (max-width: 768px) {
      .gallery {
        grid-auto-rows: 150px;
      }
    }

    @media (max-width: 480px) {
      .gallery {
        padding: 20px;
        gap: 5px;
      }

      .gallery-item .gallery-caption {
        font-size: 0.8rem;
      }
    }










/*** auto-ROTATE  **/
.autoRotate{
    animation: autoRotateAnimation;
    animation-timeline: view();
}

@keyframes autoRotateAnimation{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}


/*** auto-SHOW  **/
.autoShow{
    animation: autoShowAnimation both;
    animation-timeline: view(70% 5%);
}
@keyframes autoShowAnimation{
    from{
        opacity: 0;
        transform: translateY(200px) scale(0.3);
    }to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/*** auto-BLUR  **/
/* .autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();
}

@keyframes autoBlurAnimation{
    0%{
        filter: blur(40px);
    }
    45%, 55%{
        filter: blur(0px);
    }
    100%{
        filter: blur(40px);
    }
} */


@media screen and (max-width: 500px) {
    .autoBlur{
        animation: autoBlurAnimation linear both;
        animation-timeline: view();
    }
    
    @keyframes autoBlurAnimation{
        0%{
            filter: blur(40px);
        }
        45%, 55%{
            filter: blur(0px);
        }
        100%{
            filter: blur(40px);
        }
    
}
}


/* LIGHTBOX STYLES */

 .lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column; /* 👈 Stack vertically */
  padding: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  font-size: 1.2rem;
  /* font-weight: bold; */
  text-align: center;
  margin-bottom: 20px;
  max-width: 90%;
  word-wrap: break-word;
}


.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  font-weight: bold;
}
