/* Ana CSS Dosyası - Cosvinci Tanıtım Sitesi */

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigasyon */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
    margin-top: -5px;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #FF7F7F;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Ana Bölüm */
.hero {
    background: linear-gradient(135deg, #90EE90 0%, #FFB6C1 50%, #FF7F7F 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: #FF7F7F;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #FF7F7F;
}

/* Animasyonlu Anahtar Kelimeler */
.animated-keywords {
    position: relative;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.keyword-text {
    position: absolute;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: keywordRotate 15s infinite;
    white-space: nowrap;
    letter-spacing: 1px;
}

.keyword-text:nth-child(1) {
    animation-delay: 0s;
}

.keyword-text:nth-child(2) {
    animation-delay: 3s;
}

.keyword-text:nth-child(3) {
    animation-delay: 6s;
}

.keyword-text:nth-child(4) {
    animation-delay: 9s;
}

.keyword-text:nth-child(5) {
    animation-delay: 12s;
}

@keyframes keywordRotate {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    30% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.phone-mockup {
    text-align: center;
}

.phone-mockup img {
    max-width: 300px;
    height: auto;
}

/* Özellikler Bölümü */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Nasıl Çalışır Bölümü */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: #FF7F7F;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Bilim & Güven Bölümü */
.science-trust {
    padding: 80px 0;
    background: #f8fafc;
}

.science-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.science-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.science-card:hover {
    transform: translateY(-5px);
}

.science-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.science-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.science-card p {
    color: #666;
    line-height: 1.6;
}

/* Uygulama Ekranları Bölümü */
.app-screens {
    padding: 80px 0;
    background: white;
}

.app-screens h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.screen-card {
    text-align: center;
}

.screen-mockup {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Uygulama görseli stilleri */
.app-screenshot {
    max-width: 100%;
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.app-screenshot:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Detaylı Rapor görseli için sol alt hizalama */
.screenshot-left-bottom {
    object-position: left bottom;
}

.screen-info {
    margin-top: 15px;
}

.screen-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

.screen-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Biz Kimiz Bölümü */
.who-we-are {
    padding: 80px 0;
    background: #f8fafc;
}

.team-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.team-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    color: #FF7F7F;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Referanslar Bölümü */
.references {
    padding: 40px 0 20px 0;
    background: white;
}

.references h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.reference-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 750px;
    height: 450px;
    cursor: pointer;
}

.reference-item:hover {
    transform: translateY(-8px);
}

.reference-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.reference-item:hover .reference-logo {
    filter: grayscale(0%);
}

/* İletişim Bölümü */
.contact {
    padding: 30px 0 80px 0;
    background: #f8fafc;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-link-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.footer-link-btn:hover {
    background: rgba(255, 127, 127, 0.2);
    border-color: #FF7F7F;
    color: #FF7F7F;
    transform: translateY(-2px);
}

/* Modal Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #90EE90 0%, #FFB6C1 50%, #FF7F7F 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 30px 25px;
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal-primary,
.btn-modal-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-primary {
    background: #FF7F7F;
    color: white;
}

.btn-modal-primary:hover {
    background: #FF6B6B;
    transform: translateY(-2px);
}

.btn-modal-secondary {
    background: #f8fafc;
    color: #666;
    border: 1px solid #e2e8f0;
}

.btn-modal-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* E-posta Form Stilleri */
.email-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

#emailInput {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#emailInput:focus {
    outline: none;
    border-color: #FF7F7F;
    box-shadow: 0 0 0 3px rgba(255, 127, 127, 0.1);
}

#emailInput.error {
    border-color: #ef4444;
}

.form-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 8px;
    min-height: 20px;
}

.form-success {
    color: #10b981;
    font-size: 0.9rem;
    margin-top: 8px;
    min-height: 20px;
}

/* Form Loading State */
.btn-modal-primary.loading {
    background: #9ca3af;
    cursor: not-allowed;
    position: relative;
}

.btn-modal-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .animated-keywords {
        height: 70px;
        margin-bottom: 20px;
    }

    .keyword-text {
        font-size: 2rem;
        font-weight: 800;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.5);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .science-grid {
        grid-template-columns: 1fr;
    }

    .screens-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .app-screenshot {
        width: 200px;
        max-width: 90%;
    }

    .team-stats {
        grid-template-columns: 1fr;
    }

    .modal-card {
        width: 95%;
        max-width: 350px;
    }

    .modal-content {
        padding: 25px 20px;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-modal-primary,
    .btn-modal-secondary {
        width: 100%;
    }

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

    .footer-link-btn {
        width: 100%;
        max-width: 300px;
    }

    .references h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .reference-item {
        max-width: 600px;
        height: 360px;
        padding: 0;
    }
}