/* ==========================================================================
   WORKMOTION ENHANCEMENTS CSS
   Dark Mode | Carousel | Pricing Calculator | Quote Modal | Share | Toast
   ========================================================================== */

/* --------------------------------------------------------------------------
   DARK MODE CSS VARIABLES
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
    --primary: #fe601f;
    --primary-dark: #e5561b;
    --secondary: #4a7fc1;
    --text-dark: #f0f0f0;
    --text-body: #bbbbbb;
    --bg-light: #1a1a2e;
    --bg-gray: #16213e;
    --white: #1e1e2e;
    --black: #0f0f1a;
}

[data-theme="dark"] body {
    background-color: #1a1a2e;
    color: #bbbbbb;
}

[data-theme="dark"] header {
    background-color: #16213e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

[data-theme="dark"] .nav-menu li a {
    color: #e0e0e0;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: #f0f0f0;
}

[data-theme="dark"] .section-bg-gray {
    background-color: #16213e;
}

[data-theme="dark"] .booking-card,
[data-theme="dark"] .timeline-container,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .accordion-item {
    background: #1e2a3e;
    border-color: #2a3a5e;
}

[data-theme="dark"] .accordion-header {
    background: #1e2a3e;
    color: #e0e0e0;
}

[data-theme="dark"] .accordion-body {
    background: #162030;
    color: #bbbbbb;
}

[data-theme="dark"] .form-control {
    background: #162030;
    border-color: #2a3a5e;
    color: #e0e0e0;
}

[data-theme="dark"] .calculator-section {
    background: #16213e;
}

[data-theme="dark"] .calc-slider-wrapper input[type="range"] {
    background: #2a3a5e;
}

/* --------------------------------------------------------------------------
   DARK MODE TOGGLE BUTTON
   -------------------------------------------------------------------------- */
.theme-toggle {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 50px;
    width: 54px;
    height: 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 20px;
    flex-shrink: 0;
    font-size: 16px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.theme-toggle:hover {
    border-color: var(--primary);
    background: var(--white);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--primary);
    background: var(--secondary);
}


/* --------------------------------------------------------------------------
   TESTIMONIAL CAROUSEL
   -------------------------------------------------------------------------- */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-slide {
    display: none;
    animation: carouselFadeIn 0.5s ease;
}

.carousel-slide.active {
    display: block;
}

@keyframes carouselFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.write-testimonial-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    border: 2px solid rgba(255,255,255,0.3);
    color: #cccccc;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: none;
}

.write-testimonial-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   PRICING CALCULATOR
   -------------------------------------------------------------------------- */
.calculator-section {
    background: var(--bg-gray);
    padding: 80px 0;
}

.calculator-card {
    background: var(--white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .calc-grid { grid-template-columns: 1fr; }
    .calculator-card { padding: 30px 20px; }
}

.calc-field label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 15px;
}

.calc-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: #f9f9f9;
    transition: border-color 0.3s ease;
}

.calc-select:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calc-slider-wrapper input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
    height: 6px;
    cursor: pointer;
}

.calc-slider-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    min-width: 55px;
    text-align: right;
}

.calc-result {
    background: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-top: 10px;
}

.calc-result .result-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.calc-result .result-price {
    color: var(--primary);
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.calc-result .result-note {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.calc-result .btn {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   QUOTE MODAL
   -------------------------------------------------------------------------- */
.quote-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1001;
}

.quote-fab-btn {
    background: var(--primary); /* Changed to Orange */
    color: white;
    border: none;
    padding: 16px 26px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(254, 96, 31, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quote-fab-btn:hover {
    background: var(--secondary);
    transform: scale(1.05) translateY(-5px);
}

/* Fix for mobile overlapping footer */
@media (max-width: 767px) {
    .quote-fab {
        bottom: 90px; /* Lift up to avoid WhatsApp button */
        left: 20px;
    }
}


.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-close:hover { color: var(--secondary); }

.modal-title {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 5px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.modal-subtitle {
    color: var(--text-body);
    margin-bottom: 25px;
    font-size: 15px;
}

.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success .success-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.modal-success h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.modal-success p {
    color: var(--text-body);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   SHARE BUTTONS
   -------------------------------------------------------------------------- */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.share-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.share-btn-wa { background: #25d366; }
.share-btn-fb { background: #1877f2; }
.share-btn-copy { background: #555; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* --------------------------------------------------------------------------
   CONTACT ACTION BUTTONS
   -------------------------------------------------------------------------- */
.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-call {
    background: var(--secondary);
    color: white;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-call:hover { background: var(--primary); color: white; }

.btn-copy-phone {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-copy-phone:hover { background: var(--secondary); color: white; }

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--secondary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   PWA INSTALL BANNER
   -------------------------------------------------------------------------- */
.pwa-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 16px 20px;
    z-index: 1500;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pwa-banner.show { display: flex; }

.pwa-banner p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.pwa-banner .pwa-install-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.pwa-dismiss {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}
/* --------------------------------------------------------------------------
   SEASONAL BANNER
   -------------------------------------------------------------------------- */
.seasonal-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a5c 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 900;
}

.seasonal-banner i {
    font-size: 18px;
}

.seasonal-banner .btn-sm {
    background: white;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    margin-left: 10px;
}

/* --------------------------------------------------------------------------
   URGENT BADGE
   -------------------------------------------------------------------------- */
.urgent-badge {
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* --------------------------------------------------------------------------
   HIGHLIGHT BOX (Meet the Seller)
   -------------------------------------------------------------------------- */
.highlight-section {
    background: var(--secondary);
    color: white;
    overflow: hidden;
}

.highlight-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.step-card {
    background: rgba(255,255,255,0.07);
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.step-num-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.safety-checklist {
    list-style: none;
    padding: 0;
}

.safety-checklist li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.safety-checklist li i {
    color: #2ecc71;
    margin-top: 4px;
}

.scam-testimonial {
    background: var(--primary);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    margin-top: 30px;
}

.scam-testimonial::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 30px;
    opacity: 0.2;
}

/* --------------------------------------------------------------------------
   SERVICE BUNDLES
   -------------------------------------------------------------------------- */
.bundle-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bundle-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.bundle-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0;
}

.bundle-price span {
    font-size: 16px;
    color: #999;
}

.bundle-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.bundle-features li {
    margin-bottom: 10px;
    color: var(--text-body);
}

/* --------------------------------------------------------------------------
   DYNAMIC ESTIMATOR WIDGET
   -------------------------------------------------------------------------- */
.estimator-container {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .estimator-grid { grid-template-columns: 1fr; }
}

.estimator-controls {
    padding-right: 20px;
}

.estimator-summary {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

[data-theme="dark"] .estimator-summary {
    background: #1e2a3e;
}

.estimate-total {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 15px 0;
}

/* --------------------------------------------------------------------------
   ABOUT PAGE: OUR PROCESS
   -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

@media (max-width: 991px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .process-grid { grid-template-columns: 1fr; }
}

.process-item {
    text-align: center;
    position: relative;
}

.process-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--bg-gray);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.process-item:hover .process-icon-wrap {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.process-item h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   ABOUT PAGE: GUARANTEE BOX
   -------------------------------------------------------------------------- */
.guarantee-section {
    padding: 100px 0;
}

.guarantee-box {
    background: linear-gradient(135deg, var(--secondary) 0%, #3a68a1 100%);
    color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.guarantee-box::before {
    content: '\f0a3';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.1;
}

.guarantee-box h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.guarantee-box p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   ABOUT PAGE: OFFICE & LOCATION
   -------------------------------------------------------------------------- */
.hours-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-light);
    height: 100%;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-body);
}

[data-theme="dark"] .hours-list li {
    border-bottom-color: #2a3a5e;
}

.hours-list li strong {
    color: var(--secondary);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   ABOUT PAGE: NEWSLETTER
   -------------------------------------------------------------------------- */
.newsletter-section {
    background: var(--bg-gray);
    padding: 80px 0;
    text-align: center;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

@media (max-width: 575px) {
    .newsletter-form { flex-direction: column; }
}

.newsletter-form .form-control {
    flex: 1;
}
