/* 
 * Remaining Inline Style Fixes
 * This file contains styles extracted from inline styles in templates with fewer instances
 */

/* Error Page Styles */
.error-container {
    text-align: center;
    padding: 5rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--medium);
}

.error-description {
    margin-bottom: 2rem;
    color: var(--medium);
    line-height: 1.6;
}

.error-home-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.error-home-link:hover {
    background-color: var(--secondary);
}

/* Things To Do Page Styles */
.things-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../static/images/things_to_do/JK_Things_to_Do_Header.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.things-header-content {
    max-width: 800px;
    padding: 0 1rem;
}

.activity-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

/* Contact Page Styles */
.contact-map {
    width: 100%;
    height: 400px;
    border: none;
    margin-bottom: 2rem;
}

/* Gallery Page Styles */
.gallery-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../static/images/gallery/JK_Gallery_Header.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header-content {
    max-width: 800px;
    padding: 0 1rem;
}

/* Index Page Styles */
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}

/* Admin Styles */
.admin-editor {
    min-height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.admin-testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 1rem;
}

/* Fix for slider empty space */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    margin: 0;
    padding: 0;
}

.hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    top: 0;
}

/* Fix for header positioning */
header {
    margin-bottom: 0 !important;
}

.main-header {
    margin-bottom: 0 !important;
}

/* Remove any potential margin from top-level elements */
body > header,
body > main,
main > section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .things-header,
    .gallery-header {
        height: 40vh;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-message {
        font-size: 1.5rem;
    }
    
    .contact-map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .error-code {
        font-size: 4rem;
    }
}
