/* Gratitude Journal Shop - Main CSS */

:root {
    /* Primary Color Palette - 5 colors + gradients */
    --primary-sage: #88a59f;
    --primary-terracotta: #c47260;
    --primary-cream: #fffbf5;
    --primary-forest: #3d563a;
    --primary-gold: #bf8d2a;
    
    /* Light/Dark Shades */
    --sage-light: #cae3dd;
    --sage-dark: #7d9c92;
    --terracotta-light: #e9c1a1;
    --terracotta-dark: #8f5532;
    --cream-light: #faf8f2;
    --cream-dark: #dfdad5;
    --forest-light: #54784c;
    --forest-dark: #33432f;
    --gold-light: #d4b963;
    --gold-dark: #b18a2d;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-sage), var(--primary-terracotta));
    --gradient-services: linear-gradient(45deg, var(--primary-forest), var(--sage-light));
    --gradient-testimonials: linear-gradient(135deg, var(--primary-cream), var(--cream-dark));
    --gradient-contact: linear-gradient(45deg, var(--primary-gold), var(--gold-light));
    --gradient-overlay: linear-gradient(rgba(65, 92, 56, 0.70), rgba(125, 181, 157, 0.70));
    
    /* Typography - Conservative sizes */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-h1: 2.2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.3rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 1rem;
    --navbar-brand-size: 1.5rem;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    overflow-x: hidden !important;
    max-width: 100vw;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--forest-dark);
    background-color: var(--primary-cream);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1.12rem;
    color: var(--primary-forest);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
    margin-bottom: 1.12rem;
    font-size: var(--font-size-base);
    color: var(--forest-light);
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(90deg, var(--primary-cream), var(--cream-light));
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: var(--navbar-brand-size);
    font-weight: 700;
    color: var(--primary-forest) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
    color: var(--forest-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-sage) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Add space for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../NEX_images/hero-background.webp') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Decorative Shapes */
.decorative-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3.25rem;
}

.section-subtitle {
    text-align: center;
    color: var(--sage-dark);
    font-size: var(--font-size-lg);
    margin-bottom: 1.12rem;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--forest-light);
}

/* About Section */
.about {
    background: var(--primary-cream);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card i {
    font-size: 2.62rem;
    color: var(--primary-sage);
    margin-bottom: 1.12rem;
}

/* Services Section */
.services {
    background: var(--gradient-services);
    color: white;
}

.services .section-title,
.services .section-subtitle,
.services .section-desc {
    color: white;
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    height: 100%;
    color: var(--forest-dark);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.60rem;
}

.service-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-gold);
    margin: 1rem 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.25rem 0;
    color: var(--forest-light);
}

.service-features li i {
    color: var(--primary-sage);
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    background: var(--cream-light);
}

/* Price Plan Section */
.priceplan {
    background: var(--primary-cream);
}

.price-card {
    background: white;
    border: 2px solid var(--sage-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.price-card:hover {
    border-color: var(--primary-sage);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, var(--cream-light), white);
}

.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.price {
    font-size: 2.62rem;
    font-weight: 700;
    color: var(--primary-forest);
    margin: 1rem 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: var(--primary-sage);
    margin-right: 0.5rem;
}

/* Team Section */
.team {
    background: var(--gradient-testimonials);
}

.team-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-body {
  overflow-x: hidden;
    padding: 1.5rem;
    text-align: center;
}

.team-role {
    color: var(--primary-sage);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Reviews/Testimonials Section */
.reviews {
    background: var(--primary-cream);
}

.swiper-container {
    padding: 2rem 0;
    overflow: hidden !important;
    margin: 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin: 0;
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.60rem;
    color: var(--forest-light);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3.02rem;
    color: var(--primary-sage);
    position: absolute;
    left: -20px;
    top: -10px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-forest);
}

/* Blog Section */
.blog {
    background: var(--cream-light);
}

.blog-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
  overflow-x: hidden;
    padding: 1.5rem;
}

.blog-card-title {
    font-size: var(--font-size-h5);
    margin-bottom: 0.96rem;
}

.blog-card-excerpt {
    color: var(--forest-light);
    font-size: var(--font-size-sm);
    margin-bottom: 1.12rem;
}

.blog-link {
    color: var(--primary-sage);
    text-decoration: none;
    font-weight: 500;
}

.blog-link:hover {
    color: var(--sage-dark);
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background: var(--primary-cream);
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.12rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-forest);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--cream-light);
}

.faq-question i {
    color: var(--primary-sage);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--forest-light);
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Gallery Section */
.gallery {
    background: var(--cream-light);
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2.14rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--gradient-contact);
    color: white;
}

.contact .section-title,
.contact .section-subtitle,
.contact .section-desc {
    color: white;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--forest-dark);
}

.form-group {
    margin-bottom: 1.60rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.60rem;
    display: block;
    color: var(--primary-forest);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--cream-dark);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-sage);
    box-shadow: 0 0 0 4px rgba(130, 182, 164, 0.10);
}

.form-control:invalid {
    border-color: var(--primary-terracotta);
}

.btn-submit {
    background: var(--gradient-hero);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-top: 2.14rem;
}

.contact-info p {
    color: white;
    margin-bottom: 1.12rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--gold-light);
    width: 20px;
}

/* Footer */
.footer {
    background: var(--primary-forest);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--sage-light);
    margin-bottom: 1.12rem;
}

.footer p,
.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.footer a:hover {
    color: var(--sage-light);
}

.footer .row > div {
    margin-bottom: 2.16rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.14rem;
    margin-top: 2.14rem;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin: 0;
}

.breadcrumb-item img {
    height: 20px;
    width: auto;
}

/* Utility Classes */
.text-primary { color: var(--primary-sage) !important; }
.text-secondary { color: var(--primary-terracotta) !important; }
.bg-primary { background-color: var(--primary-sage) !important; }
.bg-secondary { background-color: var(--primary-terracotta) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.43rem !important; }
.mb-2 { margin-bottom: 0.60rem !important; }
.mb-3 { margin-bottom: 1.12rem !important; }
.mb-4 { margin-bottom: 1.60rem !important; }
.mb-5 { margin-bottom: 3.25rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.45rem !important; }
.mt-2 { margin-top: 0.64rem !important; }
.mt-3 { margin-top: 1.15rem !important; }
.mt-4 { margin-top: 1.63rem !important; }
.mt-5 { margin-top: 3.08rem !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* No reduced motion animations */
@media (prefers-reduced-motion: no-preference) {
    .hero .container {
        animation: fadeInUp 1s ease;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Additional Swiper Fixes */
.swiper {
    overflow: hidden !important;
    margin: 0;
    padding: 0;
}

.swiper-wrapper {
    align-items: stretch;
    box-sizing: border-box;
}

.swiper-slide {
    height: auto !important;
    display: flex !important;
    align-items: center;
    width: auto !important;
    max-width: 400px;
    box-sizing: border-box;
}

/* Container width fixes */
.reviews .container {
    overflow: hidden;
    max-width: 100%;
}

/* Bootstrap row fixes */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
} 