:root {
    --primary-color: #014EC4;
    /* global scope */
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #f1f1f1, #ffffff);
}

/* HEADER */
header {
    background: white;
    padding: 0 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

header img {
    height: 60px;
    margin-right: 1rem;
}

header h1 {
    margin: .5rem 0;
    color: var(--primary-color);
}

/* MAIN CONTENT */
.main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
    margin: 3rem 36px;

    background-image: url('product-beach3.png');
    background-size: cover;
    background-repeat: repeat-x;
    background-position: right;
    background-blend-mode: overlay;
    background-color: #f0f0f0;
    background-attachment: fixed;
    border-radius: 14px;
}

h1,
h2,
h3,
h4 {
    font-family: "Playpen Sans", cursive;
}

.product {
    width: 100%;
    max-width: none;

    display: inline-block;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    line-height: 0;
}

.product img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 34%;
    display: block;
    transition: transform 0.6s ease;
    aspect-ratio: 1 / 1;
}

.product:hover img {
    transform: scale(1.2);
}

.content {
    /* max-width: 600px;
    margin: 0; */
    /* max-width: 825px; */
    /* margin: 30px auto; */
    /* padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-size: 18px; */

    background: white;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    line-height: 1.65;
    font-family: 'Open Sans';
    height: auto;
    align-self: stretch;
    align-content: center;
}

/* SOCIAL */
.social {
    text-align: center;
    margin: 30px 0;
}

.social a {
    margin: 0 20px;
    font-size: 34px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.social a:hover {
    transform: scale(1.3);
}

.instagram {
    color: #E1306C;
}

.tiktok {
    color: #000000;
}

.facebook {
    color: #1877F2;
}

.email {
    color: #444;
}

/* PARTNERS SECTION */
.partners {
    /* background: #0b3d5c; */
    background: var(--primary-color);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.partners p {
    font-size: 18px;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.partners img {
    max-width: 500px;
    width: 90%;
    height: auto;
}

footer {
    /* background: #003366; */
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-logos {
        flex-direction: column;
        gap: 30px;
    }
}

/* ===== FEATURES (SCROLL) ===== */
.features {
    /* max-width: 980px; */
    margin: 40px auto 10px;
    padding: 0 20px;
    padding-bottom: 15vh;
}

.features-title {
    margin: 0 0 40px 0;
    text-align: center;
    font-size: 2rem;
    letter-spacing: .2px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
    margin: 3rem 1rem;
}

.feature--left .feature-media {
    order: 0;
}

.feature--left .feature-text {
    order: 1;
}

.feature--right .feature-media {
    order: 1;
}

.feature--right .feature-text {
    order: 0;
}

.feature-text {
    background: white;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    line-height: 1.65;
    font-family: 'Open Sans';
    height: auto;
    align-self: stretch;
    align-content: center;
}

.feature-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.feature-text p {
    margin: 0;
    font-size: 16px;
}

.feature-media {
    border-radius: 14px;
    overflow: hidden;
    /* το zoom να γίνεται "μέσα" */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    line-height: 0;
    background: #fff;
}

/* Σταθερό “hero card” για το κάθε feature image */
/* .feature-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;

    object-position: var(--opx, 50%) var(--opy, 50%);

    transform: scale(1);
    transition: transform 700ms cubic-bezier(.2, .8, .2, 1), filter 700ms cubic-bezier(.2, .8, .2, 1);
} */

.feature-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;

    object-position: var(--opx, 50%) var(--opy, 50%);

    transform: scale(1);
    opacity: 0.3;
    /* filter: saturate(0.95) contrast(0.95); */

    transition:
        transform 700ms cubic-bezier(.2, .8, .2, 1),
        opacity 600ms ease,
        filter 600ms ease;
}

/* Όταν είναι active: παίρνει τις τιμές από data-attributes */
.feature.is-active .feature-media img {
    transform: scale(var(--s, 1.2));
    opacity: 1;
    filter: saturate(1.08) contrast(1.06);
}

/* Mobile: στοίβα (εικόνα πάνω, κείμενο κάτω) */
@media (max-width: 768px) {
    .main,
    .feature {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature--right .feature-media,
    .feature--right .feature-text {
        order: 0;
        /* ίδια σειρά για mobile */
    }

    .feature-media img {
        height: 260px;
    }
}