/* 
 * Aryaris - Premium Baby Clothing Store
 * Design System: Pastel Tones, Clean Typography, Glassmorphism
 */

:root {
    /* Color Palette - Luxury Edition */
    --color-sage: #C5A059;
    /* Muted Gold */
    --color-sage-light: #F9F5F0;
    /* Creamy White */
    --color-rose: #D8C4B6;
    /* Champagne/Beige */
    --color-rose-light: #FAF8F5;
    --color-cream: #FFFFFF;
    /* Pure White background */
    --color-white: #FFFFFF;
    --color-charcoal: #111111;
    /* Jet Black */
    --color-text-light: #555555;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --blur-amt: 20px;

    /* Transition */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.19, 1, 0.22, 1);

    /* Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --radius-sm: 2px;
    /* Sharper corners */
    --radius-md: 4px;
    --radius-lg: 8px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-charcoal);
    background-color: #FAFAFA;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 0px;
    /* Square/Sharp */
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

/* Header / Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(var(--blur-amt));
    -webkit-backdrop-filter: blur(var(--blur-amt));
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    /* Adjust based on header height */
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-sage);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-rose);
    color: var(--color-charcoal);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 60px 0;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(44, 51, 51, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(44, 51, 51, 0.2);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--color-charcoal);
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.hero-title span {
    font-family: 'Dancing Script', cursive;
    color: var(--color-sage);
    font-weight: 700;
    display: block;
    font-size: 1.1em;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 1);
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.7);
}

/* Products Preview */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    padding-bottom: 80px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-sage-light);
}

.product-image {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    /* Placeholder color */
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-price {
    font-weight: 600;
    color: var(--color-sage);
}

/* Font Personalization Styles */
.font-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.font-option {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: white;
}

.font-option:hover {
    border-color: var(--color-sage);
}

.font-option.selected {
    background-color: var(--color-charcoal);
    color: white;
    border-color: var(--color-charcoal);
}

/* Vinyl Color Map for Preview */
.text-gold {
    color: #D4AF37;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.text-silver {
    color: #C0C0C0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.text-black {
    color: #000000;
}

.text-white {
    color: #FFFFFF;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* Shadow for visibility on light bg */
.text-navy {
    color: #000080;
}