@charset "UTF-8";
/**
 * 오티콘 보청기 강남센터 - 메인 스타일시트
 * Based on 메인페이지_디자인_트렌디.html
 */

:root {
    /* Oticon 브랜드 컬러 */
    --primary-color: #A02F81; /* 오티콘 주 색상 - 진한 자주색 */
    --primary-dark: #7D2363; /* 어두운 자주색 */
    --primary-light: #C85CA6; /* 밝은 자주색 */
    --primary-trans: rgba(160, 47, 129, 0.9); /* 반투명 자주색 */
    --secondary-color: #F5F1F4; /* 매우 연한 자주색 배경 */
    --accent-color: #006EDB; /* 파란색 강조 */
    --accent-hover: #0054A6; /* 어두운 파란색 */
    --text-dark: #1A1A2E; /* 어두운 네이비 */
    --text-medium: #4A4A6A; /* 중간 회색 */
    --text-light: #ffffff; /* 흰색 */
    --text-gray: #717184; /* 밝은 회색 */
    --text-light-medium: #8A8A9A; /* 연한 회색 */
    --bg-light: #ffffff; /* 흰색 배경 */
    --bg-dark: #0F0F1A; /* 어두운 배경 */
    --border-color: #E5E5E5; /* 연한 회색 경계선 */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --card-shadow: 0 20px 50px rgba(160, 47, 129, 0.1);
    --glass-effect: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-background: rgba(255, 255, 255, 0.1);
    --backdrop-blur: blur(10px);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(160, 47, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(160, 47, 129, 0.4);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(0, 110, 219, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 110, 219, 0.4);
}

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

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Glass Effect */
.glass {
    background: var(--glass-background);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
}

.header.scrolled {
    background-color: var(--bg-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

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

.logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-image {
    height: 55px;
    transition: var(--transition);
}

.header.scrolled .logo-image {
    height: 45px;
}

.logo-white {
    display: block;
}

.logo-dark {
    display: none;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-dark {
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    transition: var(--transition);
}

.header.scrolled .logo-text {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 10px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--primary-color);
}

.nav-toggle span:nth-child(1) {
    top: 0px;
}

.nav-toggle span:nth-child(2), .nav-toggle span:nth-child(3) {
    top: 9px;
}

.nav-toggle span:nth-child(4) {
    top: 18px;
}

.nav-toggle.active span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
}

.nav-toggle.active span:nth-child(2) {
    transform: rotate(45deg);
}

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

.nav-toggle.active span:nth-child(4) {
    top: 9px;
    width: 0%;
    left: 50%;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    margin-right: 2rem;
}

.nav-links li {
    margin: 0 1.2rem;
    position: relative;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.header.scrolled .nav-links li a {
    color: var(--text-medium);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a:hover::after {
    width: 100%;
    opacity: 1;
}

.dropdown {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    min-width: 220px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow: hidden;
    padding: 1rem 0;
    z-index: 1;
}

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

.dropdown li {
    margin: 0;
    width: 100%;
}

.dropdown li a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-weight: 400;
    color: var(--text-medium);
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown li a::after {
    display: none;
}

.dropdown li a i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-light);
}

.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .phone-number {
    margin-right: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled .contact-button .phone-number {
    color: var(--text-medium);
}

.contact-button .phone-number i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-column ul li a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-light);
}

.footer-column ul li a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    margin-right: 1rem;
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.newsletter-form {
    position: relative;
    margin-top: 1.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    outline: none;
    padding-right: 60px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary-light);
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--text-light);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .section {
        padding: 80px 0;
    }
}

/* Large Desktop Styles */
@media (max-width: 1557px) {
    .logo-image {
        height: 48px;
    }
    
    .header.scrolled .logo-image {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .header.scrolled .logo-text {
        font-size: 1.15rem;
    }
    
    .nav-links {
        margin-right: 1.2rem;
    }
    
    .nav-links li {
        margin: 0 0.9rem;
    }
    
    .nav-links li a {
        font-size: 0.95rem;
    }
    
    .contact-button .phone-number {
        margin-right: 1rem;
        font-size: 0.95rem;
    }
    
    .contact-button .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Tablet Styles */
@media (max-width: 1412px) {
    .nav-links {
        margin-right: 1rem;
    }
    
    .nav-links li {
        margin: 0 0.8rem;
    }
    
    .nav-links li a {
        font-size: 0.9rem;
    }
    
    .contact-button .phone-number {
        margin-right: 1rem;
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .header.scrolled .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-light);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 2rem 2rem;
        transition: var(--transition);
        z-index: 1;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-links li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        color: var(--text-medium) !important;
    }
    
    .nav-links li:hover .dropdown {
        display: none;
    }
    
    .nav-links li.active .dropdown {
        display: block;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        width: 100%;
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .dropdown li {
        border: none;
        padding-left: 1rem;
    }
    
    .dropdown li a {
        padding: 0.5rem 0;
    }
    
    .contact-button {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .contact-button .phone-number {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-button .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .header.scrolled .logo-image {
        height: 38px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .header.scrolled .logo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Responsive Display Classes */
.mobile-only { 
    display: none !important; 
}

.desktop-only { 
    display: block !important; 
}

@media (max-width: 768px) {
    .mobile-only { 
        display: block !important; 
    }
    
    .desktop-only { 
        display: none !important; 
    }
}