@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #4A90E2; /* Fresh Blue */
    --accent-color: #FF6B6B;  /* Soft Coral */
    --accent-color-darker: #e55a5a; /* Darker Coral for hover */
    --text-color: #2c3e50; /* Asphalt */
    --text-color-light: #8492a6; /* Light Slate Gray */
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --border-color: #e5e9f2;
}

body {
    background-color: var(--bg-white);
    color: var(--text-color);
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-break: keep-all;
    padding-bottom: 80px; /* Add padding to prevent content being hidden by mobile nav */
}

/* --- Global --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

/* --- Header / Main Banner --- */
.main-banner {
    background: url('https://via.placeholder.com/1920x600.png?text=4%EA%B0%9C+%EB%A7%A4%EC%9E%A5+%EC%A0%84%EA%B2%BD+%EC%BD%9C%EB%9D%BC%EC%A3%BC') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 98px 0;
    text-align: center;
    position: relative;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgb(0 89 193 / 70%), rgba(74, 144, 226, 0.5));
}

.main-banner .content {
    position: relative;
    z-index: 1;
}

.main-banner h1 {
    font-size: 3.2rem;
    font-weight: 900;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.main-banner .btn-accent {
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.main-banner .btn-accent:hover {
    background-color: var(--accent-color-darker);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Killer Content --- */
.killer-content-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
    overflow: hidden;
    background: var(--primary-color);
    color: white;
}

.killer-content-card .card-body {
    padding: 40px !important;
}

.killer-content-card h3 {
    font-weight: 700;
    color: var(--bg-white);
    font-size: 1.8rem;
}

.killer-content-card .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

.killer-content-card .price {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--accent-color);
    margin: 10px 0 20px;
}

.killer-content-card .btn-light {
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 25px;
    color: var(--primary-color);
}

/* --- O2O Section --- */
#why-us .section-title {
    color: var(--text-color);
}

.o2o-section {
    background-color: var(--bg-white);
}

.feature-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.15);
    border-color: var(--primary-color);
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background-color: var(--accent-color);
}

.feature-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card .card-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    z-index: 0;
}

/* --- Latest Models Section --- */
#latest-models .section-title {
    color: #5D4037; /* Dark Brown */
}

.model-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--bg-white);
}
.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
}
.model-card-img {
    height: 250px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.model-card .card-body {
    padding: 25px;
}
.model-card .card-title {
    font-weight: 700;
    color: #000000;
}
.model-card .card-text {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* --- Rolling Banner --- */
.rolling-banner {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    font-weight: 500;
    white-space: nowrap;
}

.rolling-banner-content {
    display: flex;
    animation: rolling 6s linear infinite;
    font-size: 1.1rem;
}
.rolling-banner-content > span {
    flex-shrink: 0;
    margin: 0 2.5rem;
}

@keyframes rolling {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Footer --- */
.footer {
    background-color: var(--text-color);
    color: #999;
    padding: 60px 0;
    font-size: 0.9rem;
}
.footer h5 {
    color: var(--bg-white);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}
.footer a:hover {
    color: var(--accent-color);
}
.footer-stores {
    list-style: none;
    padding-left: 0;
}
.footer-stores li {
    margin-bottom: 10px;
}
.footer hr {
    border-color: #444;
}

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color-light);
    font-size: 0.75rem;
    font-weight: 500;
}
.mobile-bottom-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--primary-color);
}


/* --- phone_detail.php --- */
.product-info-table th {
    width: 120px;
    background-color: var(--bg-light);
    font-weight: 500;
    vertical-align: middle;
}
.price-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
}
.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}
.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    opacity: 0.9;
}
