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

body {
    font-family: 'Open Sans', sans-serif;
    color: #444;
    background-color: #eedabb; /* Wooden texture base color approximation */
    /* Subtle vertical lines to mimic wood */
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 20px);
    line-height: 1.6;
}

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

a {
    color: #649ebf;
    text-decoration: none;
}

/* Header */
#main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background-color: #8bb5cc; /* Light blue sky color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    height: 110px;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 5px;
    z-index: 10;
}

.logo-container {
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo {
    border-radius: 50%;
    display: block;
    width: 60px;
    height: 60px;
}

.title-banner {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 8px 25px;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-top: -15px;
    z-index: 5;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.header-right {
    z-index: 10;
}

.phone-button {
    background-color: #6a6c6e;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.phone-button:hover {
    background-color: #555759;
}



/* Global Hero Area */
.hero {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: #e0e0e0;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    display: block;
}



/* Page Container (Main + Sidebar) */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #fff;
    margin-top: -5px; /* Blend with hero if needed */
}

/* Main Content Area */
.content-area {
    flex: 1;
    min-width: 0;
    background-color: #fff;
    padding: 30px 40px;
}

.page-section {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.breadcrumb {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 25px;
}

/* Typography styles */
.section-title {
    color: #69a1c1; /* Theme light blue/teal */
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.subtitle {
    color: #69a1c1;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.highlight-text {
    color: #49b085; /* Light greenish tone as in original */
    font-weight: 600;
    margin: 15px 0;
}

.bold-green {
    font-size: 1.1rem;
    color: #49b085;
}

.content-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

ul.no-bullets {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 0;
}

ul.no-bullets li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Layout Utilities */
.split-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.content-img {
    flex: 0 0 300px; /* Fixed width for left image */
}

.content-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-text {
    flex: 1;
}

/* Gallery specific styles */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.gallery-grid img {
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.doc-img {
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

/* Form Styles */
.form-container {
    margin-top: 30px;
    max-width: 600px;
}

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

.form-group.row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.form-group.row label {
    flex: 0 0 120px;
    font-size: 0.9rem;
    color: #444;
    padding-top: 8px;
}

.form-group.row input[type="text"],
.form-group.row input[type="email"],
.form-group.row input[type="tel"],
.form-group.row textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.95rem;
}

.required {
    color: #d11212;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 120px; /* Aligns with input fields */
}

.btn-submit {
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-submit:hover {
    background-color: #e0e0e0;
}

.required-note {
    font-size: 0.8rem;
    color: #777;
}



/* Footer */
#main-footer {
    width: 100%;
    background-color: #66686b; /* Grey middle footer */
    color: #ccc;
}

.footer-top {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.footer-contact a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom {
    background-color: #3b3b3b; /* Dark bottom footer */
    padding: 40px 0;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
}

.footer-col {
    flex: 1;
    padding: 0 20px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-email {
    color: #5d9ec2;
    text-decoration: underline;
}

.footer-col.col-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.visiperf span {
    color: #fff;
}

.small-text {
    font-size: 0.7rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-container, .hero {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        padding-top: 0;
    }
    
    .split-content {
        flex-direction: column;
    }
    
    .content-img {
        flex: none;
        width: 100%;
    }
    
    .header-top {
        flex-direction: column;
        height: auto;
        padding-bottom: 20px;
        gap: 15px;
    }
    
    .header-center {
        position: static;
        transform: none;
        margin-top: 10px;
    }
    
    .hero-text-overlay {
        right: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
    }
}
