/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --secondary-color: #2c3e50;
    --accent-color: #c9a961;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --stamp-color: #8b0000;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef3 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 60px 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--accent-color);
    position: relative;
}

/* Patent Mührü */
.official-stamp {
    position: absolute;
    top: 30px;
    right: 50px;
    opacity: 0.15;
    transform: rotate(-15deg);
}

.stamp-circle {
    width: 150px;
    height: 150px;
    border: 8px double var(--stamp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--stamp-color);
    font-size: 16px;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

/* Başlık Bölümü */
.patent-header {
    text-align: center;
    border-bottom: 4px double var(--primary-color);
    padding-bottom: 30px;
    margin-bottom: 40px;
    position: relative;
}

.patent-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.patent-number,
.publication-date {
    margin: 10px 0;
    font-size: 1.1em;
    color: var(--secondary-color);
}

.patent-number strong,
.publication-date strong {
    color: var(--accent-color);
    font-weight: bold;
    margin-left: 10px;
}

/* Patent Bilgileri */
.patent-info {
    background: var(--light-bg);
    padding: 30px;
    border-left: 5px solid var(--accent-color);
    margin-bottom: 40px;
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-weight: bold;
    color: var(--primary-color);
    font-family: Arial, sans-serif;
}

.info-value {
    color: var(--text-color);
}

/* Bölümler */
.patent-section {
    margin-bottom: 40px;
    page-break-inside: avoid;
}

.section-title {
    font-size: 1.8em;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-content {
    padding: 20px 0;
    text-align: justify;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Avantaj Grid */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.advantage-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.advantage-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.advantage-item h3 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

/* Uygulama Alanları */
.application-list {
    list-style: none;
    margin-left: 0;
}

.application-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.application-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8em;
}

/* İstemler */
.claims-section {
    background: var(--light-bg);
    padding: 30px;
    border: 2px solid var(--accent-color);
}

.claim-item {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-left: 4px solid var(--primary-color);
}

.claim-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.claim-item p {
    margin: 0;
}

/* Footer */
.patent-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 4px double var(--primary-color);
}

.footer-notice {
    background: #fff8dc;
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    margin-bottom: 20px;
    font-size: 0.9em;
}

.footer-notice strong {
    color: var(--stamp-color);
}

.footer-date {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .patent-title {
        font-size: 1.8em;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .info-label {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .official-stamp {
        top: 10px;
        right: 10px;
    }

    .stamp-circle {
        width: 100px;
        height: 100px;
        font-size: 12px;
        border-width: 5px;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.4em;
    }
    
    /* Mobilde görsel daha küçük */
    .patent-image {
        max-width: 100%;
        width: 100%;
        padding: 5px;
    }
    
    .system-diagram {
        padding: 15px 10px;
    }
}

/* Görsel Diagram Stilleri */
.system-diagram {
    margin: 30px 0;
    padding: 25px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}

.system-diagram h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.patent-image {
    max-width: 600px;
    width: 95%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 15px auto;
    display: block;
    background: white;
    padding: 8px;
    object-fit: contain;
}

.image-caption {
    font-size: 0.9em;
    color: var(--text-color);
    font-style: italic;
    margin-top: 15px;
    line-height: 1.5;
}

@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        border: none;
        max-width: 100%;
    }

    .patent-section {
        page-break-inside: avoid;
    }
    
    .patent-image {
        max-width: 90%;
        page-break-inside: avoid;
    }
    
    .system-diagram {
        page-break-inside: avoid;
    }
}

