/* Base Styles and Variables */
:root {
    /* TPAQO Color Palette */
    --system-dark-gray: #37474F;
    --warning-red: #E53935;
    --data-blue: #0288D1;
    --energy-green: #00C853;
    --panel-white: #FAFAFA;
    
    /* Additional Colors */
    --text-dark: #263238;
    --text-gray: #607D8B;
    --light-gray: #ECEFF1;
    --border-color: #CFD8DC;
    --electricity-color: #FFC107;
    --water-color: #29B6F6;
    --internet-color: #7E57C2;
    --gas-color: #FF7043;
    
    /* Status Colors */
    --status-active: #00C853;
    --status-warning: #FFB300;
    --status-error: #E53935;
    --status-maintenance: #8D6E63;
    
    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-xxl: 2rem;
    --font-huge: 2.5rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'SF Pro', 'Ubuntu Mono', 'Roboto Mono', monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--panel-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-huge);
    text-transform: uppercase;
}

h2 {
    font-size: var(--font-xxl);
}

h3 {
    font-size: var(--font-xl);
}

p {
    margin-bottom: var(--space-md);
}

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

a:hover {
    color: var(--system-dark-gray);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

button, .btn {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
}

.primary-btn {
    background-color: var(--data-blue);
    color: white;
}

.primary-btn:hover {
    background-color: #0277BD;
    color: white;
}

.secondary-btn {
    background-color: var(--system-dark-gray);
    color: white;
}

.secondary-btn:hover {
    background-color: #2C3B41;
    color: white;
}

.tertiary-btn {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

.tertiary-btn:hover {
    background-color: #CFD8DC;
}

/* Header Styles */
header {
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.logo a {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: var(--font-xl);
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: var(--space-sm);
}

.system-status {
    display: flex;
    align-items: center;
    font-size: var(--font-sm);
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: var(--space-sm);
}

.status-indicator.active {
    background-color: var(--status-active);
    box-shadow: 0 0 10px var(--status-active);
}

.status-indicator.warning {
    background-color: var(--status-warning);
    box-shadow: 0 0 10px var(--status-warning);
}

.status-indicator.error {
    background-color: var(--status-error);
    box-shadow: 0 0 10px var(--status-error);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: var(--space-md);
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast);
}

nav ul li a:hover, nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: white;
    margin-bottom: 5px;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-xxl) 0;
    background-image: linear-gradient(rgba(55, 71, 79, 0.9), rgba(55, 71, 79, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero h1 {
    font-size: var(--font-huge);
    margin-bottom: var(--space-lg);
}

.hero .highlight {
    color: var(--data-blue);
}

.hero p {
    font-size: var(--font-lg);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: var(--space-md);
    border: none;
    font-size: var(--font-md);
}

.search-box button {
    background-color: var(--data-blue);
    color: white;
    padding: 0 var(--space-lg);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-box button:hover {
    background-color: #0277BD;
}

/* Status Cards */
.status-cards {
    padding: var(--space-xxl) 0;
}

.status-cards h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-header {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.system-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
}

.card.electricity .system-icon {
    background-color: var(--electricity-color);
}

.card.water .system-icon {
    background-color: var(--water-color);
}

.card.internet .system-icon {
    background-color: var(--internet-color);
}

.card.energy-load .system-icon {
    background-color: var(--gas-color);
}

.card-header h3 {
    font-size: var(--font-lg);
    margin: 0;
    flex: 1;
    margin-left: var(--space-md);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.active {
    background-color: var(--status-active);
    box-shadow: 0 0 10px var(--status-active);
}

.status-dot.warning {
    background-color: var(--status-warning);
    box-shadow: 0 0 10px var(--status-warning);
}

.status-dot.error {
    background-color: var(--status-error);
    box-shadow: 0 0 10px var(--status-error);
}

.card-body {
    padding: var(--space-lg);
}

.card-body p {
    margin-bottom: var(--space-md);
}

.warning {
    color: var(--warning-red);
    font-weight: 500;
}

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

.solution {
    background-color: rgba(0, 200, 83, 0.1);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    margin-top: var(--space-md);
}

.solution p {
    color: var(--energy-green);
    margin-bottom: 0;
}

.card-footer {
    padding: var(--space-md);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-gray);
}

.update-time {
    font-size: var(--font-xs);
    color: var(--text-gray);
}

.more-details {
    font-weight: 500;
    color: var(--data-blue);
}

/* Map Preview */
.map-preview {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.map-preview h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.map-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.map-container:hover .map-overlay {
    opacity: 1;
}

/* Calculator Section */
.calculator {
    padding: var(--space-xxl) 0;
    background-color: white;
}

.calculator h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl);
    background-color: var(--light-gray);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.calculator-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-md);
    background-color: white;
}

.calculator-result {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.calculator-result h3 {
    text-align: center;
    color: var(--system-dark-gray);
    margin-bottom: var(--space-lg);
}

.result-display {
    font-size: var(--font-huge);
    font-weight: 700;
    text-align: center;
    color: var(--data-blue);
    margin-bottom: var(--space-lg);
}

.result-note {
    font-size: var(--font-sm);
    color: var(--text-gray);
    text-align: center;
}

/* History Section */
.history-section {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.history-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.history-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    align-items: center;
}

.history-image {
    flex: 1;
    min-width: 300px;
}

.history-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.history-info {
    flex: 1;
    min-width: 300px;
}

.history-info h3 {
    color: var(--data-blue);
    margin-bottom: var(--space-md);
}

/* Recent Posts */
.recent-posts {
    padding: var(--space-xxl) 0;
    background-color: white;
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: var(--space-lg);
}

.post-content h3 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-sm);
}

.post-date {
    font-size: var(--font-sm);
    color: var(--text-gray);
    margin-bottom: var(--space-md);
}

.post-excerpt {
    margin-bottom: var(--space-md);
}

.read-more {
    font-weight: 500;
    color: var(--data-blue);
}

.view-all {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Footer */
footer {
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-xxl) 0 var(--space-lg);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 30px;
    width: auto;
    margin-right: var(--space-sm);
}

.footer-logo span {
    font-weight: bold;
    font-size: var(--font-lg);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--data-blue);
}

.footer-nav h3, .footer-services h3, .footer-contact h3 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-nav h3:after, .footer-services h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--data-blue);
}

.footer-nav ul, .footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li, .footer-services ul li {
    margin-bottom: var(--space-sm);
}

.footer-nav ul li a, .footer-services ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-nav ul li a:hover, .footer-services ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p i {
    margin-right: var(--space-sm);
    color: var(--data-blue);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-links a {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-lg);
    display: none;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: var(--space-md);
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.cookie-content a {
    color: var(--data-blue);
    text-decoration: underline;
    font-size: var(--font-sm);
}

/* Blog Page Styles */
.page-header {
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-xxl) 0;
    text-align: center;
}

.blog-filters {
    margin: var(--space-xl) 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: space-between;
    align-items: center;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    background-color: var(--light-gray);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--data-blue);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.blog-post {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    position: relative;
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--data-blue);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-xs);
    font-weight: 600;
}

.post-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--font-sm);
    color: var(--text-gray);
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: var(--space-xs);
}

.post-excerpt {
    margin-bottom: var(--space-md);
    flex: 1;
}

.read-more {
    font-weight: 500;
    color: var(--data-blue);
    display: flex;
    align-items: center;
    align-self: flex-start;
}

.read-more i {
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    background-color: white;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.pagination a.active, .pagination a:hover {
    background-color: var(--data-blue);
    color: white;
}

.pagination a.next {
    width: auto;
    padding: 0 var(--space-md);
}

.newsletter {
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-xxl) 0;
    margin-top: var(--space-xxl);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: var(--space-md);
}

.newsletter-content p {
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: var(--space-md);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-md);
}

.privacy-note {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Blog Post Styles */
.blog-post-header {
    background-color: var(--system-dark-gray);
    color: white;
    padding: var(--space-xl) 0;
}

.blog-post-header h1 {
    font-size: var(--font-xxl);
    margin-bottom: var(--space-md);
}

.blog-post-content {
    padding: var(--space-xxl) 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.featured-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-text {
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.lead {
    font-size: var(--font-lg);
    color: var(--text-gray);
    margin-bottom: var(--space-xl);
    border-left: 4px solid var(--data-blue);
    padding-left: var(--space-md);
}

.post-text h2 {
    color: var(--system-dark-gray);
    margin-top: var(--space-xl);
}

.post-image {
    margin: var(--space-xl) 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.post-image figcaption {
    padding: var(--space-md);
    background-color: var(--light-gray);
    font-size: var(--font-sm);
    color: var(--text-gray);
    text-align: center;
}

blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background-color: var(--light-gray);
    border-left: 4px solid var(--data-blue);
}

blockquote p {
    font-style: italic;
    font-size: var(--font-lg);
    margin-bottom: var(--space-sm);
}

blockquote cite {
    display: block;
    font-size: var(--font-sm);
    color: var(--text-gray);
}

.info-box {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background-color: rgba(2, 136, 209, 0.1);
    border-radius: var(--border-radius-md);
}

.info-box h3 {
    color: var(--data-blue);
    margin-bottom: var(--space-md);
}

.data-visualization {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 250px;
    margin: var(--space-lg) 0;
}

.chart-bar {
    width: 60px;
    background-color: var(--data-blue);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    position: relative;
    transition: height var(--transition-slow);
}

.chart-label {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: var(--font-sm);
}

.chart-value {
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: var(--data-blue);
}

.chart-caption {
    text-align: center;
    font-size: var(--font-sm);
    color: var(--text-gray);
}

.post-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.tag-label {
    color: var(--text-gray);
    font-weight: 500;
}

.tag {
    background-color: var(--light-gray);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-sm);
}

.post-share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.share-label {
    color: var(--text-gray);
    font-weight: 500;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: opacity var(--transition-fast);
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.post-author-bio {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background-color: var(--light-gray);
    border-radius: var(--border-radius-lg);
    display: flex;
    gap: var(--space-lg);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: var(--space-xs);
}

.author-title {
    color: var(--text-gray);
    margin-bottom: var(--space-sm);
}

.related-posts {
    margin-top: var(--space-xl);
}

.related-posts h3 {
    margin-bottom: var(--space-lg);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.related-post {
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.related-post:hover {
    transform: translateY(-3px);
}

.related-post-image {
    height: 150px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post h4 {
    padding: var(--space-md);
    margin-bottom: 0;
    font-size: var(--font-md);
}

.related-post-date {
    padding: 0 var(--space-md) var(--space-md);
    font-size: var(--font-sm);
    color: var(--text-gray);
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-gray);
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.author-card h3 {
    border-bottom: none;
    margin-bottom: var(--space-xs);
}

.author-card p {
    color: var(--text-gray);
    margin-bottom: var(--space-md);
}

.author-social {
    display: flex;
    gap: var(--space-sm);
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.author-social a:hover {
    background-color: var(--data-blue);
    color: white;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: var(--space-sm);
}

.toc-list a {
    display: block;
    padding: var(--space-sm);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.toc-list a:hover {
    background-color: var(--light-gray);
    color: var(--data-blue);
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: var(--space-md);
}

.recent-posts-list a {
    display: flex;
    gap: var(--space-md);
    color: var(--text-dark);
}

.recent-post-image {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: var(--font-sm);
    margin-bottom: var(--space-xs);
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-newsletter-form input {
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

/* About Page Styles */
.about-intro {
    padding: var(--space-xxl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-content h2 {
    color: var(--data-blue);
    margin-bottom: var(--space-md);
}

.about-content .lead {
    font-size: var(--font-lg);
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-mission {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.mission-box {
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(2, 136, 209, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
}

.mission-icon i {
    font-size: var(--font-xl);
    color: var(--data-blue);
}

.team-section {
    padding: var(--space-xxl) 0;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    font-size: var(--font-lg);
    color: var(--text-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    padding-bottom: var(--space-lg);
    transition: transform var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-member h3 {
    margin: var(--space-lg) 0 var(--space-xs);
    font-size: var(--font-lg);
}

.team-member p {
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-sm);
}

.team-member p:nth-of-type(1) {
    color: var(--data-blue);
    font-weight: 500;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.member-social a:hover {
    background-color: var(--data-blue);
    color: white;
}

.partners-section {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.partner {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.partner img {
    height: 80px;
    width: auto;
    margin-bottom: var(--space-md);
}

.partner h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-lg);
}

.tech-stack {
    padding: var(--space-xxl) 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.tech-box {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(2, 136, 209, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
}

.tech-icon i {
    font-size: var(--font-lg);
    color: var(--data-blue);
}

.history-timeline {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--data-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xxl);
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--data-blue);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: var(--space-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--data-blue);
    margin-bottom: var(--space-xs);
}

.testimonials {
    padding: var(--space-xxl) 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    display: none;
}

.testimonial-content {
    position: relative;
    padding-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 100px;
    color: rgba(2, 136, 209, 0.1);
    font-family: serif;
}

.testimonial-content p {
    font-size: var(--font-lg);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.cta-section {
    padding: var(--space-xxl) 0;
    background-color: var(--system-dark-gray);
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content p {
    margin-bottom: var(--space-xl);
    font-size: var(--font-lg);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* Contact Page Styles */
.contact-info {
    padding: var(--space-xxl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.contact-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(2, 136, 209, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
}

.contact-icon i {
    font-size: var(--font-lg);
    color: var(--data-blue);
}

.contact-card h3 {
    margin-bottom: var(--space-md);
}

.contact-card p {
    margin-bottom: var(--space-sm);
}

.contact-card p a {
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.contact-card p a:hover {
    color: var(--data-blue);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background-color: var(--data-blue);
    color: white;
}

.contact-form-section {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.form-container {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.form-container h2 {
    margin-bottom: var(--space-sm);
}

.form-container > p {
    margin-bottom: var(--space-xl);
    color: var(--text-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox-group input {
    margin-top: 3px;
}

.checkbox-group label {
    font-size: var(--font-sm);
    margin-bottom: 0;
}

.contact-map {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.contact-map h2 {
    margin-bottom: var(--space-md);
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.map-info h3 {
    margin-bottom: var(--space-md);
}

.map-info ul {
    list-style: none;
    padding: 0;
}

.map-info ul li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.map-info ul li i {
    color: var(--data-blue);
    margin-top: 3px;
}

.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: var(--font-xl);
    cursor: pointer;
    color: var(--text-gray);
}

.modal-icon {
    font-size: 60px;
    color: var(--energy-green);
    margin-bottom: var(--space-md);
}

.modal-content h3 {
    margin-bottom: var(--space-md);
}

.modal-content p {
    margin-bottom: var(--space-lg);
}

.faq-section {
    padding: var(--space-xxl) 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.faq-question {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: white;
    border-radius: var(--border-radius-md);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: var(--font-lg);
}

.faq-toggle {
    font-size: var(--font-lg);
    color: var(--data-blue);
}

.faq-answer {
    padding: 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding-bottom: var(--space-md);
}

.corporate-section {
    padding: var(--space-xxl) 0;
    background-color: var(--system-dark-gray);
    color: white;
}

.corporate-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.corporate-content h2 {
    margin-bottom: var(--space-md);
}

.corporate-content > p {
    margin-bottom: var(--space-xl);
}

.corporate-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.feature {
    text-align: center;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
}

.feature-icon i {
    font-size: var(--font-lg);
    color: white;
}

.feature h3 {
    margin-bottom: var(--space-sm);
}

/* Map Page Styles */
.map-controls {
    padding: var(--space-xl) 0;
    background-color: var(--light-gray);
}

.controls-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: space-between;
    align-items: center;
}

.search-location {
    display: flex;
    width: 100%;
    max-width: 400px;
}

.search-location input {
    flex: 1;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    font-size: var(--font-md);
}

.search-location button {
    background-color: var(--data-blue);
    color: white;
    padding: 0 var(--space-lg);
    border: none;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.system-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.system-filters .filter-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.time-filter {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.time-filter select {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-sm);
}

.view-toggle {
    display: flex;
    gap: var(--space-sm);
}

.view-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.view-btn.active, .view-btn:hover {
    background-color: var(--data-blue);
    color: white;
    border-color: var(--data-blue);
}

.map-section {
    padding: var(--space-xxl) 0;
}

.map-container {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
    position: relative;
}

.interactive-map {
    position: relative;
    height: 500px;
    margin-bottom: var(--space-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.map-overlay:hover {
    transform: scale(1.1);
}

.overlay-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow-sm);
}

.overlay-icon.electricity {
    background-color: var(--electricity-color);
}

.overlay-icon.water {
    background-color: var(--water-color);
}

.overlay-icon.internet {
    background-color: var(--internet-color);
}

.overlay-icon.gas {
    background-color: var(--gas-color);
}

.map-overlay[data-district="kadikoy"] {
    top: 60%;
    left: 60%;
}

.map-overlay[data-district="beylikduzu"] {
    top: 40%;
    left: 20%;
}

.map-overlay[data-district="sisli"] {
    top: 35%;
    left: 45%;
}

.map-overlay[data-district="umraniye"] {
    top: 45%;
    left: 70%;
}

.map-legend {
    background-color: white;
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    max-width: 200px;
}

.map-legend h3 {
    font-size: var(--font-md);
    margin-bottom: var(--space-md);
}

.legend-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legend-items li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.legend-icon {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-icon.active {
    background-color: var(--status-active);
}

.legend-icon.warning {
    background-color: var(--status-warning);
}

.legend-icon.error {
    background-color: var(--status-error);
}

.legend-icon.maintenance {
    background-color: var(--status-maintenance);
}

.map-info-panel {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.info-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.info-panel-header h3 {
    margin-bottom: 0;
}

.last-update {
    font-size: var(--font-sm);
    color: var(--text-gray);
}

.system-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.summary-item {
    display: flex;
    gap: var(--space-md);
}

.summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.summary-item.electricity .summary-icon {
    background-color: var(--electricity-color);
}

.summary-item.water .summary-icon {
    background-color: var(--water-color);
}

.summary-item.internet .summary-icon {
    background-color: var(--internet-color);
}

.summary-item.gas .summary-icon {
    background-color: var(--gas-color);
}

.summary-info {
    flex: 1;
}

.summary-info h4 {
    margin-bottom: var(--space-sm);
}

.status-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.status-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.bar-label {
    width: 100px;
    font-size: var(--font-sm);
}

.bar-container {
    flex: 1;
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--status-active);
    border-radius: 4px;
}

.bar-value {
    width: 40px;
    font-size: var(--font-sm);
    font-weight: 500;
    text-align: right;
}

.current-issues {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.current-issues h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.issues-table-container {
    overflow-x: auto;
    margin-bottom: var(--space-lg);
}

.issues-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.issues-table th {
    background-color: var(--system-dark-gray);
    color: white;
    text-align: left;
    padding: var(--space-md);
}

.issues-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.issues-table tr:last-child td {
    border-bottom: none;
}

.issue-type {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-md);
    font-weight: 500;
}

.issue-type.electricity {
    background-color: rgba(255, 193, 7, 0.2);
    color: #F57F17;
}

.issue-type.water {
    background-color: rgba(41, 182, 246, 0.2);
    color: #0277BD;
}

.issue-type.internet {
    background-color: rgba(126, 87, 194, 0.2);
    color: #512DA8;
}

.issue-type.gas {
    background-color: rgba(255, 112, 67, 0.2);
    color: #D84315;
}

.status-pill {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.status-pill.warning {
    background-color: rgba(255, 179, 0, 0.2);
    color: #F57F17;
}

.status-pill.error {
    background-color: rgba(229, 57, 53, 0.2);
    color: #C62828;
}

.status-pill.maintenance {
    background-color: rgba(141, 110, 99, 0.2);
    color: #5D4037;
}

.detail-btn {
    background-color: var(--light-gray);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.detail-btn:hover {
    background-color: var(--data-blue);
    color: white;
}

.load-more {
    text-align: center;
}

.notifications-section {
    padding: var(--space-xxl) 0;
    background-color: var(--data-blue);
    color: white;
}

.notifications-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    align-items: center;
}

.notifications-text {
    flex: 1;
    min-width: 300px;
}

.notifications-text h2 {
    margin-bottom: var(--space-md);
}

.notifications-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
}

.notifications-form form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.map-features {
    padding: var(--space-xxl) 0;
}

.map-features h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(2, 136, 209, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
}

.feature-icon i {
    font-size: var(--font-lg);
    color: var(--data-blue);
}

.issue-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.modal-header .issue-type {
    margin-right: var(--space-md);
}

.modal-header h3 {
    margin-bottom: 0;
}

.modal-body {
    margin-bottom: var(--space-lg);
}

.detail-row {
    display: flex;
    margin-bottom: var(--space-md);
}

.detail-label {
    width: 100px;
    font-weight: 600;
    flex-shrink: 0;
}

.detail-value {
    flex: 1;
}

.detail-value ul {
    margin-bottom: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        background-color: var(--system-dark-gray);
        flex-direction: column;
        align-items: center;
        padding: var(--space-md) 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
        z-index: 999;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul li {
        margin: var(--space-sm) 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: var(--space-sm) 0;
    }
    
    .hero h1 {
        font-size: var(--font-xxl);
    }
    
    .card-grid, .post-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 60px;
    }
}

@media (max-width: 480px) {
    .system-status {
        display: none;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input, .search-box button {
        width: 100%;
        border-radius: var(--border-radius-md);
    }
    
    .search-box button {
        margin-top: var(--space-sm);
    }
    
    .cookie-content {
        padding: var(--space-md);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .controls-grid {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-location {
        max-width: none;
    }
    
    .system-filters, .time-filter, .view-toggle {
        justify-content: center;
    }
}
