/* Furnishing Services Page Styles */

/* Hero Section */
.furnishing-hero {
    background: linear-gradient(135deg, rgba(17, 79, 100, 0.9) 0%, rgba(2, 58, 91, 0.7) 100%), 
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
    color: var(--light);
    padding: 140px 0 80px;
    position: relative;
    text-align: center;
}

.furnishing-hero .hero-content {
    max-width: 1280px;
    margin: 0 auto;
}

.furnishing-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 700;
}

.furnishing-hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--light);
    max-width: 800px;
    margin-right: auto;
    line-height: 1.6;
}

.hero-metrics {
    display: flex;
    justify-content: left;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-metrics .metric {
    text-align: center;
}

.hero-metrics .metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero-metrics .metric-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: left;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 200px;
}

.hero-cta .btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--light);
}

.hero-cta .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--light);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--light);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.3;
}

.overview-text > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.overview-features {
    margin: 2rem 0;
}

.overview-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.overview-features .feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

.overview-features .feature span {
    color: var(--text-gray);
    font-size: 1rem;
}

.image-stack {
    position: relative;
    height: 500px;
}

.stack-image {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.stack-image.main {
    width: 80%;
    height: 70%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 3;
}

.stack-image.secondary {
    width: 60%;
    height: 50%;
    object-fit: cover;
    top: 40%;
    right: 0;
    z-index: 2;
    transform: rotate(3deg);
}

.stack-image.tertiary {
    width: 50%;
    height: 40%;
    object-fit: cover;
    bottom: 0;
    left: 10%;
    z-index: 1;
    transform: rotate(-5deg);
}

.image-stack:hover .stack-image.main {
    transform: translateY(-5px);
}

.image-stack:hover .stack-image.secondary {
    transform: rotate(5deg) translateY(-5px);
}

.image-stack:hover .stack-image.tertiary {
    transform: rotate(-8deg) translateY(-5px);
}

/* Services Packages */
.services-packages {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background: var(--light);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gray);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.package-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--light);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(17, 79, 100, 0.2);
}

.package-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.package-card > p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.5;
    flex: 1;
}

.package-includes {
    text-align: left;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.package-includes h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.package-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-includes li {
    padding: 5px 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-includes li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gray);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light);
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Portfolio Gallery */
.portfolio-gallery {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--light);
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Property Owners Section */
.property-owners {
    padding: 80px 0;
    background-color: var(--light);
}

.owners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.owners-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.3;
}

.owners-text > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.owners-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.owners-stats .stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-gray);
}

.owners-stats .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.owners-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.owners-benefits {
    margin: 2rem 0;
}

.owners-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.owners-benefits .benefit i {
    color: var(--primary);
    font-size: 1.1rem;
}

.owners-benefits .benefit span {
    color: var(--text-gray);
    font-size: 1rem;
}

.owners-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.owners-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.image-caption i {
    color: var(--primary);
}

.owners-text .btn {
    margin-top: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

#furnishing-quote-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light);
    color: var(--text-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 79, 100, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    color: var(--text-gray);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

#furnishing-quote-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
}

.info-content-1 {
    max-width: 100%; /* Prevent container from exceeding screen */
    box-sizing: border-box; /* Include padding in width calculation */
    padding: 0 10px; /* Add some padding on mobile */
}

.info-content-1 h4 {
    font-size: clamp(0.875rem, 2vw, 1rem); /* Min: 0.875rem, Preferred: 2vw, Max: 1rem */
    margin-bottom: 5px;
    color: var(--dark);
}

.info-content-1 p {
    font-size: 0.3rem;
    color: var(--text-gray);
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-content-1 a{
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.75rem, 1.5vw, 0.4rem);
    line-height: 1.5;
    overflow-wrap: break-word;

}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--light);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 4000;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-modal .modal-content {
    background: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 400px;
    text-align: center;
    animation: modalAppear 0.3s ease;
    box-shadow: var(--shadow);
}

.modal-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.success-modal h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.success-modal p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .overview-content,
    .owners-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-image,
    .owners-image {
        order: -1;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .furnishing-hero {
        padding: 120px 0 60px;
    }
    
    .furnishing-hero h1 {
        font-size: 2.2rem;
    }
    
    .furnishing-hero p {
        font-size: 1.1rem;
    }
    
    .hero-metrics {
        gap: 2rem;
    }
    
    .hero-metrics .metric-value {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .packages-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .owners-stats {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .furnishing-hero h1 {
        font-size: 1.8rem;
    }
    
    .furnishing-hero p {
        font-size: 1rem;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .overview-text h2,
    .owners-text h2 {
        font-size: 1.7rem;
    }
    
    .image-stack {
        height: 300px;
    }
    
    .package-card,
    .feature-item {
        padding: 25px 20px;
    }
    
    .success-modal .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* Animation delays */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

.slide-in-left { transition-delay: 0.2s; }
.slide-in-right { transition-delay: 0.4s; }