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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #498f87;
    color: white;
}

.btn-primary:hover {
    background-color: #3a7a73;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: transparent;
    color: #498f87;
    border: 2px solid #498f87;
}

.btn-tertiary:hover {
    background-color: #498f87;
    color: white;
}

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

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

.logo h1 {
    font-size: 1.5rem;
    color: #498f87;
    margin-bottom: 0;
}

.logo p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

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

.nav a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #498f87;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #498f87;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(73, 143, 135, 0.6), rgba(44, 62, 80, 0.5));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #498f87, #2c3e50);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: invert(1);
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Main Content */
.main {
    padding-top: 80px;
}

.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text {
    font-size: 1.1rem;
}

.feature-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

/* Advantages Section */
.advantages {
    background-color: #f8f9fa;
}

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

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

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

.advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

/* Styles Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.style-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.style-card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.style-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Buildings Grid */
.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.building-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #498f87;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    margin-right: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #498f87;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-item h3 {
    color: #498f87;
    margin-bottom: 0.5rem;
}

/* Timeline Container for other pages */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #498f87;
}

.timeline-container .timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-container .timeline-item::before {
    left: -10px;
}

.timeline-marker {
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #498f87;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-marker.green {
    background: #498f87;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    color: #498f87;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    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,
.footer-section h4 {
    color: #498f87;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a.active {
    color: #498f87;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #498f87;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3a7a73;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner p, .footer p {
    color: white;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

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

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.cookie-modal.show {
    display: flex;
}

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

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-category span {
    font-size: 0.9rem;
    color: #666;
}

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

/* Forms */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #498f87;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.2rem;
}

.checkmark {
    display: none;
}

/* Contact Page Specific Styles */
.contact-section {
    padding: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.contact-card h3 {
    color: #498f87;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #498f87;
    text-decoration: none;
}

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

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #498f87;
    margin-bottom: 1rem;
}

/* Office Hours */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.hours-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.hours-list {
    text-align: left;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.hours-item:last-child {
    border-bottom: none;
}

/* Legal Document Styles */
.legal-content {
    background: white;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-document h2 {
    color: #498f87;
    border-bottom: 2px solid #498f87;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

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

.legal-document h4 {
    color: #495057;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-document ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-document li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-document .contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1rem 0;
    border-left: 4px solid #498f87;
}

.legal-document .last-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
}

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

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.cookie-table th {
    background: #498f87;
    color: white;
    font-weight: 600;
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

.cookie-settings-button {
    text-align: center;
    margin: 2rem 0;
}

/* Thank You Page */
.thank-you-section {
    text-align: center;
    padding: 3rem 0;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.thank-you-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
}

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

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

.info-icon {
    width: 40px;
    height: 40px;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.info-item h3 {
    color: #498f87;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0;
    color: #555;
}

.info-item a {
    color: #498f87;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.next-steps {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: #498f87;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0;
    color: #555;
}

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

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

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

.resource-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.newsletter {
    background: #f8f9fa;
    text-align: center;
}

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

.newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
}

.newsletter-form button {
    flex-shrink: 0;
}

/* Specialized Page Styles */

/* Historical Architecture Page */
.periods {
    background: white;
}

.period-section {
    margin-bottom: 3rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.period-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.period-icon {
    width: 50px;
    height: 50px;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.period-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.period-text ul {
    list-style: disc;
    padding-left: 2rem;
}

.period-text li {
    margin-bottom: 0.5rem;
    color: #555;
}

.examples {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.examples h4 {
    color: #498f87;
    margin-bottom: 1rem;
}

.examples ul {
    list-style: none;
    padding: 0;
}

.examples li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.examples li:last-child {
    border-bottom: none;
}

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

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

.heritage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

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

.region-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.region-card h3 {
    color: #498f87;
    margin-bottom: 1rem;
}

/* House Building Page */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.step-card .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #498f87;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 1rem 0;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

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

.legal-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.legal-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.legal-card ul {
    list-style: disc;
    padding-left: 2rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

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

.type-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.type-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.type-details h4 {
    color: #498f87;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.type-details ul {
    list-style: disc;
    padding-left: 2rem;
}

.type-details li {
    margin-bottom: 0.5rem;
    color: #555;
}

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

.cost-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.cost-category h3 {
    color: #498f87;
    margin-bottom: 1.5rem;
}

.cost-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cost-item:last-child {
    border-bottom: none;
}

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

.financing-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.financing-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.financing-card ul {
    list-style: disc;
    padding-left: 2rem;
}

.financing-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

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

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

.tip-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

/* Green Building Page */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.standard-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.standard-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.standard-levels {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.level {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.level.bronze {
    background: #cd7f32;
    color: white;
}

.level.silver {
    background: #c0c0c0;
    color: white;
}

.level.gold {
    background: #ffd700;
    color: #333;
}

.level.platinum {
    background: #e5e4e2;
    color: #333;
}

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

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

.efficiency-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.efficiency-values {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
}

.value {
    text-align: center;
}

.value .number {
    font-size: 2rem;
    font-weight: bold;
    color: #498f87;
    display: block;
}

.value .unit {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

.value .description {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 0.25rem;
}

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

.material-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.material-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.material-card ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.material-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

.material-impact {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #498f87;
    border-left: 3px solid #498f87;
}

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

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.tech-content h4 {
    color: #498f87;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

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

.benefit-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.benefit-category h3 {
    color: #498f87;
    margin-bottom: 1.5rem;
}

.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
    flex-shrink: 0;
}

.benefit-item h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.9rem;
}

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

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.example-image {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
}

.example-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.spec {
    background: #498f87;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.future-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.trend-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trend-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trend-item h4 {
    color: #498f87;
    margin-bottom: 0.5rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.future-tech {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.future-icon {
    width: 40px;
    height: 40px;
    filter: invert(33%) sepia(68%) saturate(458%) hue-rotate(134deg) brightness(88%) contrast(88%);
    flex-shrink: 0;
}

.future-tech h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.future-tech p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .period-content {
        grid-template-columns: 1fr;
    }
    
    .future-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item::before {
        left: -30px;
    }
    
    .timeline-item:nth-child(odd) {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd)::before {
        left: -30px;
    }
    
    .steps {
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .legal-document {
        padding: 2rem 1rem;
    }
    
    .efficiency-values {
        flex-direction: column;
        gap: 1rem;
    }
    [class*="-grid"] {
        grid-template-columns: 1fr;
    }
    body {
        word-break: break-word;
    }
    .logo h1 {
        font-size: 1.2rem;
    }
}
