
/* ========================================
   BAY WINDOWS PREMIUM STYLES
   ========================================
*/

:root {
    --bay-primary: #412ca5;
    --bay-accent: #3b82f6; /* Slightly bluer accent for Bay */
    --bay-bg: #f8fafc;
    --bay-card-bg: #ffffff;
    --bay-text-dark: #1e293b;
    --bay-text-light: #64748b;
}

/* --- Premium Features Section --- */
.bay-features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bay-feature-card {
    background: var(--bay-card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

.bay-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(65, 44, 165, 0.15); 
}

.b-feature-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bay-primary) 0%, var(--bay-accent) 100%);
    border-radius: 50%; /* Circular icons for Bay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px rgba(65, 44, 165, 0.25);
    transition: transform 0.5s ease;
}

.bay-feature-card:hover .b-feature-icon-box {
    transform: rotateY(180deg);
}

.b-feature-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bay-text-dark);
    margin-bottom: 0.75rem;
}

.b-feature-content p {
    font-size: 1rem;
    color: var(--bay-text-light);
    line-height: 1.6;
}

/* --- Bay Shapes/Styles Section --- */
.bay-styles-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.bay-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.bay-style-card {
    background: #ffffff;
    border-radius: 24px; /* More rounded */
    padding: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    position: relative;
}

.bay-style-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(65, 44, 165, 0.15);
}

/* Decorative header strip */
.bay-style-header {
    background: linear-gradient(to right, #f8fafc, #fff);
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.bay-style-icon {
    font-size: 3rem;
    color: var(--bay-primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.bay-style-body {
    padding: 2rem;
    text-align: center;
}

.bay-style-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bay-text-dark);
    margin-bottom: 0.5rem;
}

.bay-style-desc {
    color: var(--bay-text-light);
    line-height: 1.6;
}

/* --- Interactive Tech Specs (Tabs) - Reused Logic --- */
.specs-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.tech-tabs-container {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.tech-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tech-tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bay-text-light);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tech-tab-btn:hover {
    color: var(--bay-primary);
    background-color: #F0EDF9;
}

.tech-tab-btn.active {
    background: var(--bay-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(65, 44, 165, 0.3);
}

.tech-tab-content {
    display: none;
    animation: fadeInContent 0.5s ease forwards;
}

.tech-tab-content.active {
    display: block;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tech-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.tech-label {
    font-weight: 600;
    color: var(--bay-text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tech-label i { color: var(--bay-accent); }

.tech-value {
    color: var(--bay-text-light);
    font-weight: 500;
    text-align: right;
}

/* --- Premium FAQ (Mobile Friendly) --- */
.premium-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.premium-faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.premium-faq-item.active {
    border-color: var(--bay-primary);
    box-shadow: 0 10px 25px -5px rgba(65, 44, 165, 0.15);
}

.premium-faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bay-text-dark);
    text-align: left;
}

.premium-faq-item.active .premium-faq-question {
    color: var(--bay-primary);
    background-color: #F9F8FD;
}

.premium-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.premium-faq-item.active .premium-faq-icon {
    background-color: var(--bay-primary);
    color: #fff;
    transform: rotate(180deg);
}

.premium-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: #fff;
}

.premium-faq-item.active .premium-faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
}

.premium-faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--bay-text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .bay-features-wrapper { grid-template-columns: 1fr; }
    .tech-detail-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .tech-value { text-align: left; color: var(--bay-primary); }
}
