/* MatthewSohn.com Custom Styles */

/* Color Variables */
:root {
    --primary-gray: #585b68;
    --primary-blue: #1e447d;
    --medium-gray: #e0e0e0;
    --light-gray: #f7f7f7;
    --primary-orange: #f2632b;
    --white: #ffffff;
    --dark: #2c3e50;
}

/* original primary-blue: #35a0c3 */

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-gray);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-gray);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--primary-blue);
}

.nav-link {
    color: var(--primary-gray) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d94e1f;
    border-color: #d94e1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 99, 43, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-gray);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a8aa8 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-benefits {
    margin: 1.5rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--white);
}

.benefit-item i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    max-width: 440px;
    width: 100%;
    height: unlimited;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

@media (max-width: 991px) {
    .hero-image {
        max-width: 360px;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-image {
        max-width: 280px;
    }
}

@media (max-width: 575px) {
    .hero-image {
        max-width: 240px;
    }
}

/* Social Proof */
.social-proof {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
}

.rating-text {
    color: var(--primary-gray);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--white);
}

.section-gray {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Book Section */
.book-cover {
    max-width: 440px;
    height: unlimited;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .book-image {
        max-width: 360px;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .book-image {
        max-width: 280px;
    }
}

@media (max-width: 575px) {
    .book-image {
        max-width: 240px;
    }
}

.amazon-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amazon-button i {
    margin-right: 0.5rem;
}

.amazon-kindle {
    background-color: #232f3e;
    color: var(--white);
}

.amazon-kindle:hover {
    background-color: #131921;
    color: var(--white);
}

.amazon-paperback {
    background-color: var(--primary-orange);
    color: var(--white);
}

.amazon-paperback:hover {
    background-color: #d94e1f;
    color: var(--white);
}

/* Testimonials */
.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-gray);
}

.testimonial-location {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Philosophy Section */
.philosophy-item {
    margin-bottom: 2rem;
}

.philosophy-term {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.philosophy-definition {
    color: var(--primary-gray);
}

/* Services */
.service-category {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Events */
.event-card {
    background-color: var(--white);
    border-left: 4px solid var(--primary-blue);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    border-left-color: var(--primary-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.event-date {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-time {
    color: var(--primary-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.event-format {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--primary-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 1.5rem;
    color: var(--primary-gray);
    margin-bottom: 1rem;
}

.event-description {
    color: var(--primary-gray);
    margin-bottom: 1.5rem;
}

/* About Page */
.about-image {
    max-width: 440px;
    width: 100%;
    height: unlimited;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .about-image {
        max-width: 360px;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .about-image {
        max-width: 280px;
    }
}

@media (max-width: 575px) {
    .about-image {
        max-width: 240px;
    }
}

.credentials-list {
    list-style: none;
    padding-left: 0;
}

.credentials-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--medium-gray);
    font-weight: 600;
}

.credentials-list li:last-child {
    border-bottom: none;
}

.credentials-list li::before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: 700;
    margin-right: 0.75rem;
}

/* Contact Form */
.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-info-content h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    margin-bottom: 0;
    color: var(--primary-gray);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(53, 160, 195, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-gray);
}

/* Footer */
.footer {
    background-color: var(--primary-gray);
}

.footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.text-light-gray {
    color: rgba(255, 255, 255, 0.7);
}

.text-light-gray:hover {
    color: var(--white);
}

/* Utility Classes */
.bg-light-gray {
    background-color: var(--light-gray);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.text-primary-orange {
    color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
}
