/* ===================================
   Irayee Workmanship Co., Ltd
   Website Stylesheet
   Colors: Blue (#1a5f9e), White (#ffffff)
   =================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f9e;
    --primary-dark: #134575;
    --primary-light: #2d7bc4;
    --secondary-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--secondary-color);
}

.btn-full {
    width: 100%;
}

/* About Preview */
.about-preview {
    padding: 80px 20px;
    text-align: center;
}

.about-preview h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-preview .lead {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-light);
}

/* Products Preview */
.products-preview {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    text-align: center;
}

.products-preview h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 180px;
    width: 100%;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #1a2a3a;
    color: var(--white);
    padding: 60px 20px 20px;
}

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

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer p {
    color: #b0c0d0;
    line-height: 1.8;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #b0c0d0;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a3a4a;
    color: #8090a0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 60px 20px;
}

.content-section.bg-light {
    background-color: var(--secondary-color);
}

.content-section h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-section .lead {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 30px 0 20px;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.material-card {
    background-color: var(--white);
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-3px);
}

.material-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.material-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.mission-section h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.mission-text {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Products Full Grid */
.products-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 200px;
    width: 100%;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
}

.product-features li {
    color: var(--text-light);
    font-size: 14px;
    padding: 5px 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-placeholder {
    height: 350px;
    background: linear-gradient(135deg, #e8f0f8 0%, #f0f5fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder p:first-child {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Timeline (Process Page) */
.timeline {
    max-width: 900px;
    margin: 50px auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: var(--shadow);
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.timeline-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.step-details {
    list-style: none;
    background-color: var(--secondary-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.step-details li {
    color: var(--text-light);
    font-size: 14px;
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.step-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-time {
    background-color: #f0f7ff;
    padding: 12px 15px;
    border-radius: 5px;
    color: var(--primary-color);
    font-size: 14px;
}

/* Summary Section */
.summary-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 20px;
}

.summary-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.timeline-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.summary-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 10px;
}

.summary-label {
    font-size: 18px;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 8px;
}

.summary-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Notes Grid */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.note-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.note-card h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.note-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .products-full-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
