/* 
   PRISM GATEWAY – Modern Premium Design System
   Matches the aesthetic of the provided UI: Sage Green, Minimalist, High-end.
*/

:root {
    --primary-sage: #4A7C6F;
    --primary-sage-light: #628E83;
    --bg-cream: #F9FBF9;
    --bg-white: #FFFFFF;
    --text-charcoal: #2D3436;
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.06);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Jost', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius-lg: 20px;
    --radius-md: 12px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

/* Header */
.main-header {
    background: transparent;
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-left, .header-icons {
    flex: 1;
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.logo {
    flex: 2;
    text-align: center;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    position: fixed;
    box-shadow: var(--shadow-soft);
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-charcoal);
    text-decoration: none;
    font-family: var(--font-body);
}

.header-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.header-icons a {
    color: var(--text-charcoal);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.header-icons a:hover {
    color: var(--primary-sage);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    color: var(--text-charcoal);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-content p {
    color: var(--text-charcoal);
    font-weight: 500;
}

.hero-content .season-tag {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

/* Pill Buttons & Chips */
.btn-pill {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    border: 1px solid var(--border-light);
    background: #fff;
    color: var(--text-charcoal);
    text-decoration: none;
    transition: var(--transition);
}

.btn-pill.active {
    background: var(--primary-sage);
    color: #fff;
    border-color: var(--primary-sage);
}

.btn-pill:hover:not(.active) {
    border-color: var(--primary-sage);
    color: var(--primary-sage);
}

/* Floating Action Button (FAB) */
.fab-add {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(74, 124, 111, 0.8);
    backdrop-filter: blur(5px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.fab-add:hover {
    background: var(--primary-sage);
    transform: scale(1.1);
}

/* UI Cards */
.card-minimal {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

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

.card-minimal i {
    font-size: 1.5rem;
    color: var(--primary-sage);
    margin-bottom: 1rem;
}

/* List Items */
.list-item-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-charcoal);
    transition: var(--transition);
}

.list-item-arrow:hover {
    color: var(--primary-sage);
}

/* Floating Inputs */
.floating-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    background: transparent;
    font-family: var(--font-body);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.floating-input:focus {
    outline: none;
    border-color: var(--primary-sage);
}

/* Search Bar Pill */
.search-pill {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.search-pill input {
    border: none;
    width: 100%;
    font-family: var(--font-body);
}

.search-pill input:focus {
    outline: none;
}

/* Mobile Drawer & Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 3rem 2rem;
    box-shadow: 20px 0 60px rgba(0,0,0,0.08);
}

.mobile-drawer.open {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 52, 54, 0.1);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 3rem;
}

.drawer-nav li {
    margin-bottom: 2rem;
    overflow: hidden;
}

.drawer-nav a {
    text-decoration: none;
    color: var(--text-charcoal);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    transition: var(--transition);
}

.drawer-nav a:hover {
    color: var(--primary-sage);
    transform: translateX(10px);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-prism {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-sage);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: var(--transition);
    border: none;
}

.btn-prism:hover {
    background: var(--primary-sage-light);
    transform: translateY(-2px);
}

/* Selected Works */
.section-works {
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    background: var(--bg-cream);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-info {
    text-align: left;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.product-price {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-charcoal);
}

.quick-view-btn {
    width: 100%;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-view-btn:hover {
    background: var(--text-charcoal);
    color: #fff;
}

/* Values Section */
.section-values {
    padding: 6rem 1rem;
    background: var(--bg-cream);
    text-align: center;
}

.values-container {
    max-width: 800px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.value-card i {
    font-size: 1.5rem;
    color: var(--primary-sage);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Circular Image Section */
.baby-image-section {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
}

.baby-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: var(--shadow-soft);
}

.baby-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Newsletter */
.section-newsletter {
    padding: 6rem 1rem;
    text-align: center;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    padding: 1rem;
    border: none;
    background: #E8F0EE;
    font-family: var(--font-body);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bottom-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.bottom-nav-item.active {
    color: var(--primary-sage);
}

/* Footer */
.main-footer {
    padding: 4rem 1rem 6rem;
    background: #EBE7E0;
    text-align: center;
}

.main-footer .footer-logo {
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-charcoal);
    font-size: 0.85rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 0 5%;
        text-align: center;
        justify-content: center;
    }
    .hero-overlay {
        background: rgba(249, 251, 249, 0.6);
    }
    .hero-content {
        max-width: 100%;
    }
    .main-header {
        padding: 1rem;
    }
}
