@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #8d6e63;
    --bg: #fffbf0;
    --text: #4e342e;
    --light: #ffffff;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
}

.header {
    text-align: center;
    padding: 40px 0;
    background: var(--light);
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Enhanced Styles */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/hero.jpg') no-repeat center center/cover;
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    max-width: 600px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.section-bg .container {
    position: relative;
    z-index: 1;
}

.testimonial-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/testimonial_bg.jpg') center/cover fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 8px;
    margin: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Page Headers */
.page-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    margin: 0;
}

/* Enhanced Footer */
.footer {
    background: #2d1b18;
    color: #e3dad8;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links a {
    color: #aca09d;
    transition: 0.3s;
    margin: 0;
}

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

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
    text-decoration: none;
    display: block;
    font-weight: bold;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 2px;
    transition: background 0.3s;
}

.btn:hover {
    background: #6d4c41;
}

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

.section {
    padding: 60px 0;
}

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

.card {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    color: #777;
    font-size: 0.9rem;
}

.footer {
    background: #3e2723;
    color: #d7ccc8;
    padding: 60px 0;
    text-align: center;
}

.footer a {
    color: #d7ccc8;
    margin: 0 10px;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Form */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
}
.form-group button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
}
