*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root{
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
    
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body{
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.container{
    width: var(--container-width-lg);
    margin: 0 auto;
}


section h2{
    text-align: center;
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5{
    line-height: 1.2;
}

h1{
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3{
    font-size: 1.6rem;
}

h4{
    font-size: 1.3rem;
}

a{
    color: var(--color-white);
}

img{
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn{
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover{
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-primary{
    background: var(--color-danger);
    color: var(--color-white);
}

/*================ NAVBAR =======================*/
nav{
    background: var(--color-white);
    width: 100%;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
    box-shadow: 0 0  15px rgba(0, 0, 0, 0.2);
}
/* // change navbar by scrolling using javascript // */
.window-scroll{
    background: var(--color-black);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.nav_container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_container a{
    align-items: center;
    display: flex;
    gap: .21rem;
}
.nav_container a img{
    width: 70px;
}

.nav_container a h4{
    color: #000;
}

.nav_container a h4 span{
    color: #C48981;
}

nav button{
    display: none;
}

.nav_menu{
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav_menu a{
    color: var(--color-black);
    font-size: 1rem;
    transition: var(--transition);
}

.nav_menu a:hover{
    color: #a0855a;
}

.social1{
    width: 65px; 
    height: 65px; 
    position: fixed;
    right: 10px;
    border-radius: 60%; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    bottom: 30px;
    background: linear-gradient(45deg, rgb(35, 205, 20));
}
.social1 a{
    font-size: 2.6rem;
    color: var(--color-white);
}

.social2{
    width: 65px; 
    height: 65px; 
    position: fixed;
    right: 10px;
    border-radius: 60%; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    bottom: 100px;
    background: linear-gradient(45deg, #219ca0);
}

.social2 a{
    font-size: 2.6rem;
    color: var(--color-white);
}

/* ========================== GALLERY SECTION ========================== */
#gallery {
    background-color: #fffaf0;
    padding: 4rem 2rem;
    text-align: center;
}

#gallery .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #515050;
    text-transform: uppercase;
    margin-bottom: .2rem;
    position: relative;
}

.underline{
    display: block;
    margin: 0.2rem auto 3rem auto; 
    max-width: 140px; 
    width: 100%;
    height: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.gallery-card {
    background: #fffaf0;
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-card:hover {
    transform: scale(1.05);
}

.gallery-card img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 6px;
    background-position: center;
    transition: transform 0.3s ease;
}

.gallery-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: #ac6b25;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #8a521a;
}

.filter-btn.active {
    background: #333;
    color: #fff;
}

.gallery-card video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.gallery-card video {
  cursor: pointer;
}

.gallery-card {
  position: relative;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #F0CA43;
  border-radius: 50%;
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card .play-btn {
  opacity: 1;
}

.video-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-popup {
  position: relative;
  max-width: 20%;
  max-height: 100%;
}

.video-popup video {
  width: 100%;
  height: 50%;
  border-radius: 5px;
}

.close-btn {
  position: absolute;
  top: -45px;
  right: -25px;
  font-size: 45px;
  color: white;
  cursor: pointer;
}

/* ======================== footer ========================== */
.footer-section {
  background-color: #fff;
  padding: 4rem 2rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  overflow: hidden;
    position: relative;
    /* z-index: 1; */
}

.footer-section::before,
.footer-section::after {
    content: '';
    position: absolute;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    opacity: .58;
}

.footer-section::before {
    background: #F0CA43;
    top: -20%; 
    left: 90%;
}

.footer-section:after {
    background: #F0CA43;
    bottom: -10%; 
    right: 90%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-cols {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  color: #c88125;
  font-size: 1.1rem;
  font-style: italic;
  display: flex;
  margin-top: 5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  margin-right: 0.7rem;
  color: #c88125;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #000;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.bordered-col {
  border-left: 1.5px solid #F0CA43;
  padding-left: 1rem;
}

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #c88125;
}

.footer-links,
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.contact-info li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #c88125;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #000;
}

.contact-info li{
    color: #c88125;
}

.contact-info i {
  margin-right: 0.4rem;
  color: #c88125;
}

/* Divider & Copyright */
.footer-divider {
  margin: 2rem auto 1rem;
  width: 100%;
  height: 1px;
  background: #e7e7e7;
  border: none;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* ==================== MEDIA QUERIES(TABLETS) ==================== */
@media screen and (max-width: 1024px) {
    .container{
        width: var(--container-width-md);
    }
    h1{
        font-size: 2.2rem;
    }
    h2{
        font-size: 1.7rem;
    }
    h3{
        font-size: 1.4rem;
    }
    h4{
        font-size: 1rem;
    }

    /* ==================== NAVBAR =================== */
    nav button{
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--color-black);
        cursor: pointer;
    }

    nav button#close-menu-btn{
        display: none;
    }
 
    .nav_menu{
        position: fixed;
        top: 5rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav_menu li{
        width: 100%;
        height: 5.8rem;
        animation: animateNavItems 400ms linear forwards;
        transform-origin: top right;
        opacity: 0;
    }

    .nav_menu li:nth-child(2){
        animation-delay: 200ms;
    }

    .nav_menu li:nth-child(3){
        animation-delay: 400ms;
    }
    .nav_menu li:nth-child(4){
        animation-delay: 600ms;
    }

    @keyframes animateNavItems {
        0%{
            transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
        }
        100%{
            transform: rotateZ(0) rotateX(0) scale(1);
            opacity: 1;
        }
    }

    .nav_menu li a{
        background: #000;
        color: #F0CA43;
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }

    .nav_menu li a:hover{
        background: #F0CA43;
        color: var(--color-white);
    }
.gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-card img {
        height: 100%; 
    }
    .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==================== MEDIA QUERIES(PHONES) ======================= */
    @media screen and (max-width: 600px) {
        .container{
            width: var(--container-width-sm);
        }

    /* ==================== NAVBAR ======================= */
    .nav_menu{
        right: 3%;
    }
    
.nav_container a h4{
  font-size: .9rem;
}
.gallery-grid {
        grid-template-columns: 1fr; 
        gap: 1rem;
    }
    .gallery-card {
        padding: 1rem;
    }
    .gallery-card img {
        height: 100%; 
        /* max-height: 350px;  */
        width: 100%;
        object-fit: cover; 
    }

.footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-section {
    padding: 3rem 1rem 1rem;
  }

.footer-section::before {
    background: #F0CA43;
    top: -10%; 
    left: 80%;
}

.footer-section:after {
    background: #F0CA43;
    bottom: -10%; 
    right: 80%;
}

  .footer-brand {
    margin-top: 1rem;
    font-size: 1.2rem;
  }

  .footer-heading {
    font-size: 1rem;
  }
}

.gallery-card video {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.gallery-card {
  position: relative;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #F0CA43;
  font-size: 20px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card .play-btn {
  opacity: 1;
}

.video-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-popup {
  position: relative;
  max-width: 20%;
  max-height: 100%;
}

.video-popup video {
  width: 100%;
  height: 50%;
  border-radius: 5px;
}

.close-btn {
  position: absolute;
  top: -45px;
  right: -25px;
  font-size: 45px;
  color: white;
  cursor: pointer;
}


/* Tablet screens (<= 1024px) */
@media (max-width: 1024px) {
  .video-popup {
    max-width: 35%; 
    max-height: 80%;
  }

  .video-popup video {
    height: auto;
  }

  .close-btn {
    top: -50px;
    right: -25px;
    font-size: 40px;
  }

  .play-btn {
    font-size: 18px;
  }
}

/* Mobile screens (<= 600px) */
@media (max-width: 600px) {
  .video-popup {
    max-width: 70%; 
    max-height: 80%;
  }

  .video-popup video {
    width: 100%;
    height: auto;
  }

  .close-btn {
    top: -40px;
    right: -20px;
    font-size: 35px;
  }

  .play-btn {
    font-size: 16px;
    padding: 6px 12px;
  }
}
