/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #0f172a;
}

h2 {
    font-size: 2rem;
    color: #1e293b;
}

h3 {
    font-size: 1.5rem;
    color: #334155;
}

h4 {
    font-size: 1.25rem;
    color: #475569;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Container */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
}

.nav-logo svg {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #475569;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #475569;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.hero-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #475569;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    color: white;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

.btn-tertiary {
    background: transparent;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-tertiary:hover {
    background: #f8fafc;
    color: #334155;
}

/* Sections */
section {
    padding: 4rem 0;
}

.page-header {
    padding: 2rem 0;
    text-align: center;
    background: #f8fafc;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #64748b;
    font-size: 1.55rem;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-icon {
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    margin-bottom: 0;
}

/* Services Section */
.services {
    background: #ffffff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    margin-bottom: 0;
}

/* Blog Sections */
.blog-preview {
    background: #f8fafc;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.blog-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-icon {
    margin-bottom: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.blog-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #1d4ed8;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Article pages */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.article-icon {
    margin-bottom: 2rem;
}

.article-meta {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.article-content {
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #334155;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-to-blog {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.back-to-blog:hover {
    color: #1d4ed8;
}

.article-share {
    text-align: right;
}

.article-share h4 {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.share-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Blog content page */
.blog-content {
    padding: 2rem 0;
}

.blog-articles {
    display: grid;
    gap: 2rem;
}

.article-card {
    display: flex;
    gap: 2rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-icon {
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-content h2 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.article-content .article-meta {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.article-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Reviews Section */
.reviews {
    background: #ffffff;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.review-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.review-stars {
    margin-bottom: 1.5rem;
}

.review-card p {
    color: #475569;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-author strong {
    color: #1e293b;
    display: block;
}

.review-author span {
    color: #64748b;
    font-size: 0.875rem;
}

/* Contact Form */
.contact-content {
    padding: 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    color: #2563eb;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.55rem;
}

.contact-details p {
    color: #64748b;
    margin-bottom: 0;
}

.contact-form-container h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.checkmark {
    width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
}

/* Map Section */
.map-section {
    background: #f8fafc;
    padding: 3rem 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map-placeholder {
    background: #f1f5f9;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.map-info {
    padding: 1.5rem;
}

.map-info h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.map-info ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.map-info li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Newsletter */
.newsletter-content {
    padding: 2rem 0;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.newsletter-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-icon {
    margin-bottom: 2rem;
}

.newsletter-benefits {
    margin-top: 2rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    flex-shrink: 0;
    color: #2563eb;
}

.benefit-text h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.55rem;
}

.benefit-text p {
    color: #64748b;
    margin-bottom: 0;
}

.newsletter-form-container h2 {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: grid;
    gap: 1.5rem;
}

.newsletter-preview {
    background: #f8fafc;
    padding: 3rem 0;
}

.newsletter-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.preview-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.preview-icon {
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.preview-item h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.preview-item p {
    color: #64748b;
    margin-bottom: 0;
}

/* Thanks page */
.thanks-section {
    padding: 4rem 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    margin-bottom: 3rem;
}

.thanks-message h2 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.thanks-message p {
    color: #64748b;
    margin-bottom: 1rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.thanks-additional {
    margin-top: 4rem;
}

.thanks-additional h3 {
    margin-bottom: 2rem;
    color: #1e293b;
}

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

.suggestion-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.suggestion-icon {
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.suggestion-card h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.suggestion-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.suggestion-card a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.suggestion-card a:hover {
    color: #1d4ed8;
}

/* Legal pages */
.legal-page {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section h3 {
    color: #334155;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.legal-section p {
    color: #475569;
    margin-bottom: 1rem;
}

.legal-section strong {
    color: #1e293b;
}

/* Cookie tables */
.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.cookie-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.cookie-table td {
    color: #64748b;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-settings-preview {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.cookie-settings-preview h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

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

.cookie-buttons .btn-primary {
    background: #2563eb;
}

.cookie-buttons .btn-secondary {
    background: #475569;
    color: white;
    border: 1px solid #64748b;
}

.cookie-buttons .btn-secondary:hover {
    background: #334155;
}

.cookie-buttons .btn-tertiary {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid #64748b;
}

.cookie-buttons .btn-tertiary:hover {
    background: #334155;
    color: white;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

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

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.cookie-category h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.cookie-category p {
    color: #64748b;
    margin-bottom: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2563eb;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2563eb;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #cbd5e1;
    cursor: not-allowed;
}

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

/* Article specific styles */
.building-info {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.building-icon {
    flex-shrink: 0;
    color: #2563eb;
}

.building-details p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.building-details strong {
    color: #1e293b;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

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

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: white;
}

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

/* Utility classes */
.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
