/*Fonts*/
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}


.russo-one-regular {
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #000000;
    background-color: #000000;
}

/* Header Styles */
header {
    position: relative;
    display: block;
    height: 8vh;
    background-color: #000000;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    background-repeat: no-repeat;
    background-position: right 98% bottom 0%;
    display: flex;
    flex-direction: column;
    font-family: "Russo One", sans-serif;
}

header h1 {
    display: flex;
    position: absolute;
    color: rgb(255, 255, 255);
    top: 1vh;
    left: 7vh;
    padding-left: 2vh;
    padding-top: 1vh;
    margin: 0;
    font-size: 2.5rem;
    font-weight: lighter;
}

header .copy {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

header img {
    position: absolute;
    height: 8vh;
    object-fit: cover;
    padding: 10px 10px;
}

header nav {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    height: 7vh;
    width: max-content;
    background-color: #000000;
    right: 5vh;
    font-weight: lighter;
}

header nav a {
    list-style: none;
    text-transform: uppercase;
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px;
    text-decoration: none;
    color: #ffffff; 
    background-color: #000000;
    text-transform: uppercase; 
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: width 0.25s ease, opacity 0.25s ease;
    opacity: 1;
}

header nav a:hover {
    background: #c4151C; 
    color: #ffffff; 
    border-radius: 5px;
    text-decoration: none;
}

header nav ul {
    display: flex;
    padding: 0;
    list-style: none;
}

header .active {
    background: #c4151C; 
    color: #ffffff; 
    border-radius: 5px;
    text-decoration: none;
}

/* Main */
.content{
    margin: 0 auto;
    width: 1080px;
    height: max-content;
    font-family: "Lato", sans-serif;
    opacity: 0.95;
}

main {
    color: #ffffff;
    background-image: url("../images/parallax1.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.content_gallerie{
    margin: 0 auto;
    width: 1080px;
    margin-bottom: 10px;
    border-radius: 10px;
    height: max-content;
    font-family: "Lato", sans-serif;
    opacity: 0.95;
}

.accueil {
    font-family: "Lato", sans-serif;
}

#titre {
    margin-top: 5vh;
    text-align: center;
    color: #ffffff;
    font-size: xx-large;
    font-weight: 700;
    font-family: "Russo One", sans-serif;
}

#titre_accueil {
    position: relative;
    margin-top: 5vh;
    text-align: center;
    color: #ffffff;
    font-size: xx-large;
    font-weight: 700;
    font-family: "Russo One", sans-serif;
}

#renvoi {
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top: 70vh;
    margin-bottom: 300px;
    text-decoration: none;
    color: #ffffff;
}

#renvoi:hover {
    text-decoration: underline;
}

main p {
    margin-bottom: 10px;
}

main img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

main a:hover {
    text-decoration: underline;
}

.Ferrari {
    color: #c4151C;
}

#page {
    color: #c4151C;
    text-decoration: none;
}

.blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin: auto;
}

/* Parallax */
.parallax_1 {
    background-image: url("../images/parallax1.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
    height: calc(100vh - 100px);
}
.parallax_2 {
  background-image: url("../images/parallax2.jpg");
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  display: block;
  width: 100%;
  background-color: #000;
}  

.parallax_3 {
  background-image: url("../images/parallax3.jpg");
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  display: block;
  width: 100%;
  background-color: #000;
}  

#enzo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0px auto;
    padding: 20px;
    background-color: #000000;
}

.accueil hr {
    display: flex;
    position: relative;
    border: none;
    border-top: 1px solid #555;
    margin: 0px 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#bio {
    flex: 1 1 auto;
    line-height: 1.6;
    font-size: 16px;
    color: #fff;
    margin: 20px;
    margin-bottom: 40px;
    scroll-margin-top: 20vh;
}

#enzo img {
    width: 220px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 20px;
    flex-shrink: 0;
}

/* Presentation Styles */
#presentation {
    display: flex;
    align-items: center;
    color: #000000;
    background-color: #000000;
    height: fit-content;
}    

#presentation img {
    width: 220px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 220px;
    display: block;
    margin-right: 20px;
    margin-left: 20px;
}    

#presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#presentation-title {
    text-align: center;
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 30px;
}

.grid-pages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 10px 0;
}

#cards {
    flex: 1 1 auto;
    line-height: 1.6;
    font-size: 16px;
    color: #fff;
    margin: 20px;
    margin-bottom: 40px;
    scroll-margin-top: 20vh;
}

.page-card {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

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

.page-card iframe {
    width: 1200px;
    height: 900px;
    border: none;
    transform: scale(0.25);
    transform-origin: top left;
    pointer-events: none;
}

.page-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    font-family: 'Russo One', sans-serif;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-card:hover .overlay {
    opacity: 1;
}


/* Galerie Styles */
.galerie {
    column-count: 4;
    column-gap: 20px;
    margin-top: 5vh;
}

.galerie-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.galerie-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.galerie-item::after {
    content: attr(data-model);
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: white;
    font-family: 'Russo One', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galerie-item:hover::after {
    opacity: 1;
}

.galerie-item:hover img {
    transform: scale(1.08);
}

.quote-card {
    background: linear-gradient(135deg, #8b0000, #c70000);
    color: white;
    padding: 40px 25px;
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    border-radius: 12px;
}

.quote-card p {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.quote-card span {
    font-size: 14px;
    opacity: 0.8;
    align-self: flex-end;
    font-style: italic;
}

.upload {
    margin: auto;
    padding: 2vh;
    border-radius: 12px;
    width: max-content;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgb(0, 0, 0);
}

.upload img {
    width: 40vh;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #ffffff;
}    

table th, table td {
    border: 1px solid #ffffff;
    padding: 12px 15px;
    text-align: left;
}    

table th {
    background-color: #ffffff;
    color: #000000;
}    

table tr:nth-child(even) {
    background-color: #f2f2f2;
}    

table tr :hover {
    background-color: #c4151C;
    color: #ffffff;
    transition: background-color 0.3s ease;
}    

/* Contact Styles */
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}    

form label {
    margin-top: 10px;
    font-weight: bold;
    text-transform:uppercase;
}    

form input[type="text"],
form input[type="email"],
form textarea {
    border: 1px solid #cccccc;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}    

form button {
    background-color: #c4151C;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}    

form button:hover {
    background-color: #a3121A;
}    

form #contact-message {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}    

#message {
    resize: none;
}    

.contact-form {
    width: 300px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 6px 0;
}    

.contact-form #en-tête {
    display: flex;
    gap: 10px;
}    

.contact-form #en-tête > div {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
}    

.contact-form label {
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: 13px;
}    

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}    

.contact-form input[type="text"],
.contact-form input[type="email"] {
    height: 44px;
}    

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 10px;
    padding-bottom: 10px;
}    

.contact-form button {
    height: 44px;
    padding: 0 14px;
    border-radius: 2vh;
    border: none;
    background: #c4151C;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}    

#retour {
    color: #ffffff;
    width: fit-content;
    margin: auto;
    padding: 10px;
    background: #46bb56;
    border: 1px solid #388842;
    border-radius: 2vh;
}    

#retourechec {
    color: #ffffff;
    width: fit-content;
    margin: auto;
    padding: 10px;
    background: #db2e2e;
    border: 1px solid #a82f26;
    border-radius: 2vh;
}    

.demande {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding: 15px 20px;
}

.demande label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.demande input[type="radio"] {
    accent-color: #c4151C;
    cursor: pointer;
    margin: 0;
}

/* Credit Styles */
#credit {
    text-align: center;
    margin: 40px auto;
    padding: 30px 40px;
    margin: auto;
    color: #ffffff;
    line-height: 1.6;
}

/* Partenaires Styles */
.team-intro {
    text-align: center;
    margin-bottom: 40px;
}

.team-intro h1 {
    font-size: 2rem;
    color: #c4151C;
    margin-bottom: 10px;
}

.team-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.team-members {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 50px;
}

.member-card {
    text-align: center;
    width: 250px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.226);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.226);
}

.member-img {
    padding-top: 1vh;
    width: 230px;
    height: 300px;
    overflow: hidden;
    margin: 0 auto 10px;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.member-card h2 {
    font-size: 1.2rem;
    margin: 5px 0;
}

.member-card h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.member-card p {
    line-height: 1.4;
    color: #ffffff;
    padding: 0 10px;
    font-weight: 400;
}

.project-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: rgba(255, 255, 255, 0.226);
}

.project-text,
.siteframe {
    width: 50%;
}

.project-text {
    padding: 0 30px;
}

.project-text h3 {
    font-size: 1.5rem;
    color: #c4151C;
    margin-bottom: 10px;
}

.project-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.siteframe {
    position: relative;
    width: 50%;
    max-width: 300px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}


.siteframe iframe {
    width: 1200px;
    height: 900px;
    border: none;
    transform: scale(0.25);
    transform-origin: top left;
    pointer-events: none;
}

.siteframe .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-family: 'Russo One', sans-serif;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.siteframe:hover .overlay {
    opacity: 1;
}

.documents-card {
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: rgba(255, 255, 255, 0.226);
    text-align: center;
}

.documents-card h3 {
    font-size: 1.8rem;
    color: #c4151C;
    margin-bottom: 25px;
}

.documents-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.documents-card ul li {
    background: rgba(0,0,0,0.3);
    padding: 20px 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.documents-card ul li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.documents-card ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.documents-card ul li a:hover {
    color: #ffffff;
}

/* Footer Styles */
footer {
    background: #000000;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    text-align: center;
}    

footer nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}    

footer a {
    color: #fff;
    text-decoration: none;
}    

footer a:hover {
    text-decoration: underline;
    color: red;
    transition: color 0.3s ease;
}    

.social {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-top: 3vh;
}    

footer img {
    width: 50px;
    height: auto;
}    

footer .info {
    font-size: small;
}    

footer hr {
    border: none;
    border-top: 1px solid #555;
    margin: 10px 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
