/* ============================================
   PowerMatching by Nicolette - Stylesheet
   ============================================ */

/* Custom Font */
@font-face {
    font-family: 'Cypress';
    src: url('../fonts/Cypress-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---- Variables ---- */
:root {
    --warm-sand: #D4C4B0;
    --soft-sand: #E8E0D5;
    --cream-white: #FAF8F5;
    --warm-white: #FFFDFB;
    --deep-blue-grey: #3D4A5C;
    --slate: #5A6675;
    --blue: #507491;
    --silver: #A8B0B8;
    --soft-silver: #C5CCD3;
    --brand-red: #ad3c3c;
    --accent-red: #ff3131;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: var(--deep-blue-grey);
    line-height: 1.75;
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ---- Typography ---- */
h1, h2 {
    font-family: 'Cypress', 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--deep-blue-grey);
    line-height: 1.2;
}

h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--deep-blue-grey);
    line-height: 1.3;
}

h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: var(--deep-blue-grey);
    line-height: 1.3;
}

.section-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.75rem;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-block;
    background: var(--brand-red);
    color: var(--warm-white);
    padding: 0.9rem 2rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 2px solid var(--brand-red);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: var(--brand-red);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--brand-red);
    padding: 0.9rem 2rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 2px solid var(--brand-red);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--brand-red);
    color: var(--warm-white);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 253, 251, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 196, 176, 0.3);
}

.nav__logo img {
    height: 65px;
    width: auto;
}

.nav__links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--deep-blue-grey);
}

.nav__links a:hover {
    color: var(--brand-red);
}

.nav__cta {
    background: transparent;
    color: var(--brand-red) !important;
    padding: 0.6rem 1.4rem;
    border: 2px solid var(--brand-red);
    border-radius: 50px;
}

.nav__cta:hover {
    background: var(--brand-red) !important;
    color: var(--warm-white) !important;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--deep-blue-grey);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 5% 5rem;
    background: linear-gradient(165deg, var(--cream-white) 0%, var(--soft-sand) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, var(--warm-sand) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 0;
}

.hero__content {
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.hero__tagline {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero__cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__visual {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    width: 680px;
    height: 620px;
    z-index: 1;
}

.hero__visual-frame {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    clip-path: path('M340 560 C340 560 56 420 56 238 C56 112 140 28 238 28 C294 28 340 70 340 70 C340 70 386 28 442 28 C540 28 624 112 624 238 C624 420 340 560 340 560Z');
    filter: drop-shadow(0 20px 40px rgba(61, 74, 92, 0.2));
}

.hero__visual-frame img,
.hero__visual-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Introduction Section
   ============================================ */
.intro {
    padding: 6rem 5%;
    background: var(--warm-white);
    text-align: center;
}

.intro__content {
    max-width: 750px;
    margin: 0 auto;
}

.intro h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.intro p {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.9;
}

/* ============================================
   Two Pillars Section
   ============================================ */
.pillars {
    padding: 5rem 5% 6rem;
    background: var(--cream-white);
}

.pillars__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.pillars__header h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.pillars__header p {
    color: var(--slate);
}

.pillars__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--warm-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 196, 176, 0.4);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(61, 74, 92, 0.08);
}

.pillar-card__image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.pillar-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-card__image img {
    transform: scale(1.05);
}

.pillar-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--slate);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pillar-card__link {
    color: var(--brand-red);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar-card__link:hover {
    color: var(--deep-blue-grey);
}

.pillar-card__link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.pillar-card__link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Events Agenda Section
   ============================================ */
.events-agenda {
    background: var(--cream-white);
}

.events-agenda__intro {
    padding: 6rem 5% 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream-white) 100%);
    position: relative;
    overflow: hidden;
}

.events-agenda__intro::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 160%;
    background: radial-gradient(ellipse at center, var(--soft-sand) 0%, transparent 65%);
    opacity: 0.5;
    z-index: 0;
}

.events-agenda__intro-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.events-agenda__intro .section-label {
    color: var(--brand-red);
}

.events-agenda__intro h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.events-agenda__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 1.75rem;
}

.events-agenda__highlight {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--deep-blue-grey);
    font-weight: 400;
    background: rgba(212, 196, 176, 0.25);
    border-left: 3px solid var(--brand-red);
    padding: 1rem 1.5rem;
    text-align: left;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.events-agenda__calendar {
    padding: 2rem 5% 6rem;
}

.events-agenda__calendar-header {
    text-align: center;
    margin-bottom: 3rem;
}

.events-agenda__calendar-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.events-agenda__calendar-header p {
    font-size: 0.95rem;
    color: var(--silver);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.event-card {
    background: var(--warm-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 196, 176, 0.4);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(61, 74, 92, 0.1);
    border-color: rgba(212, 196, 176, 0.7);
}

.event-card__image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(61, 74, 92, 0.4), transparent);
}

.event-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    background: rgba(255, 253, 251, 0.92);
    backdrop-filter: blur(6px);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--deep-blue-grey);
}

.event-card__date {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 1;
    background: var(--warm-white);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-card__day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-red);
}

.event-card__month {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate);
    margin-top: 2px;
}

.event-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card__body h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.event-card__location {
    font-size: 0.82rem;
    color: var(--silver);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-card__location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.event-card__description {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--slate);
    margin-bottom: 1.25rem;
    flex: 1;
}

.event-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 196, 176, 0.3);
}

.event-card__pricing {
    font-size: 0.8rem;
    color: var(--slate);
    line-height: 1.5;
}

.event-card__price {
    font-weight: 700;
    color: var(--deep-blue-grey);
    font-size: 0.9rem;
}

.event-card__price-label {
    font-size: 0.72rem;
    color: var(--silver);
}

.event-card__price-regular {
    color: var(--silver);
    font-size: 0.78rem;
}

.event-card__benefit {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--blue);
    margin-top: 0.25rem;
}

.event-card__benefit svg {
    width: 12px;
    height: 12px;
}

.btn-small {
    padding: 0.55rem 1.2rem;
    font-size: 0.82rem;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy {
    padding: 6rem 5%;
    background: var(--deep-blue-grey);
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '\201C';
    position: absolute;
    top: 2rem;
    left: 5%;
    font-family: 'Cypress', 'Cormorant Garamond', serif;
    font-size: 20rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.philosophy__content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.philosophy h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--warm-white);
}

.philosophy__quote {
    font-family: 'Lato', sans-serif;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: var(--warm-sand);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.philosophy p:not(.philosophy__quote) {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
}

/* ============================================
   Difference / USP Section
   ============================================ */
.difference {
    padding: 6rem 5%;
    background: var(--warm-white);
}

.difference__content {
    max-width: 1000px;
    margin: 0 auto;
}

.difference__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.difference__header h2 {
    font-size: 2.4rem;
}

.difference__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.difference-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.difference-item__icon {
    width: 70px;
    height: 70px;
    background: var(--soft-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.difference-item__icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--silver);
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.difference-item__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--deep-blue-grey);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.difference-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.difference-item p {
    font-size: 0.95rem;
    color: var(--slate);
}

/* ============================================
   Testimonial Section
   ============================================ */
.testimonial {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--soft-sand) 0%, var(--cream-white) 100%);
}

.testimonial__content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__quote {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--deep-blue-grey);
}

.testimonial__author {
    font-size: 0.9rem;
    color: var(--slate);
    font-weight: 500;
}

/* ============================================
   Team Preview Section
   ============================================ */
.team {
    padding: 6rem 5%;
    background: var(--cream-white);
}

.team__content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.team h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.team__content > p {
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.team-member__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--warm-sand) 0%, var(--soft-sand) 100%);
}

.team-member__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-member span {
    font-size: 0.85rem;
    color: var(--slate);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 5rem 5%;
    background: var(--warm-white);
    text-align: center;
}

.cta h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--slate);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--deep-blue-grey);
    color: var(--warm-white);
    padding: 4rem 5% 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.8;
    max-width: 300px;
}

.footer__logo {
    margin-bottom: 1rem;
}

.footer__logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__links h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--warm-white);
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
    color: var(--warm-sand);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero__visual {
        width: 480px;
        height: 440px;
        right: -2%;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__hamburger {
        display: flex;
    }

    .nav__hamburger.is-open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__hamburger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav__hamburger.is-open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 6rem 5% 3rem;
        min-height: auto;
    }

    .hero__visual {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .pillars__grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .events-agenda__intro {
        padding: 4rem 6% 2rem;
    }

    .events-agenda__calendar {
        padding: 1.5rem 6% 4rem;
    }

    .difference__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h2 {
        font-size: 1.8rem !important;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 5% 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero__cta-group {
        flex-direction: column;
    }

    .hero__cta-group .btn-primary,
    .hero__cta-group .btn-secondary {
        text-align: center;
    }

    .team__grid {
        grid-template-columns: 1fr;
    }

    .team-member__avatar {
        width: 120px;
        height: 120px;
    }
}
