:root {
    /* Colors */
    --color-primary: #013A63;
    --color-secondary: #F8F9FA;
    --color-accent: #D4AF37;
    --color-white: #fff;
    --color-body-font: #4D4D4D;
    /* Typography */
    --font-heading: "Prata", serif;
    --font-body: "Open Sans", sans-serif;
    --fs-base: 16px;
    --fs-sm: 0.875rem;
    --fs-lg: 1.125rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.py-50 {
    padding: 50px 0;
}

.mb-50 {
    margin-bottom: 50px;
}

.py-100 {
    padding: 100px 0;
}

.py-200 {
    padding: 200px 0;
}

.my-100 {
    margin: 100px 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-secondary);
    overflow-x: hidden;
    color: var(--color-body-font);
}

h1 {
    font-size: 80px;
    line-height: 1.3;
}

h2 {
    font-size: 60px;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.fw-semibold{
    font-weight: 600;
}

.nav-scrolled{
    background-color: rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(10px)
}

.navbar-collapse {
    justify-content: end;
}

.navbar-brand img {
    width: 100px;
    height: 60px;
}

.nav-item {
    margin-right: 35px;
    font-size: 1.125rem;
}

.nav-item a {
    color: var(--color-white);
}

.nav-item:last-child {
    margin-right: 0;
}

.hero-banner-section {
    position: relative;
}

.hero-banner-section video {
    /* position: absolute; */
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-banner-section::after {
    position: absolute;
    inset: 0;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    bottom: 5px;
}

.hero-section-content {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    color: var(--color-white);
    z-index: 9;
    text-align: center;
    max-width: 1125px;
}

.hero-section-content p {
    font-size: 24px;
}

.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 600;
    font-size: 1.25rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.btn-primary img {
    width: 24px;
    height: 24px;
    margin-left: 1rem;
}

.hero-section-content .btn {
    margin-top: 30px;
}

.hero-banner-section .btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:focus,
.btn-primary:active:focus {
    box-shadow: none;
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.about-section {
    background: url(./assets/about-bg.png) no-repeat center/cover;
    padding: 200px 0;
}

.about-section img {
    border-radius: 10px;
}

.about-section .btn {
    margin-top: 20px;
}

.autoplay {
    margin: 0 -15px;
}

.autoplay .card {
    width: auto !important;
    max-width: 100%;
    margin: 15px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 10px;
    border: none;
    transition: 0.2s ease-in all;
}

.autoplay .card h3 {
    color: var(--color-primary);
}

.autoplay .card:hover {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.autoplay .card video {
    width: calc(100% - 40px);
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

.performance-content {
    max-width: 975px;
    margin: auto;
    cursor: pointer;
}

.slick-dots li button:before {
    font-size: 10px;
    line-height: 1;
    color: var(--color-accent);
}

.slick-dots li.slick-active button:before {
    color: var(--color-accent);
}

.skills-showcase {
    background: url(./assets/skills-bg.svg) no-repeat center 10px;
    padding-bottom: 250px;
}

.skills-showcase h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.skills-showcase .row {
    display: flex;
    gap: 16px;
    align-items: stretch;
    /* ensure all cards match row height */
    height: 200px;
    /* fixed height prevents vertical reflow */
}


.skills-showcase .col-md-3 {
    flex: 1 1 0%;
    min-width: 0;
    transition: flex 0.9s cubic-bezier(.2, .8, .2, 1);
    will-change: flex;
    cursor: pointer;
}

.skills-showcase .col-md-3 .card {
    border-radius: 10px;
    border: none;
    /* height: 100%;  */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}

.skills-showcase .col-md-3 .card-body p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.skills-showcase .col-md-3:hover {
    flex: 3 1 0%;
    z-index: 2;
}

.skills-showcase .col-md-3 .card-body {
    transition: transform 0.25s ease;
    white-space: normal;
    flex: 1 1 auto;
    overflow: hidden;
    /* default: clipped */
    padding: 1rem;
}

.skills-showcase .col-md-3:hover .card-body p {
    text-overflow: unset;
    overflow: auto;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.skills-showcase .col-md-3 img {
    width: 80px;
    height: 80px;
    display: inline-block;
    margin: auto;
}

/* Skills Modal Styling */
#skillsModal .modal-content {
    border-radius: 10px;
    border: none;
}

#skillsModal .modal-body {
    padding: 2rem;
}

#skills-modal-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

#skills-modal-icon img {
    width: 80px;
    height: 80px;
    display: inline-block;
}

#skills-modal-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#skills-modal-content {
    color: var(--color-body-font);
    font-size: 1rem;
    line-height: 1.6;
    white-space: normal;
    word-wrap: break-word;
}

.gallery-grid>.container .gallery-grid-loaded :first-of-type>[class*="col-"] img {
    height: 450px;
    width: 100%;
    display: block;
    object-fit: cover;
}

.gallery-grid>.container .gallery-grid-loaded :nth-of-type(2)>.col-md-3 img {
    height: 100%;
}

.gallery-grid>.container .gallery-grid-loaded :nth-of-type(2)>.col-md-3 img,
.gallery-grid>.container .gallery-grid-loaded :nth-of-type(2)>.col-md-4 img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-width: 100%;
}

.gallery-grid>.container .gallery-grid-loaded :nth-of-type(2)>.col-md-5 img {
    width: 713px;
    height: 100%;
}

.gallery-grid>.container .gallery-grid-loaded :nth-of-type(2)>.col-md-4 img {
    height: 360px;
}

.gallery-grid .row > [class*="col-"],
.gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), filter 0.45s ease;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-grid .row > [class*="col-"] img,
.gallery-grid .gallery-item {
  border-radius: 10px;
}

.gallery-grid .row > [class*="col-"] img:hover,
.gallery-grid .gallery-item:hover img {
  transform: scale(1.08);
  filter: contrast(1.03);
}

#loadMore {
    margin-top: 2.5rem;
}

.testimonial-section {
    background: url(./assets/testimonial-bg.svg) no-repeat center/cover;
}

.testimonial-card {
    max-width: 1020px;
    width: 100%;
    margin: auto;
    display: block !important;
}

.testimonial-card hr {
    display: block;
    width: calc(100% - 400px);
    margin: 25px auto;
}

.commenter img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 1rem;
}

.commenter p{
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.commenter small{
    font-weight: 300;
    color: var(--color-body-font);
}

.testimonial-section .slick-dots{
    bottom: -65px;
}

.performance-showcase .slick-dots{
    bottom: -45px;
}

.contact-section{
    background: url(./assets/contactbg.svg) no-repeat center/cover;
}

.contact-section h2{
    color: var(--color-white);
}

.contact-section button{
    width: auto;
    display: block;
    margin: auto;
}

.contact-section form{
    max-width: 1210px;
    margin: auto;
}

.contact-section textarea{
    max-width: calc(100% - 16px);
    margin: 30px auto;
    border-radius: 5px;
    border: none;
    padding: 20px;
}

.contact-section input.form-control{
    padding: 16px 20px;
}
.booking-details{
    margin-top: 2.5rem;
}

.booking-details, .booking-details a{
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.5rem;
}

.booking-details span:first-of-type{
    margin-right: 70px;
}

.booking-details p{
    margin-right: 40px;
}

footer{
    background-color: var(--color-primary);
    color: var(--color-white);
}

.footer-top{
    padding: 50px 0;
}

footer .logo img{
    height: 120px;
    width: 200px;
}

footer ul{
    padding-left: 0;
}

footer li{
    list-style: none;
}

.quick-links{
    gap: 30px;
    margin: 15px 0 30px 0;
}

.quick-links a{
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    font-size: 18px;
}

.social-links{
    margin-bottom: 0;
    gap: 30px;
}
.social-links li{
    height: 60px;
    width: 60px;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright{
    border-top: 1px solid var(--color-white);
    padding: 20px;
}

.copyright p{
    margin-bottom: 0;
    font-weight: 300;
    font-size: 0.875rem;
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 1770px;
    }
    .navbar-close-btn{
        display: none;
    }
}

@media screen and (max-width: 1599px) {
    h1 {
        font-size: 60px;
        line-height: 1.3;
    }
}

/* Responsive navbar - slide from right to left */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 40px;
        line-height: 1.3;
    }
    .hero-section-content p {
        font-size: 1.25rem;
    }

    .btn-primary {
        font-size: 1rem;
    }

    .about-section .row{
        flex-direction: column;
    }

    .w-md-100 {
        width: 100% ;
        max-width: 100%;
        height: auto;
    }
    .autoplay {
        margin: 0;
    }

    .about-section img {
        margin-bottom: 1rem;
    }

    .about-section .btn img {
        margin-bottom: 0;
    }
    h2 {
        font-size: 30px;
        line-height: 1.3;
    }
    .py-100{
        padding: 60px 0;
    }

    .py-200 {
        padding: 150px 0;
    }

    /* Small screens - full width, stack vertically */
    .skills-showcase .row {
        height: auto;
        gap: 0;
    }

    .skills-showcase .col-md-3 {
        width: 50% ;
        flex: 0 0 auto;
        margin-bottom: 1rem;
    }

    .skills-showcase .col-md-3:last-child {
        margin-bottom: 0;
    }

    .skills-showcase .col-md-3:hover {
        flex: 1 1 0% ; 
        width: 50% ; 
    }

    .skills-showcase .col-md-3:hover{
        flex: unset;
        width: 50%;
    }
    

    .skills-showcase .col-md-3:hover .card-body p {
        text-overflow: ellipsis; 
        overflow: hidden;
        -webkit-line-clamp: 1; 
        -webkit-box-orient: vertical;
    }

    .gallery-grid-loaded .row > div{
        width: 50%;
    }
    .gallery-grid-loaded .row {
        --bs-gutter-y: 1.25rem
    }
    .gallery-grid-loaded .row.mt-4{
        margin-top: 0.25rem !important;
    }

    .booking-details {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .booking-details >*{
        margin-right: 0 !important;
        font-size: 1.25rem;
        font-weight: normal;
    }
    .booking-details, .booking-details a{
        font-size: 1.25rem;
    }
    .booking-details img{
        width: 40px;
        height: 40px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-accent);
        backdrop-filter: blur(10px);
        padding: 80px 30px 30px 30px;
        transition: right 0.3s ease-in-out;
        z-index:9999;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .navbar-collapse.show {
        right: 0;
    }

    /* Close button */
    .navbar-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: var(--color-white);
        cursor: pointer;
        padding: 10px;
        display: block;
        text-align: center;
        line-height: 1;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: background-color 0.3s ease, transform 0.2s ease;
        z-index: 10000;
    }

    .navbar-close-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

    .navbar-close-btn:active {
        transform: rotate(90deg) scale(0.95);
    }

    .navbar-close-btn svg {
        width: 24px;
        height: 24px;
        stroke: var(--color-white);
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .nav-item a {
        display: block;
        padding: 10px 0;
        font-size: 1.25rem;
    }
    .gallery-grid>.container .gallery-grid-loaded :nth-of-type(2)>.col-md-5 img,
    .gallery-grid>.container .gallery-grid-loaded :first-of-type>[class*="col-"] img{
        width: 100%;
        height: 100%;
    }
    .commenter p{
        font-size: 1.25rem;
    }
    .quick-links a{
        font-size: 0.875rem;
    }
    .commenter img{
        width: 70px;
        height: 70px;
    }
    .navbar-toggler:focus,
    .btn-close:focus {
        box-shadow: none;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    h2 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 0.875rem;
    }
    .py-100{
        padding: 40px 0;
    }
    .py-200 {
        padding: 100px 0;
    }
    .hero-section-content .btn {
        margin-top: 0;
    }
    .hero-section-content p{
        display: none;
    }
    .btn-primary {
        font-size: 0.75rem;
        padding: 0.1rem 0.75rem;
    }
    body{
        font-size: 0.875rem;
    }
    .about-section p{
        margin-bottom: 0;
    }
    .skills-showcase .col-md-3, .skills-showcase .col-md-6, .skills-showcase .col-lg-3 {
        width: 100%;
    }
    .skills-showcase .col-md-3:hover, .skills-showcase .col-md-6:hover, .skills-showcase .col-lg-3:hover {
        flex: unset;
        width: 100%;
    }
    .skills-showcase .col-md-3 .card{
        padding: 0.875rem;
    }
    .gallery-grid-loaded .row > div{
        width: 100%;
    }
    h2.mb-5{
        margin-bottom: 1rem !important;
    }
    .commenter p{
        font-size: 1rem;
    }
    .contact-section input.form-control,
    .contact-section textarea {
        padding: 10px 16px;
    }
    .contact-section input::placeholder,
    .contact-section textarea::placeholder{
        font-size: 0.75rem;
    }
    .contact-section textarea{
        margin: 1rem auto;
        max-width: calc(100% - 18px);
    }
    .contact-section .row .col{
        width: 100%;
        flex: 0 0 100% !important;
    }
    .booking-details >*, .booking-details, .booking-details a{
        font-size: 0.875rem;
    }
    .booking-details img{
        width: 20px;
        height: 20px;
        margin-right: 0.5rem !important;
    }
    .navbar-toggler{
        margin-right: 12px;
    }
    .navbar-close-btn{
        margin-right: 20px;
    }
}