@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --bg-color: #FAF6F0; /* Soft warm cream */
    --text-main: #2C2623; /* Deep espresso gray */
    --text-muted: #6B5E59; /* Muted coffee brown */
    --accent: #D4A373; /* Warm gold/sand */
    --accent-light: #E9D8A6; /* Soft cream-gold */
    --accent-rose: #E0A899; /* Dusty rose */
    --card-bg: rgba(255, 255, 255, 0.7); /* Translucent white */
    --border-color: rgba(212, 163, 115, 0.2); /* Soft gold border */
    --shadow-color: rgba(107, 94, 89, 0.08); /* Soft warm shadow */
    --glow-color: rgba(224, 168, 153, 0.2); /* Soft rose glow */
    --max-width: 1100px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-image: 
        radial-gradient(at 0% 0%, rgba(224, 168, 153, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 163, 115, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

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

a:hover {
    color: var(--accent-rose);
}

/* Header & Navigation */
header {
    background: rgba(250, 246, 240, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-rose);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul a {
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul a.active {
    color: var(--accent-rose);
    border-bottom: 2px solid var(--accent-rose);
    padding-bottom: 4px;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.hero-text h1 {
    font-family: 'Lora', serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--text-main);
    color: #FAF6F0;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-rose);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-color);
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
}

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

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(107, 94, 89, 0.12), 0 0 15px var(--glow-color);
    border-color: rgba(224, 168, 153, 0.4);
}

/* Blog Section */
.section-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--accent-rose);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--accent-rose);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.blog-card-title {
    font-family: 'Lora', serif;
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(212, 163, 115, 0.1);
    padding-top: 1rem;
}

/* Article Layout */
.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.article-category {
    font-size: 0.9rem;
    color: var(--accent-rose);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.article-title {
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.article-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.article-banner {
    width: 100%;
    max-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
}

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

.article-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3C3633;
}

.article-content p {
    margin-bottom: 2rem;
}

.article-content h2, .article-content h3 {
    font-family: 'Lora', serif;
    margin: 3rem 0 1.5rem 0;
    font-weight: 500;
}

.article-content h2 {
    font-size: 1.8rem;
    border-left: 4px solid var(--accent-rose);
    padding-left: 1rem;
}

.article-content blockquote {
    background: rgba(224, 168, 153, 0.08);
    border-left: 4px solid var(--accent-rose);
    padding: 1.5rem 2rem;
    font-style: italic;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    font-family: 'Lora', serif;
    color: var(--text-muted);
}

.article-content code {
    background: rgba(107, 94, 89, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: monospace;
}

.article-content pre {
    background: #2C2623;
    color: #F9F6F0;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    border: 1px solid rgba(212, 163, 115, 0.1);
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content ul, .article-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

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

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-color);
    border: 1px solid var(--border-color);
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 38, 35, 0.9);
    color: #FAF6F0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: #D4C5C0;
    margin-bottom: 1rem;
}

.gallery-prompt {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
}

/* Newsletter Block */
.newsletter {
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.1) 0%, rgba(224, 168, 153, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 800px;
    margin: 4rem auto;
}

.newsletter h3 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--accent-rose);
    background: #fff;
    box-shadow: 0 0 8px var(--glow-color);
}

.newsletter-form button {
    border: none;
    cursor: pointer;
}

/* About / Contact page */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #3C3633;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-rose);
    background: #fff;
    box-shadow: 0 0 8px var(--glow-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background: rgba(107, 94, 89, 0.03);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-rose);
}

/* Responsive design */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        gap: 1.2rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter {
        padding: 3rem 1.5rem;
    }
    
    .article-title {
        font-size: 2.1rem;
    }
}
