/* General Styles */
:root {
    --primary-color: #03c75a;
    --primary-dark: #02b04e;
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --white: #fff;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 16px rgba(0,0,0,0.2);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

.search-container {
    width: 300px;
}

#search-bar {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

/* Hero Section */
#hero-section {
    background: url('https://images.unsplash.com/photo-1522204523234-8729aa6e3d5f?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=3600') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.hero-content p {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}


/* Navigation */
nav {
    background-color: var(--white);
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    margin: 0 1.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-dark);
}

/* Sections */
#popular-products-section, main {
    padding: 4rem 2rem;
}

#popular-products-section h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Main Content */
#app-root[style*="display: grid"] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Footer */
footer {
    background-color: #343a40;
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

/* Card Styles */
.card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}


/* --- Review Section Styles -- */
.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
}

product-review, review-form {
    display: block;
    margin-bottom: 1.5rem;
}

/* --- Partnership Form Styles --- */
.partnership-form-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem 3rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* FontAwesome Icons */
.fab, .fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
