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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* Animasyon Arka Planı */
.pharmacy-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/map-background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.floating-pills {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pill {
    position: absolute;
    width: 40px;
    height: 15px;
    background: linear-gradient(135deg, #E53935, #B71C1C);
    border-radius: 10px;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

.pill1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.pill2 {
    top: 50%;
    left: 80%;
    animation-delay: 5s;
}

.pill3 {
    top: 80%;
    left: 30%;
    animation-delay: 10s;
}

.location-markers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(229, 57, 53, 0.3);
    transform: scale(0);
}

.marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #E53935;
    border-radius: 50%;
}

.marker.pulse {
    animation: pulse 2s infinite;
}

.marker1 {
    top: 30%;
    left: 20%;
}

.marker2 {
    top: 60%;
    left: 70%;
}

.marker3 {
    top: 40%;
    left: 50%;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(200px, 0) rotate(180deg);
    }
    75% {
        transform: translate(100px, -50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    70% {
        transform: scale(3);
        opacity: 0.3;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Ana Bölüm */
#main {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

/* Logo Konteyneri */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    z-index: 2;
    animation: float-logo 3s ease-in-out infinite;
}

.bg-text {
    font-size: 3rem;
    font-weight: 700;
    color: #E53935;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Açıklama */
.description {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.description span {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Özellikler Bölümü */
.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #E53935;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Fare Scroll İndikatörü */
.middle {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #E53935;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #E53935;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* İndirme Butonları */
.download {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.googlePlay, .appStore {
    transition: transform 0.3s ease;
}

.googlePlay:hover, .appStore:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Uygulama Tanıtım Bölümü */
.app-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    padding: 0 2rem;
    gap: 2rem;
}

.showcase-content {
    flex: 1;
    min-width: 300px;
}

.showcase-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.showcase-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: #E53935;
    font-size: 1.2rem;
}

.showcase-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #000;
    border-radius: 30px;
    padding: 10px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background-color: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.map-preview {
    width: 100%;
    height: 100%;
    background-image: url('Images/nobetbul_1.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.app-interface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.1);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.app-title {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.app-search {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.pharmacy-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #E53935;
    font-size: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.pharmacy-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.pharmacy-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.pharmacy-address {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.pharmacy-buttons {
    display: flex;
    gap: 10px;
}

.pharmacy-btn {
    flex: 1;
    background-color: #E53935;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

/* Ekran Görüntüleri */
.screenImage {
    margin: 5rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.screenImage header {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.screen-shot-container {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.screen-shot {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.screen-shot img {
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.screen-shot img.animate {
    opacity: 1;
    transform: translateY(0);
}

.screen-shot img:hover {
    transform: translateY(-10px);
}

/* Yapay Zeka Asistanı Bölümü */
.ai-assistant-section {
    margin: 5rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.ai-assistant-section header {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.ai-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.ai-content {
    flex: 1;
    min-width: 300px;
}

.ai-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.ai-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ai-feature.animate {
    opacity: 1;
    transform: translateX(0);
}

.ai-feature i {
    color: #E53935;
    font-size: 1.2rem;
}

.ai-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.chat-interface {
    width: 320px;
    height: 400px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background-color: #E53935;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.chat-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.chat-messages {
    padding: 15px;
    height: calc(100% - 50px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 12px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background-color: #ffeeed;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.ai-message {
    background-color: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

/* Uygulama İstatistikleri */
.app-stats {
    margin: 5rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.app-stats header {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.stat-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    width: 200px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.stat-card i {
    font-size: 2rem;
    color: #E53935;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    color: #666;
}

/* Footer */
.modern-footer {
    background-color: #10215A;
    color: #fff;
    padding: 4rem 2rem 2rem;
}

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

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

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

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

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #E53935;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: #E53935;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: #E53935;
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.copyright p {
    color: #aaa;
    font-size: 0.9rem;
}

.copyright a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #E53935;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .bg-text {
        font-size: 2.5rem;
    }
    
    .feature-card {
        width: 100%;
        max-width: 300px;
    }
    
    .app-showcase {
        flex-direction: column;
    }
    
    .showcase-content {
        order: 2;
    }
    
    .showcase-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .ai-container {
        flex-direction: column;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .bg-text {
        font-size: 2rem;
    }
    
    .description span {
        font-size: 1rem;
    }
    
    .download {
        flex-direction: column;
    }
    
    .screen-shot img {
        height: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
