@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat.ttf') format('truetype');
}

/* Default CSS */
:root {
    --primary-color: #71ae47; 
    --primary-color-low: rgba(113, 174, 71, 0.5);
    --primary-color-dark: #3d6f1f;

    --secondary-color: #006fab; 
    --secondary-color-low: rgba(0, 111, 171, 0.5);
    --secondary-color-dark: #003c66;

    --tertiary-color: #272429;
    --tertiary-color-low: rgba(39, 36, 41, 0.5);
    --tertiary-color-dark: #1a1a1d;

    --bg-color: #f5f5f5;
    --bg-color-low: rgba(248, 249, 250, 0.5);
    --bg-color-dark: #e4e7eb;

    --text-dark: #343a40;
    --text-dark-low: #495057b9;
    --text-dark-dark: #212529;

    --text-light: #f8f9fa;
    --text-light-low: rgba(248, 249, 250, 0.7);
    --text-light-dark: #e1e4e6;

    --button-color: #02337c; 
    --button-color-low: rgba(2, 51, 124, 0.5);
    --button-color-dark: #001a4d;

    --card-bg: #fcfcfc;
    --card-bg-low: #f3f2f2;
    --smoothline-color: var(--bg-color);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
}

/* reset all the default styles */

html.lenis, html.lenis body {
    height: auto;
  }
  
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .lenis.lenis-smooth iframe {
    pointer-events: none;
  }


body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background-color: var(--bg-color);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--text-dark);
}

i {
    font-style: normal;
    font-weight: 600;
    font-size: 25px;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
}

button:focus {
    outline: none;
}

button:active {
    outline: none;
}

button:hover {
    outline: none;
}

ul,
li {
    list-style: none;
    padding: 0;
}

img {
    width: 100%;
    height: auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
}
h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
}
h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}
h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}
h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}
h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

main {
    margin-top: 70px;
}

section {
    display: flex;
    position: relative;
    height: 100vh;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    
}



@font-face {
    font-family: 'Playpen Sans';
    src: url('../font/PlaypenSans.ttf') format('truetype');
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

[data-is-scrolled="true"] header {
    padding: 0.5rem 0;
    box-shadow: unset;
    background: unset;
    backdrop-filter: unset;
}

.site-footer {
    background: linear-gradient(to bottom, var(--card-bg) 0%, var(--card-bg-low) 100%);
    position: relative;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: -3px;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient( 90deg, transparent, var(--primary-color-low) 15%, var(--primary-color) 50%, var(--primary-color-low) 85%, transparent );
    }

    .site-footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .site-footer .footer-top {
        padding: 4rem 0 3rem;
    }

    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    .site-footer .footer-col {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .site-footer .footer-logo {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

        .site-footer .footer-logo img {
            height: 50px;
            width: auto;
        }

        .site-footer .footer-logo span {
            font-family: 'Playpen Sans', sans-serif;
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--primary-color);
        }

    .site-footer .footer-about {
        color: var(--text-dark-low);
        line-height: 1.6;
    }

    .site-footer .social-links {
        display: flex;
        gap: 1rem;
    }

    .site-footer .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-color);
        color: var(--text-dark);
        transition: all 0.3s ease;
    }

        .site-footer .social-link i {
            font-size: 18px;
        }

    .site-footer h4 {
        color: var(--text-dark);
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .site-footer .footer-links li {
        margin-bottom: 0.75rem;
    }

    .site-footer .footer-links a {
        color: var(--text-dark-low);
        transition: all 0.3s ease;
        position: relative;
    }

        .site-footer .footer-links a::before {
            content: '→';
            opacity: 0;
            margin-right: 0.5rem;
            transform: translateX(-10px);
            display: inline-block;
            transition: all 0.3s ease;
        }

        .site-footer .footer-links a:hover {
            color: var(--primary-color);
        }

            .site-footer .footer-links a:hover::before {
                opacity: 1;
                transform: translateX(0);
            }

    .site-footer .contact-info li {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: var(--text-dark-low);
        margin-bottom: 1rem;
    }

    .site-footer .contact-info i {
        font-size: 16px;
        color: var(--primary-color);
    }

    .site-footer .working-hours li {
        display: flex;
        justify-content: space-between;
        color: var(--text-dark-low);
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px dashed var(--bg-color);
    }

    .site-footer .footer-bottom {
        background: var(--card-bg);
        padding: 1.5rem 0;
        border-top: 1px solid var(--bg-color);
    }

        .site-footer .footer-bottom .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .site-footer .footer-bottom .container {
            padding: 1.5rem 2rem;
        }

    .site-footer .footer-bottom-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }

    .site-footer .copyright-wrapper {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .site-footer .developer-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        background: var(--bg-color);
        color: var(--text-dark-low);
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

        .site-footer .developer-link i {
            font-size: 1rem;
            color: var(--primary-color);
            transition: transform 0.3s ease;
        }

        .site-footer .developer-link:hover {
            background: var(--primary-color);
            color: var(--text-light);
            transform: translateY(-2px);
        }

            .site-footer .developer-link:hover i {
                color: var(--text-light);
                transform: rotate(360deg);
            }

@media (max-width: 768px) {
    .site-footer .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .site-footer .copyright-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .site-footer .developer-link {
        margin: 0.5rem auto;
    }
}

.site-footer .copyright {
    color: var(--text-dark-low);
}

.site-footer .legal-links {
    display: flex;
    gap: 2rem;
}

    .site-footer .legal-links a {
        color: var (--text-dark-low);
        transition: color 0.3s ease;
    }

        .site-footer .legal-links a:hover {
            color: var(--primary-color);
        }

@media (max-width: 992px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .site-footer .container {
        padding: 0 1.5rem;
    }

    .site-footer .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .site-footer .footer-about {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .site-footer .footer-about {
        max-width: 100%;
    }

    .site-footer .footer-col {
        text-align: center;
        align-items: center;
    }

    .site-footer .contact-info li,
    .site-footer .working-hours li {
        justify-content: center;
    }

    .site-footer .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .site-footer {
        margin-top: 2rem;
    }

        .site-footer .footer-top {
            padding: 2rem 0;
        }

        .site-footer .container {
            padding: 0 1rem;
        }

        .site-footer .footer-logo {
            flex-direction: column;
            text-align: center;
        }

        .site-footer .social-links {
            justify-content: center;
        }

        .site-footer .contact-info li {
            flex-direction: column;
            gap: 0.5rem;
            text-align: center;
        }

        .site-footer .working-hours li {
            flex-direction: column;
            gap: 0.25rem;
            text-align: center;
        }

        .site-footer .legal-links {
            flex-direction: column;
            gap: 1rem;
        }
}

@media (max-width: 360px) {
    .site-footer .footer-logo span {
        font-size: 1.25rem;
    }

    .site-footer h4 {
        font-size: 1.1rem;
    }

    .site-footer .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .site-footer .social-link {
        width: 35px;
        height: 35px;
    }
}


/* Footer Mobil Düzenlemeler */
@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

        .site-footer .contact-info li {
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem;
            background: var(--bg-color);
            border-radius: 8px;
            margin-bottom: 0;
            transition: all 0.3s ease;
        }

            .site-footer .contact-info li:hover {
                background: var(--primary-color);
                color: var(--text-light);
            }

                .site-footer .contact-info li:hover i {
                    color: var(--text-light);
                }

        .site-footer .contact-info i {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

    .site-footer .working-hours {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1rem;
    }

        .site-footer .working-hours li {
            flex-direction: column;
            text-align: center;
            padding: 1rem;
            background: var(--bg-color);
            border-radius: 8px;
            border: none;
            margin: 0;
        }

            .site-footer .working-hours li span:first-child {
                font-weight: 600;
                color: var(--primary-color);
                margin-bottom: 0.5rem;
            }

    .site-footer .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        text-align: center;
    }

        .site-footer .footer-links li {
            margin: 0;
        }

        .site-footer .footer-links a {
            display: block;
            padding: 0.75rem;
            background: var(--bg-color);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

            .site-footer .footer-links a:hover {
                background: var(--primary-color);
                color: var(--text-light);
            }

            .site-footer .footer-links a::before {
                display: none;
            }

    .site-footer .social-links {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-width: 280px;
        margin: 1rem auto;
    }

    .site-footer .social-link {
        width: 100%;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .site-footer .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .contact-info,
    .site-footer .working-hours {
        display:flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:center;
        align-items:center;
    }

    .site-footer .social-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .site-footer .footer-bottom .container {
        padding: 1.5rem 1rem;
    }
}





.ask-dietitian {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(100px);
    animation: slideIn 0.6s ease forwards;
    animation-delay: 3s;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.ask-dietitian .message-box {
    background: var(--primary-color);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 200px;
    position: relative;
    bottom: 30px;
    right: 0px;
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.ask-dietitian:hover .message-box {
    transform: translateY(-5px);
}

.ask-dietitian .message-box::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: -6px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-right: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transform: rotate(-45deg);
}

.ask-dietitian .message-box .title {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.ask-dietitian .message-box .desc {
    color: var(--text-light-low);
    font-size: 0.85rem;
    line-height: 1.4;
}

.ask-dietitian .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: gentle-float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 2px white, 0 0 20px rgba(113, 174, 71, 0.4), 0 0 40px rgba(113, 174, 71, 0.2);
}



@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }

    100% {
        transform: translateX(-100%) rotate(45deg);
    }
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ask-dietitian .avatar i {
    color: var(--text-dark);
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ask-dietitian .avatar::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border: 2px solid white;
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
    box-shadow: 0 0 10px #4CAF50;
}

.ask-dietitian::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient( circle at center, rgba(113, 174, 71, 0.2) 0%, transparent 70% );
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.ask-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: 50px;
}

    .ask-modal.active {
        opacity: 1;
        visibility: visible;
    }

    .ask-modal .modal-content {
        background: white;
        border-radius: 16px;
        width: 95%;
        max-width: 400px;
        padding: 1.5rem;
        margin: 1rem;
        position: relative;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .ask-modal.active .modal-content {
        transform: translateY(0);
    }

    .ask-modal .close-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        background: var(--bg-color);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .ask-modal .close-btn:hover {
            background: var(--primary-color);
            color: white;
        }

    .ask-modal .modal-body {
        text-align: center;
        margin-bottom: 1.5rem;
    }

        .ask-modal .modal-body img {
            width: 250px;
            margin-bottom: -1rem;
        }

        .ask-modal .modal-body h3 {
            color: var(--text-dark);
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .ask-modal .modal-body p {
            font-size: 0.9rem;
            color: var(--text-dark-low);
            line-height: 1.6;
        }

        .ask-modal .modal-body .buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-direction: column;
            width: 100%;
        }

        .ask-modal .modal-body button.primary {
            background: var(--primary-color);
            color: white;
            width: 100%;
            padding: 0.85rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .ask-modal .modal-body .whatsapp-btn {
            background: #42b433;
            color: white;
            width: calc(100% - 2rem);
            padding: 0.85rem 1rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            text-decoration: none;
        }

            .ask-modal .modal-body .whatsapp-btn i {
                font-size: 1.2rem;
            }

            .ask-modal .modal-body button.primary:hover,
            .ask-modal .modal-body .whatsapp-btn:hover {
                transform: translateY(-2px);
                filter: brightness(110%);
            }

        .ask-modal .modal-body button.primary:hover {
            box-shadow: 0 4px 15px rgba(113, 174, 71, 0.3);
        }

        .ask-modal .modal-body .whatsapp-btn:hover {
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }

        .ask-modal .modal-body .buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .ask-modal .modal-body button {
            background: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            display: inline-block;
            margin-top: 1rem;
        }

.ask-form {
    display: none;
}

    .ask-form.active {
        display: block;
    }

    .ask-form .form-group {
        margin-bottom: 1rem;
    }

    .ask-form label {
        display: block;
        margin-bottom: 0.4rem;
        color: var(--text-dark);
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .ask-form label i {
            font-size: 0.9rem;
            color: var(--primary-color);
        }

    .ask-form input,
    .ask-form textarea {
        width: calc(100% - 2rem);
        padding: 0.75rem 1rem;
        border: 1px solid var(--bg-color);
        border-radius: 8px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        background: white;
    }

        .ask-form input:focus,
        .ask-form textarea:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px var(--primary-color-low);
            transform: translateY(-2px);
        }

    .ask-form textarea {
        height: 100px;
        resize: none;
    }

    .ask-form .submit-btn {
        width: 100%;
        padding: 0.75rem;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
        color: white;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        margin-top: 0.75rem;
    }

        .ask-form .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(113, 174, 71, 0.25);
        }

.success-message {
    display: none;
    text-align: center;
    padding: 1.5rem 0;
}

    .success-message.active {
        display: block;
    }

    .success-message i {
        font-size: 36px;
        color: var(--primary-color);
        margin-bottom: 0.75rem;
    }

    .success-message h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .success-message p {
        font-size: 0.85rem;
        color: var(--text-dark-low);
    }

@media (max-width: 768px) {
    .ask-dietitian {
        bottom: 20px;
        right: 20px;
    }

        .ask-dietitian .message-box {
            display: none;
        }

    .ask-dietitian {
        transform: none;
    }

    .ask-modal .modal-content {
        padding: 1.5rem;
    }
}
