:root {
    --primary-blue: #007bff;
    --secondary-dark: #2c3e50;
    --accent-green: #2ecc71;
    --light-grey: #ecf0f1;
    --text-dark: #34495e;
    --text-light: #f8f9fa;
    --hero-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-grey);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header & Navigation */
header {
    background-color: var(--secondary-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo-icon {
    height: 30px; /* 아이콘의 높이를 30px로 설정 */
    width: auto;   /* 가로 비율은 자동으로 유지 */
    margin-right: 12px;
    vertical-align: middle; /* 텍스트와 세로 정렬 */
}

header .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Hero Section */
.hero {
    background: var(--hero-gradient);
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero_background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
    animation: slideInFromLeft 1s ease-out;
}

.hero-image {
    flex: 1;
    max-width: 45%;
    animation: fadeIn 1.5s ease-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    background-color: var(--accent-green);
    color: var(--secondary-dark);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-5px);
    background-color: #27ae60;
}

/* Animations */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* General Sections */
section {
    padding: 100px 0;
}

section#about {
    background-color: #ffffff;
}

section#products {
    background-color: var(--light-grey);
}

.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 70px;
    color: var(--secondary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section Specific Styles */
.about-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.about-item {
    flex: 1;
    background-color: #f8f9fa; /* slightly different grey */
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.about-icon {
    font-size: 2.5rem; /* Icon size adjusted */
    color: var(--primary-blue);
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

.about-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.about-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 300;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Product Section */
.product-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-item:nth-child(even) {
    flex-direction: row-reverse;
}

.product-item .product-image {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease;
    background-color: #fff;
}

.product-item .product-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.product-item .product-image:hover img {
    transform: scale(1.05);
}

.product-item .product-content {
    flex: 1;
    max-width: 50%;
}

.product-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.product-item p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Location Section */
section#location {
    background-color: #ffffff;
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 50%; /* 2:1 Aspect Ratio */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-details {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    z-index: 10;
}

.location-details .detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.5;
}

.location-details .detail-item:last-child {
    margin-bottom: 0;
}

.location-details .detail-item i {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-right: 15px;
    min-width: 20px;
    text-align: center;
    padding-top: 2px;
}

.location-details .detail-item p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 400;
}


/* Footer */
footer {
    background-color: var(--secondary-dark);
    color: #bdc3c7;
    text-align: center;
    padding: 50px 0;
    font-size: 0.9rem;
}

footer .container p {
    margin-bottom: 10px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-green);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-item {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .product-item {
        gap: 30px;
    }
    .product-item h3 {
        font-size: 1.8rem;
    }
    .location-details {
        top: 20px;
        left: 20px;
        padding: 20px;
        max-width: 300px;
    }
    .location-details .detail-item i {
        font-size: 1.2rem;
        margin-right: 12px;
    }
    .location-details .detail-item p {
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    header nav {
        display: none; /* In a real project, this would be replaced with a hamburger menu */
    }

    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        text-align: center;
        animation: none;
    }
    .hero-image {
        max-width: 70%;
        margin-top: 40px;
        animation: none;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .product-item,
    .product-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    .product-item .product-image,
    .product-item .product-content {
        max-width: 100%;
    }
    .product-item .product-image {
        margin-bottom: 30px;
    }
    .map-container {
        padding-top: 75%; /* Adjust aspect ratio for mobile */
    }
    .location-details {
        position: static;
        max-width: 100%;
        margin-top: 30px;
        border-radius: 8px; /* mobile에서도 약간의 radius 유지 */
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        background-color: #ffffff;
        text-align: left;
    }
}