/*
Theme Name: Home Decor Pro
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A professional, SEO-optimized responsive WordPress theme for home decoration and interior design businesses. Features include custom navigation, news section, FAQ system, and contact integration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: home-decor-pro
Tags: responsive, home-decoration, interior-design, seo-optimized, custom-menu
*/

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

:root {
    --primary-color: #2c5f4f;
    --secondary-color: #d4a574;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}


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

.main-navigation {
    flex: 1;
    margin: 0 30px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-phone:hover {
    color: #d4a574;
    transform: translateY(-2px);
}

.header-phone i {
    font-size: 18px;
}

.header-contact-btn {
    background: #d4a574;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(44,95,45,0.2);
}

.header-contact-btn:hover {
    background: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44,95,45,0.3);
}

.menu-toggle {
    display: none;
}

@media (max-width: 968px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin: 20px 0 0;
    }

    .header-buttons {
        order: 2;
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .header-buttons {
        display: none;
    }

    .primary-menu {
        display: none;
    }

    .main-navigation.toggled .primary-menu {
        display: block;
    }

    .main-navigation.toggled .header-buttons {
        display: flex;
        margin-top: 20px;
    }
}
/* Button */



/* Navigation Styles */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: 15%;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

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

/* Dropdown Menu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation .sub-menu a:hover {
    background: var(--light-bg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: #d4a574;
    color: var(--white);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    background: url('/wp-content/themes/home-renovation-pro/images/banner.webp') center center no-repeat;
}

.hero-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

.news-card-content {
    padding: 25px;
}

.news-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Single Post Styles */
.single-post-header {
    padding: 60px 0 40px;
}

.single-post-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.post-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
}
.post-content p {
    margin-bottom: 15px;
}
.post-content ul li {
    margin-bottom: 15px;
}

.post-content img {
    margin: 30px 0;
    border-radius: 10px;
}

/* FAQ Styles */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-answer {
    padding: 0 25px 25px;
    line-height: 1.8;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Footer Styles */
.site-footer {
    background: #2a2a2a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.footer-nav li {
    margin-bottom: 12px;
}

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

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation a {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-header h1 {
        font-size: 28px;
    }
}

/* About Us Section Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* FAQ Section Styles */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    
    .faq-answer-content {
        padding: 0 15px 15px;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }
}











/* Services Section Styles */
.nr-services-section {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.nr-section-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.nr-section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4a574;
    margin: 15px auto;
    border-radius: 2px;
}

/* Services Grid */
.nr-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.nr-service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nr-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.nr-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.nr-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
}

.nr-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Card Content */
.nr-card-content {
    padding: 25px;
}

.nr-card-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #34495e;
}

.nr-features-list {
    list-style-type: none;
    margin-bottom: 25px;
}

.nr-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
    color: #34495e;
}

.nr-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Button Styles */
.nr-btn {
    display: inline-block;
    background: #d4a574;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.nr-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.nr-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Testimonials Section */
.nr-testimonials {
    background: #ecf0f1;
    padding: 60px 20px;
    margin: 60px -20px;
    border-radius: 10px;
}

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

.nr-testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nr-testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    color: #34495e;
}

.nr-testimonial-text:before {
    content: """;
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: #3498db;
    opacity: 0.3;
}

.nr-testimonial-author {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nr-services-section {
        padding: 60px 0;
    }

    .nr-section-title {
        font-size: 1.8rem;
    }

    .nr-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nr-card-image {
        height: 200px;
    }

    .nr-testimonials {
        margin: 40px -20px;
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .nr-section-title {
        font-size: 1.6rem;
    }

    .nr-card-content {
        padding: 20px;
    }

    .nr-testimonial-card {
        padding: 20px;
    }
}


/*contact*/
/* Hero Section Styles */
.nr-hero-section {
    background: linear-gradient(135deg, #2c5f4f, #d4a574);
    color: white;
    text-align: center;
    padding: 80px 0;
    background: url(/wp-content/themes/home-renovation-pro/images/banner.webp) center center no-repeat;
}

.nr-hero-section h1 {
    font-size: 48px;
    margin: 20px 0;
    color: white;
}

.nr-hero-section p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Section Styles */
.nr-contact-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.nr-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Form Styles */
.nr-contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nr-contact-form h2 {
    color: #2c5f4f;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.nr-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nr-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nr-form-group label {
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.nr-form-group input,
.nr-form-group textarea {
    padding: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nr-form-group input:focus,
.nr-form-group textarea:focus {
    border-color: #2c5f4f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44,95,45,0.1);
}

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

.nr-submit-btn {
    background: #2c5f4f;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.nr-submit-btn:hover {
    background: #1a3a1b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44,95,45,0.3);
}

/* Contact Info Styles */
.nr-contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nr-contact-info h2 {
    color: #2c5f4f;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.nr-info-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.nr-info-item:hover {
    transform: translateY(-5px);
}

.nr-info-item i {
    font-size: 24px;
    color: #2c5f4f;
    width: 30px;
    text-align: center;
    margin-top: 5px;
}

.nr-info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.nr-info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.nr-info-item a {
    color: #2c5f4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nr-info-item a:hover {
    color: #1a3a1b;
}

/* Success/Error Messages */
.nr-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.nr-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nr-contact-grid {
        gap: 40px;
    }
    
    .nr-contact-form,
    .nr-contact-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nr-hero-section {
        padding: 60px 0;
    }
    
    .nr-hero-section h1 {
        font-size: 36px;
    }
    
    .nr-hero-section p {
        font-size: 18px;
    }
    
    .nr-contact-section {
        padding: 60px 0;
    }
    
    .nr-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nr-contact-form,
    .nr-contact-info {
        padding: 25px 20px;
    }
    
    .nr-info-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .nr-hero-section h1 {
        font-size: 28px;
    }
    
    .nr-hero-section p {
        font-size: 16px;
    }
    
    .nr-contact-form h2,
    .nr-contact-info h2 {
        font-size: 24px;
    }
    
    .nr-section-title {
        font-size: 28px;
    }
    
    .nr-info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nr-info-item i {
        margin-top: 0;
    }
    
    .nr-submit-btn {
        width: 100%;
    }
}

/*contact*/