/* ============================================================
   JIMCO CURTAINS & BLINDS - Main Styling
   ============================================================ */

:root {
    --primary-color: #E2783C;
    --primary-color-hover: #cb652c;
    --primary-color-light: #fdf2eb;
    --dark-color: #1A1A1A;
    --secondary-color: #6C757D;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --border-radius-custom: 1rem;
    --border-radius-btn: 2rem;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    background-color: rgb(250, 250, 250) !important;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-3, .display-4, .display-5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ============================================================
   HELPER UTILITIES & BUTTONS
   ============================================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: var(--border-radius-btn);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover) !important;
    border-color: var(--primary-color-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 120, 60, 0.25);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: var(--border-radius-btn);
    transition: var(--transition);
}

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

.btn-outline-dark {
    border-radius: var(--border-radius-btn);
    transition: var(--transition);
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

.rounded-custom {
    border-radius: var(--border-radius-custom) !important;
}

.hover-up {
    transition: var(--transition);
}

.hover-up:hover {
    transform: translateY(-5px);
}

/* ============================================================
   HEADER & ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.main-header {
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    object-fit: contain;
}

.nav-link {
    color: var(--dark-color) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #F58220 !important;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.btn-circle-mobile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ============================================================
   HOMEPAGE COMPONENTS
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #fdf8f5 0%, #ffffff 100%);
}

.rounded-custom-hero {
    border-radius: 2rem;
}

.icon-circle {
    transition: var(--transition);
}

.icon-circle:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    transform: rotate(360deg);
}

/* Product Cards */
.product-card {
    transition: var(--transition);
}

.product-card .main-img, .product-card .hover-img {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card:hover .hover-img {
    opacity: 1 !important;
}

.product-card:hover .main-img {
    transform: scale(1.05);
}

/* Accordion Custom styling */
.accordion-custom .accordion-item {
    background-color: transparent;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--primary-color-light) !important;
    color: var(--primary-color) !important;
    box-shadow: none;
}

.accordion-custom .accordion-button:focus {
    box-shadow: none;
}

/* ============================================================
   ESTIMATE CALCULATOR CARD & SINGLE PRODUCT SPECIFICS
   ============================================================ */
.calculator-card {
    background-color: var(--light-bg);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(226, 120, 60, 0.15);
}

/* Footer Accent */
.hover-primary:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

.hover-white:hover {
    color: var(--white) !important;
}

/* ============================================================
   CUSTOM HERO BANNER & TRUST BAR (DITTO DESIGN STYLE)
   ============================================================ */
.custom-hero-container {
    background-color: #FFFFFF;
}

.custom-hero-box {
    background-color: #FAF6F0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
}

.hero-content-col {
    position: relative;
    padding: 90px 60px 110px 80px;
    min-height: 520px;
}

.hero-left-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F6EFE2;
    z-index: 1;
}

.hero-text-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.hero-location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8C6A5A;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-location-badge i {
    color: var(--primary-color, #E2783C);
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 30px;
    color: #1E2229;
}

.hero-title span {
    display: block;
}

.hero-title .second-line {
    color: var(--primary-color, #E2783C) !important;
}

.btn-hero-cta {
    background-color: var(--primary-color, #E2783C) !important;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(226, 120, 60, 0.2);
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-hero-cta:hover {
    background-color: var(--primary-color-hover, #cb652c) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(226, 120, 60, 0.35);
}

.hero-image-col {
    position: relative;
    min-height: 520px;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Bottom Trust Bar */
.hero-bottom-bar {
    position: relative;
    border-top: 1px solid #EAE2D5;
    background-color: #FAF6F0;
    overflow: hidden;
}

.bottom-left-section {
    background-color: #F6EFE2;
    clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
    position: relative;
    z-index: 2;
}

.bottom-right-section {
    background-color: #FAF6F0;
    position: relative;
    z-index: 1;
}

.bottom-bar-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1E2229;
    line-height: 1.3;
}

.google-rating-pill {
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.rating-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rating-num {
    font-size: 1.15rem;
    color: #1E2229;
}

.rating-stars {
    color: #FFB300;
    font-size: 0.85rem;
}

.reviews-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7A808C;
}

.quote-container {
    position: relative;
    padding-left: 20px;
}

.quote-icon {
    position: absolute;
    top: -5px;
    left: -5px;
    color: #E2783C;
    font-size: 1rem;
    opacity: 0.6;
}

.quote-text {
    font-size: 0.95rem;
    color: #4A4F59;
    font-weight: 500;
    line-height: 1.4;
}

.quote-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8C8270;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .hero-content-col {
        padding: 50px 30px;
        min-height: auto;
    }
    
    .hero-left-bg-wrapper {
        width: 100%;
        clip-path: none;
    }
    
    .hero-image-col {
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .bottom-left-section {
        clip-path: none;
        background-color: transparent;
    }
    
    .bottom-right-section {
        background-color: transparent;
    }
    
    .hero-bottom-bar {
        background-color: #FAF6F0;
    }
    
    .google-rating-pill {
        justify-content: center;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .quote-container {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .quote-icon {
        display: none;
    }
}

/* Why Trust Us Section Alternating Layout Styling */
.why-trust-img-wrapper img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-trust-img-wrapper:hover img {
    transform: scale(1.04);
}

.btn-why-trust-outline {
    background-color: transparent !important;
    border: 1.5px solid var(--primary-color, #E2783C) !important;
    color: var(--primary-color, #E2783C) !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-why-trust-outline:hover {
    background-color: var(--primary-color, #E2783C) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 120, 60, 0.15);
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

.fab-main-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-main-btn:hover {
    transform: scale(1.05);
    background-color: #20ba5a;
}

.fab-main-btn .fa-comment-dots {
    display: block;
}

.fab-main-btn .fa-times {
    display: none;
}

.fab-container.open .fab-main-btn {
    background-color: #25D366;
}

.fab-container.open .fab-main-btn .fa-comment-dots {
    display: none;
}

.fab-container.open .fab-main-btn .fa-times {
    display: block;
}

.fab-items {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.fab-container.open .fab-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.fab-item:hover {
    transform: scale(1.1);
}

.fab-item.whatsapp {
    background-color: #25D366;
}

.fab-item.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.fab-item.facebook {
    background-color: #1877F2;
}

/* Custom slider styles for Testimonials and Related Products */
.slider-section-wrapper {
    position: relative;
    padding: 0 45px;
}
.custom-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.custom-slider::-webkit-scrollbar {
    display: none;
}
.custom-slider-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 260px;
}
@media (max-width: 1200px) {
    .custom-slider-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}
@media (max-width: 768px) {
    .custom-slider-item {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .custom-slider-item {
        flex: 0 0 100%;
    }
}
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 2px solid var(--primary-color, #E2783C);
    color: var(--primary-color, #E2783C);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.slider-arrow-btn:hover {
    background-color: var(--primary-color, #E2783C);
    color: #FFFFFF;
}
.slider-arrow-btn.left-btn {
    left: -10px;
}
.slider-arrow-btn.right-btn {
    right: -10px;
}

/* Date input custom styling to show consistent calendar icon across all devices */
.date-input-wrapper {
    position: relative;
    width: 100%;
}
.date-input-wrapper input[type="date"] {
    position: relative;
    padding-right: 45px !important; /* reserve space for our custom calendar icon */
}
/* Make the native WebKit date picker indicator transparent and expand to fill the container so clicking anywhere opens the picker */
.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
/* Ensure the standard/default input date appearance looks correct */
.date-input-wrapper i.far.fa-calendar-alt {
    z-index: 1;
}


