/* ReedHollow - Main Stylesheet */

/* ===== Base Styles ===== */
:root {
    --primary-color: #8a456f;
    --primary-light: #b973a8;
    --primary-dark: #5c2e4a;
    --secondary-color: #f5f0f6;
    --accent-color: #d4af37;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --gray: #e0e0e0;
    --dark-gray: #444444;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Montserrat', Helvetica, Arial, sans-serif;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
    text-align: center;
}

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;
}

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

li {
    margin-bottom: 0.5rem;
}

button, .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

.btn-large {
    padding: 1.2rem 2.4rem;
    font-size: 1.8rem;
}

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

section {
    padding: 6rem 2rem;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

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

.logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.logo-small {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
}

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

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.5rem;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    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);
}

/* ===== Hero Section ===== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 10rem 2rem;
    text-align: center;
}

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

.hero h2 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--white);
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--secondary-color);
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h2 {
    margin-bottom: 1rem;
}

/* ===== This Day in History ===== */
.this-day-history {
    background-color: var(--secondary-color);
    padding: 3rem 2rem;
    margin: 4rem 0;
    text-align: center;
    border-radius: var(--border-radius);
}

.this-day-history h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

/* ===== Featured Posts ===== */
.featured-posts, .blog-posts {
    padding: 6rem 2rem;
}

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

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

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

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-content h3, .post-content h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 1rem;
}

.full-width {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.full-width .post-image {
    width: 40%;
    height: 300px;
}

.full-width .post-content {
    width: 60%;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.4rem;
}

.post-date, .post-author, .post-category {
    display: flex;
    align-items: center;
}

/* ===== Blog Post ===== */
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

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

.post-featured-image {
    margin-bottom: 3rem;
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.post-content {
    margin-bottom: 4rem;
}

.post-content h3, .post-content h4, .post-content h5 {
    margin-top: 3rem;
}

.post-content p, .post-content ul, .post-content ol {
    text-align: left;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tag {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    font-size: 1.4rem;
}

.post-share {
    margin-bottom: 4rem;
    text-align: center;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-share a {
    background-color: var(--light-gray);
    color: var(--primary-color);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.related-posts h3 {
    margin-bottom: 2rem;
}

.post-cta {
    text-align: center;
    margin: 4rem 0;
}

/* Color palettes for seasonal color analysis */
.color-palette {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.color-swatch {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}

/* ===== Services ===== */
.services {
    background-color: var(--light-gray);
    padding: 6rem 2rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 6rem 2rem;
    background-color: var(--secondary-color);
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.testimonial p {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    text-align: left;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.rounded-image {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
}

.team-section {
    margin-bottom: 6rem;
}

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

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

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.values-section {
    background-color: var(--light-gray);
    padding: 6rem 2rem;
    margin-bottom: 6rem;
}

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

.value-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
}

/* ===== Contact ===== */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 6rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    text-align: left;
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.social-contact {
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

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

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1.6rem;
}

.form-group textarea {
    resize: vertical;
}

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

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.map-section {
    margin-bottom: 6rem;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 6rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
}

address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    padding: 3rem;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.4rem;
    cursor: pointer;
}

.modal-body {
    margin-top: 1.5rem;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--success);
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 999;
    display: none;
}

.cookie-content {
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.cookie-more-info {
    font-size: 1.4rem;
    color: var(--text-light);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    header {
        flex-direction: column;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem 1rem;
    }
    
    .hero {
        padding: 6rem 2rem;
    }
    
    .hero h2 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .full-width {
        flex-direction: column;
    }
    
    .full-width .post-image,
    .full-width .post-content {
        width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-section,
    .about-content {
        flex-direction: column;
    }
}
