/* Main CSS for Digital Will Vault Template */

:root {
    /* Color Palette */
    --primary-color: #6b5b95;
    --secondary-color: #feb236;
    --accent-color: #d64161;
    --neutral-color: #7bc5ae;
    --dark-color: #333333;
    
    /* Shades */
    --primary-light: #8a7cb3;
    --primary-dark: #4d4178;
    --secondary-light: #ffc75f;
    --secondary-dark: #e59d1e;
    --accent-light: #e66a82;
    --accent-dark: #b83250;
    --neutral-light: #9ad7c5;
    --neutral-dark: #5aa68f;
    --dark-light: #555555;
    --dark-dark: #222222;
    
    /* Font sizes */
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 3rem;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-xxl);
}

.section-subtitle {
    margin-bottom: 1.5rem;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.section-description {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--neutral-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.about-feature {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background-color: white;
}

.service-item {
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-price {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background-color: var(--primary-light);
    color: white;
}

.features .section-title,
.features .section-subtitle {
    color: white;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 2rem;
    height: 100%;
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Price Plan Section */
.price-plan {
    background-color: #f9f9f9;
}

.price-item {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.price-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.price-item.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 2;
}

.price-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-item h3 {
    margin-bottom: 1rem;
}

.price-value {
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price-features {
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Team Section */
.team {
    background-color: white;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 5px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--primary-color);
    font-weight: 600;
}

/* Reviews Section */
.reviews {
    background-color: var(--neutral-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.reviews::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.reviews .section-title,
.reviews .section-subtitle {
    color: white;
}

.review-item {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem;
    color: var(--dark-color);
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.review-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* Core Info Section */
.core-info {
    background-color: #f9f9f9;
}

.core-item {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.core-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.core-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 8px;
}

.form-control {
    padding: 0.75rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 91, 149, 0.25);
}

.form-check {
    margin-bottom: 1.5rem;
}

/* Blog Section */
.blog {
    background-color: #f9f9f9;
}

.blog-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    background-color: #f9f9f9;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f1f1f1;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ddd;
}

.accordion-body {
overflow-x: hidden;
    padding: 1.5rem;
    background-color: #f9f9f9;
}

/* Gallery Section */
.gallery {
    background-color: #f9f9f9;
}

.gallery-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--dark-dark);
    color: white;
    padding: 5rem 0 2rem;
}

footer h3 {
    color: white;
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: white;
}

#site-copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

/* Custom shapes */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Breadcrumb element - image only */
.breadcrumb-wrapper {
    padding: 1rem 0;
    background-color: #f9f9f9;
}

.breadcrumb-wrapper img {
    height: 24px;
    width: auto;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(100px);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Space page */
#space {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
} 