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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
}

.logo img {
    height: 40px;
    width: 40px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #8B4513;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    background: #8B4513;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #A0522D;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-banner {
    max-width: 100%;
    height: 400px;
    object-fit: contain;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-preview {
    padding: 80px 0;
    background: #f8f8f8;
}

.about-content {
    display: grid;
   
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.read-more {
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
}

/* About Page Content */
.about-content {
    padding: 80px 0;
    background: white;
}

.about-story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.story-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-image {
    display: flex;
    justify-content: center;
}

.story-image img {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.mission-section, .vision-section {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
}

.mission-section h2, .vision-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.mission-section p, .vision-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.values {
    margin-bottom: 4rem;
}

.values h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.team {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.team p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #8B4513;
    color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.testimonial-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card cite {
    font-weight: bold;
    opacity: 0.9;
}

/* Blog Section */
.blog-preview {
    padding: 80px 0;
    background: white;
}

.blog-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card div {
    padding: 1.5rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card a {
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
}

.blog-card a:hover {
    text-decoration: underline;
}

.blog-link {
    text-align: center;
    margin-top: 2rem;
}

.blog-link a {
    background: #8B4513;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.blog-link a:hover {
    background: #A0522D;
}

/* Blog Articles Page */
.blog-articles {
    padding: 80px 0;
    background: white;
}

.articles-grid {
    display: grid;
    gap: 3rem;
}

.article-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.article-image {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.article-content {
    padding: 2rem;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-content h2 a {
    color: #333;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #8B4513;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-content .read-more {
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
}

.article-content .read-more:hover {
    text-decoration: underline;
}

/* Article Page */
.article-header {
    background: #f8f8f8;
    padding: 120px 0 40px;
}

.breadcrumbs {
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: #8B4513;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-content {
    padding: 80px 0;
    background: white;
}

.article-content .article-image {
    text-align: center;
    margin-bottom: 3rem;
}

.article-content .article-image img {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
}

.article-text {
    max-width: 800px;
    margin: 0 auto;
}

.article-text h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.article-text h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #333;
}

.article-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-text ul, .article-text ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-text li {
    color: #666;
    margin-bottom: 0.5rem;
}

.maintenance-schedule {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.maintenance-schedule th,
.maintenance-schedule td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.maintenance-schedule th {
    background-color: #8B4513;
    color: white;
}

.maintenance-schedule tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background: #f8f8f8;
}

.related-articles h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.related-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.related-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.related-card h3 a {
    color: #333;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #8B4513;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: #f8f8f8;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.newsletter p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: #8B4513;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #A0522D;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 10px;
}

.contact-item img {
    width: 40px;
    height: 40px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.social-links {
    text-align: center;
}

.social-links h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    background: #8B4513;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: #A0522D;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #8B4513;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B4513;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cookie-buttons button:first-child {
    background: #8B4513;
    color: white;
}

.cookie-buttons button:first-child:hover {
    background: #A0522D;
}

.cookie-buttons button:nth-child(2) {
    background: #666;
    color: white;
}

.cookie-buttons button:nth-child(2):hover {
    background: #777;
}

.cookie-buttons button:last-child {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-buttons button:last-child:hover {
    background: white;
    color: #333;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-option p {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cookie-modal-buttons button:first-child {
    background: #8B4513;
    color: white;
}

.cookie-modal-buttons button:first-child:hover {
    background: #A0522D;
}

.cookie-modal-buttons button:last-child {
    background: #666;
    color: white;
}

.cookie-modal-buttons button:last-child:hover {
    background: #777;
}

/* Thanks Page */
.thanks-content {
    padding: 120px 0 80px;
    background: white;
    text-align: center;
}

.thanks-message {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.thanks-message h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8B4513;
}

.thanks-text {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.thanks-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.next-steps {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
}

.next-steps h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.next-steps ul {
    list-style: none;
    margin-left: 0;
}

.next-steps li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.next-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #8B4513;
    color: white;
}

.btn-primary:hover {
    background: #A0522D;
}

.btn-secondary {
    background: #666;
    color: white;
}

.btn-secondary:hover {
    background: #777;
}

.additional-info {
    background: #f8f8f8;
    padding: 3rem;
    border-radius: 10px;
}

.additional-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
    background: white;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.legal-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #333;
}

.legal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: #666;
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: #333;
}

.legal-content a {
    color: #8B4513;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background-color: #8B4513;
    color: white;
}

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

.cookie-settings-section {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.current-settings {
    text-align: center;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .about-content,
    .about-story,
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 200px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .values-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .services,
    .about-preview,
    .testimonials,
    .blog-preview,
    .newsletter,
    .contact {
        padding: 60px 0;
    }
}
