/* ==========================================
   Dharma Consulting LLC - Website Styles
   ========================================== */

/* Color Variables */
:root {
    --purple-smoke: #9B8FA5;
    --evergreen: #3D5A4C;
    --peach: #E8B4A0;
    --light-purple: #D4C9DB;
    --cream: #FAF7F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-medium: #555555;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--purple-smoke) 0%, var(--evergreen) 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(155, 143, 165, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.website-url {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--peach);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(155, 143, 165, 0.88), rgba(61, 90, 76, 0.88)),
                url('images/hero-background.jpg'),
                linear-gradient(135deg, var(--purple-smoke) 0%, var(--evergreen) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback if image doesn't load */
.hero.no-image {
    background: linear-gradient(rgba(155, 143, 165, 0.88), rgba(61, 90, 76, 0.88)),
                linear-gradient(135deg, var(--purple-smoke) 0%, var(--evergreen) 100%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.98;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--peach);
    color: var(--evergreen);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: Georgia, serif;
}

.cta-button:hover {
    background-color: #f5c9b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.text-link {
    color: var(--purple-smoke);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.text-link:hover {
    color: var(--evergreen);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    color: var(--purple-smoke);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(155, 143, 165, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(155, 143, 165, 0.25);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.card-accent.purple {
    background-color: var(--purple-smoke);
}

.card-accent.peach {
    background-color: var(--peach);
}

.card-accent.green {
    background-color: var(--evergreen);
}

.service-card h3 {
    color: var(--purple-smoke);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.column h2 {
    color: var(--purple-smoke);
    margin-bottom: 1rem;
    text-align: left;
}

.large-text {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--evergreen);
    font-weight: bold;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--cream) 100%);
    border: 2px solid var(--purple-smoke);
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    font-size: 3rem;
    color: var(--purple-smoke);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--cream) 100%);
    padding: 4rem 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--purple-smoke) 0%, var(--evergreen) 50%, var(--purple-smoke) 100%);
    color: white;
    padding: 4rem 2rem;
}

/* Quote Box */
.quote-box {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--purple-smoke);
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--peach);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--purple-smoke);
    box-shadow: 0 2px 10px rgba(155, 143, 165, 0.1);
}

.feature-item h4 {
    color: var(--evergreen);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-medium);
}

/* Content Sections */
.content-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(155, 143, 165, 0.12);
    margin-bottom: 2rem;
}

.about-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--cream) 100%);
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(155, 143, 165, 0.1);
}

.about-section h2 {
    color: var(--evergreen);
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-purple);
    border-radius: 5px;
    font-family: Georgia, serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-smoke);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(to right, var(--purple-smoke), var(--evergreen));
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--peach);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--evergreen);
        padding: 1rem 2rem;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}