﻿/* ========================================================= */
/* JOLIE CAPRICIEUSE PARIS                                  */
/* FILE : frontend/css/base.css                             */
/* VERSION : DESIGN SYSTEM PREMIUM V3 / THEME CONNECTED     */
/* ADN : SWAROVSKI + PANDORA + JCP                          */
/* ========================================================= */



/* ========================================================= */
/* LEGACY VARIABLES CONNECTED TO THEME.CSS                   */
/* ========================================================= */

:root {

    --color-background: var(--jcp-bg-primary);
    --color-surface: var(--jcp-bg-primary);
    --color-surface-2: #f2e6dd;

    --color-white: var(--jcp-bg-secondary);
    --color-black: var(--jcp-text-primary);

    --color-text: var(--jcp-text-primary);
    --color-text-light: var(--jcp-text-secondary);
    --color-text-soft: #9a9a9a;

    --color-border: var(--jcp-border);
    --color-border-dark: rgba(0, 0, 0, 0.08);

    --color-gold: var(--jcp-gold);
    --color-gold-dark: #a88b64;

    --color-overlay-light: rgba(245, 237, 231, 0.72);
    --color-overlay-dark: var(--jcp-overlay-dark);

    --font-title: "Cormorant Garamond", serif;
    --font-body: "Inter", sans-serif;

    --container-ultra: 1680px;
    --container-large: 1440px;
    --container-medium: 1280px;
    --container-small: 1100px;

    --section-spacing: clamp(120px, 10vw, 180px);
    --section-spacing-small: clamp(80px, 7vw, 120px);
    --content-spacing: clamp(40px, 4vw, 72px);

    --radius-small: 14px;
    --radius-medium: 24px;
    --radius-large: 42px;
    --radius-full: 999px;

    --shadow-soft: var(--jcp-shadow-soft);
    --shadow-medium: 0px 24px 64px rgba(0, 0, 0, 0.06);
    --shadow-large: 0px 40px 100px rgba(0, 0, 0, 0.10);

    --transition-fast: var(--jcp-transition-fast);
    --transition-medium: var(--jcp-transition-medium);
    --transition-slow: 0.7s ease;

}



/* ========================================================= */
/* RESET                                                     */
/* ========================================================= */

*,
*::before,
*::after {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



/* ========================================================= */
/* HTML                                                      */
/* ========================================================= */

html {

    scroll-behavior: smooth;

    overflow-x: hidden;

    background-color: var(--jcp-bg-primary);

}



/* ========================================================= */
/* BODY                                                      */
/* ========================================================= */

body {

    background-color: var(--jcp-bg-primary);

    color: var(--jcp-text-primary);

    font-family: var(--font-body);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;

}



/* ========================================================= */
/* GLOBAL IMAGES                                             */
/* ========================================================= */

img {

    width: 100%;

    display: block;

    object-fit: cover;

}



/* ========================================================= */
/* LINKS                                                     */
/* ========================================================= */

a {

    text-decoration: none;

    color: inherit;

}



/* ========================================================= */
/* BUTTONS                                                   */
/* ========================================================= */

button {

    border: none;

    background: none;

    cursor: pointer;

    font-family: inherit;

}



/* ========================================================= */
/* INPUTS                                                    */
/* ========================================================= */

input,
textarea,
select {

    border: none;

    outline: none;

    background: transparent;

    font-family: inherit;

}



/* ========================================================= */
/* LISTS                                                     */
/* ========================================================= */

ul,
ol {

    list-style: none;

}



/* ========================================================= */
/* GLOBAL CONTAINER                                          */
/* ========================================================= */

.container {

    width: min(100% - 80px, var(--container-large));

    margin-inline: auto;

}



/* ========================================================= */
/* ULTRA CONTAINER                                           */
/* ========================================================= */

.container-ultra {

    width: min(100% - 100px, var(--container-ultra));

    margin-inline: auto;

}



/* ========================================================= */
/* TYPOGRAPHY                                                */
/* ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: var(--font-title);

    font-weight: 600;

    line-height: 0.94;

    letter-spacing: -0.05em;

    color: var(--jcp-text-primary);

}


p {

    color: var(--jcp-text-secondary);

    line-height: 1.9;

}



/* ========================================================= */
/* GLOBAL SECTION                                            */
/* ========================================================= */

section {

    position: relative;

}



/* ========================================================= */
/* SECTION SMALL                                             */
/* ========================================================= */

.section-small {

    padding-top: var(--section-spacing-small);

    padding-bottom: var(--section-spacing-small);

}



/* ========================================================= */
/* PRIMARY BUTTON                                            */
/* ========================================================= */

.btn-primary {

    position: relative;

    overflow: hidden;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    height: 60px;

    padding-inline: 38px;

    border-radius: var(--radius-full);

    background-color: var(--jcp-button-bg);

    color: var(--jcp-button-text);

    font-family: var(--font-body);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.10em;

    text-transform: uppercase;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        opacity var(--transition-fast);

}



/* ========================================================= */
/* PRIMARY BUTTON HOVER                                      */
/* ========================================================= */

.btn-primary:hover {

    transform: translateY(-2px);

    background-color: #1f1f1f;

}



/* ========================================================= */
/* SECONDARY BUTTON                                          */
/* ========================================================= */

.btn-secondary {

    position: relative;

    overflow: hidden;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    height: 60px;

    padding-inline: 38px;

    border-radius: var(--radius-full);

    border: 1px solid rgba(0, 0, 0, 0.08);

    background-color: rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    color: var(--jcp-text-primary);

    font-family: var(--font-body);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.10em;

    text-transform: uppercase;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);

}



/* ========================================================= */
/* SECONDARY BUTTON HOVER                                    */
/* ========================================================= */

.btn-secondary:hover {

    transform: translateY(-2px);

    background-color: var(--jcp-bg-secondary);

    border-color: rgba(0, 0, 0, 0.16);

}



/* ========================================================= */
/* GLASS EFFECT                                              */
/* ========================================================= */

.glass {

    background: rgba(245, 237, 231, 0.62);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.18);

}



/* ========================================================= */
/* GLOBAL TRANSITIONS                                        */
/* ========================================================= */

a,
button,
input,
textarea,
select,
img {

    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        opacity var(--transition-fast),
        box-shadow var(--transition-fast);

}



/* ========================================================= */
/* SELECTION                                                 */
/* ========================================================= */

::selection {

    background-color: var(--jcp-gold);

    color: var(--jcp-button-text);

}



/* ========================================================= */
/* SCROLLBAR                                                 */
/* ========================================================= */

::-webkit-scrollbar {

    width: 10px;

}


::-webkit-scrollbar-track {

    background: var(--jcp-bg-primary);

}


::-webkit-scrollbar-thumb {

    background: rgba(0, 0, 0, 0.16);

    border-radius: 999px;

}


::-webkit-scrollbar-thumb:hover {

    background: rgba(0, 0, 0, 0.28);

}



/* ========================================================= */
/* LARGE DESKTOP                                             */
/* ========================================================= */

@media screen and (max-width: 1600px) {

    .container-ultra {

        width: min(100% - 80px, var(--container-ultra));

    }

}



/* ========================================================= */
/* LAPTOP                                                    */
/* ========================================================= */

@media screen and (max-width: 1280px) {

    .container,
    .container-ultra {

        width: min(100% - 60px, 100%);

    }

}



/* ========================================================= */
/* TABLET                                                    */
/* ========================================================= */

@media screen and (max-width: 980px) {

    :root {

        --section-spacing: clamp(90px, 8vw, 120px);

    }

    .container,
    .container-ultra {

        width: min(100% - 40px, 100%);

    }

}



/* ========================================================= */
/* MOBILE                                                    */
/* ========================================================= */

@media screen and (max-width: 640px) {

    :root {

        --section-spacing: clamp(70px, 7vw, 90px);

    }

    .container,
    .container-ultra {

        width: min(100% - 28px, 100%);

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }

}
