/* Base styles */
:root {
    --primary-color: #333;
    --secondary-color: #e73c17;
    --background-color: #f9f9f9;
    --card-background: #fff;
    --text-color: #333;
    --border-color: #ddd;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
    --spacing: 20px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Header styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing) 0;
    text-align: center;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Main content styles */
main {
    padding: var(--spacing) 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

/* Disclaimer styles */
.disclaimer {
    background-color: #f8f8f8;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

/* Camera grid styles */
.camera-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing);
}

.camera-card {
    background-color: var(--card-background);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.camera-image {
    width: 100%;
    height: auto;
    background-color: #f5f0ee;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.camera-image img {
    max-width: 100%;
    max-height: 200px;
}

.camera-info {
    padding: 15px;
}

.camera-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.firmware-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.firmware-link:hover {
    text-decoration: underline;
}

.firmware-date {
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

/* Footer styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing) 0;
    text-align: center;
    margin-top: 40px;
}

/* Responsive styles */
@media (min-width: 768px) {
    .camera-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .camera-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .camera-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.banner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
    background-color: #f9f6f2;
    padding: 15px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .banner-container {
        flex-direction: row;
    }
}

.banner {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e6e6e6;
}

.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.banner a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.banner-image {
    width: 100px;
    height: 50px;
    overflow: hidden;
    margin: 0 auto;
}

.banner-image img {
    width: 100px;
    height: 50px;
    display: block;
    transition: transform 0.3s ease;
}

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

.banner-content {
    padding: 15px;
    text-align: center;
}

.banner h3 {
    margin: 0 0 10px;
    color: #e63946;
    font-size: 1.2rem;
}

.banner p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}
