@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;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: none;
    user-select: none;
}

/* Custom Cursor Styles */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #b44414;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    background-color: #b44414;
    z-index: 9999;
    transition: transform 0.2s ease;
    /* margin: -10px; */
}


.cursor::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #B44414;
    background-color: #B44414;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    /* mix-blend-mode: difference; */
    transform: translate(-50%, -50%);
    z-index: 9999;
}


/* 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  */

#page1 {
    padding: 80px 0;
    width: 100%;
    display: flex;
    align-self: start;
    justify-content: start;
    text-align: start;
    flex-direction: column;
}


.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: start;
    justify-content: start;
    text-align: start;
    flex-direction: column;
    text-decoration: none;
    cursor: none;
}

.row-1 a {
    text-decoration: none;
}

.row-2 a {
    text-decoration: none;
}

.row-1 {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 0px;
    margin-left: 70px;
}

.row-2 {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 0px;
    margin-left: 300px;
}

.image-container {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.image-container img {
    width: 300px;
    height: 600px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.95;
    transform: translateY(0);
    filter: brightness(0.95);
}

.all-content h1 {
    font-family: 'variable';
    font-size: 1.2rem;
    font-weight: 400;
    color: #000000;
}


/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .row-1 {
        width: 95vw;
        margin-left: 20px;
        gap: 20px;
    }

    .row-2 {
        width: 95vw;
        margin-left: 20px;
        gap: 20px;
    }

    .image-container img {
        width: 250px;
        height: 500px;
    }
}

@media screen and (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
        gap: 30px;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .nav-logo {
        width: 130px;
        height: 40px;
    }

    .preview-header h1 {
        font-size: 3rem;
    }

    .tile-design p {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }

    .box {
        padding: 20px 40px;
        font-size: 1rem;
    }

    .row-1 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .all-content {
        width: 45%;
    }

    .image-container img {
        width: 100%;
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px;
        gap: 15px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .preview-header {
        margin-top: 100px;
    }

    .preview-header h1 {
        font-size: 2.5rem;
    }

    .tile-design {
        margin-top: 40px;
    }

    .tile-design p {
        font-size: 1rem;
        line-height: 1.6rem;
        padding: 0 20px;
    }

    .tile-design img {
        height: 50vh;
    }

    .box-container {
        gap: 15px;
        padding: 0 10px;
    }

    .box {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .row-1 {
        margin-left: 10px;
    }

    .all-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .image-container {
        margin: 10px 0;
    }

    .image-container img {
        height: 350px;
    }

    .all-content h1 {
        font-size: 1.2rem;
        text-align: center;
    }
}


/* Animation Adjustments for Mobile */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .cursor {
        display: none;
    }

    body {
        cursor: auto;
    }

    .box:hover::after,
    .box.active::after {
        width: 0;
    }

    .box.active::after {
        width: 100%;
    }
}

.tile-design {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
    margin-top: 60px;
}

.tile-design p {
    max-width: 90vw;
    font-family: 'variable';
    font-size: 1.3rem;
    letter-spacing: 1px;
    line-height: 2rem;
    margin-bottom: 30px;
    color: #0000009e;
}

.tile-design img {
    width: 90vw;
    height: 90vh;
}

.box-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    /* margin-top: 50px; */
    flex-wrap: wrap;
}

/* Header Styles */
.preview-header {
    width: 100%;
    margin-top: 150px;
    text-align: center;
}

.preview-header h1 {
    font-family: 'norman';
    font-size: 4rem;
    color: #000000;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Footer */
@media(max-width: 480px) {

    body {
        overflow-x: hidden;
    }

    .preview-header h1 {
        font-size: 2.5rem;
        font-weight: 500;
        letter-spacing: 2px;
    }

    .tile-design p {
        width: 100vw;
        padding: 0px;
        line-height: 1.5rem;
        font-size: 1rem;
    }

    .tile-design {
        margin: 0;
        padding: 10px;
    }

    .tile-design img {
        width: 100%;
        height: 30vh;
        object-fit: cover;
        background-size: cover;
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.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: 30px;
    font-size: 3rem;
    color: #fff;
    /* cursor: pointer; */
    z-index: 2001;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        justify-content: space-between;
        padding: 20px 25px;
    }
}

/* Reduced Motion Styles */
.reduced-motion * {
    animation: none !important;
    transition: none !important;
}

/* Touch Device Styles */
@media (hover: none) {
    .box:hover {
        transform: none;
    }

    .image-container img:hover {
        transform: none;
        filter: none;
    }
}


@media screen and (max-width: 768px) {
    .cursor {
        display: none;
    }

    * {
        cursor: auto;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 1200px) {
    .row-1 {
        width: 95vw;
        /* margin-left: 20px; */
        gap: 20px;
    }

    .row-2 {
        width: 95vw;
        margin-left: 20px;
        gap: 20px;
    }

    .image-container img {
        width: 250px;
        height: 500px;
    }
}

@media screen and (max-width: 480px) {
    .row-1 {
        width: 95vw;
        /* margin-left: 20px; */
        gap: 20px;
    }

    .row-2 {
        width: 95vw;
        margin-left: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .image-container img {
        width: 250px;
        height: 500px;
    }

}



/* 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 100PX;
    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;
    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: 100px;
}

.footer-bottom-links a:hover {
    opacity: 1;
}



/* Responsive Footer */
@media only screen and (max-width: 992px) {


    .footer-column-title {
        overflow: hidden;
    }

    .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-contact-info li {
        font-size: 1rem;
    }

    .footer-links-column {
        flex: 0 0 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
        padding: 0px;
    }


    /* 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 {
        display: flex;
        justify-content: start;
        align-items: start;
        padding: 10px;
        flex-direction: column;
        gap: 15px;
        text-align: start;
    }

    .copyright {
        padding: 0;
        margin: 0;
    }
}