/* Catalina Health - Custom Tailwind Overrides */
/* Flutter Color Palette Integration */

:root {
    --ct-primary: #39A635;
    --ct-primary-dark: #2E8A2B;
    --ct-primary-light: #ECF4EC;
    --ct-dark: #2C332B;
    --ct-border: #CFE1CF;
    --ct-gray: #6B7280;
    --ct-bg: #F9FBF9;
    --ct-accent: #FFA000;
    --ct-red: #EF4444;
    --ct-blue: #3B82F6;
}

/* Reset - boşlukları sıfırla */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ct-bg); }
::-webkit-scrollbar-thumb { background: var(--ct-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ct-primary); }

/* Glass morphism effect - header için */
.glass {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for CTA */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(57, 166, 53, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(57, 166, 53, 0); }
}

.pulse-green { animation: pulse-green 2s infinite; }

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation { animation: float 3s ease-in-out infinite; }

/* Fade in up animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.fade-in-up:nth-child(4) { animation-delay: 0.3s; }
.fade-in-up:nth-child(5) { animation-delay: 0.4s; }
.fade-in-up:nth-child(6) { animation-delay: 0.5s; }

/* Card hover effect */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(44, 51, 43, 0.12);
}

/* Image zoom on hover */
.img-zoom { overflow: hidden; position: relative; }
.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img {
    transform: scale(1.08);
}

/* Blog content styling */
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5, .blog-content h6 {
    color: var(--ct-dark);
    font-weight: 700;
    margin: 1.5em 0 0.5em;
    line-height: 1.3;
}

.blog-content h1 { font-size: 2rem; }
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.25rem; }

.blog-content p {
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 1em;
}

.blog-content img {
    border-radius: 12px;
    margin: 1em 0;
    max-width: 100%;
    height: auto;
}

.blog-content ul, .blog-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.blog-content li {
    margin-bottom: 0.5em;
    color: #4B5563;
    line-height: 1.6;
}

.blog-content a {
    color: var(--ct-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.blog-content a:hover { color: var(--ct-primary-dark); }

.blog-content blockquote {
    border-left: 4px solid var(--ct-primary);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: var(--ct-primary-light);
    border-radius: 0 8px 8px 0;
    color: var(--ct-dark);
    font-style: italic;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.blog-content table th,
.blog-content table td {
    border: 1px solid var(--ct-border);
    padding: 0.75em 1em;
    text-align: left;
}

.blog-content table th {
    background: var(--ct-primary-light);
    font-weight: 600;
}
