/* Wick & Bubble - Custom Styles */

:root {
    --bg1: #fff7fb;
    --bg2: #ffeef6;
    --brand: #ec8fb8;
    --brand2: #f7c6d9;
    --ink: #2e2a2f;
    --ink-soft: #6a5f68;
    --accent: #8ad4d1;
    --lav: #c0b5ff;
    --gold: #ffd38a;
    --card: #ffffff;
    --shadow: 0 12px 24px rgba(0,0,0,.08);
    --radius: 18px;
    
    /* Legacy variables for backward compatibility */
    --primary-color: #ec8fb8;
    --secondary-color: #f8f9fa;
    --accent-color: #8ad4d1;
    --text-color: #2e2a2f;
    --light-text: #6a5f68;
    --navbar-link-color: #f8f9fa;
}

body {
    background: radial-gradient(1200px 600px at 10% -10%, var(--bg2), transparent 60%),
                radial-gradient(1000px 600px at 90% 0%, #fdf2ff, transparent 60%),
                var(--bg1);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(236, 143, 184, 0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand) !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 80px;
    width: auto;
}

.navbar-name {
    height: 35px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--ink) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--brand) !important;
}

/* Hero Section */
.hero-section {
    background: transparent !important;
    color: var(--ink) !important;
    padding: 4rem 0 2rem !important;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 0.5rem 0;
}

.hero-subtitle {
    color: var(--ink-soft);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.hero-description {
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-description p {
    margin: 0 0 0.75rem;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px dashed var(--brand2);
    padding: 8px 12px;
    border-radius: 999px;
    color: #b05b82;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Signup Card */
.signup-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 2rem 0;
}

.signup-title {
    font-family: 'Poppins', sans-serif;
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}

.signup-subtitle {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin: 0 0 1rem;
}

/* Giveaway Card */
.giveaway-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(120deg, #fff6fb, #fffbe8);
    border: 1px solid #ffe3ef;
    border-radius: 16px;
    margin: 1.5rem 0;
}

.giveaway-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--brand));
    box-shadow: var(--shadow);
    flex-shrink: 0;
}



/* Hero Image */
.hero-image {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background: url('/assets/img/hero.jpg') center top/cover no-repeat;
    filter: saturate(1.05) contrast(1.02);
}

/* Hero row - top align columns on desktop */
.hero-section .row {
    align-items: flex-start;
}

/* Mobile override - center when stacked */
@media (max-width: 991.98px) {
    .hero-section .row {
        align-items: center !important;
    }
}

.hero-image::after {
    content: "Handmade by Rebekah";
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefit-card {
    background: var(--card);
    padding: 1rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.benefit-icon.accent-lav {
    background: linear-gradient(135deg, var(--accent), var(--lav));
}

.benefit-icon.brand-gold {
    background: linear-gradient(135deg, var(--brand), var(--gold));
}

.benefit-icon.lav-accent {
    background: linear-gradient(135deg, var(--lav), var(--accent));
}

.benefit-title {
    font-family: 'Poppins', sans-serif;
    margin: 0.2rem 0 0.3rem;
    font-size: 1.1rem;
}

.benefit-description {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(120deg, #c0b5ff, #8ad4d1);
    color: #fff;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.cta-description {
    margin: 0 0 1rem;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.section-title h3 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

/* Product Cards */
.product-card {
    background: var(--card);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.product-badge.primary {
    background: #f3f0ff;
    color: #5b4dd8;
}

.product-badge.warning {
    background: #fff3f1;
    color: #d44f3e;
}

.product-badge.info {
    background: #eefdfb;
    color: #17766e;
}

.product-price {
    font-weight: 700;
    color: var(--brand);
}

/* Story & Events Section */
.story-events-section {
    margin: 2rem 0;
}

.story-card, .events-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: 100%;
}

.story-title, .events-title {
    font-family: 'Poppins', sans-serif;
    margin: 0.5rem 0 0.8rem;
}

.events-list {
    padding-left: 1.2rem;
    margin: 0.5rem 0 0;
}

.events-list li {
    margin: 0.6rem 0;
}

.event-date {
    font-weight: 700;
    color: var(--brand);
}

.event-secondary {
    display: block;
    margin-top: 0.2rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* Buttons */
.btn-custom {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-custom:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.btn-facebook {
    background: linear-gradient(135deg, #3b5998, #8b9dc3) !important;
}

/* Forms */
.form-control-custom {
    border: 2px solid var(--brand2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control-custom:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(236, 143, 184, 0.25);
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(236, 143, 184, 0.25);
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    color: #5a5260;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(236, 143, 184, 0.1);
}

/* Legacy Styles (keeping for backward compatibility) */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

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

.btn-primary:hover {
    background-color: #d47aa0;
    border-color: #d47aa0;
}

.btn-light {
    background-color: white;
    border-color: white;
    color: var(--brand);
}

.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--brand);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .giveaway-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .card-img-top {
        height: 150px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Admin Dashboard */
.admin-stats {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Status indicators for admin dashboard */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Stat cards styling */
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Email admin specific styles */
.email-admin .navbar-brand {
    font-weight: bold;
}

/* Dropdown styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Table improvements */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    border-top: none;
    font-weight: 600;
}

/* Card improvements */
.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

/* Button improvements */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

.btn-sm {
    border-radius: 4px;
}

/* Alert improvements */
.alert {
    border: none;
    border-radius: 8px;
}

/* Form improvements */
.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
}

/* Ensure navbar links are visible on both light and dark backgrounds */
.navbar-light .navbar-nav .nav-link {
    color: #222 !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--brand) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #f8f9fa !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

/* Contact Page Styles */
.contact-page {
    padding-top: 2rem;
}

/* Ensure content is below fixed header */
.container.mt-4 {
    padding-top: 1rem;
    margin-top: 2rem !important;
}

.contact-form {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--brand);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--brand);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
} 