/* =====================================================
   Swift Elevator - Theme CSS
   Gray & White Color Scheme
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    min-height: 100vh;
    position: relative;
    background-color: #f8f9fa;
}

/* =====================================================
   Hero Section Styles
   ===================================================== */
.factory-hero,
.process-hero {
    position: relative;
    overflow: hidden;
}

.factory-hero {
    height: 70vh;
    min-height: 450px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.process-hero {
    height: 50vh;
    min-height: 350px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.factory-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.factory-hero:hover .factory-hero-image {
    transform: scale(1.05);
}

.factory-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.3) 100%);
}

.factory-hero-content,
.process-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 0;
}

.process-hero-content {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

/* Giant Background Text */
.giant-factory,
.giant-process,
.giant-chairman,
.giant-md,
.giant-history {
    position: absolute;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    letter-spacing: 1rem;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.giant-factory {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 15rem;
}

.giant-process {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 12rem;
}

.giant-chairman,
.giant-md,
.giant-history {
    top: 85%;
    left: 0;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 10rem;
    transform-origin: 0% 50%;
}

/* Responsive Hero */
@media (max-width: 991px) {
    .factory-hero { height: 50vh; }
    .process-hero { height: 40vh; }
    .giant-factory { font-size: 8rem; }
    .giant-process { font-size: 8rem; }
}

@media (max-width: 767px) {
    .factory-hero { height: 40vh; }
    .process-hero { height: 35vh; }
    .factory-hero-content,
    .process-hero-content { padding: 40px 0; }
    .giant-factory,
    .giant-process,
    .giant-chairman,
    .giant-md,
    .giant-history { display: none; }
}

/* =====================================================
   Page Title Styles
   ===================================================== */
.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

.chairman-title,
.md-title,
.history-title {
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #1a1a1a;
}

.chairman-title { font-size: 4rem; }
.md-title { font-size: 5rem; }
.history-title { font-size: 4rem; }

@media (min-width: 768px) {
    .chairman-title { font-size: 3.5rem; }
    .md-title { font-size: 4rem; }
    .history-title { font-size: 3.5rem; }
}

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

.background {
    background-color: #f8f9fa;
    position: relative;
    padding: 1.5rem;
}

.custom-container {
    max-width: 1140px;
}

/* =====================================================
   Breadcrumb Styles
   ===================================================== */
.breadcrumb-custom {
    background: transparent;
    padding: 0;
}

.breadcrumb-custom a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-custom span {
    color: #333333;
    font-weight: 600;
}

/* =====================================================
   Card & Feature Box Styles
   ===================================================== */
.feature-card,
.feature-box,
.highlight-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card:hover,
.feature-box:hover {
    transform: translateY(-10px);
    border-color: #dc2626;
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight-card {
    padding: 20px;
    text-align: left;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =====================================================
   Timeline Styles
   ===================================================== */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #dc2626, #991b1b);
    border-radius: 2px;
}

@media (max-width: 991px) {
    .process-timeline::before {
        left: 20px;
    }
}

.process-step {
    position: relative;
    margin-bottom: 60px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    z-index: 2;
    box-shadow: 0 0 0 8px #f8f9fa;
}

@media (max-width: 991px) {
    .step-number {
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        box-shadow: 0 0 0 4px #f8f9fa;
    }
}

.step-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

@media (max-width: 991px) {
    .step-content {
        margin-left: 80px;
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .step-content {
        margin-left: 60px;
        padding: 20px;
    }
}

.step-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    border-width: 20px 20px 20px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

@media (max-width: 991px) {
    .step-content::before {
        display: none;
    }
}

/* Timeline Item (History Page) */
.timeline-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #dc2626;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.year-badge {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
}

/* =====================================================
   Photo Frame Styles
   ===================================================== */
.product-image-frame,
.md-photo-frame {
    border: 3px solid #dc2626;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.md-photo-frame {
    border-width: 4px;
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-section {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 10px;
}

/* =====================================================
   Quality Section
   ===================================================== */
.quality-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.quality-badge {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 30px;
}

.check-list {
    padding-left: 0;
}

.check-list li {
    list-style: none;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.check-list li i {
    color: #dc2626;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* =====================================================
   Table Styles
   ===================================================== */
.specs-table {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specs-table th {
    background: #dc2626;
    color: white;
    padding: 15px;
    font-weight: 600;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* =====================================================
   Greeting Card
   ===================================================== */
.greeting-card {
    background: #ffffff;
    border-left: 4px solid #dc2626;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* =====================================================
   Red Decorative Line
   ===================================================== */
.red-line {
    width: 100%;
    height: 0.25rem;
    background: #dc2626;
    border-radius: 0.125rem;
}

/* =====================================================
   Utility Classes
   ===================================================== */
.page-description {
    color: #6c757d;
}

.text-muted-custom {
    color: #6c757d;
}

/* App Theme Colors */
.bg-theme-primary {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.text-theme-primary {
    color: #dc2626;
}

.border-theme-primary {
    border-color: #dc2626;
}
