/* 
 * Family Law Podcast Live Recording Events
 * Main Stylesheet
 */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary palette */
    --primary-color: #8a9fb3; /* Soft blue-gray */
    --secondary-color: #d8b4a0; /* Dusty peach */
    --accent-color: #6e9075; /* Sage green */
    --neutral-color: #e8e0d9; /* Warm light beige */
    --dark-color: #515559; /* Slate gray */
    
    /* Shades */
    --primary-light: #aec2d2;
    --primary-dark: #6c7f91;
    --secondary-light: #f0d4c5;
    --secondary-dark: #b3937f;
    --accent-light: #8bb094;
    --accent-dark: #4c6350;
    
    /* Fonts */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Nunito Sans', sans-serif;
    
    /* Layout */
    --section-padding: 5rem 0;
    --container-padding: 1.5rem;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

/* ===== IMPORT FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* ===== COMMON STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--neutral-color);
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-desc {
    max-width: 800px;
    margin: 0 auto 2rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.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: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* ===== HEADER ===== */
.site-header {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--dark-color);
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
    text-align: left;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.hero-content p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.7;
}

.hero-swiper .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    opacity: 1;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
}

.swiper-slide:nth-child(1) {
    background-image: url('../images/hero1.jpg');
}

.swiper-slide:nth-child(2) {
    background-image: url('../images/hero2.jpg');
}

.swiper-slide:nth-child(3) {
    background-image: url('../images/hero3.jpg');
}

/* ===== ABOUT SECTION ===== */
.about-feature {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--neutral-color);
}

/* ===== SERVICES SECTION ===== */
.service-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-body {
    padding: 1.5rem;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* ===== FEATURES SECTION ===== */
.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* ===== PRICE PLAN SECTION ===== */
.price-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.price-card.featured {
    transform: translateY(-20px);
    border: 2px solid var(--accent-color);
}

.price-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 0;
    right: 2rem;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 0 1rem 1rem;
}

.price-header {
    padding: 2rem;
    background-color: var(--primary-light);
    text-align: center;
}

.price-header h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.price-body {
    padding: 2rem;
}

.price-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.price-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ===== TEAM SECTION ===== */
.team-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--primary-color);
    margin-bottom: 0;
}

/* ===== REVIEWS SECTION ===== */
.reviews-swiper {
    padding-bottom: 3rem;
}

.review-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    text-align: center;
    height: 100%;
    margin: 1rem;
}

.review-text {
    margin-bottom: 1.5rem;
    position: relative;
}

.review-text i {
    font-size: 2rem;
    color: var(--secondary-light);
    margin-bottom: 1rem;
    display: block;
}

.review-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== CORE INFO SECTION ===== */
.coreinfo-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coreinfo-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
}

.coreinfo-card:hover {
    transform: translateY(-10px);
}

.coreinfo-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-form-wrapper {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
}

.contact-image {
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ===== BLOG SECTION ===== */
.blog-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.blog-link:hover {
    color: var(--accent-dark);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.site-footer small {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== ADDITIONAL PAGES ===== */
.add-page-section {
    padding: var(--section-padding);
}

.feature-item, .card-item, .icon-box, .stat-box {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-item:hover, .card-item:hover, .icon-box:hover, .stat-box:hover {
    transform: translateY(-10px);
}

.image-content {
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-wrapper, .content-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-item {
    margin-bottom: 1.5rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
}

.list-item i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.image-text-box {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.box-image {
    height: 240px;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-content {
    padding: 1.5rem;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--dark-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-box:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 1.5rem;
}

/* ===== SPACE PAGE ===== */
#space {
    height: calc(100vh - 300px);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 99;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
}

/* ===== ANIMATIONS ===== */
.animated-shape {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(138, 159, 179, 0.1);
    z-index: -1;
}

.shape-1 {
    top: 5%;
    left: 5%;
    animation: float 6s infinite ease-in-out;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background-color: rgba(216, 180, 160, 0.1);
    animation: float 8s infinite ease-in-out;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-color: rgba(110, 144, 117, 0.1);
    animation: pulse 5s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
} 