/* Digital Scrapbooking Platform - Main CSS */

/* Color Palette */
:root {
    /* Primary Colors */
    --primary-purple: #6b46c1;
    --primary-pink: #ec4899;
    --primary-teal: #14b8a6;
    --primary-orange: #f97316;
    --primary-green: #22c55e;
    
    /* Light/Dark Shades */
    --light-purple: #a78bfa;
    --dark-purple: #4c1d95;
    --light-pink: #f9a8d4;
    --dark-pink: #9d174d;
    --light-teal: #5eead4;
    --dark-teal: #0f766e;
    --light-orange: #fed7aa;
    --dark-orange: #c2410c;
    --light-green: #86efac;
    --dark-green: #15803d;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body { overflow-x: hidden;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-purple) !important;
}

/* Header Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-pink) 50%, var(--light-teal) 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section h2 {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Feature Cards */
.feature-card, .service-card, .price-card, .info-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(107, 70, 193, 0.1);
}

.feature-card:hover, .service-card:hover, .price-card:hover, .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.15);
}

.feature-card i, .info-card i {
    color: var(--primary-purple);
}

/* Service Cards */
.service-card img {
    border-radius: 0.5rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Price Cards */
.price-card.featured {
    border: 2px solid var(--primary-purple);
    transform: scale(1.05);
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-align: center;
    margin-top: 1rem;
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Testimonials */
.testimonials-swiper {
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 1rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.testimonial-card h5 {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-purple);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--primary-purple);
    border-radius: 50%;
    top: 2rem;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-date {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* FAQ */
.accordion-button {
    background: var(--white);
    border: none;
    color: var(--dark-gray);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: var(--light-purple);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(107, 70, 193, 0.25);
}

/* Gallery */
.gallery-section img {
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-control {
    border: 2px solid rgba(107, 70, 193, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(107, 70, 193, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer h5, .footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-purple);
}

.footer hr {
    border-color: var(--dark-gray);
    margin: 2rem 0 1rem;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 6rem 0 2rem;
    background: var(--light-gray);
}

.breadcrumb-icon {
    width: 32px;
    height: 32px;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h4, .blog-card p, .blog-card a {
    padding: 0 1.5rem;
}

.blog-card a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Case Study Cards */
.case-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.15);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Career Cards */
.career-card {
    background: var(--white);
    border: 1px solid rgba(107, 70, 193, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.1);
}

/* Additional Page Elements */
.feature-item, .template-category, .collaboration-feature, .export-option, .storage-feature,
.learning-item, .video-tutorial, .workshop-item, .resource-item, .certification-level {
    background: var(--white);
    border: 1px solid rgba(107, 70, 193, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover, .template-category:hover, .collaboration-feature:hover, .export-option:hover, 
.storage-feature:hover, .learning-item:hover, .video-tutorial:hover, .workshop-item:hover, 
.resource-item:hover, .certification-level:hover {
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.1);
}

/* Utilities */
.text-primary { color: var(--primary-purple) !important; }
.bg-primary { background-color: var(--primary-purple) !important; }

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-teal) 100%);
    color: var(--white);
}

#space h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#space p {
    font-size: 1.25rem;
    opacity: 0.9;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
