/* style.css - Yeşil Bir Teknoloji Core Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@400;600;800;900&display=swap');

:root {
    --theme-darkest: #040806;
    --theme-dark: #0a110e;
    --theme-surface: rgba(10, 25, 18, 0.6);
    --theme-neon-green: #00ff66;
    --theme-neon-glow: rgba(0, 255, 102, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #9aa8a1;
    --border-glass: rgba(0, 255, 102, 0.15);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--theme-darkest);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Background Gradients */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--theme-neon-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.bg-glow-right {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--theme-neon-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* Typography utilities */
.text-neon {
    color: var(--theme-neon-green);
    text-shadow: 0 0 15px var(--theme-neon-glow);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--theme-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition-fast);
}

.glass-panel:hover {
    border-color: var(--theme-neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.1);
    transform: translateY(-5px);
}

/* Navigation */
header#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}

header#navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(4, 8, 6, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--theme-neon-green);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--theme-neon-green);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-primary {
    background: transparent;
    color: var(--theme-neon-green);
    border: 1px solid var(--theme-neon-green);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--theme-neon-green);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--theme-darkest);
    box-shadow: 0 0 20px var(--theme-neon-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
}

/* Sections */
.section {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-subtitle {
    color: var(--theme-neon-green);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Features/Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(0, 255, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--theme-neon-green);
    border: 1px solid var(--border-glass);
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 5% 2rem;
    background: rgba(4, 8, 6, 0.4);
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--theme-neon-green);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Add hamburger menu in real JS */
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    header#navbar { padding: 1rem 5%; }
}

/* Blog & Products Styling Extensions */
.page-header {
    padding: 150px 5% 5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-glass);
    background: radial-gradient(ellipse at bottom, rgba(0, 255, 102, 0.05) 0%, transparent 70%);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 5rem 5%;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.blog-img {
    width: 100%;
    height: 250px;
    background: #111;
    object-fit: cover;
    border-bottom: 1px solid var(--border-glass);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--theme-neon-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.blog-card:hover h3 {
    color: var(--theme-neon-green);
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Single Blog Article */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.article-header {
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
}

.article-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--theme-neon-green);
}

.article-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.article-content ul {
    list-style: disc;
    padding-left: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Products Table / Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
}

.pricing-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--theme-neon-green);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--theme-neon-green);
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--theme-neon-green);
    font-weight: bold;
}
