/* ============================================
   LA PROMESSE — Design System
   Mikrodetale Luksusu
   ============================================ */

/* === GOOGLE FONTS (loaded in HTML) === */
/* Cormorant Garamond: 300, 400, 500, 600 */

/* === CSS CUSTOM PROPERTIES === */
:root {
    /* Sacred 7 Colors (updated) */
    --cream: #F4F1EC;
    --dark: #2C2C2C;
    --champagne: #C9A96E;
    --navy: #1B2838;
    --white: #FFFFFF;
    --soft-grey: #8C8C8C;
    --body-grey: #5A5A5A;
    --black: #000000; /* rare, dramatic only */

    /* Typography */
    --font-main: 'Cormorant Garamond', serif;

    /* Spacing */
    --section-padding: 140px;
    --section-padding-mobile: 80px;

    /* Transitions */
    --transition-luxury: all 0.5s ease;

    /* Content width */
    --content-max: 70%;
    --content-max-mobile: 90%;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    background-color: var(--cream);
}

/* === TYPOGRAPHY === */

/* Headings — Light weight, spaced caps, NEVER bold */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 8px;
    line-height: 1.4;
    color: var(--dark);
}

h1 {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 12px;
    line-height: 1.3;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 10px;
    line-height: 1.3;
}

h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    letter-spacing: 6px;
}

h4 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
}

/* Section titles — champagne accent */
.section-label {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--champagne);
    display: block;
    margin-bottom: 30px;
}

.section-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--champagne);
    margin-top: 16px;
}

.section-label--centered::after {
    margin-left: auto;
    margin-right: auto;
}

/* Body text */
p {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.9;
    color: var(--body-grey);
    max-width: var(--content-max);
}

.text-centered p {
    margin-left: auto;
    margin-right: auto;
}

/* Light text on dark backgrounds */
.on-dark {
    color: var(--white);
}

.on-dark p {
    color: #B0B8C4;
}

.on-dark .section-label {
    color: var(--champagne);
}

.on-navy {
    color: var(--white);
}

.on-navy p {
    color: #B0B8C4;
}

/* Small / subtle text */
.text-subtle {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--soft-grey);
    line-height: 1.8;
}

.text-micro {
    font-family: var(--font-main);
    font-weight: 300;
    font-style: italic;
    font-size: 11px;
    color: var(--soft-grey);
    letter-spacing: 1px;
}

/* === LINKS === */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-luxury);
}

a:hover {
    color: var(--champagne);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dark);
    background: transparent;
    border: 1px solid var(--champagne);
    padding: 16px 40px;
    cursor: pointer;
    transition: var(--transition-luxury);
    text-decoration: none;
}

.btn:hover {
    background: var(--champagne);
    color: var(--white);
}

.btn--on-dark {
    color: var(--white);
    border-color: var(--champagne);
}

.btn--on-dark:hover {
    background: var(--champagne);
    color: var(--dark);
}

/* === SECTIONS === */
section {
    padding: var(--section-padding) 0;
}

.section--cream {
    background-color: var(--cream);
}

.section--dark {
    background-color: var(--dark);
}

.section--navy {
    background-color: var(--navy);
}

.section--white {
    background-color: var(--white);
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.container--narrow {
    max-width: 800px;
}

.container--wide {
    max-width: 1400px;
}

/* === LAYOUT HELPERS === */
.text-center {
    text-align: center;
}

.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.text-center .section-label::after {
    margin-left: auto;
    margin-right: auto;
}

/* === GRID === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* === IMAGES === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === HERO === */
.hero {
    height: 85vh; /* 80-90vh, editorialowe ucięcie */
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(44, 44, 44, 0.1) 0%,
        rgba(44, 44, 44, 0.3) 50%,
        rgba(44, 44, 44, 0.7) 100%
    );
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero__content h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero__content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 100%;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 40px;
}

.hero__content .btn {
    margin-top: 10px;
}

/* === CHAMPAGNE LINE (decorative) === */
.champagne-line {
    width: 60px;
    height: 1px;
    background: var(--champagne);
    margin: 40px 0;
}

.champagne-line--centered {
    margin-left: auto;
    margin-right: auto;
}

/* === CARD (for collection blocks) === */
.card {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    color: inherit;
}

/* Visual wrapper — contains image + explore label */
.card__visual {
    position: relative;
    overflow: hidden;
}

.card__visual > div {
    overflow: hidden;
}

.card__visual img {
    transition: transform 0.6s ease;
}

.card:hover .card__visual img {
    transform: scale(1.04);
}

/* Bottom gradient — readable Explore on any photo */
.card__visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.card:hover .card__visual::after {
    opacity: 1;
}

/* Explore label — barely there */
.card__explore {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.card:hover .card__explore {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Line gallery hover (Éclat, Atelier, Riviera) */
.line-gallery__item {
    overflow: hidden;
}

.line-gallery__item img {
    transition: transform 0.6s ease;
}

.line-gallery__item:hover img {
    transform: scale(1.04);
}

/* Legacy image class */
.card__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.card:hover .card__image {
    transform: scale(1.02);
}

.card__content {
    padding: 42px 0 0;
    text-align: center;
}

.card__content h3 {
    margin-bottom: 10px;
}

.card__content p {
    max-width: 100%;
    font-size: 14px;
    font-style: italic;
}

/* === FORM === */
.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--body-grey);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 16px;
    color: var(--dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(44, 44, 44, 0.2);
    padding: 12px 0;
    outline: none;
    transition: var(--transition-luxury);
    letter-spacing: 0.5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--champagne);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .container {
        padding: 0 40px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    p {
        max-width: var(--content-max-mobile);
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Disable card hover on touch */
    .card__explore {
        display: none;
    }
    .card:hover .card__visual > div {
        transform: none;
    }
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 24px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    h1 {
        letter-spacing: 8px;
    }

    h2 {
        letter-spacing: 6px;
    }

    .hero {
        height: 80vh;
        min-height: 400px;
    }

    .hero__content {
        padding-bottom: 18vh !important;
    }

    .btn {
        padding: 14px 32px;
        font-size: 11px;
    }

    p {
        max-width: 100%;
    }
}

/* Small phones */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 20px;
    }

    h1 {
        letter-spacing: 6px;
    }

    h2 {
        letter-spacing: 4px;
    }
}


/* LA PROMESSE — BOUTIQUE hidden during development */
nav.header__nav a[href*="shop-on-line"] {
  display: none !important;
}

/* Ukryj Boutique w mobile menu i footer */
nav.mobile-menu__nav a[href*="shop-on-line"],
nav.footer__links a[href*="shop-on-line"] { display: none !important; }

/* =============================================
   WOW EFFECTS — La Promesse
   Dodane: 2026-04-06
   Aby usunac: skasuj wszystko od tego komentarza do konca pliku
   ============================================= */

/* --- Smooth scroll --- */
html { scroll-behavior: smooth; }

/* --- Nav hover: zlota linia champagne --- */
nav.header__nav a {
  position: relative;
  transition: color 0.3s ease;
}
nav.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #C9A96E;
  transition: width 0.4s ease, left 0.4s ease;
}
nav.header__nav a:hover::after {
  width: 100%;
  left: 0;
}
nav.header__nav a:hover {
  color: #C9A96E !important;
}

/* --- Fade-in animation (pure CSS, no JS needed) --- */
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, section {
  animation: lp-fade-up 0.8s ease both;
}
section:nth-of-type(2) { animation-delay: 0.15s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.45s; }
section:nth-of-type(5) { animation-delay: 0.6s; }
section:nth-of-type(n+6) { animation-delay: 0.75s; }

/* --- Image hover zoom (subtle) --- */
.card__visual {
  overflow: hidden;
}
.card__visual img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card__visual:hover img {
  transform: scale(1.05);
}


/* --- VOYAGE letter animation --- */
@keyframes lp-letter-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lp-line-grow {
  from { width: 0; }
  to { width: 60px; }
}
.hero h1 .lp-letter {
  display: inline-block;
  opacity: 0;
  animation: lp-letter-in 1s ease forwards;
}
.hero h1 .lp-letter:nth-child(1) { animation-delay: 0.4s; }
.hero h1 .lp-letter:nth-child(2) { animation-delay: 0.7s; }
.hero h1 .lp-letter:nth-child(3) { animation-delay: 1.0s; }
.hero h1 .lp-letter:nth-child(4) { animation-delay: 1.3s; }
.hero h1 .lp-letter:nth-child(5) { animation-delay: 1.6s; }
.hero h1 .lp-letter:nth-child(6) { animation-delay: 1.9s; }
.hero h1 .lp-gold-line {
  display: block;
  width: 0;
  height: 2px;
  background: #C9A96E;
  margin: 15px auto 0;
  animation: lp-line-grow 0.8s ease forwards;
  animation-delay: 2.5s;
}
