/* Tailwind CSS CDN kullanılacak, bu dosya özel stiller için */

/* Font tanımlamaları */
@font-face {
    font-family: 'DearSansCondensed';
    src: url('../fonts/DearSansCondensed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Baloo2-ExtraBold';
    src: url('../fonts/Baloo2-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'DearSans';
    src: url('../fonts/DearSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Gelica';
    src: url('../fonts/gelica-semi-bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

/* Özel renkler */
:root {
    --pastel-blue: #7CA7E6;
    --pastel-pink: #FFADAD;
    --pastel-purple: #BDB2FF;
}

.text-pastel-blue {
    color: var(--pastel-blue);
}

.text-pastel-pink {
    color: var(--pastel-pink);
}

.text-pastel-purple {
    color: var(--pastel-purple);
}

.bg-pastel-blue {
    background-color: var(--pastel-blue);
}

.bg-pastel-blue\/80 {
    background-color: rgba(96, 165, 250, 0.8);
}

.bg-pastel-pink {
    background-color: var(--pastel-pink);
}

.bg-pastel-pink\/80 {
    background-color: rgba(244, 114, 182, 0.8);
}

.bg-pastel-blue\/10 {
    background-color: rgba(96, 165, 250, 0.1);
}

.bg-pastel-pink\/20 {
    background-color: rgba(244, 114, 182, 0.2);
}

.border-pastel-blue {
    border-color: var(--pastel-blue);
}

.ring-pastel-blue {
    --tw-ring-color: var(--pastel-blue);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-zoomIn {
    animation: zoomIn 0.8s ease-out forwards;
}

.animate-continuousBounce {
    animation: continuousBounce 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* Bulut animasyonları */
@keyframes float1 {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-15px) translateX(15px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes float2 {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-10px) translateX(-15px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes float3 {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes float4 {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-12px) translateX(-12px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.floating-cloud {
    position: absolute;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.cloud1 {
    animation: float1 8s ease-in-out infinite;
}

.cloud2 {
    animation: float2 9s ease-in-out infinite;
}

.cloud3 {
    animation: float3 10s ease-in-out infinite;
}

.cloud4 {
    animation: float4 7s ease-in-out infinite;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

/* Buton stilleri */
.btn-primary {
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
    background-color: var(--pastel-blue);
    color: white;
}

.btn-primary:hover {
    background-color: rgba(96, 165, 250, 0.8);
    transform: scale(1.05);
}

.btn-secondary {
    padding: 0.5rem 0.75rem; /* px-3 py-2 */
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
    background-color: var(--pastel-pink) !important; /* #FFADAD */
    color: white !important;
}

.btn-secondary:hover {
    background-color: rgba(255, 173, 173, 0.9) !important;
    transform: scale(1.05);
}

.btn-danger {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color 0.2s;
    background-color: #ef4444;
    color: white;
    outline: none;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-danger:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.5);
}

/* Rose renkleri (Language Switcher için) */
.bg-rose-50 {
    background-color: #fdf2f8;
}

.border-rose-200 {
    border-color: #fce7f3;
}

.border-rose-300 {
    border-color: #fbcfe8;
}

.text-rose-600 {
    color: #e11d48;
}

.bg-rose-100 {
    background-color: #fce7f3;
}

.hover\:bg-rose-100:hover {
    background-color: #fce7f3;
}

.hover\:bg-rose-50:hover {
    background-color: #fdf2f8;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* Story source card hover animations */
.story-source-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.story-source-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.story-source-card:active {
    transform: scale(0.95);
}

/* Style selection card animations */
.style-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.style-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.style-card:active {
    transform: scale(0.95);
}

.style-card.selected {
    transform: scale(1.12);
    border-width: 4px;
    border-color: #e11d48;
    background-color: #fdf2f8;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Aspect ratio utilities */
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* Form colors */
.bg-blue-50 {
    background-color: #eff6ff;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.text-blue-700 {
    color: #1d4ed8;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.text-green-700 {
    color: #15803d;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.border-red-500 {
    border-color: #ef4444;
}

.text-red-700 {
    color: #b91c1c;
}

.focus\:ring-red-400:focus {
    --tw-ring-color: #f87171;
}

.focus\:ring-rose-400:focus {
    --tw-ring-color: #fb7185;
}

.bg-rose-200 {
    background-color: #fce7f3;
}

.bg-rose-400 {
    background-color: #fb7185;
}

.bg-rose-500 {
    background-color: #f43f5e;
}

.hover\:bg-rose-600:hover {
    background-color: #e11d48;
}

/* Modal overlay */
.bg-black {
    background-color: #000000;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.z-50 {
    z-index: 50;
}

/* Navbar küçültülmüş butonlar */
.btn-nav {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
    background-color: var(--pastel-pink) !important;
    color: white !important;
}

.btn-nav:hover {
    background-color: rgba(255, 173, 173, 0.9) !important;
    transform: scale(1.05);
}

/* Card stilleri */
.card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Input stilleri */
.input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
    border-color: #f59e0b;
}

@media (min-width: 640px) {
    .input {
        font-size: 0.875rem;
    }
}

/* Font aileleri */
.font-title {
    font-family: 'Nunito', sans-serif;
}

.font-body {
    font-family: 'Nunito', sans-serif;
}


/* Responsive utilities */
@media (max-width: 640px) {
    .find-story-mobile-box {
        height: 160px !important;
    }
    .why-storyme-mobile-content {
        margin-top: 0.25rem !important;
    }
}

.prose-lg {
    font-size: 1.125rem;
    line-height: 1.7777778;
}

.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker {
    color: #d1d5db;
}

/* Turn.js Flipbook styles */
#flipbook {
    width: 900px;
    height: 600px;
    margin: 0 auto;
}

#flipbook > div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

