@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;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --primary-red: #ff0033;
    --secondary-red: #cc0029;
    --accent-red: #ff3355;
    --pure-white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #2a2a2a;
    --gradient-red: linear-gradient(135deg, #ff0033 0%, #cc0029 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-glow: linear-gradient(135deg, #ff0033 0%, #ff3355 50%, #ff0033 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-black);
    color: var(--pure-white);
    overflow-x: hidden;
}

/* Yeni Yıl Efektleri */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: firework-animation 1s ease-out forwards;
}

@keyframes firework-animation {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) scale(0);
        opacity: 0;
    }
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--gradient-dark);
    border-right: 2px solid var(--primary-red);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 5px 0 20px rgba(255, 0, 51, 0.3);
}

.logo-section {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 0, 51, 0.3);
}

.logo-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    position: relative;
}

.logo, .logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.6);
    animation: glow-pulse 2s ease-in-out infinite;
}

.logo {
    object-fit: cover;
    display: none;
}

.logo.loaded {
    display: block;
}

.logo-placeholder {
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pure-white);
}

.logo.loaded + .logo-placeholder {
    display: none;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 0, 51, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 0, 51, 0.9);
    }
}

.site-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-top: 1rem;
}

.menu {
    flex: 1;
    padding: 2rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-red);
    transition: width 0.3s ease;
    z-index: -1;
}

.menu-item:hover::before,
.menu-item.active::before {
    width: 100%;
}

.menu-item:hover,
.menu-item.active {
    color: var(--pure-white);
    padding-left: 2rem;
}

.menu-item i {
    font-size: 1.2rem;
    width: 25px;
}

.new-year-badge {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--gradient-red);
    margin: 0 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 0, 51, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(255, 0, 51, 0.7);
    }
}

.new-year-badge i {
    font-size: 1.5rem;
}

.new-year-badge span {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 3rem;
    background: var(--primary-black);
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Anasayfa */
.home-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 6rem);
}

.profile-card {
    background: var(--gradient-dark);
    border: 2px solid var(--primary-red);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 10px 50px rgba(255, 0, 51, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.profile-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
}

.profile-image, .profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    box-shadow: 0 0 40px rgba(255, 0, 51, 0.6);
}

.profile-image {
    object-fit: cover;
    display: none;
}

.profile-image.loaded {
    display: block;
}

.profile-placeholder {
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--pure-white);
}

.profile-image.loaded + .profile-placeholder {
    display: none;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--pure-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.github {
    background: #333;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.5);
}

.welcome-text {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 51, 0.3);
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
}

/* Page Header */
.page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.header-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-red);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

/* Hakkımda */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    background: var(--gradient-dark);
    border: 2px solid var(--primary-red);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.about-intro h2 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.about-intro h3 {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--secondary-black);
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 20px rgba(255, 0, 51, 0.3);
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--pure-white);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--pure-white);
    box-shadow: 0 5px 20px rgba(255, 0, 51, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 51, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--pure-white);
    transform: translateY(-3px);
}

/* Uygulamalar & Blog Grid */
.apps-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.app-card, .blog-card {
    background: var(--gradient-dark);
    border: 2px solid rgba(255, 0, 51, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-card:hover, .blog-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 40px rgba(255, 0, 51, 0.4);
    transform: translateY(-10px);
}

.app-image, .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-red);
}

.app-content, .blog-content {
    padding: 1.5rem;
}

.app-content h3, .blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
}

.app-content p, .blog-content p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.app-link, .blog-date {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.app-link:hover {
    color: var(--accent-red);
}

.blog-date {
    font-size: 0.9rem;
}

/* İletişim */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--gradient-dark);
    border: 2px solid rgba(255, 0, 51, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.3);
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--pure-white);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
}

.contact-card p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: var(--gradient-dark);
    border: 2px solid var(--primary-red);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-red);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-black);
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-radius: 10px;
    color: var(--pure-white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-red);
    color: var(--pure-white);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 51, 0.6);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff0000;
    display: block;
}

/* Yapay Zeka */
.ai-container {
    background: var(--gradient-dark);
    border: 2px solid var(--primary-red);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.ai-container iframe {
    border-radius: 15px;
    display: block;
}

/* Loading */
.loading-message {
    text-align: center;
    padding: 4rem;
    color: var(--light-gray);
}

.loading-message i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 2px solid var(--primary-red);
    }
    
    .main-content {
        margin-left: 0;
        padding: 2rem 1rem;
    }
    
    .menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
    }
    
    .menu-item span {
        font-size: 0.8rem;
    }
    
    .apps-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}
