/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nanum Gothic', sans-serif;
    background-color: #F8F8F8;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Landing Page */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4A6C4A;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.landing-page.hidden {
    opacity: 0;
    pointer-events: none;
}

.landing-content {
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.landing-logo {
    height: 60px;
    filter: brightness(0) invert(1);
}

/* Fixed Logo */
.fixed-logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) brightness(0) invert(1);
}

.fixed-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-link:hover {
    color: #F8F8F8;
    transform: scale(1.1);
}

.nav-link i {
    font-size: 1.2rem;
}

.nav-link.shop-icon i {
    font-size: 1.4rem;
}

/* Hero Brand Container */
.hero-brand-container {
    position: relative;
    display: inline-block;
}

.sound-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-size: 0.7rem;
    padding: 0.4rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    position: absolute;
    top: -10px;
    right: -15px;
}

.sound-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    margin-top: 10vh;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(1.1);
}

.hero-brand {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-family: 'Playfair Display', serif;
}

.hero-slogan {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    font-family: 'Playfair Display', serif;
}

.hero-product {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-family: 'Playfair Display', serif;
}

.hero-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.6rem 1.6rem;
    background: white;
    color: #4A6C4A;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hero-shop-btn i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.85rem;
}

.hero-shop-btn:hover {
    background: linear-gradient(135deg, #4A6C4A, #6B8E6B);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 108, 74, 0.4);
}

.hero-shop-btn:hover i {
    transform: translateX(5px);
}

/* Philosophy Section */
.philosophy-section {
    padding: 8rem 0;
    text-align: center;
    background-color: #F8F8F8;
}

.philosophy-section h2 {
    color: #333333;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.philosophy-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 2;
    color: #555555;
    font-family: 'Nanum Gothic', sans-serif;
}

/* Product Teaser Section */
.product-teaser-section {
    padding: 8rem 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-shot {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-content h2 {
    color: #333333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

.product-content p {
    margin-bottom: 3rem;
    color: #555555;
    font-size: 0.99rem;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

/* Product Badge */
.product-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #4A6C4A, #6B8E6B);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* Product Subtitle */
.product-subtitle {
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2.5rem;
}

/* Product Features */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #4A6C4A;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(74, 108, 74, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4A6C4A, #6B8E6B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.feature-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #4A6C4A;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Product CTA */
.product-cta {
    margin-top: 2rem;
}

.product-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.6rem;
    background: linear-gradient(135deg, #4A6C4A, #6B8E6B);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(74, 108, 74, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.product-shop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.product-shop-btn:hover::before {
    left: 100%;
}

.product-shop-btn i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.85rem;
}

.product-shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 108, 74, 0.5);
}

.product-shop-btn:hover i {
    transform: translateX(5px);
}

.product-tagline {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Email Form */
.email-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

.email-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Nanum Gothic', sans-serif;
    transition: border-color 0.3s ease;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: #4A6C4A;
}

.email-form button {
    padding: 1rem 2rem;
    background-color: #4A6C4A;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Nanum Gothic', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.email-form button:hover {
    background-color: #3d5a3d;
    transform: translateY(-1px);
}

/* Blog CTA */
.blog-cta {
    margin-top: 2rem;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4A6C4A, #6B8E6B);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 108, 74, 0.3);
}

.blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 74, 0.4);
}

.blog-btn i {
    font-size: 1.2rem;
}

/* Ingredients Section */
.ingredients-section {
    padding: 8rem 0;
    background-color: #F8F8F8;
}

.ingredients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ingredients-text h2 {
    color: #333333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.ingredients-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
    font-family: 'Nanum Gothic', sans-serif;
    margin-bottom: 2.5rem;
}

.ingredients-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.formula-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ingredients-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .formula-image {
        max-width: 100%;
    }
}

/* Footer Section */
.footer-section {
    padding: 2rem 0;
    background-color: #333333;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.footer-section p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Nanum Gothic', sans-serif;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Nanum Gothic', sans-serif;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    position: relative;
}

.footer-link:hover {
    opacity: 1;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-copyright {
    margin-top: 0.5rem;
    opacity: 0.6;
    font-size: 0.8rem;
    font-family: 'Nanum Gothic', sans-serif;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Music Player Widget */
.music-player {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.15rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 171px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: auto;
}

/* Playlist Dropdown */
.playlist-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px 12px 0 0;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: all 0.3s ease;
}

.playlist-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.playlist-header {
    padding: 0.8rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 0.9rem;
}

.playlist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist-item {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
    font-size: 0.85rem;
    color: #555;
}

.playlist-item:hover {
    background-color: rgba(74, 108, 74, 0.1);
}

.playlist-item.active {
    background-color: rgba(74, 108, 74, 0.2);
    color: #4A6C4A;
    font-weight: 500;
}

.playlist-item:last-child {
    border-bottom: none;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.1rem;
    flex-wrap: wrap;
}

.control-btn {
    background: none;
    border: none;
    color: #4A6C4A;
    font-size: 0.45rem;
    cursor: pointer;
    padding: 0.15rem;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* Playlist button specific styling */
#playlistBtn {
    font-size: 0.54rem;
}

.control-btn:hover {
    background-color: rgba(74, 108, 74, 0.1);
    transform: scale(1.1);
    opacity: 1;
}

.play-pause {
    background-color: #4A6C4A;
    color: white;
}

.play-pause:hover {
    background-color: #3d5a3d;
}

.track-info {
    text-align: center;
    font-size: 0.65rem;
    color: #666;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.2rem;
}

.volume-indicator {
    font-size: 0.75rem;
    color: #888;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.volume-btn {
    background: none;
    border: none;
    color: #4A6C4A;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background-color: rgba(74, 108, 74, 0.1);
    transform: scale(1.1);
}

.volume-slider {
    width: 42px;
    height: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.volume-bar {
    position: relative;
    width: 100%;
    height: 1.5px;
    background-color: rgba(224, 224, 224, 0.5);
    border-radius: 1px;
}

.volume-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #4A6C4A;
    border-radius: 1px;
    width: 100%;
    transition: width 0.2s ease;
}

.volume-handle {
    position: absolute;
    top: 50%;
    right: -4.2px;
    transform: translateY(-50%);
    width: 8.4px;
    height: 8.4px;
    background-color: #4A6C4A;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-handle:hover {
    transform: translateY(-50%) scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        gap: 3rem;
    }
    
    .hero-brand {
        font-size: 2rem;
    }
    
    .hero-slogan {
        font-size: 1.5rem;
    }
    
    .hero-product {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-brand {
        font-size: 1.8rem;
    }
    
    .hero-slogan {
        font-size: 1.3rem;
    }
    
    .hero-product {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .philosophy-section,
    .ingredients-section {
        padding: 5rem 0;
    }
    
    .product-teaser-section {
        padding: 5rem 0;
    }
    
    .email-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .music-player {
        bottom: 1rem;
        right: 1rem;
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-brand {
        font-size: 1.5rem;
    }
    
    .hero-slogan {
        font-size: 1.1rem;
    }
    
    .hero-product {
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .philosophy-section p,
    .ingredients-section p {
        font-size: 1.1rem;
    }
    
    .music-player {
        min-width: 220px;
    }
}

/* Smooth transitions for interactive elements */
a, button, input {
    transition: all 0.3s ease;
}

/* Enhanced focus states for accessibility */
button:focus,
input:focus {
    outline: 2px solid #4A6C4A;
    outline-offset: 2px;
}

/* Loading states */
.hero-video {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
