/* Redevelopment Page Styles */
.redevelopment-page {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

.redevelopment-main {
    margin-top: 0;
}

.redevelopment-main .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/service-hero.jpg') center center / cover no-repeat !important;
}

/* Definition Section */
.definition-section {
    padding: 80px 0 120px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E3F2FD;
    color: #1D3557;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    margin-bottom: 20px;
}

.definition-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.definition-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}



.definition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
}

.definition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.definition-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 20px;
    text-align: center;
}

.definition-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Importance Section */
.importance-section {
    padding: 120px 0;
    background: white;
}

.importance-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.3;
}

.importance-points {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.point-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 40px;
    background: #f8fbff;
    border-radius: 20px;
    border-left: 5px solid #457B9D;
    transition: all 0.3s ease;
}

.point-item:hover {
    background: #f0f8ff;
    transform: translateX(10px);
}

.point-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.point-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.point-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1D3557;
    margin: 0;
}

.point-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.conclusion-text {
    margin-top: 60px;
    text-align: center;
}

.conclusion-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    line-height: 1.7;
    padding: 40px;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(69, 123, 157, 0.2);
}

/* Our Service Section */
.our-service-section {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../images/bg2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

.our-service-section .section-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto 60px;
    font-weight: 500;
}

.service-promise {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(248, 251, 255, 0.95);
    border-radius: 15px;
    border-left: 4px solid #457B9D;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.promise-icon {
    display: none;
}

.promise-text {
    width: 100%;
}

.promise-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    color: #2c3e50;
    text-align: center;
    font-weight: 500;
}

/* Main Services Section */
.main-services-section {
    padding: 120px 0;
    background: #f8fbff;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 35px;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 25px;
}

.service-details {
    text-align: left;
}

.service-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-details p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: #457B9D;
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1D3557 0%, #457B9D 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 30px;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 50px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 25px;
    top: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1D3557;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1D3557;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #457B9D;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(69, 123, 157, 0.3);
}

/* Responsive Design */
/* Desktop: 2 columns for grid */
@media (min-width: 769px) {
    .definition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .redevelopment-main {
        margin-top: 0;
    }
    
    .redevelopment-main .page-header {
        padding-top: 180px;
        min-height: 450px;
    }
    
    .definition-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .definition-card {
        padding: 40px 30px;
    }
    
    .section-title,
    .importance-content h2 {
        font-size: 1.8rem;
    }
    
    .point-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-promise {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 40px 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .cta-text h2 {
        font-size: 1.2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 40px 30px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .redevelopment-main .page-header {
        min-height: 350px;
        padding-top: 160px;
    }
    
    .section-title,
    .importance-content h2 {
        font-size: 1.3rem;
    }
    
    .definition-card,
    .service-card {
        padding: 30px 20px;
    }
    
    .point-item {
        padding: 30px 20px;
    }
    
    .cta-text h2 {
        font-size: 1.1rem;
    }
    
    .conclusion-highlight {
        font-size: 1.1rem !important;
        padding: 20px 15px !important;
        line-height: 1.6 !important;
    }
    
    .our-service-section .section-title {
        font-size: 1.2rem !important;
    }
}

/* CTA Section에서 primary button 스타일 재정의 */
.cta-section .cta-primary {
    background: linear-gradient(135deg, #F1C40F 0%, #F39C12 100%);
    color: #1D3557;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.3);
}

.cta-section .cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(241, 196, 15, 0.4);
}
    
    .modal-content {
        padding: 30px 20px;
    }
}