/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

/* --- CSS VARIABLES & RESET --- */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --color-primary: #3f9e00; /* Elegant Gold */
    --color-primary-dark: #3a3329;
    --color-secondary: #F5EAEF; /* Soft Blush/Pink */
    --color-dark: #2C2C2C; /* Charcoal */
    --color-light: #F9F9F9;
    --color-white: #FFFFFF;
    --color-text: #555555;
    --shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
}

/* --- REUSABLE COMPONENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow {
    max-width: 750px; /* Limits line length for better readability */
    margin: 0 auto;
}
.section {
    padding: 80px 0;
}
.section-bg {
    background-color: var(--color-light);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-title, .card-title, .service-item-content h3, .contact-info h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --- HEADER & NAVBAR --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, background-color 0.3s ease, height 0.3s ease;
    height: 100px; /* Increased initial height */
}
.header.scrolled {
    box-shadow: var(--shadow);
    height: 80px; /* Height when scrolled */
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Make navbar fill the header height */
}
.navbar-logo img {
    height: 80px; /* Increased logo height */
    transition: height 0.3s ease;
}
.navbar-list {
    display: flex;
    list-style: none;
    gap: 40px;
}
.navbar-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-link:hover, .navbar-link.active {
    color: var(--color-primary);
}
.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.navbar-link.active::after, .navbar-link:hover::after {
    width: 100%;
}
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.navbar-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--color-secondary);
    padding: 160px 0 60px; /* Increased top padding to account for taller navbar */
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.hero-content {
    flex: 1;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}
.hero-image {
    flex: 1;
    text-align: right;
}
.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* --- ABOUT SECTION --- */
.about-container p {
    font-size: 1.1rem;
    color: var(--color-dark);
}

/* --- CARDS (HOMEPAGE SERVICES) --- */
.card {
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-content {
    padding: 25px;
}
.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

/* --- CTA SECTION --- */
.cta-section {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
}
.cta-container h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.cta-container p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* --- PAGE HEADER --- */
.page-header {
    background-color: var(--color-secondary);
    text-align: center;
    padding: 160px 0 60px; /* Increased top padding */
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
}

/* --- SERVICES PAGE --- */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.service-item {
    display: flex;
    gap: 40px;
    align-items: center;
}
.service-item:nth-child(even) {
    flex-direction: row-reverse;
}
.service-item-img {
    flex: 1;
}
.service-item-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.service-item-content {
    flex: 1;
}
.service-item-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.service-price {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* --- GALLERY PAGE --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.filter-btn {
    background-color: var(--color-white);
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: var(--color-secondary);
}
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}
.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid;
}
.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* --- REVIEWS PAGE --- */
.review-card {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--color-primary);
}
.review-stars {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* --- CONTACT PAGE --- */
.contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-secondary);
}
.contact-info p {
    margin-bottom: 1.5rem;
}
.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-logo img {
    height: 80px; /* Increased logo height */
    margin-bottom: 1rem;
}
.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-section a:hover {
    color: var(--color-primary);
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- BLOG PAGE --- */
.blog-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.blog-card {
    display: flex;
    flex-direction: column;
}
.blog-card-image-link {
    display: block;
    overflow: hidden;
    border-radius: 15px;
}
.blog-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}
.blog-card-content {
    padding-top: 20px;
}
.blog-card-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.blog-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.blog-card-title a:hover {
    color: var(--color-primary);
}
.blog-card-excerpt {
    margin-bottom: 1rem;
}
.btn-read-more {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
}

/* --- SINGLE BLOG POST PAGE --- */
.post-header {
    background-color: var(--color-light);
    padding: 160px 0 20px;
    text-align: center;
}
.post-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    max-width: 800px;
    margin: 0 auto;
}
.post-meta {
    color: var(--color-text);
    margin-bottom: 1rem;
}
.post-featured-image {
    margin-top: -60px; /* Overlap effect */
    position: relative;
    z-index: 10;
}
.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.post-content {
    padding: 60px 20px;
}
.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.post-content p, .post-content li {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.post-content ul, .post-content ol {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}
.post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-dark);
    font-size: 1.2rem;
}
.post-content figure {
    margin: 2.5rem 0;
}
.post-content figure img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.post-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}
.post-content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 3rem 0;
}
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--color-light);
    padding: 25px;
    border-radius: 15px;
    margin-top: 2rem;
}
.author-box-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.author-box-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}
.author-box-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}
.social-share {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-share span {
    font-weight: 600;
}
.social-share a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: var(--color-text);
    transition: all 0.3s ease;
}
.social-share a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}
.social-share a svg {
    width: 20px;
    height: 20px;
}
.post-cta {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 60px 0;
    margin-top: 60px;
}
.back-to-blog {
    text-align: center;
    padding-bottom: 80px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: var(--shadow);
    }
    .header.scrolled .navbar-menu {
        top: 80px; /* Adjust for scrolled header */
    }
    .navbar-menu.active {
        display: block;
    }
    .navbar-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    .navbar-list li {
        text-align: center;
    }
    .navbar-link {
        display: block;
        padding: 15px;
    }
    .navbar-toggle {
        display: flex;
    }
    .navbar-btn {
        display: none;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-image {
        order: 1;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .grid-3-col {
        grid-template-columns: 1fr 1fr;
    }
    .service-item, .service-item:nth-child(even) {
        flex-direction: column;
    }
    .contact-page-container {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        column-count: 2;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .post-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header, .header.scrolled {
        height: 80px;
    }
    .page-header, .hero {
        padding-top: 120px;
    }
    .post-header {
        padding-top: 120px;
    }
    .navbar-logo img {
        height: 60px;
    }
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.8rem; }
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto;
    }
    .post-title {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}
