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

/* Admin Controls - Removed */
.admin-controls {
    display: none !important;
}

.manager-login {
    display: none !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.manager-login .btn {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    color: white !important;
    font-weight: 600 !important;
    min-width: 100px !important;
}

.manager-login .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    animation: none !important;
}

.manager-login .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

/* Login Popup */
.popup-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 2000 !important;
    backdrop-filter: blur(5px) !important;
}

.popup-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: white !important;
    padding: 2rem !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3) !important;
    width: 90% !important;
    max-width: 400px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.admin-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--background-white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.admin-btn:hover {
    background: var(--primary-color);
    color: var(--background-white);
    transform: scale(1.1);
}

.admin-panel {
    position: fixed;
    top: 140px;
    right: 20px;
    width: 300px;
    background: var(--background-white);
    border-radius: 10px;
    box-shadow: var(--shadow-large);
    padding: 20px;
    display: none;
    z-index: 999;
}

.admin-panel.active {
    display: block;
}

.admin-panel h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 16px;
}

.admin-panel button {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    background: var(--background-light);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.admin-panel button:hover {
    background: var(--primary-color);
    color: var(--background-white);
}

/* Section Edit Buttons */
.section-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: var(--background-white);
    color: var(--primary-color);
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
}

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

section:hover .section-edit-btn {
    display: flex;
}

.text-edit-mode {
    border: 2px dashed var(--secondary-color) !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

/* Upload buttons - Hidden by default, shown only for admin */
.upload-image-btn {
    display: none !important;
    pointer-events: none;
}

.logo-upload-btn {
    display: none !important;
    pointer-events: none;
}

.landing-page-upload-btn {
    display: none !important;
    pointer-events: none;
}

.reference-upload-btn {
    display: none !important;
    pointer-events: none;
}

.category-upload-btn {
    display: none !important;
    pointer-events: none;
}

/* Show upload buttons when admin is logged in */
body.admin-mode .upload-image-btn,
body.admin-mode .logo-upload-btn,
body.admin-mode .landing-page-upload-btn,
body.admin-mode .reference-upload-btn,
body.admin-mode .category-upload-btn {
    display: flex !important;
    pointer-events: auto;
}

/* Editable text styling for admin mode */
body.admin-mode [contenteditable="true"] {
    cursor: text;
    position: relative;
}

body.admin-mode [contenteditable="true"]:hover {
    /* 호버 효과 제거 */
}

body.admin-mode [contenteditable="true"]:focus {
    outline: none;
    /* 포커스 효과 제거 */
}

/* Admin mode indicator */
.admin-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    display: none;
}

body.admin-mode .admin-indicator {
    display: block;
}

/* Product Accordion */
.product-accordion {
    margin-top: 2rem;
}

.accordion-item {
    background: var(--background-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--primary-dark);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background-white);
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-content .products-grid {
    padding: 2rem;
    margin: 0;
}

.accordion-content .product-card {
    margin-bottom: 1.5rem;
    cursor: default;
}

.accordion-content .product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* Manager Login Section */
.manager-login-section {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.manager-login-section .btn {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    color: white !important;
    font-weight: 600 !important;
    min-width: 100px !important;
    animation: pulse 2s infinite;
}

.manager-login-section .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    animation: none !important;
}

.admin-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--background-white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.admin-btn:hover {
    background: var(--primary-color);
    color: var(--background-white);
    transform: scale(1.1);
}

.admin-panel {
    position: fixed;
    top: 140px;
    right: 20px;
    width: 300px;
    background: var(--background-white);
    border-radius: 10px;
    box-shadow: var(--shadow-large);
    padding: 20px;
    display: none;
    z-index: 999;
}

.admin-panel.active {
    display: block;
}

.admin-panel h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 16px;
}

.admin-panel button {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    background: var(--background-light);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.admin-panel button:hover {
    background: var(--primary-color);
    color: var(--background-white);
}

/* Section Edit Buttons */
.section-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: var(--background-white);
    color: var(--primary-color);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
}

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

section:hover .section-edit-btn {
    display: flex;
}

.text-edit-mode {
    border: 2px dashed var(--secondary-color) !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--background-white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-toggle {
    display: none;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
}

.logo-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-right: 0;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Navigation Logos */
.nav-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.logo-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-item img {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.logo-item .logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-item .logo-upload-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: 2px solid white;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none; /* Prevent clicks when hidden */
}

body.admin-mode .logo-item .logo-upload-btn {
    display: flex; /* Show for admin */
    pointer-events: auto; /* Allow clicks for admin */
}

.logo-item .logo-upload-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.nav-logo-main,
.nav-logo-partner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Logo wrapper styling */
.logo-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-right: 0;
}

.logo-wrapper > div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-image {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 50px;
    min-width: 100px;
    text-align: center;
}

.logo-placeholder i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-upload-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.nav-upload-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Client Logo Upload Buttons */
.client-logo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-upload-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.client-upload-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.client-logo-image {
    max-width: 60px;
    max-height: 40px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    margin-left: 1rem;
}

.language-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.language-btn:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
}

.language-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .language-btn i {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 150px;
    overflow: hidden;
    z-index: 1000;
}

.lang-option {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.language-selector label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    white-space: nowrap;
}

.language-selector select {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background-white);
    color: var(--text-primary);
    min-width: 80px;
}

.language-selector label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.language-selector select {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background-white);
    color: var(--text-primary);
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--background-light);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.language-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-select {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-select option {
    background: var(--primary-color);
    color: white;
}

.language-label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.language-select option {
    background: var(--background-white);
    color: var(--text-primary);
    padding: 0.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85) 0%, rgba(59, 130, 246, 0.85) 100%), url('https://images.unsplash.com/photo-1581094271901-8022df4466f9?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-top: -70px;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,240,240,0.9) 100%);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-description {
    font-size: 1.8rem;
    line-height: 2.2;
    margin-bottom: 3rem;
    max-width: 900px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 500;
    word-break: keep-all;
}

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

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    min-width: 140px;
}

/* Image Upload Buttons */
.upload-image-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    font-size: 1.2rem;
    /* display is controlled by global rules above */
}

.upload-image-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-upload-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-upload-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.product-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* No overlay - show background image directly */
    z-index: 1;
}

.hero.landing-page {
    background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Landing Page Upload Button */
.landing-page-upload-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    /* display is controlled by global admin rules */
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.landing-page-upload-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.landing-page-upload-btn i {
    font-size: 1.1rem;
}

.hero-content {
    max-width: 1000px;
    color: white; /* White text on blue overlay */
    position: relative;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    margin: 0 auto;
    z-index: 2;
}

.hero-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.8;
    letter-spacing: -0.01em;
    opacity: 1;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.flowtech-intro {
    font-size: 1.8rem;
    font-weight: 400;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #F59E0B; /* Orange color like in the image */
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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


/* Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.section-subtitle.small {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Products Accordion */
.products-accordion {
    width: 100%;
    margin: 0;
}

/* Fire Pump Main Category */
.fire-pump-main {
    background: var(--background-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.fire-pump-main:hover {
    box-shadow: var(--shadow-medium);
}

.main-category {
    display: flex;
    align-items: center;
    padding: 2rem 4rem 1rem 3rem;
    width: 100%;
}

/* Subcategories Grid - 2x3 Layout */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 3rem 2rem 3rem;
    width: 100%;
}

.subcategory-item {
    background: var(--background-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.subcategory-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.subcategory-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-right: 2rem;
}

.subcategory-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.subcategory-header span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.expand-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.25rem;
}

.expand-btn:hover {
    color: var(--primary-color);
}

.expand-btn.expanded {
    transform: translateY(-50%) rotate(90deg);
}

.subcategory-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
}

.subcategory-content.expanded {
    max-height: 100px;
}

.subcategory-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Product Actions */
.product-actions {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}

/* Legacy Accordion Styles (keeping for compatibility) */
.accordion-item {
    background: var(--background-white);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.accordion-item:hover {
    box-shadow: var(--shadow-medium);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem 2rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.accordion-header:hover {
    background: var(--background-light);
}

.product-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    width: 100%;
}

.product-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    overflow: hidden;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.product-upload-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-upload-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.accordion-item:nth-child(1) .product-icon {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.accordion-item:nth-child(2) .product-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

.accordion-item:nth-child(3) .product-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.accordion-item:nth-child(4) .product-icon {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.accordion-item:nth-child(5) .product-icon {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.accordion-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.product-details {
    padding: 0 3rem 2rem;
    border-top: 1px solid var(--border-color);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--background-light);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.category-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.category-item i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-item:hover i {
    color: white;
}

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

/* Responsive Accordion */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        line-height: 1.8;
        padding: 0 1rem;
    }
    
    .hero-overlay {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Navigation logos on mobile */
    .nav-logos {
        gap: 1rem;
    }

    .logo-item .logo-text {
        font-size: 1rem;
    }

    .logo-item img {
        max-height: 40px;
        max-width: 100px;
    }

    /* Language dropdown on mobile */
    .language-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    /* Landing page upload button on mobile */
    .landing-page-upload-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .accordion-header {
        padding: 1.5rem;
    }
    
    .product-summary {
        gap: 1rem;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
    }
    
    .product-details {
        padding: 0 1.5rem 1.5rem;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .category-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Products Section Base */
.products,
.products-section {
    padding: 6rem 0;
    background: var(--background-light);
}

/* Product Categories Accordion */
.product-categories-accordion {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 3rem;
}

.product-category-item {
    background: var(--background-white);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-category-item:hover {
    box-shadow: var(--shadow-medium);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--background-white);
    transition: all 0.3s ease;
    user-select: none;
}

.category-header:hover {
    background: var(--background-light);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

.category-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.product-category-item.active .toggle-icon {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.5s ease !important;
    background: var(--background-light) !important;
    padding: 0 !important;
}

.product-category-item.active .category-content {
    max-height: 3000px !important;
    padding: 2rem !important;
    overflow-y: auto !important;
}

.category-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.category-details {
    padding: 0;
}

.category-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.category-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.category-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-upload-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1rem;
}

.category-upload-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.category-details {
    padding: 0 2rem 2rem 2rem;
}

.category-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.category-content p:last-of-type {
    margin-bottom: 1.5rem;
}

.category-content p:hover {
    background: rgba(30, 64, 175, 0.05);
}

.category-content p:focus {
    outline: none;
    /* 포커스 효과 제거 */
}

/* 연필 아이콘 제거 */

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background-white);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.category-features i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Different colors for each category icon */
.product-category-item:nth-child(1) .category-icon {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.product-category-item:nth-child(2) .category-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

.product-category-item:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.product-category-item:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.product-category-item:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.product-category-item:nth-child(6) .category-icon {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.product-category-item:nth-child(7) .category-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Responsive for Product Categories */
@media (max-width: 768px) {
    .category-header {
        padding: 1rem 1.5rem;
    }
    
    .category-info h3 {
        font-size: 1rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
    }
    
    .category-icon i {
        font-size: 1.2rem;
    }
    
    .product-category-item.active .category-content {
        padding: 1.5rem;
    }
    
    .category-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-image-container {
        height: 200px;
        order: -1;
    }
    
    .category-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 1rem;
    }
    
    .category-info {
        gap: 0.75rem;
    }
    
    .category-info h3 {
        font-size: 0.95rem;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 2행 3열 레이아웃 */
.product-category .products-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .product-category .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1.3rem;
        line-height: 1.8;
        padding: 0 0.5rem;
    }
    
    .product-category .products-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Product Category */
.product-category {
    margin-bottom: 3rem;
}

.product-category h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Product Cards */
.product-card {
    background: var(--background-white);
    border-radius: 1rem;
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-light);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.product-image {
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-card {
    background: var(--background-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card:nth-child(1) .product-image {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.product-card:nth-child(2) .product-image {
    background: linear-gradient(135deg, #059669, #047857);
}

.product-card:nth-child(3) .product-image {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.product-card:nth-child(4) .product-image {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.product-card:nth-child(5) .product-image {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.product-card:nth-child(6) .product-image {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.product-placeholder {
    text-align: center;
    color: white;
}

.product-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.product-specs span:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-specs i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* About Section */
.about,
.about-section {
    padding: 6rem 0;
    background: var(--background-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 8rem !important;
    align-items: center;
    margin-bottom: 4rem;
}

.history-subsection {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.history-subsection .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0;
    text-align: left;
}

.history-section {
    margin-bottom: 4rem;
}

.history-subsection,
.references-subsection {
    margin-bottom: 3rem;
    text-align: center;
}

.history-subsection .section-subtitle,
.references-subsection .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}
    text-align: center;
    margin-bottom: 2rem;
}

.references-section {
    margin-bottom: 4rem;
}

.references-section {
    margin-bottom: 4rem;
}

.references-section {
    margin-bottom: 2rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.client-logo {
    position: relative;
    background: var(--background-white);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 140px;
}

.client-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo-image {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    display: none;
}

.client-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.client-placeholder span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Logo placeholder styling */
.client-logo .logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo .logo-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.client-logo .logo-placeholder span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.client-upload-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.client-upload-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.client-upload-btn i {
    font-size: 0.8rem;
}

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

.reference-card {
    background: var(--background-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.reference-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reference-year {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.reference-status {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.reference-status.completed {
    background: var(--accent-color);
    color: white;
}

.reference-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.reference-client {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.reference-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.reference-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reference-specs i {
    color: var(--secondary-color);
    width: 16px;
}

.reference-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
}

.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}
    position: relative;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 85px;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(59, 130, 246, 0.3));
    border-radius: 1px;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-stats {
    background: var(--background-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact,
.contact-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.contact-form {
    background: var(--background-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    color: #4a4a4a;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: #4a4a4a;
    opacity: 0.8;
    font-weight: 500;
}

.form-group select option {
    color: #4a4a4a;
    font-weight: 500;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    color: #4a4a4a;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

/* Admin Login Section */
.admin-login-section {
    background: var(--background-light);
    padding: 2rem 0;
    text-align: center;
}

.admin-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-save {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-save.has-changes {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.btn-save.has-changes:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save i {
    font-size: 1.2rem;
}

.btn-inquiries {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-inquiries:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-inquiries i {
    font-size: 1.2rem;
}

.btn-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-admin i {
    font-size: 1.2rem;
}

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

.modal-content {
    background-color: var(--background-white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.modal .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .language-selector {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        gap: 1rem;
    }

    .logo-wrapper {
        gap: 0.5rem;
    }

    .nav-menu {
        top: 60px;
    }
}
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Hero Upload Button */
.hero-upload-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hero-upload-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 0.95rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   Reference Section Styles
   =================================== */

.reference-section {
    padding: 6rem 0;
}

.reference-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.reference-description {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reference-item {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 180px;
}

.reference-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.reference-image-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.reference-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reference-placeholder {
    width: 80px;
    height: 80px;
    background: #3B82F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-placeholder i {
    font-size: 2.5rem;
    color: white;
}

.reference-upload-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #3B82F6;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.reference-upload-btn:hover {
    background: #2563EB;
    transform: scale(1.1);
}

.reference-upload-btn i {
    font-size: 0.9rem;
}

.reference-label {
    display: none;
}

/* Responsive Design for Reference Section */
@media (max-width: 1200px) {
    .reference-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .reference-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .reference-item {
        min-height: 150px;
        padding: 1rem 0.75rem;
    }
    
    .reference-image-container {
        height: 80px;
    }
    
    .reference-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .reference-placeholder i {
        font-size: 2rem;
    }
    
    .reference-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .reference-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .reference-item {
        min-height: 130px;
        padding: 0.75rem 0.5rem;
    }
    
    .reference-upload-btn {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }
}