/* =========================================================
   Marlene Theresia Dietrich Website
   Cleaned site stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    --color-page: #e5edde;
    --color-surface: rgba(255, 255, 255, 0.82);
    --color-surface-soft: rgba(255, 255, 255, 0.62);
    --color-text: #222;
    --color-muted: #444;
    --color-accent: #6f7f62;
    --color-accent-soft: #a8b8a0;
    --color-accent-light: #d9e2d2;
    --color-peach: #d6b09a;
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.055);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --radius-card: 22px;
    --radius-small: 12px;
    --header-height: 80px;
}

/* ---------- Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.65;
    background-color: var(--color-page);
    background-image: url('/resources/images/bg/contact.jpg');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 100% auto;
    color: var(--color-text);
    padding-bottom: 78px;
}

h1,
h2,
h3,
.logo,
nav a {
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color .3s ease, background .3s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover {
    color: var(--color-peach);
}

/* ---------- Header and navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.logo-image,
.logo img {
    max-height: 75px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
}

nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 0.92rem;
    line-height: 1;
    text-transform: uppercase;
}

.icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 auto;
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 8% 100px;
    position: relative;
    background-image: url('/resources/images/bg/mar_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: rgba(255, 255, 255, 0.15);*/
}

.hero-content,
.text-section {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    color: var(--color-text);
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.text-section {
    margin-top: 2rem;
    padding: 28px;
    background: var(--color-surface);
    border-radius: var(--radius-small);
    color: var(--color-text);
}

.text-section h2 {
    margin-bottom: 0.8rem;
    font-size: 1.65rem;
    font-weight: 300;
}

.text-section p,
.price-card .description,
.price-card p,
.price-card li {
    font-size: 1rem;
}

.text-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.text-section img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;
}

.mobile-only-image {
    display: block !important;
    float: left;
    width: 200px !important;
    max-width: 38% !important;
    height: auto;
    margin: 0.35rem 1.4rem 0.8rem 0;
    border-radius: 16px !important;
    box-shadow: var(--shadow-medium);
}

/* ---------- CTA between hero and prices ---------- */
.cta-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 8% 24px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.seal-image {
    display: block;
    width: auto;
    height: auto;
    max-height: 150px;
    max-width: 150px;
    object-fit: contain;
    flex: 0 1 auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 42px;
    border: 0;
    border-radius: 999px;
    background: var(--color-accent-light);
    color: #4f5d49;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    background: #ffffff;
    color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

/* ---------- Prices ---------- */
.prices {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 8% 120px;
    color: var(--color-text);
}

.prices h1 {
    margin-bottom: 0.3rem;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--color-accent);
}

.prices .subtitle {
    margin-bottom: 3rem;
    font-size: 1.08rem;
}

.price-category {
    margin: 2.4rem 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-card);
    backdrop-filter: blur(3px);
}

.price-category-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 32px 82px 32px 32px;
    list-style: none;
    cursor: pointer;
}

.price-category-summary::-webkit-details-marker {
    display: none;
}

.price-category-summary::after {
    content: "+";
    position: absolute;
    top: 30px;
    right: 32px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-accent);
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.price-category[open] .price-category-summary::after {
    content: "−";
}

.price-category-image {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-medium);
}

.price-category-text {
    min-width: 0;
}

.price-category h2 {
    margin: 0 0 0.6rem;
    border: none;
    color: var(--color-accent);
    font-size: 1.75rem;
    font-weight: 300;
}

.price-category .lead {
    margin-bottom: 0;
    color: #555;
    font-size: 1.02rem;
    font-style: italic;
}

.price-category-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0 32px 32px;
}

.price-card {
    margin-top: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s ease;
}

.price-card:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.075);
}

.price-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 500;
}

.price {
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-accent);
    font-weight: 500;
}

.price-card .description,
.price-card p {
    margin-bottom: 0.7rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.price-card ul {
    margin: 1rem 0 0;
    list-style: none;
}

.price-card li {
    position: relative;
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    line-height: 1.65;
}

.price-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8fa17e;
}

/* ---------- Contact ---------- */
.contact-section {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 20px max(8%, calc((100% - 1200px) / 2 + 8%)) 140px;
    color: var(--color-text);
}

.contact-card,
.contact-section {
    /* .contact-card is supported if used later; current HTML styles the section directly. */
}

.contact-section h2 {
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
}

.contact-section p {
    margin-bottom: 0.55rem;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-section strong {
    color: var(--color-text);
    font-weight: 500;
}

.contact-section a {
    color: var(--color-accent);
}

.social-icon {
    width: 68px;
    height: 68px;
    margin: 14px 8px 0 0;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-medium);
}

.contact-card {
    padding: 34px;
    background: var(--color-surface-soft);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(3px);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 1.4rem;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-accent);
    font-size: 0.92rem;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.contact-action:hover {
    background: #ffffff;
}

/* ---------- Footer ---------- */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 20px;
    background: var(--color-page);
    color: #8fa17e;
    text-align: center;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.05);
}

footer a {
    color: var(--color-accent);
}

/* ---------- Responsive: tablet / compact navigation ---------- */
@media (max-width: 1400px) {
    header {
        min-height: var(--header-height);
        flex-direction: row;
        gap: 15px;
        padding: 14px 6%;
    }

    .logo {
        flex: 1;
        min-width: 0;
        font-size: 1.15rem;
        text-align: left;
    }

    .logo-image,
    .logo img {
        max-height: 64px;
    }

    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding-bottom: 4px;
        border-radius: 999px;
        background: var(--color-page);
        color: #333;
        font-size: 1.65rem;
        line-height: 1;
        cursor: pointer;
        user-select: none;
    }

    nav {
        display: none;
    }

    .nav-toggle:checked ~ nav {
        display: block;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        padding: 20px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 13px 12px;
        border-radius: 10px;
        font-size: 0.85rem;
        text-align: center;
    }

    nav a:hover {
        background: var(--color-page);
    }

    .hero {
        align-items: center;
        justify-content: center;
        padding: 170px 6% 100px;
        text-align: center;
    }

    .cta-section {
        padding: 48px 6% 16px;
    }

    .prices {
        padding: 120px 6% 120px;
    }

    .prices h1 {
        font-size: 2rem;
    }

    .price-category {
        border-radius: 18px;
    }

    .price-category-summary {
        gap: 1rem;
        padding: 22px 64px 22px 22px;
    }

    .price-category-image {
        width: 68px;
        height: 68px;
    }

    .price-category-summary::after {
        top: 20px;
        right: 22px;
    }

    .price-category-content {
        padding: 0 22px 22px;
    }

    .price-category h2 {
        font-size: 1.45rem;
    }

    .price-card {
        padding: 18px;
    }

    .price-card h3 {
        font-size: 1.02rem;
    }
}

/* ---------- Responsive: prices ---------- */
@media (max-width: 900px) {
    .price-category-content {
        grid-template-columns: 1fr;
    }
}

/* ---------- Responsive: phones ---------- */
@media (max-width: 700px) {
    body {
        background-size: 200% auto;
        background-position: bottom right;
        background-repeat: no-repeat;
    }

    .mobile-only-image {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 24px auto 24px !important;
        border-radius: 16px;
    }

    .cta-section {
        justify-content: center;
        gap: 6px;
        padding: 36px 12px 8px;
    }

    .seal-image {
        width: auto;
        height: auto;
        max-width: 88px;
        max-height: 88px;
        flex: 0 1 88px;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
        min-height: 54px;
        padding: 15px 24px;
    }

    .contact-section {
        padding: 20px 6% 130px;
        background-size: auto 520px;
        background-position: bottom right;
    }

    .contact-card {
        padding: 24px;
        border-radius: 18px;
    }

    .contact-section h2 {
        font-size: 1.45rem;
    }

    .contact-actions {
        flex-direction: column;
        gap: 10px;
    }

    .contact-action {
        width: 100%;
        padding: 14px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .seal-image {
        max-width: 76px;
        max-height: 76px;
        flex-basis: 76px;
    }
}

@media (max-width: 520px) {
    .price-category-summary {
        align-items: flex-start;
    }

    .price-category-image {
        width: 56px;
        height: 56px;
    }
    body {
        background-position: 70% bottom !important;
    }
}
