:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f6fa;
}

/* Header Styles */
header, .header-container, .hero {
    background-color: #fff !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

nav a:hover, nav a.active {
    background-color: var(--secondary-color);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(56, 166, 239, 0.95), rgba(255, 255, 255, 0.85)), 
                url('images/cyber-security-bg.jpg');  /* Siber güvenlik temalı bir arka plan resmi */
    background-color: #0062FF;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    margin-top: 74px;
    position: relative;
    animation: gradientShift 15s ease infinite;
}

/* Gradient animasyonu daha yumuşak geçiş için güncellendi */
@keyframes gradientShift {
    0% {
        background-color: #0062FF;
    }
    50% {
        background-color: #0095FF;
    }
    100% {
        background-color: #0062FF;
    }
}

.hero-content {
    max-width: 800px;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);  /* Daha belirgin gölge */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    width: 200px;
    height: 50px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.cta-button.primary {
    background: #e74c3c;
    background: linear-gradient(0deg, #e74c3c 0%, #ff6b6b 100%);
    border: none;
}

.cta-button.secondary {
    background: #3498db;
    background: linear-gradient(0deg, #3498db 0%, #5dade2 100%);
    border: none;
}

.cta-button:before {
    height: 0%;
    width: 2px;
}

.cta-button:hover {
    box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .5), 
      inset -4px -4px 6px 0 rgba(255,255,255,.2),
      inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    transform: translateY(0);
}

/* Action Buttons Styles */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    width: 200px;
    height: 45px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    background: #3498db;
    background: linear-gradient(0deg, #3498db 0%, #5dade2 100%);
    border: none;
    white-space: nowrap;
}

.button:before {
    height: 0%;
    width: 2px;
}

.button:hover {
    box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .5), 
      inset -4px -4px 6px 0 rgba(255,255,255,.2),
      inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    transform: translateY(-2px);
    background-color: var(--primary-color);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

main h1 {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
}

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

article {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

article:hover {
    transform: translateY(-5px);
}

article h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

article a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Malware Type Sections */
.malware-type {
    background: white;
    margin-bottom: 2rem;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.malware-type:first-of-type {
    margin-top: 2rem;
}

.malware-type h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.malware-type ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .button {
        width: 180px;
        font-size: 13px;
        padding: 8px 20px;
    }
    
    .action-buttons {
        gap: 1rem;
    }

    .cta-button {
        width: 180px;
        font-size: 13px;
        padding: 8px 15px;
    }

    main h1 {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero {
        background-position: center bottom;
        background-size: 90% auto;
        min-height: 500px;
        padding: 7rem 1.5rem 5rem;
    }

    .logo img {
        height: 35px;
        width: auto;
    }
}

/* Incident Response Page Styles */
.incident-steps ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.incident-steps li {
    margin-bottom: 1rem;
}

.emergency-contacts ul {
    list-style: none;
    margin: 1rem 0;
}

.emergency-contacts li {
    padding: 0.5rem 0;
}

/* Protection Page Styles */
.protection-method {
    margin-bottom: 2rem;
}

.protection-method ul {
    list-style: none;
    margin: 1rem 0;
}

.protection-method li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.protection-method li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Shared Section Styles - Tüm sayfalardaki içerik kutuları için ortak stil */
.content-box {
    background: white;
    margin-bottom: 2rem;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.content-box:first-of-type {
    margin-top: 2rem;
}

.content-box h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

/* Incident Response Page Styles */
.incident-steps, .emergency-contacts {
    margin-bottom: 2rem;
}

/* Content Box Additions */
.warning-box, .info-box {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.warning-box {
    background-color: #fff3e0;
    border-left-color: #ff9800;
}

.info-box {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.malware-details {
    margin: 1.5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    text-align: center;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Nested Lists Styling */
.protection-method ul ul,
.incident-steps ul {
    margin-left: 1.5rem;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.protection-method ul ul li,
.incident-steps ul li {
    padding-left: 1rem;
    margin-bottom: 0.7rem;
    position: relative;
}

.protection-method ul ul li:before {
    content: "•";
    color: #333;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

/* Ana liste öğeleri için stil */
.protection-method > ul > li {
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    padding-left: 0;
}

.protection-method > ul > li:before {
    content: none;
}

/* Alt liste başlıkları için stil */
.protection-method ul ul {
    padding-top: 0.6rem;
    list-style: none;
    margin-left: 0.5rem;
}

/* Ana başlıklar için ekstra boşluk */
.protection-method h2 {
    margin-bottom: 1.5rem;
}

/* Alt başlıklar için stil */
.protection-method strong {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Resource Page Styles */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.resource-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.resource-item p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.resource-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resource-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.resource-item ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.resource-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}