/* 
Theme Name: ByeByeStress Premium Skin - Organic Luxury
Description: High-end wellness magazine aesthetic for ByeByeStress.co.uk
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* "Organic Luxury" Palette */
    --color-primary: #2F3E46;
    /* Deep Charcoal/Slate */
    --color-primary-light: #52796F;
    /* Muted Sage */
    --color-accent: #D4A373;
    /* Warm Sand/Gold */
    --color-accent-hover: #FAEDCD;
    --color-bg: #FEFAE0;
    /* Soft Cream */
    --color-bg-alt: #E9EDC9;
    /* Muted Olive Tint */
    --color-text: #2F3E46;
    --color-text-light: #6c757d;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing & Layout */
    --container-max: 1300px;
    --radius-soft: 8px;
    --radius-pill: 50px;
}

/* Base Reset & Typography */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    /* Sophisticated light weight */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--color-accent);
}

/* Utilities */
.container-premium {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.text-serif {
    font-family: var(--font-heading);
}

.text-accent {
    color: var(--color-accent);
}

/* Buttons */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-luxury:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
    border-bottom: none;
}

.btn-luxury-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-luxury-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* 
 * COMPONENTS 
 */

/* Hero Section - Magazine Cover Style */
.hero-luxury {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    /* Slight darkening for text readability */
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Subtle zoom animation hint */
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-block {
    background: rgba(254, 250, 224, 0.9);
    /* Creme semi-transparent */
    backdrop-filter: blur(5px);
    padding: 4rem;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero-supertitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--color-primary-light);
}

/* Feature Grid - Overlapping Layout */
.section-overlap {
    padding: 8rem 0;
}

.overlap-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: center;
}

.overlap-image {
    grid-column: 1 / 8;
    position: relative;
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.overlap-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.overlap-content {
    grid-column: 7 / 13;
    background: var(--color-white);
    padding: 4rem;
    position: relative;
    z-index: 2;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.03);
}

.overlap-grid.reverse .overlap-image {
    grid-column: 6 / 13;
}

.overlap-grid.reverse .overlap-content {
    grid-column: 1 / 7;
    grid-row: 1;
}

.section-label {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Editorial Post Cards */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.post-card-editorial .post-img-wrap {
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.post-card-editorial img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card-editorial:hover img {
    transform: scale(1.03);
}

.post-card-editorial h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-card-editorial .meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

/* Newsletter - Minimalist */
.newsletter-minimal {
    padding: 6rem 0;
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-align: center;
}

.newsletter-minimal h2 {
    color: var(--color-bg);
    margin-bottom: 1rem;
}

.newsletter-minimal p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 3rem;
}

.form-inline-luxury {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.form-inline-luxury input {
    background: transparent;
    border: none;
    padding: 15px;
    color: var(--color-white);
    flex-grow: 1;
    font-family: var(--font-body);
}

.form-inline-luxury input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-inline-luxury input:focus {
    outline: none;
    border-bottom: 1px solid var(--color-white);
}

.form-inline-luxury button {
    background: transparent;
    border: none;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {

    .overlap-grid,
    .overlap-grid.reverse {
        display: flex;
        flex-direction: column;
    }

    .overlap-image,
    .overlap-content {
        grid-column: auto;
        width: 100%;
    }

    .overlap-content {
        padding: 2rem;
        transform: translateY(-50px);
        margin-bottom: -50px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text-block {
        padding: 2rem;
    }
}