@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");

/* General Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --accent-color: #1d3557;
    --light-color: #f1faee;
    --dark-color: #1d3557;
    --gray-color: #f8f9fa;
    --text-color: #333;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    font-family: "Cormorant Garamond", serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

.section-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.navbar-custom {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #000000 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #000000 !important;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand:hover {
    color: #e63946 !important;
    /* transform: scale(1.05); */
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);

    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-expand-lg .navbar-collapse {
    display: none !important;
}

.navbar-nav .nav-link:hover {
    color: #ff4444 !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    color: #ff4444;
    transform: scale(1.1);
}

/* Mobile menu styles */
.navbar-collapse {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #000000 !important;
    border-radius: 15px;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    height: 100vh;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
        padding: 15px 20px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 215, 0, 0.2);
        transform: translateX(10px);
    }

    .navbar-expand-lg .navbar-collapse.show {
        display: flex !important;
        justify-content: center;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-brand {
        font-size: 1.8rem;
    }
}

/* Desktop layout for split navigation */
@media (min-width: 992px) {
    .navbar-nav-left {
        margin-right: auto;
    }

    .navbar-nav-right {
        margin-left: auto;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animation for dropdown */
.navbar-collapse.collapsing {
    transition: height 0.4s ease;
}

.navbar-collapse.show {
    animation: slideDown 0.4s ease;
}

/* Hero Slider */
.hero-slider img {
    height: 900px;
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
}

/* responsive this image */
@media screen and (max-width: 768px) {
    .hero-slider img {
        height: 500px;
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

/* Page Header */
.page-header {
    background: url("https://images.pexels.com/photos/1571457/pexels-photo-1571457.jpeg")
        no-repeat center center;
    background-size: cover;
    height: 250px;
    position: relative;
    margin-top: 76px;
    /* Height of navbar */
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-header h1 {
    color: #fff;
    font-weight: 700;
    position: relative;
}

.breadcrumb {
    background: transparent;
    position: relative;
}

.breadcrumb-item a {
    color: #fff;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Pricing Banner */
#pricing-banner {
    background-color: #f8f9fa;
    text-align: center;
    background-image: url("https://cdn1.npcdn.net/img/1734940017NEW-BG.jpg");
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
}

.pricing-banner-content {
    padding: 60px;
}

@media screen and (max-width: 768px) {
    .pricing-banner-content {
        padding: 20px;
    }
}

.pricing-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.2rem 0;
}

.pricing-details {
    font-size: 20px;
    margin-bottom: 0.2rem;
}

.pricing-size {
    font-size: 18px;
}

/* About Section */
.about-swiper {
    width: 100%;
    /* height: 400px; */
}

.about-content p {
    margin-bottom: 1rem;
}

/* Product Sections */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 15px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
}

.blinds-design .product-card img {
    transition: transform 0.3s;
    max-height: 280px;
    min-height: 280px;
    object-fit: cover;
    width: 100%;
}

.blinds-design .product-card:hover img {
    transform: scale(1.05);
}

.product-title {
    font-size: 24px !important;
    font-weight: bold;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.curtain-design .product-card img {
    transition: transform 0.3s;
    max-height: 280px;
    min-height: 280px;
    object-fit: cover;
    width: 100%;
}

/* Partnership Section */
.partner-logo {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
    width: 180px;
    height: 170px;
    border-radius: 50%;
}

.partner-logo:hover {
    opacity: 1;
}

.partnership-logo {
    animation: partnershipLogo 30s linear infinite;
}

@keyframes partnershipLogo {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.85);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
}

/* Installation Banner */
#installation-banner {
    background-color: var(--primary-color);
    color: white;
    overflow: hidden;
}

.installation-text {
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Fabric Section */
.feature-item {
    display: flex;
    align-items: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Google Review Section */
.review-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
        /* bottom */ 0 -2px 4px rgba(0, 0, 0, 0.06),
        /* top */ 2px 0 4px rgba(0, 0, 0, 0.06),
        /* right */ -2px 0 4px rgba(0, 0, 0, 0.06);
    max-height: 250px;
    min-height: 250px;
}

.review-profile {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.stars {
    color: #ffc107;
}

/* Contact Banner */
#contact-banner {
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/1571459/pexels-photo-1571459.jpeg'); */
    background-size: cover;
    background-position: center;
}

.contact-phone {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.contact-phone:hover {
    color: var(--primary-color);
}

.footer-logo-circle {
    background-color: #e63946;
    color: #1f1f1f;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 50%;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #e63946;
    text-decoration: underline;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a::before {
    content: "→ ";
    color: #e63946;
    font-weight: bold;
}

.social-icons a {
    font-size: 1.25rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #e63946;
}

/* Feature Box */
.feature-box {
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Team Section */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    transition: all 0.3s;
}

.team-member:hover img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Products Page Styles */
.product-sidebar {
    border-radius: 8px;
    overflow: hidden;
}

.product-sidebar h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--gray-color);
    color: var(--primary-color);
    box-shadow: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.product-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    position: relative;
    overflow: hidden;
    display: block;
}

.product-img img {
    transition: transform 0.5s;
    max-height: 280px;
    min-height: 280px;
    width: 100%;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-listing .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-item:hover .product-img img {
    transform: scale(1.05);
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-overlay span {
    color: white;
    font-weight: 500;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.product-category {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
}

/* Product Details Page Styles */
.product-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-gallery .thumbnail {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.product-gallery .thumbnail:hover,
.product-gallery .thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.share-icons a {
    display: inline-block;
    margin-right: 0.5rem;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s;
}

.share-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Project Page Styles */
.project-card {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    margin-bottom: 0.25rem;
}

.project-overlay p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
}

.image-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.overlay-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.close-overlay:hover {
    color: #ccc;
}

.project-img img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-img img:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.project-card {
    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;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-img {
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.filter-buttons .btn {
    border-radius: 25px;
    padding: 8px 20px;
}

.filter-buttons .btn.active {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
}

.sb-logo {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.5em;
}

.footer-logo .sb-logo {
    font-size: 2em;
}

.filter-buttons {
    margin-bottom: 2rem;
}

.filter-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Blog Page Styles */
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    transform: translateY(50%);
}

.blog-date span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.blog-category .badge {
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.blog-title a {
    color: var(--text-color);
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.blog-meta span {
    font-size: 0.8rem;
    color: #6c757d;
    margin-right: 1rem;
}

.blog-meta i {
    margin-right: 0.25rem;
}

/* Blog Sidebar */
.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.recent-post-item {
    margin-bottom: 1rem;
}

.recent-post-item h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.recent-post-item h6 a {
    color: var(--text-color);
}

.recent-post-item h6 a:hover {
    color: var(--primary-color);
}

.tag-cloud .badge {
    font-size: 0.8rem;
    font-weight: 400;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s;
}

.tag-cloud .badge:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Blog Post Styles */
.post-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.post-meta span {
    margin-right: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.post-meta i {
    margin-right: 0.25rem;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.post-content {
    line-height: 1.8;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content ul {
    margin-bottom: 1.5rem;
}

.post-quote {
    background-color: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.post-tags,
.post-share {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.author-box {
    margin: 2rem 0;
}

.comment {
    margin-bottom: 1.5rem;
}

.comment-meta {
    margin-bottom: 0.5rem;
}

.related-post img {
    margin-bottom: 0.5rem;
    height: 150px;
    object-fit: cover;
    transition: all 0.3s;
}

.related-post:hover img {
    transform: scale(1.05);
}

.related-post h6 {
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-info-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-form-wrapper {
    position: relative;
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    #hero {
        height: 70vh;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 768px) {
    #hero {
        height: 60vh;
    }

    .page-header {
        height: 180px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .feature-icon {
        font-size: 2rem;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    #hero {
        height: 50vh;
    }

    .page-header {
        height: 150px;
    }
}
