/* =================================
   ÉLINA - WEBSITE DESIGN
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Times New Roman", Times, serif;
    background: #fffaf5;
    color: #302044;
    line-height: 1.7;
}

/* HEADER */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    background: rgba(255, 250, 245, 0.97);
    box-shadow: 0 3px 15px rgba(65, 35, 90, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #702d91;
    text-decoration: none;
}

.main-navigation {
    display: flex;
    gap: 25px;
}

.main-navigation a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #342344;
    font-weight: 600;
    transition: 0.3s;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #963fc0;
}

/* HERO SECTION */

.hero {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 30px;
    min-height: 620px;
    padding: 50px 6%;
    background: linear-gradient(135deg, #fbf7ff, #ffffff);
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image img {
     display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.welcome-text {
    font-family: Arial, Helvetica, sans-serif;
    color: #8c43ae;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.2;
    max-width: 650px;
    color: #48205f;
    margin-bottom: 22px;
}

.hero p {
    max-width: 560px;
    font-size: 19px;
    margin-bottom: 28px;
}

/* BUTTONS */

.primary-button {
    display: inline-block;
    background: #873ab0;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    transition: 0.3s;
}

.primary-button:hover {
    background: #632783;
    transform: translateY(-3px);
}

/* GENERAL SECTIONS */

section {
    padding: 85px 8%;
}

section h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    color: #51246d;
    margin-bottom: 20px;
}

section > p {
    max-width: 750px;
    margin-bottom: 35px;
    font-size: 17px;
}

/* ABOUT */

.about-section {
    background: #f0f7e9;
}

.about-section p {
    max-width: 850px;
    font-size: 18px;
    color: #292929;
}
/* CHILDREN'S AND TEENAGERS' CORNERS */


/* ACTIVITIES */

.activities-section {
    background: #fffaf5;
    color: #292929;
}

.activities-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 24px;
    margin-top: 35px;
}

.activity-card {
    padding: 30px;
    border-radius: 24px;
    background: #f2e2fa;
    box-shadow: 0 5px 18px rgba(65, 35, 90, 0.05);
    transition: transform 0.3s;
}

.activity-card:nth-child(2) {
    background: #fff0cf;
}

.activity-card:nth-child(3) {
    background: #dff3ef;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #572774;
    font-size: 21px;
    margin-bottom: 15px;
}

.activity-card h4 {
    color: #572774;
    margin-bottom: 12px;
}

.activity-card p {
    margin-bottom: 10px;
}

.activity-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.activity-card li {
    margin-bottom: 5px;
}

/* ONLINE SHOP */


/* SHOP SECTION */

.shop-section {
    padding: 45px 5%;
    background-color: #fffaf5;
}

.shop-section h2 {
    margin-bottom: 25px;
    font-size: 30px;
}

.shop-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1250px;
    margin: 0 auto;
}

.shop-card {
    min-height: 110px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #eee8f7;
    border-radius: 20px;
    gap: 8px;
}

.shop-card h3 {
    font-size: 17px;
    color: #76649b;
    margin: 0;
}

.category-description {
    font-family: "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.4;
    color: #625d68;
    margin: 0;
}

@media (max-width: 650px) {
    .shop-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(65, 35, 90, 0.08);
}

.shop-card h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #702d91;
    margin-bottom: 12px;
    font-size: 22px;
}

/* BLOG */

.blog-section {
    background: #e4f3ef;
    color: #292929;
}

/* CONTACT */

.contact-section {
    background: #f8e9f8;
    color: #292929;
}

.contact-section p {
    font-size: 18px;
}

/* FOOTER */

.site-footer {
    background: #432653;
    color: #ffffff;
    text-align: center;
    padding: 30px 15px;
}

.site-footer p {
    font-size: 15px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 900px) {
    .activities-container,
    .shop-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-header {
        flex-wrap: wrap;
        gap: 18px;
    }

    .main-navigation {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        padding: 18px 5%;
    }

    .main-navigation {
        justify-content: center;
        gap: 12px;
        font-size: 13px;
    }

    .hero {
        min-height: 430px;
        padding: 75px 7%;
    }

    section {
        padding: 60px 7%;
    }

    section h2 {
        font-size: 28px;
    }

    .activities-container,
    .shop-container {
        grid-template-columns: 1fr;
    }

    .hero p {
        font-size: 17px;
    }
}
/* WHAT WE DO SECTION */

.activities-section {
    padding: 90px 7%;
    text-align: center;
    background-color: #fbf9ff;
}

.activities-section .section-content {
    max-width: 700px;
    margin: 0 auto 45px;
}

.activities-section h2 {
    color: #76649b;
    font-size: 36px;
    margin-bottom: 15px;
}

.section-intro {
    font-family: "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #625d68;
}

.activities-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.activity-card {
    padding: 32px 26px;
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid #eee8f7;
}

.activity-card:nth-child(1) {
    border-top: 5px solid #b9a4e3;
}

.activity-card:nth-child(2) {
    border-top: 5px solid #a9d5bd;
}

.activity-card:nth-child(3) {
    border-top: 5px solid #f3d68b;
}

.activity-card h3 {
    color: #76649b;
    font-size: 21px;
    margin-bottom: 15px;
}

.activity-card p,
.activity-card li {
    font-family: "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.7;
    color: #625d68;
}

.activity-card ul {
    padding-left: 20px;
    margin-top: 18px;
}

.activity-card li {
    margin-bottom: 8px;
}

@media (max-width: 850px) {
    .activities-container {
        grid-template-columns: 1fr;
    }
}






/* CHILDREN'S AND TEENAGERS' CORNERS */

.corners-section {
    padding: 45px 5% 65px;
    background-color: #fffdfd;
}

.corners-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.corner-card {
    min-height: 350px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
    overflow: visible;
}

.children-corner {
    background-color: #f1e4ff;
}

.teenagers-corner {
    background-color: #e1f3ef;
}

.corner-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.corner-content h2 {
    color: #541078;
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.corner-content p {
    font-family: "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #393342;
    margin-bottom: 10px;
}

.corner-content .age-description {
    font-size: 14px;
    color: #655a70;
}

.corner-button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 25px;
    background-color: #923bc0;
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.corner-image {
    flex: 0 0 45%;
    position: relative;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.corner-image img {
    width: 125%;
    max-width: none;
    height: 430px;
    object-fit: cover;
    object-position: top center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}


@media (max-width: 850px) {
    .corners-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .corner-card {
        padding: 22px;
        min-height: 260px;
    }

    .corner-content h2 {
        font-size: 25px;
    }

    .corner-content p {
        font-size: 14px;
    }

    .corner-image {
        flex-basis: 38%;
    }

    .corner-image img {
        height: 280px;
        max-width: 240px;
    }
}

/* TECA PROJECT SECTION */

.projects-section {
    padding: 55px 7%;
    background-color: #f5efff;
    text-align: center;
}

.projects-section .section-content {
    max-width: 750px;
    margin: 0 auto;
}

.projects-section h2 {
    color: #76649b;
    font-size: 30px;
    margin-bottom: 18px;
}

.projects-section p:not(.section-label) {
    font-family: "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #625d68;
}

.projects-section h3 {
    color: #76649b;
    font-size: 20px;
    margin-top: 22px;
}

/* BLOG SECTION */

.blog-section {
    min-height: 400px;
    padding: 50px 7%;
    position: relative;
    overflow: hidden;
    background: #f5f0ff;
}

.blog-content {
    width: 50%;
    max-width: 480px;
    position: relative;
    z-index: 2;
    padding-top: 65px;
}

.blog-content h2 {
    color: #76649b;
    font-size: 34px;
    margin-bottom: 15px;
}

.blog-content p:not(.section-label) {
    font-family: "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.6;
    color: #625d68;
}

.blog-image {
    position: absolute;
    right: 7%;
    bottom: 0;
    width: 42%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.blog-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
}

@media (max-width: 700px) {
    .blog-section {
        min-height: 650px;
    }

    .blog-content {
        width: 100%;
        padding-top: 20px;
    }

    .blog-image {
        width: 75%;
        height: 320px;
        right: 0;
    }
}

/* FOUNDER AND CONTACT - COMBINED SECTION */

.founder-contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 25px 5%;
    background-color: #ead8fa;
}

.founder-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.founder-image {
    flex: 0 0 35%;
}

.founder-image img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.founder-content,
.contact-side {
    min-width: 0;
}

.founder-content h2,
.contact-side h2 {
    color: #542078;
    font-size: 22px;
    margin-bottom: 6px;
}

.founder-content h3 {
    color: #76649b;
    font-size: 16px;
    margin-bottom: 8px;
}

.founder-content p:not(.section-label),
.contact-side p:not(.section-label) {
    font-family: "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.4;
    color: #40364b;
    margin-bottom: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 9px;
    border: 1px solid #d4c2e5;
    border-radius: 6px;
    font-family: "Times New Roman", serif;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 75px;
    resize: vertical;
}

.contact-form button {
    padding: 9px 16px;
    border: none;
    border-radius: 6px;
    background: #76649b;
    color: white;
    cursor: pointer;
    width: fit-content;
}

@media (max-width: 700px) {
    .founder-contact-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 6%;
    }

    .founder-side {
        align-items: flex-start;
    }

    .founder-image {
        flex-basis: 30%;
    }

    .founder-image img {
        max-width: 120px;
    }
}

/* MOBILE HERO SECTION */

@media (max-width: 700px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 15px;
        min-height: auto;
        padding: 35px 7%;
        text-align: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-image {
        width: 100%;
        justify-content: center;
    }

    .hero-image img {
        width: 85%;
        max-width: 320px;
        height: auto;
    }

}

/* NAVIGATION SECTION ALIGNMENT */

main section[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 600px) {
    main section[id] {
        scroll-margin-top: 160px;
    }
}

/* EXPLORE ELINA'S JOURNAL BUTTON */

.blog-button {
    display: inline-block;
    margin-top: 22px;
    padding: 14px 28px;
    background-color: #e58bb8;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.blog-button:hover {
    background-color: #70243f;
    transform: translateY(-3px);
}

/* HOMEPAGE SHOP SECTION */

.shop-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 55px 8%;
    background: #f8f2f8;
    border-radius: 18px;
    gap: 30px;
}

.shop-content {
    max-width: 550px;
}

.shop-content h2 {
    font-family: "Times New Roman", serif;
    font-size: 34px;
    color: #49344f;
    margin-bottom: 15px;
}

.shop-content p {
    font-family: "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.6;
    color: #625b65;
    margin-bottom: 22px;
}

.shop-button {
    display: inline-block;
    padding: 12px 25px;
    background: #704478;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.shop-button:hover {
    background: #51345a;
    transform: translateY(-3px);
}

.shop-image img {
    width: 350px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .shop-section {
        padding: 35px 7%;
        gap: 15px;
    }

    .shop-content h2 {
        font-size: 27px;
    }

    .shop-content p {
        font-size: 15px;
    }

    .shop-image img {
        width: 95px;
    }
}
