@font-face {
    font-family: 'clash';
    src: url('ClashDisplay_Complete/Fonts/OTF/ClashDisplay-Regular.otf');
}

@font-face {
    font-family: 'norman';
    src: url('fonnts.com-Norman-.otf');
}

@font-face {
    font-family: 'variable';
    src: url('ClashDisplay_Complete/Fonts/TTF/ClashDisplay-Variable.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    margin: 0;
    padding: 0;
    /* font-family: 'Montserrat', sans-serif; */
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    user-select: none;
}

/* Custom Cursor Styles */
.cursor {
    width: 20px;
    height: 20px;
    background: #b44414;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor.hover {
    transform: scale(2);
    background: rgba(255, 255, 255, 0.8);
}

/* Hide default cursor */
* {
    cursor: none;
}

/* Show default cursor for touch devices */
@media (hover: none) {
    .cursor {
        display: none;
    }

    * {
        cursor: auto;
    }
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    gap: 60px;
    top: 0;
    width: 100%;
    z-index: 100;
    color: white;
    transition: transform 0.4s ease, background-color 0.3s ease;
    background-color: #b44414;
}

.nav-links {
    display: flex;
    gap: 60px;
}

/* Add a class for hiding navbar */
.navbar--hidden {
    transform: translateY(-100%);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'variable';
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}


.nav-logo {
    height: 50px;
    width: auto;
}

/* close  */

/* Tile Categories Styles */
#page1 {
    padding: 80px 0;
    width: 100%;
    max-width: 1400px;
    margin: 100px auto 0;
}

.box-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.box {
    padding: 30px 80px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    /* cursor: pointer; */
    font-family: 'variable';
    font-size: 1.1rem;
    font-weight: 500;
    color: #232323;
    transition: all 0.3s ease;
    position: relative;
}

.box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #B44414;
    transition: width 0.3s ease;
}

.box:hover {
    border-color: #B44414;
    /* transform: translateY(-3px); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.box:hover::after,
.box.active::after {
    width: 100%;
}

.box.active {
    color: #B44414;
    border-color: #B44414;
}

.content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Content Items Styles */
.all-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.all-content:hover {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(165, 165, 165, 0.325);
    border-top: 1px solid rgba(165, 165, 165, 0.325);
}


.image-container {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.image-container img {
    width: 160px;
    height: 80px;
    background-size: cover;
    transition: transform 0.10s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-small h2 {
    font-size: 1rem;
    font-weight: 400;
    font-family: c;
    color: #c1c1c1;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(5px);
}

.all-content:hover .image-container img {
    opacity: 1;
    transform: translateY(0);
}

.all-content:hover .content-small h2 {
    opacity: 1;
    transform: translateY(0);
}

/* Add staggered animation for multiple images */
.all-content:hover .image-container img:nth-child(2) {
    transition-delay: 0.1s;
}

.all-content:hover .image-container img:nth-child(3) {
    transition-delay: 0.2s;
}

.image-container img:hover {
    transform: scale(1.05);
}

.content-text h1 {
    font-size: 4rem;
    font-weight: 400;
    font-family: 'norman';
    margin-bottom: 10px;
    margin-right: 90px;
    letter-spacing: 2px;
}

.content-small h2 {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'variable';
    color: #c1c1c1;
    /* cursor: pointer; */
    transition: all 0.3s ease;
    opacity: 0;
}

.content-small h2:hover {
    /* cursor: pointer; */
    color: #B44414;
    transform: translateX(5px);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .box-container {
        gap: 20px;
        margin-bottom: 40px;
    }

    .box {
        padding: 20px 60px;
    }

    .content-text h1 {
        font-size: 4rem;
        margin-right: 100px;
    }
}

@media screen and (max-width: 992px) {

    .box-container {
        gap: 15px;
        margin-bottom: 30px;
    }

    .box {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .image-container {
        gap: 15px;
    }

    .image-container img {
        width: calc(33.33% - 10px);
        height: 70px;
    }

    .content-text h1 {
        font-size: 3rem;
        margin-right: 80px;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 768px) {
    .box-container {
        gap: 10px;
        margin-bottom: 25px;
    }

    .box {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .image-container img {
        width: calc(50% - 7.5px);
        height: 60px;
    }

    .content-text h1 {
        font-size: 2.5rem;
        margin-right: 60px;
    }

    .content-small h2 {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {

    .box {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: calc(50% - 10px);
        text-align: center;
    }

    .image-container {
        gap: 10px;
    }

    .image-container img {
        width: 100%;
        height: 50px;
    }

    .content-text h1 {
        font-size: 2rem;
        margin-right: 40px;
        letter-spacing: 0.5px;
    }

    .content-small h2 {
        font-size: 0.85rem;
    }

    .all-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* close  */


/* Footer Styles */
.footer-section {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: #B44414;
    color: #ffffff;
    padding: 60px 80px;
    width: 100%;
    font-family: 'variable', sans-serif;
}

.footer-container {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    width: 90vw;
}

.footer-logo-section {
    flex: 100%;
    margin-bottom: 40px;
    max-width: 550px;
    /* margin-right: 50px; */
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-description {
    font-family: 'variable';
    /* width: 80%; */
    font-size: 1.2rem;
    line-height: 1.6;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-social {
    width: 90vw;
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #ffffff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #B44414;
}

.footer-links-section {
    display: flex;
    /* gap: 20px; */
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-links-column {
    /* flex: 0 0 calc(33.333% - 50px); */
    width: 550px;
    display: flex;
    align-items: flex-start;
    justify-content: start;
    flex-direction: column;
    margin-bottom: 30px;
    padding: 20px;
    padding-top: 0px;
}

.footer-column-title {
    font-family: 'clash';
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #B44414;
}

.footerlink {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.footer-links {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact-info li {
    max-width: 100%;
    letter-spacing: 2px;
    margin-bottom: 0.875rem;
    cursor: none;
}

.footer-links a {
    width: 100%;
    white-space: nowrap;
    font-family: 'variable';
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: none;
}

.footer-links a:hover {
    opacity: 1;
    color: #000000;
    /* padding-left: 5px; */
}

.footer-contact-info li {
    font-family: 'variable';
    font-size: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.9;
}

.footer-contact-info i {
    color: #B44414;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100vw;
    /* margin: 0 auto; */
}

.copyright {
    align-items: start;
    font-family: 'variable';
    font-size: 1rem;
    letter-spacing: 2px;
    margin-left: 100px;
    opacity: 0.9;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 1rem;
    font-family: variable;
    letter-spacing: 1.2px;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    margin-right: 200px;
}

.footer-bottom-links a:hover {
    opacity: 1;
}



/* Responsive Footer */
@media only screen and (max-width: 992px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-logo-section {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .footer-links-section {
        width: 100%;

    }

    .footer-links-column {
        flex: 0 0 calc(50% - 15px);
    }
}

@media only screen and (max-width: 768px) {
    .footer-links-column {
        flex: 0 0 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom-links {
        /* justify-content: center; */
        padding: 20px;
    }
}

.view-more-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease;
}

.view-more-link:hover {
    transform: translateX(10px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {

    .navbar {
        width: 100vw;
        padding: 20px 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        /* position: absolute;
        right: 30px;
        top: 30px; */
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.active {
        width: 100%;
        height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        /* margin: 15px 0; */
    }

    .nav-link {
        display: flex;
        justify-content: center;
        align-items: center;
        /* margin: 15px 0; */
        font-size: 1rem;
    }

    .nav-logo {
        height: 40px;
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 5px;
        transition: all 0.3s ease;
    }

    /* Page Content */
    #page1 {
        padding: 60px 20px;
        margin-top: 80px;
    }

    .box-container {
        gap: 15px;
        margin-bottom: 30px;
    }

    .box {
        padding: 15px 30px;
        font-size: 0.9rem;
        width: calc(50% - 15px);
    }

    .all-content {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px 10px;
    }

    .content.active{
        width: 100%;
    }

    .image-container {
        display: none;
        /* width: 100%; */
        justify-content: flex-start;
        margin: 10px 0;
    }

    .image-container img {
        width: 120px;
        height: 60px;
        opacity: 1;
        transform: translateX(0);
    }

    .content-text h1 {
        font-size: 2rem;
        margin: 10px 0;
    }

    .content-small h2 {
        font-size: 0.9rem;
        opacity: 1;
        transform: translateY(0);
    }

    .content-small{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer Styles */
    .footer-container {
        /* padding: 40px 20px; */
    }

    .footer-logo-section {
        /* text-align: center; */
        margin-bottom: 30px;
    }

    .footer-description {
        font-size: 1rem;
    }

    .footer-links {
        padding-bottom: 10px;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .footer-links-section {
        flex-direction: column;
        /* gap: 30px; */
    }

    .footer-links-column {
        /* width: 100%; */
        /* text-align: center; */
        padding: 0%;
    }

    .footer-bottom-links a {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .copyright {
        text-align: start;
        padding-left: 20px;
        margin: 0;
        letter-spacing: 0.5px;
    }
}

@media screen and (max-width: 480px) {
    .box {
        width: 100%;
    }

    .image-container img {
        width: 100px;
        height: 50px;
    }

    .content-text h1 {
        font-size: 1.5rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-info li {
        font-size: 1rem;
    }

    .cursor {
        display: none;

    }

    body{
        width: 100%;
        height: auto;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    *{
        overflow-x: hidden;

    }

}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .all-content:hover {
        border: none;
    }

    .image-container img {
        opacity: 1;
        transform: translateX(0);
    }

    .content-small h2 {
        opacity: 1;
        transform: translateY(0);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    /* cursor: pointer; */
    z-index: 1002;
}

.hamburger div {
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.4s;
}

/* Hide nav links and show hamburger on mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 30px;
        top: 30px;
    }
}

/* Overlay menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #b34716;
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.mobile-menu-list li {
    margin: 30px 0;
}

.mobile-menu-list a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 1px;
    font-family: 'variable', sans-serif;
    font-weight: 400;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 35px;
    font-size: 3rem;
    color: #fff;
    /* cursor: pointer; */
    z-index: 2001;
}