/* Sucrette Creations - Page d'accueil */

@font-face {
    font-family: 'DropWriten';
    src: url('../font/DropWriten.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'acumin-pro-extralight';
    src: url('../font/acumin-pro-extralight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --beige: #b37f50;
    --beige-light: #e2c8ae;
    --beige-dark: #5e332b;
    --white: #faf7f8;
    --rose: #dda2a6;
    --scalevalue: 0.8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--white);
    background-image: url('../images/PARTICLES TEXTURE.png');
    color: var(--beige);
    overflow-x: hidden;
    font-family: 'acumin-pro-extralight', sans-serif;
}

.disabled{
    display: none !important;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 4vh 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3vw;
}

.logo img {
    height: 20vh;
    width: auto;
}

.nav-links {
    padding: 0 10vw;
    display: flex;
    gap: 2.5vw;
}

.nav-links a {
    text-decoration: none;
    color: var(--beige);
    font-size: 1vw;
    font-weight: 400;
    letter-spacing: 0.05vw;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--beige-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    transform: scale(var(--scalevalue));
    margin-top: -10vh;
    padding: 4vh 14vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70vh;
}

.hero-left {
    display: flex;
    align-items: center;
    position: relative;
}

.hero-logo-left {
    height: 40vh;
    width: auto;
    position: relative;
    z-index: 2;
    margin-right: -10vw;
    margin-bottom: -10vh;
}

.hero-arch {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arch-image {
    height: 50vh;
    width: auto;
}

.arch-text {
    font-family: 'DropWriten', serif;
    position: absolute;
    text-align: center;
    color: var(--white);
    font-size: 8vw;
    font-weight: 400;
    margin-left: 4vw;
}

.arch-text-left {
    margin-right: 6vw;
}

.arch-text-right {
    margin-left: 2vw;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
}

.hero-logo-right {
    height: 30vh;
    width: auto;
}

.btn-commander {
    transform: scale(var(--scalevalue));
    background-color: transparent;
    color: var(--rose);
    padding: 1.5vh 2vw;
    border: 4px solid var(--rose);
    border-radius: 50px;
    font-size: 1.5vw;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-commander:hover {
    background-color: var(--rose);
    color: var(--white);
    transform: translateY(-2px) scale(var(--scalevalue));
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {

    position: relative;
    min-height: 160vh;
    overflow: hidden;
}

.deco-circle-left {
    position: absolute;
    top: 6vh;
    left: -21vw;
    width: 47vw;
    height: 95vh;
    background-color: var(--beige-light);
    border-radius: 50%;
    z-index: 0;
}

.gallery-title {
    font-size: 3vw;
    color: var(--beige-dark);
    font-weight: 200 !important;
    position: absolute;
    font-style: italic;
    top: 12vh;
    left: 40vw;
    line-height: 1.1;
    z-index: 1;
}

.cake-item {
    position: absolute;
    z-index: 2;
}

.cake-1 {
    top: 30vh;
    left: 35vw;
}

.cake-2 {
    top: 65vh;
    left: 18vw;
}

.cake-3 {
    top: 90vh;
    left: 40vw;
}

.cake-arch {
    position: relative;
    display: inline-block;
}

.cake-arch-img {
    transform: scale(var(--scalevalue));
    height: 55vh;
    width: 25vw;
}

.cake-photo {
    position: absolute;
    top: 50%;
    left: 51.5%;
    transform: translate(-50%, -50%) scale(var(--scalevalue));
    border-radius: 10vw 10vw 1vw 1vw;
    height: 42vh;
    width: 66%;
    object-fit: cover;
}

.cake-text {
    font-size: 0.8vw;
    color: var(--beige);
    max-width: 20vw;
    line-height: 1.5;
}

.cake-text-bottom {
    margin-top: 2vh;
}

.cake-text-right {
    position: absolute;
    top: 0;
    left: 105%;
}

.cake-3 .cake-text-right {
    top: auto;
    bottom: 0;
}

.deco-texture-right {
    position: absolute;
    bottom: -41vh;
    right: 0.1vw;
    width: 47vw;
    height: 40vw;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

.deco-texture-right img {
    width: 100%;
    height: 78%;
    object-fit: contain;
    object-position: center;
}

.gallery-text {
    position: absolute;
    font-style: italic;
    font-size: 0.9vw;
    color: var(--beige-light);
    font-weight: 100;
    max-width: 20vw;
    line-height: 1.6;
    z-index: 3;
}

.text-top-right {
    top: 14vh;
    right: 25vw;
    text-align: center;
}

.text-middle-right {
    top: 80vh;
    right: 22vw;
    text-align: center;
}

.text-bottom-left {
    bottom: 19vh;
    left: 18vw;
    max-width: 21vw !important;
    text-align: center;
}

.heart-icon {
    position: absolute;
    top: 24vh;
    right: 35vw;
    width: 1vw;
    height: auto;
    z-index: 3;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer {
    display: flex;
    width: 100%;
    height: 36vh;
    background-color: var(--beige-light);
}

.footer-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 5vh 5vw;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.deco-texture-footer {
    position: absolute;
    left: -13vw;
    width: 50vw;
    height: 45vw;
    top: -12vh;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

.deco-texture-footer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 0.3;
}

.footer-title {
    position: relative;
    z-index: 1;
    font-size: 1.5vw;
    font-style: italic;
    font-weight: 100;
    color: var(--beige-dark);
    margin-left: 5vw;
    margin-bottom: 1vh;
}

.footer-text {
    position: relative;
    z-index: 1;
    font-size: 0.8vw;
    color: var(--beige-dark);
    line-height: 1.6;
    margin-bottom: 2vh;
    text-align: center;
}

.footer-socials {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1vw;
    left: 3.5vw;
}

.social-link {
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(0.8);
}

.social-link:hover {
    transform: scale(1.1);
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vh 5vw;
}

.footer-logo {
    height: 25vh;
    width: auto;
}

@media (max-width: 1024px) {
    :root {
        --scalevalue: 1;
    }

    .header {
        padding: 3.5vh 6vw 1.5vh;
        align-items: flex-start;
        position: relative;
    }

    .nav-links a {
        font-size: 2vw;
        position: relative;
        top: 4vh;
    }

    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo img {
        height: 10.5vh;
    }

    .hero {
        transform: none;
        margin-top: 1vh;
        padding: 1vh 6vw 0;
        min-height: auto;
        flex-direction: column;
        gap: 2vh;
    }

    .hero-right {
        order: 2;
        width: 100%;
    }

    .hero-logo-right {
        display: none;
    }

    .hero-left {
        order: 1;
        justify-content: center;
        width: 100%;
    }

    .hero-logo-left {
        height: 25vh;
        margin-right: -12vw;
        margin-bottom: -2vh;
    }

    .arch-image {
        height: 30vh;
    }

    .arch-text {
        font-size: 13vw;
        margin-left: 5vw;
    }

    .arch-text-left {
        margin-right: 13vw;
    }

    .arch-text-right {
        margin-left: 5vw;
    }

    .btn-commander {
        transform: none;
        border-width: 2px;
        padding: 1.2vh 8vw;
    }

    .btn-commander:hover {
        transform: none;
    }

    .gallery {
        min-height: auto;
        padding: 9vh 0 0;
        display: grid;
        grid-template-columns: 52% 48%;
        grid-template-areas:
            "bg title"
            "bg text1"
            "bg cake1"
            "bg cake2"
            "bg cake3";
        align-items: start;
    }

    .deco-circle-left {
        grid-area: bg;
        position: relative;
        top: -4vh;
        left: -68vw;
        width: 102vw;
        height: 97vh;
        border-radius: 50%;
        align-self: start;
    }

    .deco-circle-left::after {
        content: "";
        position: absolute;
        inset: 0;
        background: url('../images/Texture 02.png') center/cover no-repeat;
        border-radius: 50%;
    }

    .gallery-title,
    .gallery-text,
    .cake-item,
    .heart-icon {
        position: relative;
        z-index: 3;
    }

    .gallery-title {
        grid-area: title;
        top: 0;
        left: -22vw;
        font-size: 7vw;
        text-align: right;
        line-height: 0.9;
        margin-top: 2vh;
        margin-left: -2vw;
    }

    .text-top-right {
        grid-area: text1;
        top: -6vh;
        right: -6vw;
        font-size: 2.5vw;
        max-width: 33vw;
        line-height: 1.35;
        margin-left: -2vw;
    }

    .text-middle-right {
        top: -37vh;
        right: -54vw;
        text-align: center;
    }

    .text-bottom-left {
        bottom: 32vh;
        left: 2vw;
        max-width: 20vw !important;
        text-align: center;
    }

    .heart-icon {
        grid-area: text1;
        top: 8vh;
        right: 0vw;
        width: 3vw;
        margin-left: 19vw;
    }

    .cake-1,
    .cake-2,
    .cake-3 {
        top: 0;
        left: 0;
    }

    .cake-1 {
        grid-area: cake1;
        margin-top: -37vh;
        left: -35vw;
    }

    .cake-2 {
        grid-area: cake2;
        margin-top: -30vh;
        left: -4vw;
    }

    .cake-3 {
        grid-area: cake3;
        margin-top: -30vh;
        left: -35vw;
    }

    .cake-arch-img {
        transform: none;
        height: 22.5vh;
        width: auto;
    }

    .cake-photo {
        transform: translate(-50%, -50%);
        height: 18vh;
        width: 66%;
        border-radius: 12vw 12vw 2vw 2vw;
    }

    .deco-texture-right {
        display: none;
    }

    .footer {
        height: 22vh;
    }

    .deco-texture-footer {
        position: absolute;
        left: -30vw;
        width: 70vw;
        height: 60vw;
        top: -3vh;
        border-radius: 50%;
        overflow: hidden;
        z-index: 0;
    }

    .deco-texture-footer img {
        object-fit: cover;
    }

    .footer-title {
        font-size: 2vw;
    }

    .footer-text {
        font-size: 1vw;
    }

    .footer-socials {
        left: 5.5vw;
    }

    .footer-logo {
        height: 18vh;
        width: auto;
    }
}

@media (max-width: 430px) {
    .header {
        padding: 3vh 6vw 1.2vh;
    }

    .logo img {
        height: 12vh;
    }

    .nav-links a {
        font-size: 2.5vw;
    }

    .hero {
        padding-top: 0;
        gap: 1.2vh;
    }

    .hero-logo-left {
        height: 25vh;
        margin-right: -23vw;
    }

    .arch-image {
        height: 30vh;
    }

    .arch-text {
        font-size: 22vw;
    }

    .btn-commander {
        font-size: 3.4vw;
        padding: 1.1vh 9vw;
    }

    .gallery {
        padding: 6.5vh 0 0;
        grid-template-columns: 54% 46%;
        row-gap: 1.8vh;
    }

    .deco-circle-left {
        left: -61vw;
        width: 100vw;
        height: 75vh;
        top: 1vh;
    }

    .gallery-title {
        font-size: 12vw;
        margin-top: 3vh;
        left: -10vw;
        margin-bottom: 4vh;
    }

    .text-top-right {
        font-size: 2.9vw;
        max-width: 38vw;
        line-height: 1.3;
        top: -11vh;
    }

    .heart-icon {
        top: -2vh;
        width: 3.4vw;
        margin-left: 21vw;
    }

    .cake-arch-img {
        height: 20.5vh;
    }

    .cake-photo {
        height: 15.5vh;
        width: 66%;
    }

    .cake-1 {
        left: -40vw;
        top: 4vh;
    }

    .cake-2 {
        left: -4vw;
        top: 2vh;
    }

    .cake-3 {
        left: -40vw;
        top: 7vh;
    }

    .text-middle-right {
        top: -27vh;
        right: -57vw;
        font-size: 1.5vw;
        min-width: 33vw;
        text-align: center;
    }

    .text-bottom-left {
        bottom: 22vh;
        left: 3vw;
        max-width: 33vw !important;
        text-align: center;
        font-size: 1.5vw;
    }

    .footer {
        height: 20vh;
    }

    .footer-left {
        flex: 1;
        position: relative;
        overflow: hidden;
        padding: 3vh 0vw;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-title {
        font-size: 2.5vw;
        margin-left: 10vw;
        top: -2vh;
    }

    .footer-text {
        font-size: 1.5vw;
        max-width: 23vw;
        margin-left: 6vw;
        margin-bottom: 0.8vh;
        top: -2vh;
    }

    .footer-socials {
        left: 6vw;
        top: -2vh;
    }

    .social-link {
        width: 5.6vw;
        height: 5.6vw;
    }

    .footer-logo {
        height: 10vh;
        top: -3vh;
        position: relative;
    }
}