@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body{
    font-family: "Jost", sans-serif;
    font-weight: normal;
    font-size: 20px;
}

p{
    font-size: 24px;
    font-weight: normal;
}

.container{
    max-width: 1200px;
    margin: auto;
}

.heading{
    font-family: "Playfair Display", serif;
    font-weight: normal;
    font-size: 48px;
    color: #B28F25;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Header Styling */
header {
    background: white;
    padding: 10px 9%;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 5px;
}

.mobile-block{
    display: none;
}

.contact-info {
    font-size: 18px;
    color: #3A3A3A;
    margin-right: 25px;
}

.contact-info .fa-phone{
color: #8156A7 !important;
}

.social-icons{
    display: flex;
    gap: 12px;
}

.social-icons img{
    width: 35px;
}

hr {
    margin: .2rem 0 !important;
    border: none;
    height: 1px;
    background: #472179;
    margin-bottom: 10px;
}

/* Main Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 5px 0;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin-bottom: 0;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li {
    margin: 0 27px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: 0.3s;
}

nav ul li:last-child a{    background: #472179;
    color: #fff;
    padding: 5px 10px;}

nav ul li:last-child a:hover{    background: #9765d9;
    color: #000;
    padding: 5px 10px;}

nav ul li a:hover {
    color: #5E3A82;
}

/* hamburger menu */
.topnav{
    overflow: hidden;
    border-color: #333;
    position: relative;
    display: none;
}

.topnav #myLinks{
    display: none;
}

.topnav a{
    color: black;
    padding: 5px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

.topnav a.icon {
    background: #472179;
    display: block;
    position: absolute;
    right: 0;
    top: 5px;
    color: #fff;
}

.topnav a:hover{
    background-color: #ddd;
    color: black;
}

.active{
    background-color: #fff;
    color: white;
}

.active img{
    width: 180px;
}

/* slider css */

.slider-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}
.single-slider {
    position: absolute;
  width: 100%;
  height: 100%;
  padding: 14% 0 14% 9%;
  background-size: cover;
  background-position: center;
  color: white;
  font-weight: bold;
  opacity: 0;
  pointer-events: none; /* Prevent clicks on hidden slides */
  transition: opacity 1s ease-in-out;
  }
  
  .single-slider.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
  }
  /* Dots inside bottom center */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
  }

  .dot {
    width: 12px;
    height: 12px;
    background: none;
    border: 1px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .dot.active {
    background: #ffffff;
  }

  /* Arrows */
/* Arrow wrapper positioned at bottom left */
.slider-arrow.left,
.slider-arrow.right {
  position: absolute;
  bottom: 90px;
  top: auto; /* override top */
  transform: none; /* remove vertical centering */
  cursor: pointer;
}

/* Align arrows side-by-side near bottom left */
.slider-arrow.left {
   z-index: 999;
   padding-left: 9%;
}

.slider-arrow.right {
  left: 250px; /* adjust spacing between left & right arrows */
   z-index: 999;
}
  .slider-arrow svg {
    display: block;
   
  }

.single-slider h2{
    margin-bottom: 15px;
}

.slide-1 h2{
    color: #472179;
}
.slide-2 h2{
    color: #035063;
}
.slide-3 h2{
    color: #FFFFFF;
}
.single-slider p{
    color: #454545;
    line-height: 30px;
    width: 40vw;
    /* text-shadow: 1px 1px 1px #fff; */
}
.slide-3 p{
    color: #FFFFFF;
}

/* Category Section */
.category-images{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    width: 100%;
    text-align: center;
}
.category{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-images img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.category p{
    text-transform:uppercase;
    font-size: 20px;
    letter-spacing: 2px;
}

/* Director Section */
.director-section{
    padding-top: 70px;
}
.director-div{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* max-width: 1336px; */
    margin: auto;
}

.director-text {
    text-align: left;
    padding: 0 15px;
}

.director-text p {
    color: #454545;
    line-height: 32px;
    font-weight: 300;
    text-align: justify;
}

.director-image img {
    width: 30vw;
    height: auto;
    padding: 10px;
}

/* Our Products Section */
.products-section {
    text-align: center;
    padding: 60px 0 50px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    justify-content: center;
}

.product {
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    width: 100%;
    height: 335px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 15px;
    border: 3px solid transparent; /* Start with transparent border */
    transition: border 0.4s ease, box-shadow 0.4s ease;
}

.product img {
    /* height: 100%; */
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-out, border 0.3s ease-out;
}

.product:hover .image-container {
    border: 20px solid rgba(71, 33, 121, 0.1); /* Smooth purple border */
    /* box-shadow: 0 0 12px rgba(94, 58, 130, 0.15); Optional glow effect */
}

.product:hover img {
    transform: scale(1.5);
}

.product p {
    margin-top: 10px;
    color: #5E3A82;
    border: 1px solid #5E3A82;
    padding: 8px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
}

/* Counter Section */
.counter-section {
    background: url('./assets/counter_bg.png') center/cover no-repeat;
    margin-top: 30px;
}

.counter-section .container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    text-align: center;
    padding: 60px 0;
    position: relative;
    color: white;
    font-family: "Outfit", sans-serif;
}

.counter {
    position: relative;
    z-index: 2;
}

.counter h2 {
    font-size: 70px;
    margin: 0;
    font-weight: 500;
}

.counter p {
    font-size: 30px;
    font-weight: normal;
    margin-top: 5px;
}



/* Gallery Section */
.gallery-section {
    text-align: center;
    padding: 60px 0 50px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease-in-out, transform 0.3s ease-in-out;
}

/* Popup styling */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content-container {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content {
    width: 60%;
    object-fit: contain;
}
/* .popup-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */

.popup-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.popup-nav span {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
}

.popup-nav span:hover {
    background-color: rgba(0, 0, 0, 0.8);
}   

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.overlay {
    position: absolute;
    top: 45%;
    width: 100%;
    color: white;
    text-align: center;
    /* padding: 10px; */
    font-size: 18px;
    opacity: 0; 
    transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* YouTube Section */
.youtube-section{
    padding: 50px 0;
}
.youtube-container {
    position: relative;
    width: 100%;
}

.youtube-bg {
    width: 100%;
    display: block;
}

.youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}
.youtube-play img {
    width: 80px; 
    transition: box-shadow 0.3s ease-in-out;
}

.youtube-play:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    padding: 50px 0;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    flex: 1;
    padding: 100px;
    background: url('./assets/contact_right_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.contact-form h2 {
    color: #FFFBF0;
    text-shadow: 0px 1px 0 #00000064;
    margin-bottom: 30px;
}

.contact-form p {
    margin-bottom: 20px;
    text-align: left;
    line-height: 27px;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #ffffff;
    background: #B28F25;
    color: white;
    font-size: 24px;
    outline: none;
}
.contact-form select option{
    font-size: 1rem;
    background-color: #fff;
    color: #454545;
    /* border: none !important; */
    border: 1px solid #B28F25 !important;
    display: flex;
}
.contact-form select option:first-child{
    background-color: #B28F25 !important;
}

.contact-form input::placeholder, .contact-form input[type='date'], .contact-form input[type='time'], .contact-form select {
    color: white;
    opacity: 70%;
    font-weight: 300;
}

input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 70%;
    cursor: pointer;
}

.form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form button {
    width: 188px;
    height: 52px;
    background: #472179;
    color: white;
    padding: 0px 40px;
    font-size: 24px;
    font-weight: 300;
    border: none;
    cursor: pointer;
    display: flex;
    margin: 15px 0;
    align-items: center;
    justify-content: center;
}
.contact-form span{
    display: block;
    text-shadow: 1px 1px 2px black;
    /* margin-top: -20px; */
    text-align: left;
    

}

.contact-form .input-div{
    margin-bottom: 25px;
}

/* Footer Section */
footer {
    text-align: center;
}

.footer-content {
    display: flex;
/*    justify-content: space-between;*/
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    gap: 20px;
    padding: 30px 0;
}

.footer-logo{    flex: 1;text-align: left;}
.footer-logo img {
    width: 240px;
    text-align: left;
}

.footer-info{
   text-align: right;
}

.footer-info span {
    display: block;
    font-size: 15px;
    color: #333;
    padding: 0 5px;
    width: 300px;
}

.footer-info span svg{
    color: #472179;
}

.footer-social a img {
    width: 30px;
    margin: 0 10px;
}

footer p {
    font-size: 16px;
    margin: 15px 0;
    color: #000000;
}
.fixedLink{position: fixed;
    bottom: 20px;
    right: 15px;
    background: #472179;
    color: #fff;
    padding: 5px 10px;
    font-size: 13px;
    text-decoration: none;display:none;-webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 500ms linear;}
.fixedLink:hover{background:#a48bc5};

/* RESPONSIVE DESIGN */
@media (max-width: 1220px){
    .container{
        max-width: 96%;
    }
    nav ul li{
        margin: 0 12px 0 5px;
    }
    .product .image-container{
        height: 275px;
    }
    .products-grid{
        gap: 20px;
    }
    .product p{
        font-size: 15px;
        padding: 8px 6px;
    }
    .category p{
        font-size: 15px;
    }
    .counter h2{
        font-size: 57px;
    }
    .footer-info{
        display: block;
    }
    .counter p{
        font-size: 25px;
    }
}

@media (max-width: 1000px){
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-form {
        padding: 50px;
    }
    .contact-form h2{
        font-size: 38px;
    }
    .heading{
        font-size: 41px;
        margin-bottom: 45px;
    }
    p{
        font-size: 21px;
    }
    .counter p {
        font-size: 20px;
    }
    .main-header .logo img{
        width: 170px;
    }
    nav ul li a{font-size: 15px;}
}

@media (max-width: 767px) {
    .slider-container {
        height: 450px;
      }
      .slider-dots {
        bottom: 30px;
      }
    
    .desktop-block{
        display: none;
    }
    .mobile-block{
        display: block;
    }
    .mobile-block-section{
        display: flex;
        flex-direction: column;
    }
    .director-text .heading{
        text-align: center;
    }
    .single-slider p {
        width: 80vw;
        font-size: 18px;
        line-height: 25px;
    }
    .contact-form {
        padding: 20px;
    }
    .contact-form h2{
        font-size: 30px;
    }
    .main-header{
        display: none;
    }
    .topnav{
        display: block;
    }
    .heading{
        font-size: 40px;
        margin-bottom: 20px;
    }
    .topnav .logo {padding: 5px}
    .top-bar {
        justify-content: space-between;
/*        flex-direction: column;*/
        text-align: center;
        gap: 5px;
        align-items: center;
    }

    .main-header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        padding-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }
    .director-section {
        flex-direction: column;
        text-align: center;
    }

    .contact-section {
        flex-direction: column;
        text-align: center;
    }

    .director-div{
        flex-direction: column;
    }

    .director-image img{
        width: 80vw;
    }

    .counter-section .container{
        grid-template-columns: repeat(2, 1fr);
    }
    .category{
        margin-bottom: 10px;
    }
    .category:last-child{display: none;}
    .category-images{
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-section {
        flex-direction: column;
        text-align: center;
    }

    .contact-image {
        width: 100%;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .counter-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .counter h2 {
        font-size: 47px;
    }
    
    .counter p {
        font-size: 23px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .top-bar .social-icons img{
        width: 25px;
        display: block;
    }
    .contact-image img{
        display: none;
    }
    .contact-form input, .contact-form select, .contact-form button{
        font-size: 18px;
    }
    .footer-content{
        display: flex;
        flex-direction: column;
    }
    .footer-info{text-align: center;}
    .footer-info span{width: auto;}
    .footer-logo img{
        width: 200px;
    }
    footer p{font-size: 14px}
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-info {
        font-size: 12px;
    }
    .slider-arrow{
        display: none;
    }
    .popup-content {
        width: 100%;
    }
    .fixedLink{display:block};
}

@media (max-width: 480px) {
    p{
        font-size: 1.2rem;
    }
    .heading{
        font-size: 30px;
        margin-bottom: 15px;
    }
    .single-slider p{
        width: 100%;
        padding-right: 9%;
    }
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr); 
    }
    .counter-section {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .counter h2 {
        font-size: 40px;
    }

    .counter p {
        font-size: 16px;
    }    
    
    .product .image-container {
        height: 200px;
    }
    .product p {
        font-size: 12px;
        padding: 8px 0px;
    }
    .contact-form input, .contact-form select, .contact-form button{
        font-size: 1.2rem;
    }
    .category p{
        font-size: 12px;
    }
    .contact-form .date-field{
        -webkit-appearance: none;
    }
    .contact-form .time-field{
        -webkit-appearance: none;
    }
    .contact-form .date-field::before{
        content: attr(placeholder);
    }
    .contact-form .time-field::before{
        content: attr(placeholder);
    }
    .popup-nav span{
        font-size: 15px;
    }
}