
@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    overflow-x: hidden;
    background:
        linear-gradient(to bottom, #ffffff 0%, #fffaf0 100%);
}
.home{overflow-y: hidden;}

.burger-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    
}

.burger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: #DCB253;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


.burger-btn:hover span {
    background-color: #DCB253;
}

.burger-btn:hover span:nth-child(1) {
    transform: translateY(4px) rotate(18deg);
}

.burger-btn:hover span:nth-child(2) {
    opacity: 0;
}

.burger-btn:hover span:nth-child(3) {
    transform: translateY(-4px) rotate(-18deg);
}


.offcanvas-header {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-around;
    align-items: center;
    font-family: 'Bungee';
}

#logo-navbar{
    max-height: 60%;
}

#logo-navbar:hover{
    transform: scale(1.6);
    transition: transform 0.6s ease;
}

#offcanvasNavbar{ 
    background-color: #000 !important;
}

#sep-navbar{
   border: 0;
   height: 3px;
    background-image: linear-gradient(to right, transparent , #DCB253 , transparent);
}

.nav-link{
    font-family: 'Montserrat', sans-serif;
}

.nav-link:hover{
    color: #DCB253 !important;
    font-weight: bold
}

/* fin de menu */

#main-content {
    display: flex;
    flex-wrap: nowrap;
    width: 100vw;
    
}

.section {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-around;
}
#start {
    min-height: 100vh;
    padding: 4rem 6rem 0 6rem;
    background:
        linear-gradient(to bottom, #ffffff 0%, #fffaf0 100%);
    position: relative;
    overflow: hidden;
    gap: 2rem;
}

#start > div {
    flex: 50%;
    position: relative;
}

#start > div:first-child {
    max-width: 520px;
}
#start > div:first-child::before {
    content: "";
    position: absolute;
    inset: -24px;
    background: #ffffff;
    border: 4px solid #000;
    box-shadow:
        8px 8px 0 #000,
        16px 16px 0 #000;
    z-index: -1;
}

/* input */
#start .form-control {
    background-color: #ffffff;
    color: #000;
    border: 4px solid #000;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    box-shadow:
        6px 6px 0 #000;
}

#start .form-control:focus {
    border-color: #000;
    box-shadow:
        0 0 0 4px #fff4cf,
        6px 6px 0 #DCB253;
}
/* bloque de l'imag */
#start .figure {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 1rem 0 1rem;
    background: #ffffff;
    border: 4px solid #000;
    box-shadow:
        10px 10px 0 #DCB253,
        20px 20px 0 #f4e7bf;
    transform: skewY(-2deg);
}
/* mon image */
#me {
    bottom: 0;
    right: 0;
    max-width: 60%;
    height: auto;
    border: 4px solid #000;
    background: #f8f8f8;
    image-rendering: auto;
    transition: transform 0.3s ease;
     box-shadow:
        0 0 0 6px #ffffff,
        8px 8px 0 #DCB253;
}
#me:hover {
    transform: translateY(-6px);
}
/* caption */
#start .figure-caption {
    margin-top: 1rem;
    padding: 0.5rem 0.75rem;
    color: #6a5622;
    background: #fff7df;
    border: 3px solid #000;
    text-align: right;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    box-shadow: 4px 4px 0 #DCB253;
}

.section#start::before {
    top: 40px;
    left: 40px;
}

.section#start::after {
    right: 60px;
    bottom: 40px;
}

.figure-caption {
    text-align: center;
}

#anim-head {
    display: inline-block;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    border-right: 0;
}

@keyframes typing {
            from { width: 0; 
            opacity: 0.4;}
            to { width: 15%;
            opacity: 1; }
        }
        
.typing-text {
    animation: typing 1.4s ease-out;
    overflow: hidden;
    white-space: nowrap;
        }
        
        
.greeting {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    color: #000;
    border: 4px solid #000;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    box-shadow:
        6px 6px 0 #DCB253,
        12px 12px 0 #f3e4bb;
}

/* contenue*/


h2, h3 {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    color: #1f1f1f;
    border: 4px solid #1f1f1f;
    border-radius: 0;
    box-shadow:
        6px 6px 0 #DCB253,
        12px 12px 0 #f3e4bb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 3rem 1.5rem;
}

.container > p {
    max-width: 65ch;
    color: #000;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-continue {
    background-color: #ffffff;
    color: #111111;
    border: 2px solid #111111;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: 6px 6px 0 #DCB253;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    margin: auto 2rem;
}

.btn-continue:hover {
    background-color: #f5f5f5;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #DCB253;
}

.btn-continue:active {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 #DCB253;
}

.btn-continue:focus {
    outline: none;
}

.btn-continue:focus-visible {
    outline: 2px solid #DCB253;
    outline-offset: 4px;
}

/* à prop de m*/ 
.cont-card {
    display: flex;
    flex-direction: row;
    align-items: top !important;
    justify-content: center;
    gap : 10%;
    flex-wrap: wrap;
    
}

.cont-card .card {
    width: 18rem;
    background: linear-gradient(to bottom, #ffffff 0%, #fff9ea 100%);
    border: 4px solid #1f1f1f;
    border-radius: 0;
    box-shadow:
        8px 8px 0 #DCB253,
        16px 16px 0 #f3e4bb;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin: 3rem 0;
}

.cont-card .card:hover {
    transform: translateY(-6px);
    box-shadow:
        10px 10px 0 #DCB253,
        20px 20px 0 #f3e4bb;
}

.cont-card .card-img-top {
    width: 100%;
    height: auto;
    object-fit:fill;
    border-bottom: 4px solid #1f1f1f;
    background: #f7f0dc;
}

.cont-card .card-body {
    padding: 1.25rem;
}

.cont-card .card-text {
    color: #2b2b2b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.cont-card .card::before {
    content: "";
    display: block;
    height: 10px;
    background: #DCB253;
    border-bottom: 4px solid #1f1f1f;
}

.about-section {
    background: linear-gradient(to bottom, #ffffff 0%, #fffaf0 100%);
}

.about-card {
    position: relative;
    background: #f7f0dc;
    border: 2px solid #3a3a3a;
    padding: 3rem 2rem 2rem;
    box-shadow: 10px 10px 0 #DCB253;
}

.about-title {
    position: relative;
    top: -1.5rem;
    display: inline-block;
    margin: 0;
    padding: 0.4rem 1rem;
    background: #fff;
    color: #000;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.about-entry {
    margin-top: 1rem;
}

.about-subtitle {
    margin: 0 0 0.75rem;
    color: #000;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-place {
    margin: 0;
    color: #000;
    font-style: italic;
    font-weight: 600;
}

.about-date {
    margin: 0.25rem 0 1rem;
    color: #000;
    font-style: italic;
    font-weight: 700;
}

.about-text {
    color: #000;
    line-height: 1.8;
    margin: 0;
}

.about-divider {
    border: 0;
    height: 1px;
    background: #000;
    margin: 1.75rem 0;
}

.about-btn {
    background: #ffffff;
    color: #111111;
    border: 2px solid #111111;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    box-shadow: 4px 4px 0 #DCB253;
}

.about-btn:hover {
    background: #f4f4f4;
    transform: translateY(-2px);
}

.about-footer {
    margin: 0;
    color: #000;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.6;
}

.skills-section {
    color: #000;
    padding: 3rem 0 3rem 0;
}

.skills-title {
    margin-bottom: 1.5rem;
    color: #DCB253;
}

.skills-intro {
    color: #000;
    line-height: 1.9;
    max-width: 60ch;
    margin-bottom: 2rem;
}

.skills-list li {
    font-size: 1.15rem;
    line-height: 2;
    color: #000;
}


.logo-card {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.logo-card img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.carousel-inner {
    padding-inline: 3rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #DCB253;
    border-radius: 50%;
    background-size: 55% 55%;
}

.gallery-intro p {
    max-width: 700px;
    line-height: 1.8;
}

.gallery-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 250px;
    max-width: 320px;
    overflow: hidden;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Footer transparente */
.footer-transparent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(1px);
    z-index: 1020;
}

.footer-transparent .footer-links a {
    color: #DCB253;
}

.footer-transparent .footer-links a:hover,
.footer-transparent .footer-copy {
    text-decoration: none;
    color: #000;
}
