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

:root {
    --color-light: #E3E7E1;
    --color-mid-light: #A3B4A2;
    --color-mid-dark: #6F7D70;
    --color-dark: #2F3B2F;
    --color-accent-pink: #FFE6EE;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(255, 182, 193, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-mid-light), var(--color-mid-dark));
    border-radius: 3px;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

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

a:hover {
    color: var(--color-dark);
}

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

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.lead-narrow {
    max-width: 800px;
    margin: 0 auto 30px;
}

.lead-narrow-lg {
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-lead {
    margin-bottom: 40px;
}

.about-content-spaced {
    margin-top: 40px;
}

.services-grid-top {
    margin-top: 20px;
}

.process-panel {
    margin-top: 60px;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.process-step {
    text-align: center;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-mid-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--color-dark);
    font-weight: bold;
}

.newsletter-block {
    text-align: center;
    margin-top: 50px;
}

.newsletter-copy {
    max-width: 600px;
    margin: 0 auto 20px;
}

.newsletter-form-centered {
    max-width: 500px;
    margin: 0 auto;
}

.follow-us-heading {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-mid-light);
    color: var(--color-dark);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-color: var(--color-mid-dark);
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.25);
}

.btn-dark {
    background-color: var(--color-dark);
    color: var(--color-light);
}

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

.card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 182, 193, 0.2);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(47, 59, 47, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-dark);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    color: var(--color-mid-dark);
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-mid-dark);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.active {
    color: var(--color-dark);
    font-weight: 600;
}

.active:after {
    width: 100% !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(227, 231, 225, 0.9) 0%, rgba(163, 180, 162, 0.7) 100%), url('../images/living-room-sofa.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

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

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-mid-light);
    border-radius: var(--border-radius);
    z-index: -1;
}

/* Services Section */
.services {
    background-color: var(--color-light);
}

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

.service-card {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-mid-light), var(--color-mid-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

/* Services Page Enhancements */
#services-page .services-grid {
    gap: 36px;
    align-items: stretch;
}

#services-page .service-card {
    position: relative;
    text-align: left;
    padding: 36px 32px 34px;
    border: 1px solid rgba(163, 180, 162, 0.35);
    background: linear-gradient(140deg, #ffffff 0%, #f5f7f3 100%);
    overflow: hidden;
}

#services-page .service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-mid-light), var(--color-mid-dark));
}

#services-page .service-icon {
    margin: 0 0 18px;
    box-shadow: 0 10px 25px rgba(47, 59, 47, 0.12);
}

#services-page .service-card h3 {
    margin-bottom: 12px;
}

#services-page .service-card ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

#services-page .service-card ul li {
    position: relative;
    padding: 12px 16px 12px 48px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    box-shadow: 0 10px 18px rgba(47, 59, 47, 0.08);
    border: 1px solid rgba(163, 180, 162, 0.35);
}

#services-page .service-card ul li:before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--color-mid-light) 55%, var(--color-mid-dark) 100%);
    box-shadow: 0 0 0 4px rgba(163, 180, 162, 0.25);
}

#services-page .service-card .btn {
    margin-top: 10px;
}

/* Blog Section */
.blog {
    background-color: white;
}

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

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

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--color-mid-dark);
}

/* Contact Section */
.contact {
    background-color: var(--color-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-mid-light);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-mid-dark);
    box-shadow: 0 0 0 3px rgba(111, 125, 112, 0.2);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-mid-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--color-dark);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--color-mid-light);
}

.footer-column ul li a:hover {
    color: var(--color-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-light);
}

.social-links a:hover {
    background-color: var(--color-mid-light);
    color: var(--color-dark);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-body);
}

.newsletter-form button {
    background-color: var(--color-mid-light);
    color: var(--color-dark);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-mid-light);
    font-size: 0.9rem;
}

/* Page Content */
.page-content {
    display: none;
    padding-top: 120px;
    min-height: 80vh;
}

.page-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Privacy and Terms Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    margin-top: 30px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

.cookie-consent.active {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-content, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img:before {
        display: none;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 15px 0;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
    }

    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}
