/* 
   WylHub Developer Community
   Color Palette:
   - Background: #0D1321 (Dark Navy)
   - Text: #F0EBD8 (Light Cream)
   - Primary: #748CAB (Pastel Blue)
   - Secondary: #1D2D44 (Dark Blue)
*/

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0D1321;
    --bg-secondary: #1D2D44;
    --text-primary: #F0EBD8;
    --text-secondary: rgba(240, 235, 216, 0.7);
    --accent-primary: #748CAB;
    --accent-secondary: #3E5C76;
    --accent-tertiary: #F0EBD8;
    --container-width: 1200px;
    --transition-speed: 0.3s;
    --navbar-height: 80px;
    --accent-primary-rgb: 116, 140, 171;
    --accent-secondary-rgb: 62, 92, 118;
    --accent-tertiary-rgb: 240, 235, 216;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 100% 50%, rgba(29, 45, 68, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 0% 80%, rgba(29, 45, 68, 0.2) 0%, transparent 40%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.highlight {
    color: var(--accent-primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    background-color: rgba(116, 140, 171, 0.2);
    z-index: -1;
}

.glass-card {
    background: rgba(29, 45, 68, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(116, 140, 171, 0.1);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Tutarlı buton hover efektleri için ::before pseudo elementi */
.btn-primary::before, .btn-secondary::before, .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-outline:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--accent-primary);
    border: none;
    color: var(--bg-primary);
    box-shadow: 0 5px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-secondary {
    background-color: var(--accent-secondary);
    border: none;
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(var(--accent-secondary-rgb), 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--accent-secondary-rgb), 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    height: var(--navbar-height);
    transition: all var(--transition-speed) ease;
    background-color: rgba(13, 19, 33, 0.8);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.navbar-logo a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.navbar-logo a:hover::after {
    width: 100%;
}

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-links a {
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.navbar-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width var(--transition-speed) ease;
}

.navbar-links a:not(.btn-primary):hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(13, 19, 33, 0.7), rgba(13, 19, 33, 0.9)), url('https://images.unsplash.com/photo-1537884944318-390069bb8665?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.projects-hero, .developers-hero, .iso-hero {
    padding-top: var(--navbar-height);
}

.hero-content {
    max-width: 700px;
    z-index: 10;
}

.glowing-text {
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.glowing-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
}

.typed-text-container {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    height: 36px;
    color: var(--accent-primary);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.hero-buttons a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons a i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-buttons a:hover i {
    transform: translateY(-3px);
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--bg-secondary));
    opacity: 0.2;
}

.circle1 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -100px;
    animation: pulse 15s infinite alternate;
}

.circle2 {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -150px;
    animation: pulse 20s infinite alternate-reverse;
}

.circle3 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 15%;
    animation: pulse 12s infinite alternate;
}

.code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="10" y="30" font-family="monospace" font-size="10" fill="rgba(240, 235, 216, 0.03)">const code = () => {</text><text x="10" y="45" font-family="monospace" font-size="10" fill="rgba(240, 235, 216, 0.03)">  return data;</text><text x="10" y="60" font-family="monospace" font-size="10" fill="rgba(240, 235, 216, 0.03)">}</text></svg>');
    opacity: 0.2;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Featured Projects */
.projects-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.project-card {
    width: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-primary);
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(116, 140, 171, 0.1);
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.project-tags span {
    padding: 5px 12px;
    background: rgba(116, 140, 171, 0.2);
    border-radius: 20px;
    font-size: 14px;
}

/* Community Section */
.community-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-card {
    width: 250px;
    padding: 30px;
    text-align: center;
}

.stat-card i {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Latest Updates */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.update-card {
    padding: 30px;
}

.update-date {
    font-size: 14px;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.update-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.update-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-more i {
    transition: transform var(--transition-speed) ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Footer */
.footer {
    background-color: rgba(13, 19, 33, 0.7);
    padding: 80px 0 30px;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: -10px;
    left: 0;
    background-color: var(--accent-primary);
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(116, 140, 171, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-5px);
}

/* Projects, Developers ve ISO sayfaları için hero bölümleri */
.projects-hero, .developers-hero, .iso-hero {
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Butonlar için gelişmiş hover efektleri */
.download-button, .filter-btn, .contributor-badge, .dev-social a {
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.download-button::before, .filter-btn::before, .contributor-badge::before, .dev-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.download-button:hover::before, .filter-btn:hover::before, .contributor-badge:hover::before, .dev-social a:hover::before {
    left: 100%;
}

/* Section Actions Styles */
.section-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.section-actions a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-actions a i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.section-actions a:hover i {
    transform: translateY(-3px);
}

/* Additional Links Styles */
.additional-links {
    margin-top: 15px; 
    display: flex; 
    justify-content: space-between; 
    width: 100%;
}

.additional-links a {
    color: var(--accent-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.additional-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.additional-links a i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .glowing-text {
        font-size: 60px;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--bg-secondary);
        padding: 30px 0;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform var(--transition-speed) ease;
        z-index: 999;
    }
    
    .navbar-links.active {
        transform: translateY(0);
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .glowing-text {
        font-size: 48px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }
    
    .section-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-actions a {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .stat-card, .project-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .glowing-text {
        font-size: 36px;
    }
    
    .typed-text-container {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ISO Installation Guide Styles */
.installation-section {
    padding: 80px 0;
    background: linear-gradient(145deg, rgba(29, 45, 68, 0.3), rgba(13, 19, 33, 0.3));
    border-radius: 15px;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    position: relative;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.step:hover .step-number {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Support Section Styles */
.support-section {
    background: linear-gradient(to right, rgba(29, 45, 68, 0.3), rgba(13, 19, 33, 0.3));
    padding: 80px 0;
    margin-bottom: 80px;
    border-radius: 15px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.support-card:hover .support-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.support-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.support-card .btn-outline {
    margin-top: auto;
} 