/* Janelas Styles */
:root {
    --primary-color: #D9704A;
    --secondary-color: #8C7E6D;
    --accent-color: #D9704A;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

/* Hero Section */
.janelas-hero-section {
    background: linear-gradient(135deg, rgba(4, 217, 217, 0.9), rgba(1, 52, 64, 0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="janelas-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23janelas-pattern)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.janelas-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(4, 217, 217, 0.1), rgba(1, 52, 64, 0.1));
    z-index: 1;
}

.janelas-hero-section .container {
    position: relative;
    z-index: 2;
}

.janelas-hero-content {
    animation: fadeInUp 1s ease-out;
}

.text-gradient {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-buttons {
    margin-top: 2rem;
}

.janelas-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.hero-image-container {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(4, 217, 217, 0.3);
}

/* Window Type Cards */
.window-type-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.window-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.window-type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(4, 217, 217, 0.3);
}

.window-type-card ul {
    text-align: left;
}

.window-type-card li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(4, 217, 217, 0.3);
}

.step-content h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(4, 217, 217, 0.1), rgba(1, 52, 64, 0.1));
    color: var(--accent-color);
    box-shadow: none;
}

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

.accordion-body {
    padding: 1.5rem;
    background: rgba(4, 217, 217, 0.02);
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.6;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .janelas-hero-section {
        background-attachment: scroll;
        padding: 2rem 0;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image-container {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }
    
    .hero-icon {
        font-size: 5rem;
    }
    
    .benefit-card,
    .window-type-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .benefit-icon,
    .window-type-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .janelas-hero-section {
        min-height: 80vh;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-image-container {
        width: 150px;
        height: 150px;
    }
    
    .hero-icon {
        font-size: 4rem;
    }
    
    .benefit-card,
    .window-type-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-icon,
    .window-type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
}

/* Custom Interactive Section Styles */
.custom-janelas-section {
    background: linear-gradient(135deg, rgba(4, 217, 217, 0.02), rgba(1, 52, 64, 0.02));
    position: relative;
}

.custom-janelas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="janelas-custom-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(217,112,74,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23janelas-custom-pattern)"/></svg>');
    opacity: 0.6;
    z-index: 1;
}

.custom-janelas-section .container {
    position: relative;
    z-index: 2;
}

/* Custom Content Cards */
.custom-content-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.custom-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.content-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Reason Cards */
.reason-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(4, 217, 217, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.reason-card:hover {
    background: rgba(4, 217, 217, 0.1);
    transform: translateY(-3px);
}

.reason-card i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* Advantage Items */
.advantage-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 15px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-3px);
}

.advantage-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* Installation Step Items */
.installation-step-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(4, 217, 217, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.installation-step-item:hover {
    background: rgba(4, 217, 217, 0.1);
    transform: translateY(-5px);
}

.installation-step-item .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(4, 217, 217, 0.3);
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--accent-color), #c55a3a);
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(4, 217, 217, 0.05);
}

/* Responsive Custom Section */
@media (max-width: 768px) {
    .custom-content-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .reason-card,
    .advantage-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .reason-card i,
    .advantage-item i {
        font-size: 1.2rem;
    }
    
    .installation-step-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .installation-step-item .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .custom-content-card {
        padding: 1rem;
    }
    
    .content-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reason-card,
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-card i,
    .advantage-item i {
        margin-bottom: 0.5rem;
    }
    
    .installation-step-item {
        padding: 0.75rem;
    }
    
    .installation-step-item .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
}
