/* Estate Planning & Probate Boutique - Main Styles */

/* Custom Properties */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b6914;
    --accent-color: #c9302c;
    --neutral-color: #95a5a6;
    --dark-color: #1a252f;
    --primary-light: #34495e;
    --primary-dark: #1a252f;
    --secondary-light: #b8860b;
    --secondary-dark: #654b0f;
    --accent-light: #d9534f;
    --accent-dark: #a02622;
    --neutral-light: #bdc3c7;
    --neutral-dark: #7f8c8d;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-light) !important;
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#hero-title-1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero-subtitle-1 {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

#hero-desc-1 {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    max-width: 500px;
}

/* About Section */
#about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-feature {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Services Section */
#services {
    padding: 80px 0;
    background: #fff;
}

.service-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(139,105,20,0.1), transparent);
    transition: all 0.5s ease;
}

.service-item:hover::before {
    top: -50%;
    left: -50%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-price {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 1rem 0;
}

/* Features Section */
#features {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* Price Plan Section */
#priceplan {
    padding: 80px 0;
    background: #f8f9fa;
}

.price-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: #fff;
}

/* Team Section */
#team {
    padding: 80px 0;
    background: #fff;
}

.team-member {
    text-align: center;
    margin-bottom: 3rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--primary-light);
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
    border-color: var(--secondary-color);
}

/* Reviews Section */
#reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.review-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    position: relative;
}

.review-item::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-light);
    opacity: 0.3;
}

/* Case Study Section */
#casestudy {
    padding: 80px 0;
    background: #fff;
}

.case-study-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.case-study-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Process Section */
#process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--secondary-color);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Timeline Section */
#timeline {
    padding: 80px 0;
    background: #fff;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 20px;
    width: 2px;
    height: calc(100% + 2rem);
    background: var(--secondary-light);
}

.timeline-item:last-child::after {
    display: none;
}

/* Career Section */
#career {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.career-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.career-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Core Info Section */
#coreinfo {
    padding: 80px 0;
    background: var(--primary-color);
    color: #fff;
}

.info-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-light);
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(139,105,20,0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139,105,20,0.3);
}

/* Blog Section */
#blog {
    padding: 80px 0;
    background: #fff;
}

.blog-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.blog-content {
    padding: 2rem;
}

/* FAQ Section */
#faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background: #fff;
    color: var(--primary-color);
    font-weight: 500;
    padding: 1.25rem;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-button:not(.collapsed) {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Gallery Section */
#gallery {
    padding: 80px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

footer h5 {
    color: var(--secondary-light);
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-light);
}

#site-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Swiper Styles */
.swiper {
    padding: 20px 0 50px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 2rem 0;
}

.breadcrumb img {
    height: 20px;
    width: auto;
    opacity: 0.6;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeIn 0.6s ease-in;
    }
    
    .slide-up {
        animation: slideUp 0.6s ease-out;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Utilities */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-title h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: normal;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}

/* Additional Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0 50px;
    color: #fff;
    text-align: center;
}

.page-section {
    padding: 60px 0;
}

.page-section:nth-child(even) {
    background: #f8f9fa;
}

/* Space Page */
#space {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
} 