.logo {
    height: 40px;
}
/* Global Styles */
* {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: black; /* Luxury look */
}


/* Headings (Bold & Modern) */
h1, h2, h3, h4, h5, h6, .gold, i {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffd700; /* Deep Gold for luxury feel */
    letter-spacing: 1px;
}

/* Paragraph & Body Text */
p {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 400;
    font-size: 18px;
    color: #E0E0E0; /* Soft white for readability */
}

nav, footer {
    background-color: #101933;
}

/* Buttons */
button, .cta-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    background-color: #4169E1; /* Royal Blue */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

button:hover, .cta-btn:hover {
    background-color: #101933; /* Gold on hover */
    color: white;
}

/* Links */

a {
    font-size: 18px;
}

.ax {
    padding: 12px 18px;
    background-color:#d4d4d46e;
}
.border-a-1 {
    border: 1px solid #ffd700;
}

.ay {
    padding: 12px 18px;
    border: 1px solid #d90429;
}


a, .active {
    font-family: 'Montserrat', sans-serif;
    color: #ffd700;
    text-decoration: none;
    transition: 0.3s ease-in-out;

}

a:hover {
    color: #4169E1;
    background-color:#363636;
}


.ay:hover {
    color: #4169E1;
    border-color: #0b037a;
}

.img-height {
    aspect-ratio: 1/1;

}

.height2 {
    height: 300px;
}


.height3 {
    height: 360px;
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: end;
    justify-content: start;
    text-align: left;
    background-color: white;
    background: url('../gallery/media/hero-G.jpg') center/cover no-repeat fixed; /* Parallax Effect */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This makes the magic */
    overflow: hidden; /* Prevent weird scroll bugs */
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    top: 0;
    background: #00000093;
    z-index: 0;
    height: 100vh;
}

.hero-content {
    position: absolute;
    z-index: 4; /* Keep text above */
    top: 20%;
    left: 18px
  }

.hero-content p {
    font-size: 18px;
}

.hero-content h1 {
    font-size: 40px;
}

@media (min-width:1000px ) {
    .hero-content {
        top: 40%;
        left: 60px
    }

    .hero-content h1 {
        font-size: 56px;
    }

    .hero-content p {
        font-size: 22px;
    }

}

  @supports (-webkit-touch-callout: none) {
    .hero-section {
      background-attachment: scroll;
    }
  }
  

.testimonial-section, .testimonial-section-abt {
    background: url('../gallery/media/walltest.jpg') center/cover no-repeat fixed; /* Parallax Effect */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This makes the magic */
    overflow: hidden; /* Prevent weird scroll bugs */
    position: relative;
    height: 500px;
    
}

.testimonial-section-abt {
    background: url('../gallery/media/tree.jpg') center/cover no-repeat fixed; /* Parallax Effect */
    height: 100%;
    z-index: -200;
}

.testimonial-section-abt::before {
    content: '';
    background-color: #00000075;
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.testimonial-section::after {
    content: '';
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    background-color: #1818188e;
    z-index: -1;
}


.silver-text {
    color: #E5E4E2; /* Soft Platinum for subtle text elements */
}

.silver-border {
    border: 2px solid #C4C4C4; /* Silver Satin for elegant outlines */
}

.silver-bg {
    background-color: #858585; /* Metallic Silver for contrast */
}

.silver-bg-sec {
    background-color: #C4C4C4;
}

.text-dark h1 {
    color: #333;
}

.royal-blue {
    color: #4169E1;
}

.off-white {
    background-color: #F7F7F7;
}

.off-white2 {
    background-color: #f3f3f3;
    border-radius: 1.5rem;
}

a img:hover {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #4169E1;
    opacity: 0.5;
    transform: scale(0.9);
    transition: 0.3s ease-in-out;
}

/* --- SLIDE ANIMATIONS --- */


/* Slide in from left */

.animate-me-left {
    transform: translateX(-100%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .animate-me-left.visible {
    transform: translateX(0);
    opacity: 1;
  }

/* Slide in from right */

.animate-me-right {
    transform: translateX(100%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .animate-me-right.visible {
    transform: translateX(0);
    opacity: 1;
  }

/* Slide in from top */
.animate-me-top {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .animate-me-bottom.visible {
    transform: translateY(0);
    opacity: 1;
  }

/* Slide in from BOTTOM */


.animate-me-bottom {
    transform: translateY(100%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .animate-me-bottom.visible {
    transform: translateY(0);
    opacity: 1;
  }

  .shape, .two, .line {
    width: 320px;
    height: 200px;
    background: linear-gradient(270deg, #363636, #4169E1, #363636, #0e0e0e , #000);
    clip-path: polygon(0% 0%, 0% 100%, 5% 100%, 5% 5%, 95% 5%, 95% 95%, 5% 95%, 5% 100%, 100% 100%, 100% 0%);
    transition: background 0.3s ease-in-out, transform 0.2s;
    animation: gradientShift 6s ease infinite;
  }

  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.text-over {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    color: #F7F7F7;
    transform: translate(-50%, -50%); /* Adjust exact center */
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.9); /* Shadow effect */
    white-space: nowrap; /* Prevents text from breaking */
}

.table-width1 {
    width: 800px;
}

.two {
    width: 120px;
    height: 64px;
    background: linear-gradient(270deg, #000, #0e0e0e, #363636);

}

.line {
    width: 170px;
    height: 14px;
    clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
    top: 69%;
    background: linear-gradient(270deg, #000, #0e0e0e, #363636);

}

.line2 {
    width: 170px;
    height: 14px;
    clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
    top: 75%;
    background: linear-gradient(270deg, #000, #0e0e0e, #363636);
}

.gallery-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    font-size: 24px;
    text-shadow: 0 0 10px #000;
        font-family: 'Playfair Display', serif;

}

.table>:not(caption)>*>* {
   color: #E0E0E0;
  background-color: transparent !important;
}

.carousel-control-next:hover, .carousel-control-prev:hover {
background-color: #00000000;
}

/* ---// --- new sections css ---// --- */


.hero-x {
    background-image: url('../gallery/media/woodclad2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    width: auto;
    height: 150px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed; /* This makes the magic */
    overflow: hidden; /* Prevent weird scroll bugs */


}

.hero-x h1 { 
    color:#fff; 
}

/* index page  */

.serv ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
    width: auto;
    flex-wrap: wrap;
}



/* gallery controls */

#gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* grid-auto-flow: column;
    grid-auto-columns: 80%; */
   
    /* overscroll-behavior-inline: contain; */
    /* border-bottom: 2px solid #000080; */
}

.snap-inline {
    scroll-snap-type: inline mandatory;
}

.snap-inline > * {
    scroll-snap-align: start;
}


.gallery-item {
    border: 0 1px solid #000080;
    margin: 10px;
} 

.gallery-item img {
    margin: 0;
    padding: 0;
    border-radius: 0;
    inline-size: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 300px;
    height: 400px;
}

#image-viewer {
    position: fixed;
    inset: 0; 
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 9999;
}

#image-viewer.open {
    opacity: 1;
    pointer-events: auto;
}

#viewer-img {
    max-width: 90%;
    max-height: 90%;
    user-select: none;
}

#viewer-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* arrow */

.viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 5px 10px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    transition: background 0.2s;
}

.viewer-arrow:hover {
    background: rgba(0,0,0,0.7);
}

#viewer-prev {
    left: 20px;
}

#viewer-next {
    right: 20px;
}

a .nav-link:active {
    color: #ffd700 !important;
}

.logo {
    /* width: 50px; */
    /* height: 60px; */
}

.navbar-brand {
    display: inline-flex;      /* remove inline jitter */
    align-items: center;
    height: 48px;              /* lock height */
    padding: 0;                /* no hover padding */
    will-change: transform;    /* hint GPU */
    transition: transform 0.2s ease;
}

.navbar-brand img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand::before,
.navbar-brand::after {
    pointer-events: none;
}
