/* assets/css/style.css */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Inter:wght@400;500;600&family=Outfit:wght@500;700&display=swap');

:root {
    --primary-color: #FF6B6B;
    /* Soft Coral */
    --secondary-color: #4ECDC4;
    /* Teal */
    --background-color: #F7F9FC;
    --text-color: #2D3436;
    --card-bg: #FFFFFF;
    --border-radius: 16px;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* Neumorphism-lite */
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    font-weight: 700;
}

.font-playful {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    color: white;
}

.btn-secondary:hover {
    background-color: #3dbdb4;
}

/* Cards (Product & Content) */
.card-custom {
    background: var(--card-bg);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF0F0 0%, #E6FCFA 100%);
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Customization Interface */
.preview-container {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.preview-image {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.preview-text-overlay {
    position: absolute;
    /* Default position, will be overridden by JS */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Fredoka', sans-serif;
    /* Fredoka Bold */
    font-weight: 700;
    font-size: 34pt;
    color: #333;
    pointer-events: none;
    /* Let clicks pass through */
    /* text-shadow removed */
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 12px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.form-label {
    font-weight: 600;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: white;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #eee;
}