/* 
=================================
Static Channel - MAIN STYLESHEET
=================================
*/

/* === GLOBAL STYLES === */

:root {
    --primary-color: #9c6e5a;
    --primary-light: #c8a796;
    --primary-dark: #7a4e3c;
    --secondary-color: #4a6670;
    --accent-color: #d3a87d;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f7f5f3;
    --border-color: #e5e0dc;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Arial, sans-serif;
    --border-radius: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75em;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 15px;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

button, .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

button:hover, .btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

section {
    margin: 3.5rem 0;
}

/* === HEADER & NAVIGATION === */

header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

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

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

nav ul li a.active {
    color: var(--primary-color);
}

.font-size-toggle button {
    font-size: 0.8rem;
    padding: 8px 12px;
    background-color: var(--background-alt);
    color: var(--text-color);
}

.font-size-toggle button:hover {
    background-color: var(--border-color);
}

/* === HERO SECTION === */

.hero {
    background-color: var(--background-alt);
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/6.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

/* === PAGE BANNER === */

.page-banner {
    background-color: var(--background-alt);
    padding: 60px 0;
    text-align: center;
}

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

.page-banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.post-banner {
    text-align: left;
    padding: 80px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/9.jpg');
    background-size: cover;
    background-position: center;
}

.post-banner .post-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.post-banner .post-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.post-banner .post-meta span {
    margin-right: 15px;
}

/* === EDITOR'S NOTE === */

.editors-note {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow);
}

.note-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.note-content img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.note-text p:last-child {
    margin-bottom: 0;
    font-style: italic;
}

.blog-editors-note {
    margin-top: 0;
}

/* === FEATURED POSTS === */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 1.5rem;
}

.post-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.post-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.25rem;
}

.post-card p {
    padding: 0 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.post-card .read-more {
    display: inline-block;
    padding: 0 20px 20px;
    font-weight: 600;
    position: relative;
}

.post-card .read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.post-card .read-more:hover:after {
    margin-left: 8px;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.small-grid {
    grid-template-columns: repeat(3, 1fr);
}

.post-meta {
    display: flex;
    padding: 0 20px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.post-date, .post-category {
    margin-right: 15px;
}

/* === TESTIMONIALS === */

.testimonials {
    background-color: var(--background-alt);
    padding: 60px 0;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    padding: 20px;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* === BLOG CATEGORIES === */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    background-color: var(--primary-light);
    color: white;
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-card:hover .category-icon {
    color: white;
}

.category-card h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* === BLOG SUBSCRIBE === */

.blog-subscribe {
    background-color: var(--primary-color);
    color: white;
    padding: 60px;
    border-radius: var(--border-radius);
    text-align: center;
}

.blog-subscribe h2 {
    color: white;
}

.blog-subscribe h2:after {
    background-color: white;
    margin: 15px auto;
}

.subscribe-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.subscribe-form .btn {
    background-color: var(--accent-color);
}

.subscribe-form .btn:hover {
    background-color: var(--primary-dark);
}

.form-disclaimer {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.form-disclaimer a {
    color: white;
    text-decoration: underline;
}

/* === CONTACT PAGE === */

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}

.contact-form {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 5px;
}

.social-mini {
    display: flex;
    gap: 10px;
}

.social-mini a {
    color: var(--text-color);
    font-size: 1.2rem;
}

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

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* === MODAL === */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--background-color);
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-message h2 {
    margin-bottom: 15px;
}

.thank-you-message h2:after {
    content: none;
}

.close-btn {
    margin-top: 20px;
}

/* === BLOG POST CONTENT === */

.post-content {
    padding: 60px 0;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.post-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-tip {
    background-color: var(--background-alt);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-tip h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.post-tip p:last-child {
    margin-bottom: 0;
}

.post-image {
    margin: 2rem 0;
}

.post-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

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

.post-author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--background-alt);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.post-author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.author-info h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.post-tags {
    margin-bottom: 1.5rem;
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: var(--background-alt);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

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

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.post-share span {
    font-weight: 600;
    margin-right: 15px;
}

.post-share a {
    color: var(--text-light);
    margin-right: 15px;
    transition: var(--transition);
}

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

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h2 {
    margin-bottom: 1.5rem;
}

.post-comments h2 {
    margin-bottom: 1.5rem;
}

.comment-form {
    background-color: var(--background-alt);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.comment-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.comments-list {
    display: grid;
    gap: 20px;
}

.comment {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content h4 {
    margin-bottom: 5px;
}

.comment-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.comment-content p {
    margin-bottom: 0;
}

/* === ABOUT PAGE === */

.about-intro {
    margin-bottom: 4rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-img {
    width: 40%;
    border-radius: var(--border-radius);
}

.values-grid, .team-grid, .credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.value-card, .credential-item {
    background-color: var(--background-alt);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
}

.value-icon, .credential-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3, .credential-item h3 {
    margin-bottom: 1rem;
}

.value-card p, .credential-item p {
    margin-bottom: 0;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.member-social a {
    color: var(--text-light);
}

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

/* === FOOTER === */

footer {
    background-color: var(--background-alt);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links h3, .footer-legal h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a, .footer-legal a {
    color: var(--text-light);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-contact svg {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === COOKIE BANNER === */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.cookie-content p {
    margin-bottom: 15px;
    max-width: 800px;
}

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

.btn-accept {
    background-color: var(--success-color);
}

.btn-customize {
    background-color: var(--info-color);
}

.btn-decline {
    background-color: var(--text-light);
}

.cookie-policy {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* === RESPONSIVE STYLES === */

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .note-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-img {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .small-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .font-size-toggle {
        margin-top: 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .comment {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* === PRINT STYLES === */

@media print {
    header, .hero, footer, .cookie-banner, .post-share, .related-posts, .post-comments {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    a {
        text-decoration: underline;
    }
    
    h2:after {
        display: none;
    }
}
