/* Shannon's Sweet Treats - iOS Liquid Glass Morphism */

:root {
    /* Girly Color Palette */
    --pink-soft: #FFB5D8;
    --pink-medium: #FF8EC0;
    --pink-bright: #FF6BA8;
    --purple-light: #D4A5FF;
    --purple-medium: #B77FFF;
    --purple-deep: #9B5DE5;
    --orange-soft: #FFB088;
    --orange-bright: #FF9966;
    --coral: #FF8B94;
    --coral-light: #FFA5AD;
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: rgba(255, 107, 168, 0.15);
    
    /* Text */
    --text-primary: #2d2d2d;
    --text-light: rgba(45, 45, 45, 0.7);
    --text-white: #ffffff;
    
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: linear-gradient(135deg, 
        var(--pink-soft) 0%, 
        var(--purple-light) 25%,
        var(--coral-light) 50%,
        var(--orange-soft) 75%,
        var(--pink-medium) 100%
    );
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 181, 216, 0.4),
        rgba(212, 165, 255, 0.4),
        rgba(255, 176, 136, 0.4),
        rgba(255, 139, 148, 0.4)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

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

/* iOS Liquid Glass Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(255, 107, 168, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 168, 0.3));
}

.logo span span {
    background: linear-gradient(135deg, var(--pink-bright), var(--purple-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: var(--pink-bright);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, var(--pink-bright), var(--purple-medium));
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section - Liquid Glass */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-deep);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(255, 107, 168, 0.2);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 span {
    background: linear-gradient(135deg, 
        var(--pink-bright), 
        var(--purple-medium),
        var(--coral)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-bright), var(--purple-medium));
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(255, 107, 168, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 168, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-images {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(255, 107, 168, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

/* Glass Trust Badges */
.trust-badges {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 168, 0.3));
}

.trust-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pink-bright), var(--purple-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Product Cards - Glass Morphism */
.products-section,
.order-section {
    padding: 4rem 0;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 168, 0.15);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(255, 107, 168, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink-bright);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Order Form - Glass Style */
.order-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.order-form-container,
.order-info-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(255, 107, 168, 0.15);
}

.order-form-container h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--pink-bright), var(--purple-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--pink-bright);
    box-shadow: 0 0 0 3px rgba(255, 107, 168, 0.2);
    background: rgba(255, 255, 255, 0.5);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.product-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-selection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.quantity-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, var(--pink-bright), var(--purple-medium));
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

button[type="submit"] {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--pink-bright), var(--purple-medium));
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 107, 168, 0.4);
    margin-top: 1rem;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 168, 0.5);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Order Status Messages */
#orderStatus {
    margin-bottom: 1.5rem;
}

#orderStatus p {
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Info Card */
.order-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.order-info-card ul {
    list-style: none;
    padding: 0;
}

.order-info-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.order-info-card li::before {
    content: '✓ ';
    color: var(--pink-bright);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer - Glass */
.footer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p,
.footer-section ul {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--pink-bright);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(255, 107, 168, 0.3);
    color: var(--text-primary);
}
