/* Modern Product-Focused Styling for SHINHAN METAL */

:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #F1E5AC;
    --silver: #C0C0C0;
    --dark: #121212;
    --light: #f8f9fa;
    --transition-slow: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.2s ease-in-out;
}

body {
    font-family: 'Noto Sans KR', 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Helper Classes */
.text-gold { color: var(--gold) !important; }
.text-silver { color: var(--silver) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-black { background-color: #000 !important; }
.divider-gold { width: 60px; height: 3px; background-color: var(--gold); }
.divider-silver { width: 60px; height: 3px; background-color: var(--silver); }
.z-1 { z-index: 1; }

/* Button Styles */
.btn-gold {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #fff !important;
    transition: var(--transition-fast);
}

.btn-gold:hover {
    background-color: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    transition: var(--transition-slow);
    z-index: 1050;
    background: rgba(0, 0, 0, 0.2); /* Initial subtle transparency */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(18, 18, 18, 0.85) !important; /* Stronger transparency on scroll */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3); /* Gold border on scroll */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 1.0rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.nav-link:hover {
    color: var(--gold) !important;
    opacity: 1;
}

/* Hero Section with Carousel */
.hero-section {
    position: relative;
}

.carousel-bg-img {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.advantage-bar-hero {
    width: 100%;
    margin-top: auto;
}

.bg-glass-dark {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid #eee;
    height: 100%;
}

.product-img-wrapper {
    position: relative;
    padding-bottom: 100%;
    background-color: #fcfcfc;
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -70px;
    left: 0; width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    transition: bottom 0.3s ease;
    z-index: 3;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.badge-new, .badge-best {
    position: absolute;
    top: 20px; left: 20px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

/* Banner Wide Styles */
.banner-wide { overflow: hidden; }
.banner-img {
    height: 600px;
    background-size: cover;
    background-position: center;
}

/* Footer & Social Icons */
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--silver);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

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

.social-icon {
    width: 35px; height: 35px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* Advantage Bar Borders Reset */
.advantage-bar-hero .border-end { border-right: 1px solid rgba(255, 255, 255, 0.1) !important; }
.advantage-bar-hero .border-bottom { border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; }

@media (min-width: 768px) {
    .advantage-bar-hero .border-bottom { border-bottom: none !important; }
    .border-end-md { border-right: 1px solid rgba(255, 255, 255, 0.1) !important; }
    .advantage-bar-hero .col-md-3:last-child { border-right: none !important; }
}

/* Responsive */
@media (max-width: 991.98px) {
    .banner-img { height: 350px; }
    .display-1 { font-size: 2.5rem; }
    
    /* Advantage Bar Mobile Fix */
    .advantage-bar-hero .col-6 {
        font-size: 0.75rem;
        padding: 1rem 0.5rem !important;
    }
}
