/* Shared Sayer Family Website Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1, h2 {
    text-align: center;
    color: #333;
    margin-top: 0;
}

h2 a, h1 a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

h2 a:hover, h1 a:hover {
    color: #764ba2;
}

.info-bar {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #333;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.image-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.accordion-container > img {
    max-width: 200px;
    margin-bottom: 15px;
}

.accordion {
    background-color: #667eea;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.4s;
    border-radius: 8px;
    margin-bottom: 5px;
}

.active, .accordion:hover {
    background-color: #764ba2;
}

.accordion:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 15px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-radius: 0 0 8px 8px;
    margin-bottom: 10px;
}

.panel.open {
    padding: 18px;
}

.btn {
    font-size: 18px;
    padding: 12px 24px;
    margin: 10px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.on {
    background-color: #28a745;
    color: white;
}

.on:hover {
    background-color: #218838;
}

.off {
    background-color: #dc3545;
    color: white;
}

.off:hover {
    background-color: #c82333;
}

.neutral {
    background-color: #6c757d;
    color: white;
}

.neutral:hover {
    background-color: #5a6268;
}

table {
    border: 1px solid #ddd;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    margin-top: 10px;
}

table td, table th {
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

a.button {
    display: inline-block;
    background-color: #667eea;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

a.button:hover {
    background-color: #764ba2;
}

.lightbulb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    color: white;
    font-weight: bold;
}

button {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #764ba2;
}

.note-buttons {
    margin: 10px 0;
}

.note-buttons button {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 8px 14px;
    margin: 3px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.note-buttons button:hover {
    background-color: #764ba2;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    resize: vertical;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

form {
    text-align: center;
}

/* Content areas */
.content {
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

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

.content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .image-container, .accordion-container {
        padding: 10px;
    }
    
    .main-container {
        padding: 15px;
    }
    
    .btn {
        font-size: 16px;
        padding: 10px 20px;
        margin: 5px;
    }
}
