/* isletmekur.com - Modern Dark Theme 2024
   Engineer: Enes Ünal
   Theme: Neon Dark with Glass Morphism
*/

/* --- 1. CORE VARIABLES --- */
:root {
    /* Ana Renkler */
    --dark-bg: #0a0a0f;
    --darker-bg: #050507;
    --neon-blue: #00d2ff;
    --electric-purple: #7928ca;
    
    /* Metin Renkleri */
    --text-light: #ffffff;
    --text-dark: #88888b;
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Gradientler */
    --gradient-main: linear-gradient(135deg, var(--neon-blue), var(--electric-purple));
    --gradient-dark: linear-gradient(135deg, rgba(0,210,255,0.1), rgba(121,40,202,0.1));
    
    /* Gölgeler */
    --shadow-blue: 0 0 25px rgba(0, 210, 255, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Animasyon */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--dark-bg);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    background: transparent !important;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 3. LAYOUT & CONTAINERS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

/* --- 4. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- 5. HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--neon-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
    color: var(--neon-blue);
}

/* --- 6. BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--text-light);
    border: none;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    background: var(--glass-bg);
}

.btn-primary-sm {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--gradient-main);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

/* --- 7. HERO SECTION --- */
.hero {
    padding: 180px 0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.badge-new {
    background: rgba(0, 210, 255, 0.1);
    color: var(--neon-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* --- 8. CODE WINDOW --- */
.code-window {
    background: rgba(13, 13, 21, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.code-header {
    background: rgba(26, 26, 37, 0.8);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.code-body {
    padding: 25px;
    min-height: 280px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #d1d1d1;
}

/* --- 9. PRICING CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
}

.pricing-card.highlighted {
    border: 2px solid var(--neon-blue);
    transform: scale(1.05);
    background: rgba(0, 210, 255, 0.03);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1rem 0;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
}

.price-features li {
    margin: 1rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* --- 10. PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    margin-bottom: 0.5rem;
}

.portfolio-info span {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* --- 11. FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* --- 12. FOOTER --- */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.social-links a {
    transition: var(--transition);
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
    color: var(--neon-blue) !important;
}

/* --- 13. ANIMATIONS --- */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- 14. RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-btns {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--darker-bg);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-light);
        margin: 5px 0;
        transition: var(--transition);
    }
    
    .pricing-card.highlighted {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* --- 15. UTILITY CLASSES --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }