/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f7a;
    --primary-dark: #0f4c5c;
    --primary-light: #2d7a9a;
    --secondary-color: #d4a574;
    --accent-color: #c97d60;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    background: #c8955a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Title Section */
.main-title-section {
    padding: 4rem 0;
    background: var(--bg-light);
    text-align: center;
}

.main-title-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Three Pillars Section */
.pillars-section {
    background: var(--bg-white);
}

.product-gallery {
    margin: 40px 0;
    text-align: center;
}

.gallery-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.process-image,
.factory-image {
    margin: 20px 0;
    text-align: center;
}

.process-image img,
.factory-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.process-image img:hover,
.factory-image img:hover {
    transform: scale(1.02);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pillar-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Context Section */
.context-section {
    background: var(--bg-light);
}

.context-content {
    max-width: 900px;
    margin: 0 auto;
}

.context-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Solution Detail Section */
.solution-detail-section {
    background: var(--bg-white);
}

.solution-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
}

.solution-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.solution-content {
    flex: 1;
}

.solution-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.solution-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.feature-list {
    margin-top: 1rem;
    margin-left: 1.5rem;
    color: var(--text-light);
}

.feature-list li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.solution-conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--primary-light);
    color: var(--bg-white);
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
}

.benefits-table {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.benefits-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.5rem;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-row:hover {
    background: var(--bg-light);
}

.benefit-row:last-child {
    border-bottom: none;
}

.benefit-label {
    padding: 1.5rem;
    background: var(--bg-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.benefit-value {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    display: flex;
    align-items: center;
}

/* History Section */
.history-section {
    background: var(--bg-white);
}

.history-content {
    max-width: 1000px;
    margin: 0 auto;
}

.history-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.history-subsection {
    margin-bottom: 3rem;
}

.history-subsection h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
}

.history-subsection > p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.tech-areas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.tech-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.tech-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.achievement-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.achievement-box p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.achievement-box p:last-child {
    margin-bottom: 0;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--secondary-color);
}

.team-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.contact-section .section-title {
    color: var(--bg-white);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .solution-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin: 0 auto;
    }

    .benefits-header,
    .benefit-row {
        grid-template-columns: 1fr;
    }

    .benefit-label {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .main-title-section .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

