@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: "LCDfont"; /* Nom que tu veux donner à ta police */
    src: url("LCD-BOLD.woff2") format("woff2"); /* Chemin vers le fichier TTF */
  }

/* Custom animation for blur and scale on hover */
.feature-container img {
    transition: transform 0.5s ease, filter 0.5s ease;
}
.feature-container:hover img {
    filter: blur(8px);
    transform: scale(1.1);
}
.container {
    max-width: 100vw; /* Ensure container doesn't overflow horizontally */
    padding-left: 0;
    padding-right: 0;
}
.feature-container .text-overlay {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.9); /* Small initial size for effect */
}
.feature-container:hover .text-overlay {
    opacity: 1;
    transform: scale(1);
}

/* No background color on hover, and orange soft text */
.feature-container:hover .text-overlay {
    background: transparent;
}

/* Navbar animation on scroll */
.navbar {
    transition: background-color 0.3s ease;
}
.scrolled-navbar {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Smooth transitions for hover effects */
.smooth-transition {
    transition: all 0.4s ease-in-out;
}

/* Custom font */
body, h1, h2, h3, p {
    font-family: 'Syne', sans-serif;
}

/* Adjust container height for portrait mode */
.feature-container {
    height: 450px;
}


/* Navbar and Mobile Menu styles */
.bg-transparent {
    background-color: rgba(0, 0, 0, 0.200) !important;
    transition: background-color 0.3s ease-in-out;
}

.bg-white {
    background-color: white !important;
    transition: background-color 0.3s ease-in-out;
}

.text-white {
    color: white !important;
    transition: color 0.3s ease-in-out;
}

.text-black {
    color: black !important;
    transition: color 0.3s ease-in-out;
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out,
        color 0.3s ease-in-out;
}

/* Add blur effect to transparent navbar */
#navbar.bg-transparent {
    backdrop-filter: blur(8px); /* Adjust the blur intensity */
    -webkit-backdrop-filter: blur(8px); /* For Safari support */
    background-color: rgba(255, 255, 255, 0.1); /* Slight background tint for better visibility */
}


#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

#mobile-menu .drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: white;
    padding: 1.5rem;
    z-index: 50;
}


