/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

body {
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1;
}

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

/* Logo Section */
.logo-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-logo {
    max-width: 300px;
    height: auto;
    animation: fadeIn 1s ease-in;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #888;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

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

/* Projects Section */
.projects {
    padding: 3rem 0;
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.project-grid {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Cards - Simple Design */
.project-card {
    background: transparent;
    border: none;
    padding: 3rem 4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #333;
    border-radius: 12px;
    min-width: 250px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #FD0054;
}

/* Project Names */
.project-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: #444;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

/* Hover Effects */
.project-card:hover .project-name {
    color: #FD0054;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #FD0054;
}

/* Dijital Davetiye - White Hover */
.project-card:nth-child(2):hover .project-name {
    color: #fff;
}

.project-card:nth-child(2):hover {
    border-color: #fff;
}

/* WeGold - Gold Hover */
.project-card[data-project="wegold"]:hover {
    border-color: #f59e0b;
}

.project-card[data-project="wegold"]:hover .project-name {
    color: #f59e0b;
}

/* Quart - Blue Hover */
.project-card[data-project="quart"]:hover {
    border-color: #3b82f6;
}

.project-card[data-project="quart"]:hover .project-name {
    color: #3b82f6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .project-grid {
        padding: 0 1rem;
    }
    
    .project-name {
        font-size: 1.1rem;
    }
}

/* Project Gallery */
.project-gallery {
    position: relative;
    width: 240px;
}

.gallery-preview {
    position: relative;
    width: 240px;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    padding: 0;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    right: -45px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image-counter:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
}

.lightbox-image {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    background: #000;
    padding: 20px;
    border-radius: 16px;
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #333;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-dot.active {
    background: #fff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1001;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev i,
.lightbox-next i {
    font-size: 1.5rem;
    color: #fff;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .project-card {
        padding: 1.5rem;
    }

    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .project-gallery img {
        height: 280px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .main-logo {
        max-width: 180px;
    }

    .projects {
        padding: 2rem 0;
    }

    .projects h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .project-card {
        flex-direction: column;
        padding: 1.5rem;
        margin-top: 20px;
        gap: 1.5rem;
        border-radius: 14px;
    }

    .project-info {
        gap: 1rem;
    }

    .project-header {
        gap: 1rem;
    }

    .project-icon {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .project-title h3 {
        font-size: 1.4rem;
    }

    .project-type {
        font-size: 0.85rem;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0.5rem 0;
    }

    .project-tech {
        flex-wrap: wrap;
    }

    .project-tech span {
        font-size: 0.85rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .store-link {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .project-content {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        padding: 0;
    }

    .project-gallery {
        width: 180px;
    }

    .gallery-preview {
        width: 180px;
        height: 380px;
        border-radius: 14px;
    }

    .gallery-preview img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0;
    }

    .image-counter {
        right: -35px;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .featured-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        top: -12px;
        border-radius: 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-prev i,
    .lightbox-next i {
        font-size: 1.2rem;
    }

    .lightbox-content {
        padding: 20px;
    }

    .lightbox-dot {
        width: 6px;
        height: 6px;
    }

    .lightbox-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
        margin: 0;
        max-width: none;
        max-height: none;
        border-radius: 14px;
    }
}

@media screen and (max-width: 480px) {
    .project-gallery {
        width: 160px;
    }

    .gallery-preview {
        width: 160px;
        height: 340px;
        border-radius: 12px;
    }

    .image-counter {
        right: -30px;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .project-card {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .featured-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
        border-radius: 10px;
    }

    .lightbox-content {
        padding: 10px;
    }

    .lightbox-image {
        padding: 5px;
        border-radius: 12px;
    }
}

/* Footer Section */
.footer {
    padding: 3rem 0;
    border-top: 1px solid #111111;
}

.footer-content {
    text-align: center;
}

.contact-email {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #999;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Coming Soon Section */
.coming-soon {
    background: #000000;
    border-radius: 18px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    border: 1px solid #222;
}

.coming-soon span {
    color: #666;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #333;
}

.lang-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

@media screen and (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
    }
}

/* Loading Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #fff;
}

.loader:before {
    animation: spin 1s infinite;
}

.loader:after {
    border-top-color: #666;
    opacity: 0.5;
    animation: spin 1.5s infinite;
}

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

/* Katkı rozeti stillerini kaldırıyorum */
.project-contribution,
.project-contribution i,
.project-contribution.full i,
.project-contribution.support i,
.project-contribution:hover {
    display: none;
}

@media screen and (max-width: 768px) {
    .project-contribution {
        bottom: 15px;
        left: 15px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .project-contribution i {
        font-size: 0.9rem;
    }
}

/* Easter Egg Modal */
.easter-egg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.easter-egg-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.easter-egg-content {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.easter-egg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    animation: zoomPulse 3s infinite;
}

@keyframes zoomPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .easter-egg-content {
        width: 250px;
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .easter-egg-content {
        width: 200px;
        height: 200px;
    }
} 

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
}

.project-modal.active {
    display: flex;
}

.modal-content {
    background: #111111;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #222;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    transition: background 0.3s ease;
    z-index: 10;
    font-size: 1.5rem;
}

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

.modal-project {
    display: none;
    padding: 2rem;
}

.modal-project.active {
    display: block;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.modal-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.modal-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.modal-type {
    color: #888;
    font-size: 1rem;
    font-weight: 400;
}

.modal-body {
    color: #888;
}

.modal-description {
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.modal-tech {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.modal-tech span {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.modal-tech i {
    font-size: 1rem;
}

.modal-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: #1a1a1a;
}

.modal-link:hover {
    background: #333;
    transform: translateY(-1px);
}

.modal-gallery {
    margin-top: 1.5rem;
}

/* Modal Project Specific Colors */
#sence-modal .modal-icon {
    background: #FD0054;
}

#wegold-modal .modal-icon {
    background: #f59e0b;
}

#quart-modal .modal-icon {
    background: #3b82f6;
}

/* Dijital Davetiye - No Icon */
#davetiye-modal .modal-header {
    justify-content: center;
    text-align: center;
}

/* Responsive Modal */
@media screen and (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .modal-title h2 {
        font-size: 1.5rem;
    }
    
    .modal-tech {
        justify-content: center;
    }
    
    .modal-links {
        justify-content: center;
        flex-direction: column;
    }
    
    .modal-link {
        justify-content: center;
    }
} 