@import url(https://db.onlinewebfonts.com/c/9a7e574c3eda05d71d03345d3f9e268e?family=Futura+LT+W01+Light+Oblique);

/* ANIMATION BASE */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* WHEN VISIBLE */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
    caret-color: transparent;
}

body {
    margin: 0;
    font-family: Futura LT W01 Light Oblique;
    background-color: #edfbff;
    color: #222;
}

.logo-kvj {
    max-height: 100px;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 60px;
    background: #388DB4;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    color: #E6EEF3;
}

.logo {
    font-size: 14px;
    letter-spacing: 2px;
}

/* MENU */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #E6EEF3;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* CTA */
.cta {
    padding: 8px 18px;
    border: 1px solid #E6EEF3;
    font-size: 12px;
    letter-spacing: 1px;
}

.cta:hover {
    background: #E6EEF3;
    color: white;
}

/* SECTIONS */
.section {
    padding: 120px 20px;
    margin: auto;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    font-weight: normal;
}

.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================= */
/* PROFILE SECTION */
/* ========================= */

.profile-section {
    padding: 120px 20px;
}

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* IMAGE COLUMN */
.profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* IMAGE WRAPPER (THIS IS THE KEY FIX) */
.image-wrapper {
    width: 50%;
    /* 👈 takes 50% of container */
    max-width: 600px;
    /* optional safety limit */
    aspect-ratio: 11 / 14;
    /* keeps proportions */
    overflow: hidden;
}

/* IMAGE FIT */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TEXT */
.profile-text {
    flex: 1;
    max-width: 500px;
}

.profile-text h2 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 10px;
}

.profile-text h4 {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: normal;
    margin-bottom: 30px;
}

.profile-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

/* MOBILE */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        gap: 40px;
    }

    .profile-text {
        text-align: center;
    }

    .image-wrapper {
        width: 80%;
    }
}

/* NAME STYLING */
.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.profile-container-text {
    max-width: 1100px;
    margin: 0 auto;
}

/* LEFT COLUMN = ALWAYS 50% */
.profile-image {
    flex: 0 0 50%;
    max-width: 50%;
}

/* IMAGE WRAPPER ONLY HANDLES SHAPE */
.image-wrapper {
    width: 100%;
    aspect-ratio: 11 / 14;
    overflow: hidden;
}

/* IMAGE FILL */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*CUSTOM*/
.d-img {
    object-fit: cover;
    object-position: 50% 0%;
}

.d-name1 {
    font-size: 5em;
    letter-spacing: 15px;
    font-family: Futura LT W01 Light Oblique;
    white-space: nowrap;
}

.d-name2 {
    font-size: 8em;
    letter-spacing: 10px;
    font-family: Futura LT W01 Light Oblique;
    margin-top: -25px;
}

.d-kizzy {
    margin-top: -15px;
    margin-bottom: 40px !important;
}

.d-blue {
    background-color: #388DB4;
    color: #edfbff;
}

.d-missie {
    font-size: 1.4em;
    text-align: left;
}

.d-text-section {
    text-align: left;
}

.d-nostyle {
    color: #edfbff;
}

.d-nostyleblack {
    color: black;
}

.d-3waycontainer {
    display: flex;
    margin-left: -10px;
    margin-top: 30px;
}

.d-3way {
    margin: 10px;
    background-color: #388DB4;
    width: 33%;
    color: #E6EEF3;
    padding: 15px;
    height: 520px;
}

.d-3way>h3 {
    text-align: center;
}

.d-3way:hover {
    font-weight: bold;
    cursor: pointer;
}

.d-3waycontainer {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Each block */
.d-3way {
    flex: 1;
    padding: 15px;
}

/* Optional: nicer text spacing */
.d-3way h3 {
    margin-bottom: 10px;
}

.d-3way ul {
    padding-left: 18px;
}

.d-2waycontainer {
    display: flex;
    margin-left: -10px;
    margin-top: 30px;
}

.d-2way {
    margin: 10px;
    background-color: #E6EEF3;
    width: 33%;
    color: #222;
    padding: 15px;
    height: 520px;
}

.d-2way>h3 {
    text-align: center;
}

.d-2way>h4 {
    text-align: center;
}

.d-2waycontainer {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Each block */
.d-2way {
    flex: 1;
    padding: 15px;
}

/* Optional: nicer text spacing */
.d-2way h3 {
    margin-bottom: 10px;
}

.d-2way ul {
    padding-left: 18px;
}

.d-smaller {
    height: 250px;
}

.d-longer {
    height: 680px;
}

/* 🔥 MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .d-3waycontainer {
        flex-direction: column;
    }

    .d-3way {
        width: 90%;
    }

    .d-2waycontainer {
        flex-direction: column;
    }

    .d-2way {
        width: 90%;
    }
}

.profile-container-img {
    position: relative;
    overflow: hidden;
}

/* BACKGROUND IMAGE (behind everything) */
.profile-container-img::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("resources/images/KVJ_LOGO_SYMBOOL.jpg.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.38;
    /* very subtle */
    z-index: 0;
    pointer-events: none;
}

.profile-container-wide {
    background-color: #A4C9DC;
}

.profile-container-img>* {
    position: relative;
    z-index: 1;
}


.container-50 {
    width: 100%;
    display: flex;
    align-items: stretch;
    /* 👈 IMPORTANT: makes both columns equal height */
    gap: 40px;
}

/* FLEXIBLE COLUMNS (instead of fixed 50%) */
.first-50 {
    flex: 1;
    text-align: left;
}

.second-50 {
    flex: 1;
}

.profile-text>p {
    font-size: 1.2em;
}

/* FORCE FULL AREA IMAGE */
.d-heart {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* key: zoom + crop to fill */
    display: block;
    opacity: 50%;
    border-radius: 140px;
}

.d-who {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* key: zoom + crop to fill */
    display: block;
    opacity: 60%;
}

.d-egg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* key: zoom + crop to fill */
    display: block;
    opacity: 50%;
    border-radius: 50px;
}

.d-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* key: zoom + crop to fill */
    display: block;
    border-radius: 50px;
}

.d-name1 {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.d-name1::before {
    content: "";
    position: absolute;

    width: 160px;
    height: 160px;

    background-image: url("resources/images/KVJ_LOGO_SYMBOOL_NO_BG.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0.15;
    /* adjust visibility */
    transform: rotate(-15deg);

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(15deg);

    z-index: -1;
    pointer-events: none;
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 768px) {

    .container-50 {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .first-50,
    .second-50 {
        flex: unset;
        width: 100%;
    }

    .d-heart {
        width: 90%;
        margin: 0 auto;
    }
}

/* ========================= */
/* TABLET + MOBILE FIXES */
/* ========================= */

@media (max-width: 1024px) {
    .profile-container {
        gap: 40px;
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .d-name1 {
        font-size: 3.5em !important;
        letter-spacing: 8px;
    }

    .d-name2 {
        font-size: 6em !important;
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

    /* NAVBAR */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-links a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .cta {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* HERO LAYOUT STACK */
    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .profile-image,
    .profile-text {
        flex: 100%;
        max-width: 100%;
    }

    .image-wrapper {
        width: 85%;
        margin: 0 auto;
    }

    /* TYPOGRAPHY SCALE DOWN */
    .d-name1 {
        font-size: 2.5em !important;
        letter-spacing: 6px;
    }

    .d-name2 {
        font-size: 4em !important;
        margin-top: -10px;
    }

    .d-kizzy {
        margin-top: 0;
        margin-bottom: 20px !important;
    }

    .profile-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* MISSIE SECTION */
    .d-missie {
        font-size: 1.1em;
        padding: 30px 15px;
    }

    .section {
        padding: 40px 15px;
    }
}

/* ========================= */
/* SMALL MOBILE (iPhone SE etc.) */
/* ========================= */

@media (max-width: 480px) {

    .d-name1 {
        font-size: 2em !important;
    }

    .d-name2 {
        font-size: 3em !important;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .profile-text p {
        font-size: 13px;
    }

    .image-wrapper {
        width: 95%;
    }
}

/* ========================= */
/* HAMBURGER MENU */
/* ========================= */

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #E6EEF3;
    cursor: pointer;
}

/* MOBILE NAV HIDDEN BY DEFAULT */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #388DB4;
        padding: 15px 0;
        position: absolute;
        top: 70px;
        left: 0;
        text-align: center;
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    /* WHEN ACTIVE */
    .nav-links.active {
        display: flex;
    }

    .navbar {
        position: sticky;
        top: 0;
    }
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;

    background-color: #388DB4;
    color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;  
  color: #fff;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  padding-right: 100px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}