@import "tailwindcss";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Define the regular font */
@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/Neue_Montreal/NeueMontreal-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Define the medium font */
@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/Neue_Montreal/NeueMontreal-Medium.otf') format('opentype');
    font-weight: 600;
    /* Medium */
    font-style: medium;
}

/* Define the light font */
@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/Neue_Montreal/NeueMontreal-Light.otf') format('opentype');
    font-weight: lighter;
    font-style: thin;
}

/* Define the bold font */
@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/Funnel_Sans/FunnelSans-Bold.ttf') format('opentype');
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/Funnel_Sans/FunnelSans-ExtraBold.ttf') format('opentype');
    font-weight: 800;
    font-style: bold;
}


@font-face {
    font-family: 'Funnel Sans';
    src: url('fonts/Funnel_Sans/FunnelSans-Medium.ttf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

/* Define the medium font */
@font-face {
    font-family: 'Funnel Sans';
    src: url('fonts/Funnel_Sans/FunnelSans-Regular.ttf') format('opentype');
    font-weight: 500;
    /* Medium */
    font-style: normal;
}

/* Define the light font */
@font-face {
    font-family: 'Funnel Sans';
    src: url('fonts/Funnel_Sans/FunnelSans-Light.ttf') format('opentype');
    font-weight: lighter;
    font-style: thin;
}

/* Define the bold font */
@font-face {
    font-family: 'Funnel Sans';
    src: url('fonts/Funnel_Sans/FunnelSans-ExtraBold.ttf') format('opentype');
    font-weight: 800;
    font-style: bold;
}

:root {
    --primary-color: #F59300;
}


/* Apply the font-family throughout the website */
body {
    font-family: "Funnel Sans";
    background-position: 50% 50%;
    background-size: cover;
}

.global_pad {
    padding-inline: 40px;
}

.font-neue-montreal {
    font-family: 'Neue Montreal', sans-serif;

}

.font-funnel-sans {
    font-family: "Funnel Sans", sans-serif;
}

/* Apply the medium weight to headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 800;
    /* Medium */
}

/* Apply the light weight to certain elements */
p.light-text {
    font-family: 'Neue Montreal', sans-serif;
    font-weight: lighter;
    /* Light */
}

.primary--color {
    color: var(--primary-color);
}

.primary--bg {
    background-color: var(--primary-color);
}

.hero {
    background-image: url(images/hero.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 50px;
    background-position-y: 70%;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    text-align: center;

}



a {
    text-decoration: none;
    color: black;
}

.container__max1440 {
    max-width: 1440px;
    margin: 0 auto;
}

.header {
    padding: 50px;
    display: flex;
    justify-content: space-between;
}

.mebtn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 20px;
    outline: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.mebtn.mebtn--bg--grey {
    background-color: #F8F4F4;
    color: black;
}

.mebtn.mebtn--bg--primary {
    background-color: var(--primary-color);
    color: white;
}

.mebtn.mebtn--border--bottom {
    border-bottom: solid 5px var(--primary-color);
    border-radius: 0;
}


nav ul {
    display: flex;
    list-style-type: none;
    align-items: center;
}

nav ul a {
    transition: 0.3s ease;
    cursor: pointer;
}

nav ul li {
    margin-left: 30px;
    font-size: 20px;
}

#large-header {
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    height: 100vh;

}




nav a.fade {
    color: rgb(230, 230, 230) !important;
}

nav a.notfaded {
    color: var(--primary-color) !important;
}

.letstalk {
    transition: 0.3s ease;
}

.letstalk:hover {
    transform: rotate(-10deg);
}




.hero h1 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary-color);
    font-size: 50px;
}


/* magic */
.magic-hidden {
    display: none;
}

.magic-intro-screen,
.magic-result-screen,
.magic-game-screen {
    text-align: center;
}


.magic-card-container {
    margin: 1rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
}

.magic-card-number {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 1rem;
    margin: 0.5rem;
    width: 60px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
}

.magic-card-number:hover {
    transform: scale(1.05);
    background: #333;
}

.magic-choices {
    margin-top: 1rem;
}


.magic-btn-no {
    background-color: crimson !important;
}


.magic-final-number {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}


.card__reveal {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    perspective: 1200px;
    /* Needed for 3D effect */
}

.magic-card {
    width: 220px;
    height: 300px;
    cursor: pointer;
    perspective: 1000px;
}

.magic-card__front,
.magic-card__back {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    padding: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

.magic-card__front {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: black;
    background-image: url(images/cardback.png);
    background-size: cover;
    background-position: 50% 50%;
}

.magic-card__front {
    color: white;
}

.magic-card__back {
    background: linear-gradient(135deg, #ffffff, #ffe6e6);
    color: #000;
    transform: rotateY(180deg);
    font-size: 1rem;
    text-align: center;
    position: relative;
    border: 1px solid #ccc;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 15px;
}

.magic-card__corner {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    text-align: left;
}

.magic-card__number {
    font-size: 1.2rem;
    font-weight: bold;
}

.magic-card__suit {
    font-size: 1rem;
    display: block;
}

.magic-card:hover .magic-card__front {
    transform: rotateY(180deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.magic-card:hover .magic-card__back {
    transform: rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.magic-card.show .magic-card__front {
    transform: rotateY(180deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.magic-card.show .magic-card__back {
    transform: rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}



.magic-card {
    position: relative;
    transform-style: preserve-3d;
}


#cursor-border {
    display: none;

}

#cursor {
    display: none;
    position: fixed;
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    background-color: #ff8400;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999;
}

#cursor-border {
    --size: 50px;
    position: fixed;
    top: calc(var(--size) / -2);
    left: calc(var(--size) / -2);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    box-shadow: 0 0 0 1px #ff8400;
    pointer-events: none;
    transition: top 0.15s ease-out, left 0.15s ease-out, width 0.15s ease-out,
        height 0.15s ease-out, background-color 0.15s ease-out;
    z-index: 999;
}

.services_info {
    border-block: solid 1px var(--primary-color);
    padding-block: 30px;
}

#servicesTabs {
    border-right: solid 1px var(--primary-color);
    padding-right: 35px;
    width: 250px;
}

#contentArea {
    padding-left: 35px;
}

#servicesTabs li {
    white-space: nowrap;
}

.project-card:hover {
    transform: scale(1.05);
}





/* ====================== */
/* Responsive Styles      */
/* ====================== */


@media screen and (max-width: 1080px) {
    .services_info #contentArea {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header {
        background-color: white;
    }

    .hero {
        margin-top: 100px;
        padding-top: 20px;
    }

    .services_info {
        flex-direction: column;
        border-top: none;
        padding-top: 20px;
        margin-top: 40px;
    }

    #contentArea {
        padding: 0;
    }


    #toggleList {
        flex-direction: row;
        overflow: scroll;
        padding-bottom: 20px;
    }

    #toggleList::-webkit-scrollbar {
        display: none;
        /* Hides the scrollbar visually */
    }

    #toggleList li {
        padding: 10px;
        border: solid 1px var(--primary-color);
        border-radius: 50px;
        margin-right: 10px;
        color: var(--primary-color);
    }

    #toggleList li.active {
        background-color: var(--primary-color);
        color: white;
    }

    #servicesTabs {
        border-right: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .header {
        padding: 30px 20px;
        flex-direction: column;
        align-items: flex-end;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
        font-size: 18px;
    }

    .letstalk {
        margin-top: 10px;
    }

    .letstalk:hover {
        transform: none;
    }

    .container__max1440 {
        padding: 0 20px;
    }




    .logo {
        z-index: 999;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.2;
        text-align: center;
        font-weight: 800;
        text-transform: uppercase;
        padding-top: 50px;
    }

    .header {
        padding: 20px 10px;
    }

    nav ul {
        align-items: flex-start;
    }

    nav ul li {
        font-size: 16px;
    }

    .mebtn {
        padding: 8px 20px;
        font-size: 14px;
    }


}

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



    nav ul li {
        font-size: 14px;
        margin-left: 15px;
    }

    .mebtn {
        padding: 6px 15px;
        font-size: 12px;
    }

    .header {
        padding: 15px 10px;
    }

}

/* Optional: make header sticky for small screens */
@media screen and (max-width: 768px) {
    .header {
        position: relative;
    }
}

/* Optional: ensure canvas background scales correctly */
#large-header canvas {
    width: 100% !important;
    height: 100% !important;
}


/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ea7b08;
    transition: 0.3s;
}

/* Show hamburger on small screens */
@media screen and (max-width: 768px) {
    .header {
        display: flex;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        flex-direction: row;
        padding-inline: 20px;
        width: 100%;
        z-index: 1000;
        justify-content: space-between;
        background-color: white;
        border-bottom: solid 1px var(--primary-color);

    }

    nav {
        position: fixed;
        padding-inline: 20px;
        bottom: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        transition: 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 998;

    }

    .hamburger {
        right: 20px;
        top: 25px;
    }

    .hamburger {
        display: flex;
    }



    nav.active {
        transform: translateY(266px);
    }

    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
}