/* Main CSS file for Divorce Financial Planning Service website */

:root {
    /* Primary Colors - Pastel Palette */
    --primary-1: #a4c2f4; /* Soft Blue */
    --primary-2: #ead1dc; /* Soft Rose */
    --primary-3: #d5e8d4; /* Soft Mint */
    --primary-4: #fff2cc; /* Soft Yellow */
    --primary-5: #e0d4e8; /* Soft Lavender */
    
    /* Shades */
    --primary-1-light: #c4d7f9;
    --primary-1-dark: #83a7e0;
    --primary-2-light: #f2e2e9;
    --primary-2-dark: #d3b0c2;
    --primary-3-light: #e6f2e5;
    --primary-3-dark: #b8d5b6;
    --primary-4-light: #fff8e1;
    --primary-4-dark: #ffe699;
    --primary-5-light: #ede2f2;
    --primary-5-dark: #c6b4d4;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-1-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-1);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.bg-primary-1 {
    background-color: var(--primary-1);
}

.bg-primary-2 {
    background-color: var(--primary-2);
}

.bg-primary-3 {
    background-color: var(--primary-3);
}

.bg-primary-4 {
    background-color: var(--primary-4);
}

.bg-primary-5 {
    background-color: var(--primary-5);
}

.text-primary-1 {
    color: var(--primary-1-dark);
}

.text-primary-2 {
    color: var(--primary-2-dark);
}

.section-padding {
    padding: 5rem 0;
}

.section-heading {
    margin-bottom: 3rem;
}

/* Layout */
.container {
    width: 100%;
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
    margin-right: auto;
    margin-left: auto;
}

/* Header Styles */
.site-header {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
}

.site-logo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-1-dark);
}

.nav-link {
    margin: 0 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 2rem;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-feature {
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
    font-size: 2.5rem;
    color: var(--primary-1);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(164, 194, 244, 0.2) 0%, rgba(234, 209, 220, 0.2) 100%);
    z-index: -1;
}

.service-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-body {
    padding: 1.5rem;
}

.service-price {
    font-weight: 700;
    color: var(--primary-1-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.service-features {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
    background-color: #fff;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-2-dark);
    margin-bottom: 1.5rem;
}

/* Price Plan Section */
.priceplan-section {
    background-color: #f9f9f9;
}

.price-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
    padding: 2rem;
    background-color: var(--primary-3-light);
}

.price-body {
    padding: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-3-dark);
    margin-bottom: 1rem;
}

.price-features {
    padding-left: 0;
    list-style-type: none;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Team Section */
.team-section {
    background-color: #fff;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-img-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: #666;
    font-style: italic;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--primary-1-light);
    position: relative;
}

.review-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 700;
}

/* Core Info Section */
.coreinfo-section {
    position: relative;
}

.coreinfo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(213, 232, 212, 0.2) 0%, rgba(255, 242, 204, 0.2) 100%);
    z-index: -1;
}

.coreinfo-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.coreinfo-item:hover {
    transform: translateY(-10px);
}

.coreinfo-icon {
    font-size: 2.5rem;
    color: var(--primary-4-dark);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    background-color: #f9f9f9;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-1);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(164, 194, 244, 0.25);
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-1-dark);
    border-color: var(--primary-1-dark);
}

.btn-primary:hover {
    background-color: var(--primary-1);
    border-color: var(--primary-1);
}

.contact-info {
    background-color: var(--primary-5-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    height: 100%;
}

.contact-info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-info-icon {
    margin-right: 1rem;
    color: var(--primary-5-dark);
    font-size: 1.25rem;
}

/* Blog Section */
.blog-section {
    background-color: #fff;
}

.blog-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-top {
    margin-bottom: 2rem;
}

.footer-heading {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-list {
    padding-left: 0;
    list-style-type: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-list a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Space Page */
#space {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Additional Pages */
.add-page-section {
    padding: 5rem 0;
}

.add-page-section:nth-child(odd) {
    background-color: #f9f9f9;
}

.add-page-section:nth-child(even) {
    background-color: #fff;
} 