/* Main Styles for Renewable Sanctuary Website */

/* Base Styles */
:root {
    --primary-color: #3a5f6f;
    --secondary-color: #e8c48f;
    --tertiary-color: #9c7a4b;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Raleway', sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--tertiary-color);
}

ul, ol {
    list-style: none;
    margin-bottom: 1rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-secondary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--tertiary-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--gray-color);
    border: 1px solid var(--gray-color);
}

.btn-tertiary:hover {
    background-color: var(--light-gray);
}

.full-width {
    width: 100%;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
    color: white;
}

.bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: white;
}

.hidden {
    display: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cookie-settings {
    max-width: 1200px;
    margin: 15px auto 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option label {
    margin-left: 5px;
    font-weight: 500;
}

.cookie-option p {
    margin-left: 25px;
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    max-width: 180px;
}

.logo {
    width: 100%;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.mobile-menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Banner Section */
.banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    max-width: 700px;
    color: var(--dark-color);
    position: relative;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(58, 95, 111, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 500;
}

.service-link svg {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* Properties Section */
.properties-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: transparent;
    border: 1px solid var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-image {
    position: relative;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.property-content {
    padding: 25px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact svg {
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

/* Newsletter */
.newsletter-section {
    padding: 80px 0;
}

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

.newsletter-form {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
}

/* Page Banner */
.page-banner {
    background-color: var(--light-color);
    padding: 50px 0;
}

.page-banner-content {
    text-align: center;
}

.breadcrumbs {
    margin-top: 10px;
    color: var(--gray-color);
}

.breadcrumbs a {
    color: var(--gray-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 10px;
}

.breadcrumbs .current {
    color: var(--primary-color);
}

/* Blog List Page */
.blog-filters {
    margin-bottom: 40px;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border-radius: 30px;
}

.search-bar button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.blog-card-large {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-image {
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-meta span {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.blog-card-large h3 {
    margin-bottom: 15px;
}

.blog-card-large p {
    margin-bottom: 20px;
    flex: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination span {
    display: flex;
    align-items: center;
}

/* Article Page */
.article-header {
    padding: 50px 0;
    background-color: var(--light-color);
}

.article-header h1 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-color);
}

.article-meta > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-layout {
    display: flex;
    gap: 50px;
}

.article-main {
    flex: 2;
}

.article-sidebar {
    flex: 1;
}

.article-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.article-text h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-text ul, .article-text ol {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-text li {
    margin-bottom: 10px;
}

.article-quote {
    background-color: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.article-quote svg {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.article-quote p {
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.article-image-small {
    margin: 30px 0;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 10px;
}

.article-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-label {
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.share-buttons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.article-tags a {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.article-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Page */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-detail-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(58, 95, 111, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-detail-card h3 {
    margin-bottom: 15px;
}

.social-links-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container-full {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.contact-form .form-group.half-width {
    width: calc(50% - 10px);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    height: 48px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: auto;
    resize: vertical;
}

.checkbox-group, .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-item input, .radio-item input {
    width: auto;
    margin-top: 4px;
}

.form-button {
    margin-top: 20px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-top: 10px;
}

.field-hint {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 5px;
    margin-bottom: 0;
}

input::placeholder, textarea::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(58, 95, 111, 0.2);
    outline: none;
}

input.error, textarea.error, select.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .checkbox-group, .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

.map-section {
    height: 450px;
    margin: 50px 0;
}

.map-container {
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.office-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.office-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 300px;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    background-color: var(--light-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-toggle svg {
    transition: var(--transition);
}

.faq-open .faq-toggle {
    background-color: var(--primary-color);
    color: white;
}

.faq-open .faq-toggle svg {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 20px;
    display: none;
}

.faq-open .faq-answer {
    display: block;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: rgba(58, 95, 111, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.thank-you-content h1 {
    margin-bottom: 20px;
}

.return-home {
    margin-top: 40px;
}