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

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #FFFDF2;
    color: #6D4715;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #FFFDF2;
    padding: 2rem 0 0 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 3rem;
    color: #6D4715;
}

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

.title-section h1 {
    font-size: 2.5rem;
    color: #6D4715;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.title-section p {
    color: #6D4715;
    font-size: 1rem;
}

nav {
    background-color: #FFFDF2;
    padding: 1rem 0 2rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    color: #6D4715;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    opacity: 0.7;
}

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

.gallery-item {
    background-color: #F5E6D3;
    border: 2px solid #D4C4A8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-color: #F5E6D3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6D4715;
}

.gallery-item video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-color: #F5E6D3;
    display: block;
}

.content-section {
    background-color: #F5E6D3;
    border: 2px solid #D4C4A8;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

#monitoring {
    background-color: #F5E6D3;
    border: 2px solid #D4C4A8;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.monitoring-container {
    max-width: 100%;
}

.dashboard-display {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5E6D3;
    padding: 20px 0;
    margin-bottom: 30px;
}

.dashboard-display img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.dashboard-description h3 {
    color: #6D4715;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.dashboard-description p {
    color: #6D4715;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section h2 {
    color: #6D4715;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #D4C4A8;
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: #6D4715;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.content-section p {
    color: #6D4715;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    color: #6D4715;
    margin-bottom: 0.5rem;
}

.hardware-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.hardware-table th {
    background-color: #F5E6D3;
    color: #6D4715;
    padding: 1rem;
    text-align: left;
    border: 1px solid #D4C4A8;
}

.hardware-table td {
    padding: 0.8rem 1rem;
    border: 1px solid #D4C4A8;
    color: #6D4715;
}

.hardware-table tr:nth-child(even) {
    background-color: #F5E6D3;
}

.hardware-table a {
    color: #6D4715;
    text-decoration: none;
    border-bottom: 1px solid #6D4715;
}

.hardware-table a:hover {
    opacity: 0.7;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #6D4715;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.back-link:hover {
    border-color: #6D4715;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #6D4715;
    border-top: 1px solid #D4C4A8;
    margin-top: 3rem;
}

.placeholder-img {
    width: 100%;
    height: 250px;
    background-color: #F5E6D3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6D4715;
    font-size: 3rem;
}

.placeholder-video {
    width: 100%;
    height: 250px;
    background-color: #F5E6D3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6D4715;
    font-size: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background-color: #F5E6D3;
    border: 1px solid #D4C4A8;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.service-info h3 {
    color: #6D4715;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-info p {
    color: #6D4715;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.service-link {
    color: #6D4715;
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
    border-bottom: 1px solid #6D4715;
}

.service-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .title-section h1 {
        font-size: 2rem;
    }

    nav ul {
        justify-content: center;
    }

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

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

    .service-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .dashboard-display {
        padding: 15px 0;
    }

    .dashboard-description h3 {
        font-size: 1.2rem;
    }

    .dashboard-description p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .dashboard-display {
        padding: 0;
        height: 400px;  /* Same as gallery images */
        border-radius: 8px;
    }

    .dashboard-display img {
        width: 150%;
        height: 80%;
        object-fit: cover;  /* Same as gallery images */
        border-radius: 8px;
    }
}
