:root {
    --primary-color: #4c3b3b; /* Deep Brown */
    --secondary-color: #c89f8f; /* Rose Gold */
    --background-color: #f5f2f0; /* Light Beige */
    --text-color: #333;
    --text-secondary-color: #555;
    --light-gray: #edeae8; /* Light Contrast Beige */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 90px; /* Adjust for fixed navbar */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6, .card-title, .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.text-gold {
    color: var(--secondary-color) !important;
}

/* --- Navbar --- */
.navbar {
    background-color: rgba(245, 242, 240, 0.9); /* Updated to match new background */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.1);
}
.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* --- Buttons --- */
.btn-primary-custom {
    background-color: var(--secondary-color);
    color: #fff;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-quote {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    transition: all 0.3s ease;
}
.btn-quote:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* --- Hero Section --- */
.main-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/background/Bespoke-Furniture-Design.jpg');
    background-size: cover;
    background-position: center;
    height: 95vh;
    display: flex;
    align-items: center;
}
.main-heading {
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.first-heading {
    font-size: 4rem;
}
.main-heading hr {
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border: 0;
    margin: 1.5rem 0;
    opacity: 1;
}
.sub-heading {
    font-size: 1.4rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* --- General Section Styling --- */
.accent-hr {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    opacity: 1;
    margin: 1rem auto;
}
.accent-hr-light {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    opacity: 0.8;
}

/* --- Services Carousel Section --- */
.services-section-carousel {
    background-color: var(--background-color);
}
#servicesCarousel .carousel-item {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
/* Dark overlay for readability */
#servicesCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}
/* Background images for each slide */
#service-slide-1 { background-image: url('../img/background/Affordable-Home-Renovation.jpg'); }
#service-slide-2 { background-image: url('../img/background/Stylish-Modular-Solutions.jpg'); }
#service-slide-3 { background-image: url('../img/background/Custom-Furniture-and-Doors.jpg'); }
#service-slide-4 { background-image: url('../img/background/Quality-Hardware-and-Accessories.jpg'); }

#servicesCarousel .carousel-caption {
    bottom: 20%;
    left: 10%;
    right: 10%;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}
#servicesCarousel .carousel-caption h3 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}
#servicesCarousel .carousel-caption p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.carousel-indicators [data-bs-target] {
    background-color: var(--secondary-color);
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

/* --- Feature Box --- */
.feature-box {
    padding: 2rem;
}
.feature-box h4 {
    color: var(--primary-color);
}

/* --- Contact Section --- */
#contact-form .form-card {
    background-color: #fff;
    border-radius: 15px;
    color: var(--text-color);
}
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
}
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(200, 159, 143, 0.25); /* Updated focus color */
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
}
footer a:hover {
    color: var(--secondary-color) !important;
}

/* --- Animation --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate__fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 991.98px) {
    body { padding-top: 70px; }
    .first-heading { font-size: 3rem; }
    .sub-heading { font-size: 1.2rem; }
    #servicesCarousel .carousel-item { height: 60vh; }
    #servicesCarousel .carousel-caption h3 { font-size: 2rem; }
}
@media (max-width: 767.98px) {
    .section-title { font-size: 2rem; }
    .first-heading { font-size: 2.5rem; }
    #servicesCarousel .carousel-item { height: 50vh; }
    #servicesCarousel .carousel-caption { bottom: 15%; }
    #servicesCarousel .carousel-caption h3 { font-size: 1.8rem; }
    #servicesCarousel .carousel-caption p { font-size: 1rem; }
}

/* --- Why Choose Us Section --- */
.why-choose-us-card {
    background-color: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.4s ease;
}

.why-choose-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.why-choose-us-card .icon-box {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.why-choose-us-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
}
/* --- About Page Specific Styles --- */
.about-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/background/About-KDG-Enterprise.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero-section .main-heading hr {
    background-color: var(--secondary-color);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 4px;
    background: #e9ecef;
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    border: 3px solid var(--background-color);
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .timeline::before {
        left: 50%;
        margin-left: -2px;
    }
    .timeline-item {
        padding-left: 0;
        width: 50%;
        margin-bottom: 50px;
    }
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 50px;
    }
    .timeline-item:nth-child(odd) {
        padding-right: 50px;
        text-align: right;
    }
    .timeline-icon {
        left: 50%;
        margin-left: -20px;
    }
}

/* --- Pricing Card Styles --- */
.pricing-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover, .pricing-card.popular {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.pricing-card.popular {
    position: relative;
    overflow: hidden;
}

.pricing-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: 18px;
    right: -30px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.pricing-header p {
    color: var(--text-secondary-color);
    min-height: 40px;
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1.1;
}

.price .unit, .price .range {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary-color);
}

.price .prefix {
    font-size: 1.1rem;
    display: block;
    color: var(--text-secondary-color);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-bottom: -0.5rem;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.features li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
}

.features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* --- Comparison Table Styles --- */
.comparison-table {
    font-size: 1rem;
    border: 1px solid #dee2e6;
}
.comparison-table thead {
    background-color: var(--primary-color);
    color: #fff;
}
.comparison-table th, .comparison-table td {
    vertical-align: middle;
    text-align: center;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}
.comparison-table .bi-check-lg {
    font-size: 1.5rem;
}