c/* Pages CSS - Styles spécifiques pour les pages individuelles */

/* Hero Page Styles */
.hero-page {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

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

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 102, 204, 0.6));
    z-index: 2;
}

.hero-page .container {
    position: relative;
    z-index: 3;
}

.hero-page .hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-page h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #1a1a1a; /* Couleur foncée et élégante */
}

.hero-page .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-item i {
    color: #FFD700;
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Calculator Styles for Pages */
.calculator-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Autokredit Info Section */
.autokredit-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f0ff 0%, #c0dfff 100%);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.2);
    margin-top: 3rem;
}

.autokredit-info-section h2 {
    color: #003366;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 1px 1px 3px #004a99;
}

.autokredit-info-section .lead {
    font-size: 1.2rem;
    color: #004a99;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
}

.info-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 2px solid #007acc;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.5);
    border-color: #004a99;
}

.info-card h3 {
    color: #005bb5;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 2px #003366;
}

.info-card p {
    color: #003366;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem; /* Increased margin to move button away from footer */
    margin-bottom: 3rem; /* Added bottom margin for professional spacing */
    background-color: #007acc;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 122, 204, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    background-color: #004a99;
    box-shadow: 0 8px 20px rgba(0, 74, 153, 0.8);
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-card {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.result-card.savings {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.result-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.monthly-payment, .monthly-savings {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.result-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.result-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #6c757d;
}

.detail-value {
    font-weight: 600;
    color: #003366;
}

/* Vehicle Types / Property Types / Use Cases Styles */
.vehicle-types-section,
.property-types-section,
.use-cases-section,
.vehicle-grid,
.property-grid,
.use-cases-grid {
    padding: 80px 0;
}

.vehicle-grid,
.property-grid,
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vehicle-card,
.property-card,
.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card:hover,
.property-card:hover,
.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vehicle-icon,
.property-icon,
.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Comparison Table Styles */
.comparison-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.comparison-header {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
}

.comparison-item {
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.comparison-item.highlight {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    border-right: 4px solid #FFD700;
}

.comparison-row:nth-child(even) {
    background: #f8f9fa;
}

.text-green {
    color: #28a745;
}

.text-red {
    color: #dc3545;
}

/* Savings Section Styles */
.savings-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.savings-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #28a745;
    transition: transform 0.3s ease;
}

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

.savings-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* When Section Styles */
.when-section {
    padding: 80px 0;
}

.when-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.when-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0066cc;
    transition: transform 0.3s ease;
}

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

.when-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Financing Types Section */
.financing-types-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.financing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.financing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.financing-card h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.financing-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.financing-card li {
    padding: 0.5rem 0;
    color: #28a745;
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #FFD700;
    transition: transform 0.3s ease;
}

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

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Credit Types Section for Kreditvergleich */
.credit-types-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.credit-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credit-type-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.credit-type-card:hover {
    transform: translateY(-5px);
}

.credit-type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.credit-type-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.credit-type-card li {
    padding: 0.3rem 0;
    color: #28a745;
}

.credit-type-link {
    display: inline-block;
    margin-top: 1rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.credit-type-link:hover {
    color: #003366;
}

/* Comparison Tool Section for Kreditvergleich */
.comparison-tool-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.comparison-offers {
    margin: 2rem 0;
}

.offer-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.offer-item:hover {
    transform: translateX(5px);
}

.offer-item.best {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-bank {
    font-weight: 700;
    font-size: 1.2rem;
    color: #003366;
    margin-bottom: 0.5rem;
}

.offer-rate {
    color: #28a745;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.offer-monthly {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.3rem;
}

.offer-total {
    color: #6c757d;
    font-size: 0.9rem;
}

.comparison-note {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin: 1rem 0;
    font-style: italic;
}

/* FAQ Section for Pages */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0066cc;
}

.faq-item h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* Form Select Styles */
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .hero-page h1 {
        font-size: 2.5rem;
    }
    
    .hero-page .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .vehicle-grid,
    .property-grid,
    .use-cases-grid,
    .savings-grid,
    .when-grid,
    .financing-grid,
    .tips-grid,
    .credit-types-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .monthly-payment,
    .monthly-savings {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-page h1 {
        font-size: 2rem;
    }
    
    .hero-page .hero-content {
        padding: 40px 15px;
    }
    
    .highlight-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .calculator-container {
        padding: 1.5rem;
    }
    
    .monthly-payment,
    .monthly-savings {
        font-size: 2rem;
    }
}

/* Button hover effect for all .btn-primary buttons */
.btn-primary {
    background-color: #0066cc;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #004a99; /* Couleur plus foncée au survol */
}

