/* CSS Reset & Variable overrides for full-width template in this theme */
body .mkdf-container,
body .mkdf-container-inner,
body .mkdf-content,
body .mkdf-content-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .mkdf-title-holder,
body .mkdf-breadcrumbs {
    display: none !important;
}

/* Transparent Header Overlay */
body .mkdf-top-bar,
body .mkdf-page-header,
body .mkdf-mobile-header,
body .mkdf-menu-area,
body .mkdf-menu-area .mkdf-grid,
body .mkdf-menu-area .mkdf-vertical-align-containers,
body .mkdf-logo-area,
body .mkdf-mobile-header-inner {
    background-color: transparent !important;
    border: none !important;
}

body .mkdf-top-bar {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101 !important;
}

body .mkdf-page-header {
    position: absolute !important;
    top: 40px !important;
    left: 0;
    width: 100%;
    z-index: 100 !important;
}

body .mkdf-mobile-header {
    position: absolute !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 100 !important;
}

/* Align Logo and Menu on the same row (Desktop) */
@media (min-width: 1025px) {
    body .mkdf-page-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 40px !important;
    }

    body .mkdf-logo-area {
        width: auto !important;
        flex: 0 0 auto !important;
    }

    body .mkdf-logo-area .mkdf-vertical-align-containers {
        width: auto !important;
        display: block !important;
    }

    body .mkdf-logo-area .mkdf-position-center {
        display: block !important;
        width: auto !important;
    }

    body .mkdf-menu-area {
        flex: 1 1 auto !important;
        width: auto !important;
    }
    
    body .mkdf-menu-area .mkdf-grid {
        width: 100% !important;
        max-width: 100% !important;
    }
}

:root {
    --primary-color: #f25c7e;
    --medium-pink: #f8a5b8;
    --light-pink: #fdf2f5;
    --dark-color: #3c1642;
    --text-color: #5d4a66;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-cursive: 'Sacramento', cursive;
}

body {
    background-color: var(--light-pink) !important;
    margin: 0;
    padding: 0;
}

.lealine-about-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--light-pink);
    padding-bottom: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark-color); }
p, a, span, div { font-family: var(--font-body); color: var(--text-color); }

/* Buttons */
.lealine-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(242, 92, 126, 0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.lealine-btn:hover {
    background-color: #e04f70;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(242, 92, 126, 0.4);
    color: #ffffff !important;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes pulseHeart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* HERO SECTION */
.about-hero {
    position: relative;
    padding: 220px 20px 100px;
    text-align: center;
    background: radial-gradient(circle at top right, #ffe5ec 0%, var(--light-pink) 60%);
    overflow: hidden;
}

.candy-bg {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

.candy-1 { top: 10%; left: 8%; width: 110px; animation: float 6.5s ease-in-out infinite; opacity: 0.8; }
.candy-2 { top: 20%; right: 12%; width: 90px; animation: floatReverse 7.2s ease-in-out infinite; mix-blend-mode: multiply; }
.candy-3 { bottom: 15%; left: 18%; width: 100px; animation: floatReverse 5.8s ease-in-out infinite; opacity: 0.6; mix-blend-mode: multiply; }
.candy-4 { top: 75%; right: 20%; width: 130px; animation: float 8.5s ease-in-out infinite; opacity: 0.3; } 
.candy-5 { top: 12%; right: 35%; width: 85px; animation: float 5.5s ease-in-out infinite; opacity: 0.35; mix-blend-mode: multiply; } 

.candy-story-1 {
    position: absolute;
    top: 180px;
    right: 50px;
    width: 120px;
    animation: float 7s ease-in-out infinite;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: multiply;
}

.candy-story-2 {
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 140px;
    animation: floatReverse 8s ease-in-out infinite;
    z-index: 0;
    opacity: 0.5;
}

.candy-story-3 {
    position: absolute;
    top: 350px;
    right: -40px;
    width: 95px;
    animation: floatReverse 6.5s ease-in-out infinite;
    z-index: 0;
    opacity: 0.6;
    mix-blend-mode: multiply;
    transform: rotate(25deg);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 65px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-title span {
    color: var(--primary-color);
    font-family: var(--font-cursive);
    font-size: 85px;
    font-weight: 400;
    display: inline-block;
    transform: rotate(-5deg);
    margin: 0 10px;
}

.about-subtitle {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.about-intro-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* STORY SECTION */
.about-story {
    padding: 80px 20px;
    position: relative;
    background-color: #ffffff;
    border-radius: 40px;
    margin: 0 20px;
    box-shadow: 0 20px 50px rgba(242, 92, 126, 0.05);
    overflow: hidden;
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.story-header {
    text-align: center;
    margin-bottom: 50px;
}

.story-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: inline-block;
    animation: pulseHeart 2s infinite;
}

.story-title {
    font-size: 40px;
    color: var(--dark-color);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-text-block {
    background: var(--light-pink);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    font-size: 18px;
    line-height: 1.8;
}

.founder-photo {
    float: left;
    width: 300px;
    margin: 0 30px 20px 0;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    border: 8px solid #ffffff;
}

.founder-photo:hover {
    transform: rotate(0) scale(1.02);
}

.quote-block {
    text-align: center;
    font-size: 24px;
    font-style: italic;
    color: var(--primary-color);
    margin: 40px 0;
    padding: 30px;
    font-family: var(--font-heading);
    position: relative;
}

.quote-block::before {
    content: '"';
    font-size: 80px;
    color: var(--medium-pink);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    opacity: 0.3;
}

.story-closing {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: var(--dark-color);
    margin-top: 20px;
}

.story-signature {
    font-family: var(--font-cursive);
    font-size: 45px;
    color: var(--primary-color);
    margin-top: 10px;
    display: block;
}

/* CONTACT FORM SECTION */
.contact-section {
    padding: 80px 20px;
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.contact-container {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(242, 92, 126, 0.08);
    position: relative;
    z-index: 10;
}

.contact-title {
    font-size: 36px;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 10px;
}

.contact-subtitle {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 18px;
}

.lealine-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #ffeeea;
    border-radius: 15px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    background-color: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(242, 92, 126, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.contact-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* FOOTER CRAWLER */
.lealine-footer-strip {
    background-color: var(--primary-color);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.footer-strip-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding-left: 0;
    width: max-content;
    animation: crawl 30s linear infinite;
    gap: 40px;
}

.footer-strip-container:hover {
    animation-play-state: paused;
}

.strip-item {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.strip-item span {
    margin: 0 15px;
    font-size: 14px;
}

@keyframes crawl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-title {
        font-size: 50px;
    }
    .about-title span {
        font-size: 60px;
    }
    .story-title {
        font-size: 32px;
    }
    .about-story {
        padding: 40px 15px;
        margin: 0 10px;
    }
    .contact-container {
        padding: 30px 20px;
    }
    .candy-1 { width: 80px; }
    .candy-2 { width: 70px; }
    .candy-3 { width: 60px; }
    .candy-4 { width: 90px; }
    .candy-story-1 { right: 10px; top: 120px; width: 90px; }
    .founder-photo {
        float: none;
        width: 100%;
        margin: 0 0 30px 0;
        transform: rotate(0);
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 45px;
    }
    .about-hero {
        padding: 180px 15px 80px;
    }
    .candy-1, .candy-4, .candy-story-1 { display: none; }
}
