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

/* Ensure all images maintain aspect ratio */
img {
    height: auto !important;
    max-width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAF9F6;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: #555;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border-color: #e5e5e5;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #d1d5db;
}

.btn-outline {
    background: transparent;
    color: #333;
    border-color: #333;
}

.btn-outline:hover {
    background: #333;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8e8e8;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #333;
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #333;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 80px; /* account for fixed header */
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

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

.hero-greeting {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

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

.hero .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.75rem;
    font-weight: 400;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.about-text p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Section */
.blog {
    padding: 100px 0;
}

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

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.blog-image {
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 400;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.blog-cta {
    text-align: center;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: #f8f9fa;
}

.newsletter .container {
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
    color: #333;
}

.newsletter p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.notify-form,
.rss-subscribe {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.notify-form h3,
.rss-subscribe h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Kit Form Overrides */
.notify-form .formkit-form {
    margin: 0 !important;
}

.notify-form .formkit-fields {
    display: flex !important;
    gap: 0.5rem !important;
    flex-direction: row !important;
    margin: 0 !important;
}

.notify-form .formkit-field {
    flex: 1 !important;
    margin: 0 !important;
}

.notify-form .formkit-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
}

.notify-form .formkit-input:focus {
    border-color: #6B8E23 !important;
    outline: none !important;
}

.notify-form .formkit-submit {
    flex-shrink: 0 !important;
    padding: 12px 24px !important;
    background: #6B8E23 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.notify-form .formkit-submit:hover {
    background: #556B1E !important;
    transform: translateY(-2px) !important;
}

.notify-form .formkit-alert {
    margin: 1rem 0 0 0 !important;
    font-size: 0.9rem !important;
}

.rss-subscribe {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rss-button {
    display: inline-block;
    padding: 12px 24px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.rss-button:hover {
    background: #555;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .newsletter-content {
        gap: 1.5rem;
    }
    
    .notify-form,
    .rss-subscribe {
        min-width: 100%;
        padding: 1.5rem;
    }
}

/* Blog Post Styles */
.blog-post {
    padding: 80px 0;
    background: white;
}

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

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
    color: #666;
}

.post-category {
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.post-subtitle {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    padding: 0 1rem;
}

.post-content figure {
    margin: 2rem 0;
    clear: both;
}

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

.post-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #333;
}

.post-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.post-content strong {
    font-weight: 600;
}

.post-image {
    margin: 2rem 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: block;
    clear: both;
}

.post-image img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Ensure proper aspect ratio */
    width: auto;
    min-width: 0;
    max-height: 600px;
}

.post-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.photo-credits {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.photo-credits a {
    color: #6B8E23;
}

/* Comments Section */
.comments {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.comments-container h2 {
    margin-bottom: 1rem;
}

.comments-container p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
}

#disqus_thread {
    margin-top: 2rem;
}

/* Comment Form */
.comment-form-container {
    max-width: 600px;
    margin: 2rem auto 0;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
}

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

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form .form-input,
.comment-form .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.comment-form .form-input:focus,
.comment-form .form-textarea:focus {
    outline: none;
    border-color: #333;
    background: white;
}

.comment-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-form .btn {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Comments List */
.comments-list {
    margin-top: 2rem;
}

.no-comments {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.contact-text h2 {
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #555;
}

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

.social-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #333;
}

/* Form Styles */
.form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #f3f4f6;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #333;
    background: white;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-content {
        max-width: 100%;
        padding: 0 1rem;
        font-size: 1rem;
    }

    .post-image img {
        max-height: 400px;
        height: auto !important;
        border-radius: 6px;
    }

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

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .post-content {
        padding: 0 0.5rem;
    }

    .post-image img {
        max-height: 300px;
        height: auto !important;
        border-radius: 4px;
    }

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

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

/* Photo Collage Styles - Full Width Professional Layout */
.photo-collage {
    width: 100%;
    margin: 0;
    padding: 4rem 2rem 2rem;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.photo-collage h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.collage-grid {
    max-width: 1600px;
    margin: 0 auto;
    column-count: 5;
    column-gap: 0.75rem;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    break-inside: avoid;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.collage-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collage-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.collage-item:hover img {
    transform: scale(1.05);
}

/* Large desktop */
@media (max-width: 1400px) {
    .collage-grid {
        column-count: 4;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .collage-grid {
        column-count: 3;
        column-gap: 0.6rem;
    }
    
    .photo-collage {
        padding: 3rem 1.5rem 1.5rem;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .collage-grid {
        column-count: 3;
        column-gap: 0.5rem;
    }
    
    .collage-item {
        margin-bottom: 0.5rem;
    }
    
    .photo-collage {
        padding: 2.5rem 1rem 1rem;
    }
    
    .photo-collage h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .collage-grid {
        column-count: 2;
        column-gap: 0.4rem;
    }
    
    .collage-item {
        margin-bottom: 0.4rem;
        border-radius: 3px;
    }
    
    .photo-collage {
        padding: 2rem 0.75rem 0.75rem;
    }
    
    .photo-collage h2 {
        font-size: 1.5rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: background-color 0.3s, color 0.2s;
    border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f1f1f1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 16px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 12px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        bottom: 15px;
        font-size: 14px;
        padding: 8px 15px;
    }
}