@media (min-width: 1680px) {
    .container {
        max-width: 1580px;
    }

}

@media (min-width: 1681px) {
    .container {
        max-width: 85%;
    }
}

@media only screen and (max-width: 1500px) {
    .studio-section img {
        max-height: 900px;
    }

    .instagram-image {
        height: 85%;
    }
}

@media only screen and (max-width: 1370px) {
    nav.navbar .nav-item {
        padding: 0 25px;
    }
}

@media only screen and (max-width: 1280px) {
    nav.navbar .nav-item {
        padding: 0 30px;
    }

    .studio-section img {
        max-height: 750px;
    }

    .instagram-image {
        height: 82%;
    }
}

@media only screen and (max-width: 1024px) {
    nav.navbar .nav-item {
        padding: 0 15px;
    }

    .footer-section ul.pl-25 {
        padding-left: 10%;
    }
}

@media only screen and (max-width: 800px) {

    .hero-section .bg-rotating-image-container {
        min-width: 50%;
        max-width: 60%;
        width: 60%;
    }

    #services {
        position: relative;
        padding: 50px 0;
    }

    #services h2 {
        font-size: 24px;
    }

    #services .card-body h5 {
        font-size: 2.5rem;
        line-height: 1;
    }

    .portfolio-section {
        padding: 50px 0;
    }

    .portfolio-section p {
        font-size: 32px;
    }

    .portfolio-section p > span {
        font-weight: 400;
        font-size: 60px;
    }

    .portfolio-section .btn-outline-light {
        padding: 10px 25px;
        font-size: 22px;
    }

    #testimonial {
        padding: 75px 0;
    }

    .testimonial-title {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .testimonial-quote {
        font-size: 24px;
        margin: 0 auto 40px;
    }

    .testimonial-author {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }

    .brand-item {
        max-width: 150px;
        padding: 0;
    }

    .studio-content-box {
        padding: 50px 0;
    }

    .studio-content {
        max-width: 90%;
    }

    .studio-description {
        font-size: 20px;
    }

    .contact-section {
        padding: 75px 0;
    }

    .contact-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 20px;
    }

    .contact-icon span {
        font-size: 20px;
    }

    .contact-icon i {
        font-size: 20px;
    }

    footer {
        padding: 50px 0 25px;
    }

    .footer-section ul li {
        font-size: 18px;
    }

    footer .text-center.small {
        font-size: 18px;
    }

    .footer-section ul.pl-25 {
        padding-left: 30%;
    }

    .instagram-image {
        height: 70%;
    }
}


/* Offcanvas Menu Styles */
.fullscreen-offcanvas {
    width: 100vw !important;
    height: 100vh !important;
    background-color: var(--background-color);
    /* Add transition for the menu itself */
    transition: transform 0.5s ease-in-out;
}

/* Animation for the offcanvas when it's showing */
.offcanvas.showing {
    transform: translateX(100%);
    animation: slideIn 0.5s forwards;
}

/* Animation for the offcanvas when it's hiding */
.offcanvas.hiding {
    animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.fullscreen-offcanvas .offcanvas-header {
    padding: 1.5rem;
    justify-content: space-between;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.2s;
}

.fullscreen-offcanvas .offcanvas-body {
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.3s;
}

.fullscreen-offcanvas .navbar-nav {
    width: 100%;
}

.fullscreen-offcanvas .nav-item {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

/* Staggered animation delay for nav items */
.fullscreen-offcanvas .nav-item:nth-child(1) {
    animation-delay: 0.4s;
}

.fullscreen-offcanvas .nav-item:nth-child(2) {
    animation-delay: 0.5s;
}

.fullscreen-offcanvas .nav-item:nth-child(3) {
    animation-delay: 0.6s;
}

.fullscreen-offcanvas .nav-item:nth-child(4) {
    animation-delay: 0.7s;
}

.fullscreen-offcanvas .nav-item:nth-child(5) {
    animation-delay: 0.8s;
}

.fullscreen-offcanvas .nav-link {
    font-size: 28px !important;
    text-align: center;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.fullscreen-offcanvas .nav-link:hover {
    color: #C7BBAB !important;
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 500px) {

    nav .navbar-brand img {
        max-width: 100px;
    }

    /*.hero-section .bg-rotating-image {
        animation: scroll 15s linear infinite;
    }*/
    .hero-section .bg-rotating-image-container {
        min-width: 80%;
        max-width: 90%;
        width: 90%;
    }

    .hero-section .bg-rotating-image {
        animation: scroll 45s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-900%);
        }
    }

    #home {
        height: 65vh !important;
    }

    #home .translate-middle {
        width: 80%;
    }

    .hero-section h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .banner-text {
        font-size: 18px;
        margin-bottom: 0 !important;
        text-align: left;
    }

    .banner-text-section {
        padding: 1rem 0 !important;
    }

    .testimonial-title {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .testimonial-slide {
        padding: 0 5%;
    }

    .testimonial-quote {
        font-size: 20px;
        margin: 0 auto 40px;
    }

    .testimonial-author {
        font-size: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .brand-item {
        max-width: 150px;
        padding: 0;
    }

    .studio-section {
        padding: 0 0;
    }

    .studio-content-box {
        padding: 20px 0;
    }

    .studio-content {
        max-width: 90%;
    }

    .studio-description {
        font-size: 18px;
        margin-bottom: 0;
        text-align: left;
        padding: 0;
    }

    #follow-us h2 {
        font-size: 18px;
        padding: 0 15px;
    }

    #follow-us p {
        font-size: 20px;
        padding: 0 15px;
    }

    /* Responsive Instagram Post Styling */
    .instagram-post {
        margin-bottom: 15px;
    }

    .instagram-header {
        padding: 8px;
    }

    .profile-pic {
        width: 28px;
        height: 28px;
    }

    .username {
        font-size: 12px;
    }

    .options i {
        font-size: 14px;
    }

    .instagram-actions {
        padding: 8px;
    }

    .action-icons i {
        font-size: 18px;
        margin-right: 12px;
    }

    .bookmark i {
        font-size: 18px;
    }

    .instagram-likes {
        font-size: 12px;
        padding: 0 8px 4px;
    }

    .instagram-caption {
        font-size: 12px;
        padding: 0 8px 12px;
    }

    .contact-icon img {
        width: 35px;
        height: 35px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 20px;
    }

    .contact-icon span {
        font-size: 20px;
        color: #000;
    }

    .contact-icon i {
        font-size: 20px;
    }

    footer {
        padding: 50px 0 25px;
    }

    .footer-section ul li {
        font-size: 18px;
        color: #000;
    }

    .bx-1 {
        padding: 30px 0;
        border-right: 0;
        border-left: 0;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    footer .text-center.small {
        font-size: 18px;
    }

    footer img {
        max-width: 125px !important;
    }

    .footer-section ul li i {
        margin-right: 10px !important;
    }

    .instagram-image {
        height: 85%;
    }
}
