/* 에스유하이테크 웹사이트 커스텀 스타일 */

/* Global Container Max Width */
.container,
.container-fluid {
    max-width: 1280px !important;
    margin: 0 auto;
}



/* Main Content Area */
main {
    /* max-width: 1280px; */
    margin: 0 auto;
}

/* Company Info Bar */
.company-info .container {
    max-width: 1280px !important;
}

/* Footer Container */
.custom-footer .container {
    max-width: 1280px !important;
}

/* Custom Navigation Styles */
.custom-navbar {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 96px; /* 명시적 높이 설정 */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 70px;
}

/* Logo Section */
.nav-brand .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-box {
    background: #8B5A2B;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.company-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-main {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.company-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Navigation Menu */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
   
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 100px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 25px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #887461;
    text-decoration: none;
}

/* Dropdown Menu Styles */
.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    border: 1px solid #e9ecef;
    border-top: 3px solid #887461;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    z-index: 10000;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Navigation backdrop for better UX */
.nav-item.dropdown:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
    background: transparent;
    z-index: 9998;
}

.dropdown-item {
    display: block;
    padding: 15px 25px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
}

.dropdown-item:first-child {
    padding-top: 20px;
}

.dropdown-item:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #887461;
    text-decoration: none;
    padding-left: 30px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #887461;
    transition: width 0.2s ease;
}

.dropdown-item:hover::before {
    width: 3px;
}

/* Smooth hover effect for main nav items */
.nav-item.dropdown .nav-link {
    position: relative;
}

.nav-item.dropdown .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #887461;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item.dropdown:hover .nav-link::after {
    width: 100%;
}

/* Right Side Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.user-icon {
    color: #333;
    font-size: 18px;
    text-decoration: none;
    padding: 8px;
    transition: color 0.3s ease;
}

.user-icon:hover {
    color: #887461;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav-list {
        gap: 40px;
    }
    
    .nav-item.dropdown .dropdown-menu {
        min-width: 180px;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 20px 0;
    }
    
    .brand-text {
        font-size: 14px;
    }
    
    .nav-item.dropdown .dropdown-menu {
        min-width: 160px;
        left: 0;
        transform: translateX(0) translateY(-10px);
    }
    
    .nav-item.dropdown:hover .dropdown-menu {
        transform: translateX(0) translateY(0);
    }
}

@media (max-width: 576px) {
    .nav-menu {
        display: none;
    }
    
    .nav-wrapper {
        justify-content: space-between;
    }
    
    .nav-item.dropdown .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 0;
        min-width: auto;
        border-left: none;
        border-right: none;
    }
}

/* Button Styles */
.btn-primary {
    background-color: #8B5A2B;
    border-color: #8B5A2B;
}

.btn-primary:hover {
    background-color: #7A4F26;
    border-color: #7A4F26;
}

.text-primary {
    color: #8B5A2B !important;
}

/* Hero Section */
.hero-section {
    background: #ffffff;
    background-size: cover;
    background-position: center;
    color: #333;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Notice Section Wrapper */
.notice-section-wrapper {
    position: relative;
    padding: 10px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.notice-content-area {
    background: rgba(255, 255, 255, 0.95);
  
}

/* Scroll Down Button */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down-icon {
    width: 100px;
    height: auto;
    animation: bounce-vertical 2s ease-in-out infinite;
    cursor: pointer;
}

/* Bounce Animation */
@keyframes bounce-vertical {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design for Notice Section */
@media (max-width: 768px) {
    .notice-content-area {
        padding: 30px 20px;
    }
    
    .scroll-down-icon {
        width: 50px;
    }
    
    .notice-section-wrapper {
        padding: 20px 0 60px;
    }
}

/* Custom Footer Styles */
.custom-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 30px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-info {
    flex: 1;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #887461;
    text-decoration: underline;
}

.footer-links .separator {
    color: #666;
    margin: 0 5px;
}

.company-details p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.company-details .copyright {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.company-logo {         
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.company-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}


/* Company Contact Section */
.company-contact-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}



.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.phone-number {
    font-size: 48px;
    font-weight: bold;
    color: #8B5A2B;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.contact-hours {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.email {
    font-size: 28px;
    font-weight: 600;
    color: #8B5A2B;
}

/* 다운로드 버튼 영역 */
.download-buttons {
    display: flex;
    flex-direction: row; /* ← 가로 배치 */
    gap: 20px;           /* 버튼 간격 */
    padding: 0 20px;
    margin-top: 20px;
    position: relative;
}

.download-item {
    position: relative;
    flex: 1; /* 버튼이 같은 너비로 나란히 정렬 */
}


.btn-icon {
    width: 25px;
    height: 25px;
    background: url(/images/icons/icon_download.png);
}

.btn-click {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

/* 브로슈어 버튼 색상 */
.brochure-btn {
    background: #6c757d;
}

.brochure-btn:hover {
    background: #5a6268;
}


/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .phone-number {
        font-size: 36px;
    }
    
    .email {
        font-size: 20px;
    }
    
    .download-btn {
        font-size: 16px;
        padding: 15px 20px;
        min-height: 60px;
    }
    
    .company-contact-section {
        padding: 40px 0;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .company-details {
        text-align: center;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    align-items: center;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 18px;
    padding: 0;
    outline: none;
}

.hamburger-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.hamburger-btn.active span:first-child {
    transform: rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Navigation Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .company-main {
        font-size: 16px;
    }
    
    .company-sub {
        font-size: 11px;
    }
}