/* 
  NOMARU Essential Oils - Styles
  Remix Version
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --background: 207 50% 7%;
    --foreground: 210 20% 96%;
    --card: 207 40% 12%;
    --card-foreground: 210 20% 96%;
    --primary: 213 80% 56%;
    --primary-foreground: 210 20% 98%;
    --secondary: 207 30% 18%;
    --secondary-foreground: 210 20% 96%;
    --muted: 207 25% 15%;
    --muted-foreground: 210 15% 60%;
    --accent: 152 48% 60%;
    --accent-foreground: 207 50% 7%;
    --border: 207 25% 20%;
    --radius: 1rem;

    /* Custom NOMARU tokens */
    --gradient-deep: linear-gradient(135deg, hsl(207 50% 7%), hsl(200 35% 16%), hsl(200 40% 22%));
    --gradient-ocean: linear-gradient(135deg, hsl(213 80% 56%), hsl(193 85% 63%));
    --gradient-mint: linear-gradient(135deg, hsl(152 48% 60%), hsl(193 85% 63%));
    --glass-bg: hsla(207, 30%, 20%, 0.4);
    --glass-border: hsla(210, 20%, 96%, 0.1);
    --glass-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.25);

    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-deep);
    background-attachment: fixed;
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px hsla(0, 0%, 0%, 0.35);
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: hsl(var(--foreground));
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

/* Buttons */
.btn-primary {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    color: hsl(var(--primary-foreground));
    background: var(--gradient-ocean);
    box-shadow: 0 4px 20px hsla(213, 80%, 56%, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px hsla(213, 80%, 56%, 0.5);
}

.btn-glass {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    color: hsl(var(--foreground));
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: hsla(207, 30%, 25%, 0.5);
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    font-weight: 600;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    padding: 30px;
    text-align: center;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.05);
}

.product-card h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 24px;
}

/* Why Nomaru */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: hsl(var(--accent));
}

/* Map Section */
.map-panel {
    margin-top: 50px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Footer */
footer {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}

.footer-links a {
    color: hsl(var(--foreground));
    opacity: 0.5;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: hsl(var(--primary));
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 30px;
        text-align: center;
        background: hsla(207, 50%, 7%, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 1.5rem;
        border: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .section-padding {
        padding: 60px 20px;
    }
}

