/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f2e4 0%, #faf7f0 100%);
    color: #2d3748;
}

/* Navbar düzeltmesi - sayfa içeriğini aşağı itmek için */
.navbar {
    position: relative;
    z-index: 1000;
}

/* Subtle floating particles */
.magic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.6) 0%, rgba(42, 157, 143, 0) 70%);
    border-radius: 50%;
    animation: float-gentle 8s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { 
        transform: translate(0, 0) scale(0.8);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-10px, -20px) scale(1);
        opacity: 0.8;
    }
}

/* Hero section - NAVBAR SORUNU ÇÖZÜMÜ */
.hero-section {
    position: relative;
    min-height: 100vh; /* Ekranın tamamını kaplasın */
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    margin-top: -76px; /* Navbar yüksekliği kadar yukarı kaydır */
    padding-top: 76px; /* Navbar yüksekliği kadar içerikten padding ekle */
}

/* Hero section optimize */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-in-out;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(42, 157, 143, 0.3) 0%, 
        rgba(26, 32, 44, 0.5) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
    top: 0;
    left: 0;
}

.container {
    position: relative;
    z-index: 2;
}

.profile-text{
    color: var(--text-primary);
    font-size: var(--font-size-normal);
    font-weight: var(--font-weight-medium);
    margin-bottom: 15px;

    /* El yazısı fontu */
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    /* biraz daha büyük görünmesi için */
    font-style: italic;
    /* daha akıcı dursun */
    letter-spacing: 0.5px;
}

.display-3 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.5s forwards;

    /* Gradient Text */
    background: linear-gradient(135deg, #000000 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.text-gradient {
    background: linear-gradient(135deg, #2a9d8f 0%, #4a9eff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.text-gradient::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #2a9d8f 0%, #4a9eff 100%);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 1s ease-out 2s forwards;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.8s forwards;
}

/* Button styles */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 1.1s forwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2a9d8f 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.4);
    color: #fff;
    text-decoration: none;
}


.scroll-down a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-down:hover a {
    opacity: 1;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* Blog Posts Section */
#blog {
    padding: 5rem 2rem;
    background: white;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #2a9d8f 0%, #4a9eff 100%);
    border-radius: 1px;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(74, 158, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(42, 157, 143, 0.2);
}

.blog-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.9) 0%, rgba(74, 158, 255, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay span {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    line-height: 1.4;
}

.card-text {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.bg-primary {
    background: linear-gradient(135deg, #2a9d8f 0%, #4a9eff 100%);
    border: none;
}

/* Newsletter Section */
#newsletter {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

.newsletter-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.newsletter-left {
    background: linear-gradient(135deg, #2a9d8f 0%, #4a9eff 100%);
    padding: 3rem;
    color: white;
    display: flex;
    align-items: center;
}

.newsletter-right {
    padding: 3rem;
}

.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #2a9d8f;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
    background: white;
}

.form-check-input:checked {
    background-color: #2a9d8f;
    border-color: #2a9d8f;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        margin-top: -60px; /* Mobilde navbar yüksekliği kadar */
        padding-top: 60px; /* Mobilde navbar yüksekliği kadar */
    }
    
    .display-3 {
        font-size: 2.2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .newsletter-left,
    .newsletter-right {
        padding: 2rem;
    }
} 
