/* quote.css - Custom Styles for Interactive Quote Builder */

:root {
    --quote-bg: #121212;
    --quote-card: rgba(255, 255, 255, 0.05);
    --quote-border: rgba(255, 255, 255, 0.1);
    --quote-hover: rgba(231, 76, 60, 0.15);
}

.quote-page-body {
    background-color: var(--quote-bg);
    color: #e0e0e0;
    padding-bottom: 120px; /* Space for sticky bar */
    font-family: 'Poppins', sans-serif;
}

.quote-nav {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--quote-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.quote-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.quote-nav .back-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.quote-nav .back-link:hover {
    color: var(--primary);
}

.quote-nav .logo img {
    height: 45px;
    width: auto;
}

.quote-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 20px;
}

.quote-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 1.5rem;
}

.quote-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quote-section {
    background: var(--quote-card);
    border: 1px solid var(--quote-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quote-section:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.highlight-section {
    border: 1px solid rgba(231, 76, 60, 0.4);
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.quote-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.section-note {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Services Grid & Custom Checkboxes */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--quote-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.service-checkbox:hover {
    background: var(--quote-hover);
    border-color: var(--primary);
}

.service-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-check {
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 2px solid var(--quote-border);
    border-radius: 6px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.service-checkbox:hover input ~ .custom-check {
    border-color: var(--primary);
}

.service-checkbox input:checked ~ .custom-check {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-check:after {
    content: "\f00c"; /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
    display: none;
}

.service-checkbox input:checked ~ .custom-check:after {
    display: block;
    animation: popIn 0.2s ease-out forwards;
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.service-name {
    flex-grow: 1;
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.3;
}

.service-name em {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 3px;
}

.service-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    margin-left: 10px;
    white-space: nowrap;
}

/* Complementary Box */
.complementary-box {
    margin-top: 2rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px dashed var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.4s ease;
}

.complementary-box.unlocked {
    opacity: 1;
    filter: grayscale(0);
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

.complementary-box i {
    font-size: 2.5rem;
    color: var(--primary);
}

.comp-content h4 {
    margin: 0 0 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #fff;
}

.comp-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.comp-content ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #fff;
}

.comp-content ul li {
    margin-bottom: 0.4rem;
}

.comp-status strong {
    color: var(--primary);
}

.complementary-box.unlocked .comp-status strong {
    color: #2ecc71;
}

.unlocked .comp-status strong::before {
    content: "✓ ";
}

/* Terms Grid */
.terms-section {
    margin-top: 4rem;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.term-card {
    background: rgba(0,0,0,0.3);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--quote-border);
    text-align: center;
}

.term-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.term-card h4 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.term-card p, .term-card ul {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.term-card ul {
    text-align: left;
    padding-left: 1.5rem;
}

.term-card ul li { margin-bottom: 0.5rem; }
.term-card ul li strong { color: #fff; }

.small-text {
    font-size: 0.8rem !important;
}

.brand-signoff {
    text-align: center;
    margin-top: 3rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary);
}

/* Floating Calculator Bar */
.quote-calculator-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(231, 76, 60, 0.3);
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quote-calculator-bar.visible {
    transform: translateY(0);
}

.calc-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.calc-details {
    display: flex;
    flex-direction: column;
}

.calc-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-total {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.btn-whatsapp-book {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-book:hover {
    background: #1eaa50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-clear-quote {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-clear-quote:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .quote-section {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .complementary-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comp-content ul {
        list-style-position: inside;
        padding-left: 0;
    }
    
    .calc-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .btn-whatsapp-book {
        width: 100%;
        justify-content: center;
    }
    
    .quote-page-body {
        padding-bottom: 160px; /* More space for stacked calc bar */
    }
}
