/* JedMedford.css - Earth Tones & Western Styling */

/* changed CSS Variables for JedMedford colors */

:root {
    --tan-light: #F4EDD9;
    --brown-medium: #A0826D;
    --cream: #FAF6EE;
    --beige-warm: #DED0B6;
    --text-black: #FFFFFF;
    --brown-dark: #8B6F47;
    --brown-darker: #6B5639;
}
/* --tan-light: #F4EDD9;
    --brown-medium: #A0826D;
    --cream: #FAF6EE;
    --beige-warm: #DED0B6;
    --text-black: #FFFFFF;
    --brown-dark: #8B6F47;
    --brown-darker: #6B5639;
	
	#FFFF00*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--tan-light);
    color: var(--text-black);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Subtle texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(139, 111, 71, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(139, 111, 71, 0.03) 3px
        );
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* Header Styles */
header {
    background-color: var(--brown-medium);
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--brown-dark);
}

header h1 {
    color: var(--text-black);
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-black);
    text-decoration: none;
    letter-spacing: 1px;
}

.membership-badge {
    margin-top: 10px;
}

.membership-badge p {
    color: var(--text-black);
    font-style: italic;
    font-size: 0.9em;
}

/* Navigation */
nav {
    margin-top: 15px;
}

nav a {
    color: var(--text-black);
    text-decoration: none;
    padding: 8px 15px;
    font-weight: bold;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(0,0,0,0.1);
    border-radius: 3px;
}

.center-block {
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-darker) 100%);
    color: var(--text-black);
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--tan-light));
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-black);
}

.hero .tagline {
    font-size: 1.4rem;
    color: var(--text-black);
    margin-bottom: 2rem;
    font-weight: 600;
    font-style: italic;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-black);
}

/* Main Content */
main {
    background-color: var(--cream);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#home {
    background-color: var(--cream);
    padding: 20px;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--brown-dark);
}

/* Headings */
h2 {
    font-family: 'Crimson Pro', serif;
    color: var(--text-black);
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brown-medium);
}

h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--text-black);
}

/* Services Section */
.services-section {
    background: var(--beige-warm);
    padding: 5rem 5%;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.services-intro h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: var(--text-black);
    margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
    background: var(--cream);
    padding: 3rem;
    border-top: 4px solid var(--brown-medium);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    color: var(--text-black);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-black);
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-left: 20px;
}

.service-card li {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.service-card li::before {
    content: "• ";
    color: var(--brown-medium);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.service-card a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-link {
    display: inline-block;
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--brown-medium);
    transition: all 0.3s ease;
    background: var(--tan-light);
}

.service-link:hover {
    background: var(--brown-medium);
    color: var(--cream);
    border-color: var(--brown-dark);
}

/* Content Boxes */
.writes {
    background-color: var(--beige-warm);
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid var(--brown-medium);
    border-radius: 3px;
}

/* Paragraphs */
p {
    margin: 12px 0;
}

/* Links */
a {
    color: var(--brown-dark);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--brown-darker);
    text-decoration: underline;
}

/* Lists */
ul {
    margin: 15px 0;
}

.flush-left {
    list-style-position: inside;
    padding-left: 20px;
}

ul li {
    margin: 8px 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about-section {
    background: var(--brown-medium);
    color: var(--text-black);
    padding: 5rem 5%;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-black);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Approach Section */
.approach-section {
    background: var(--cream);
    padding: 5rem 5%;
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.approach-item {
    padding: 2rem;
    background: var(--beige-warm);
    border-left: 3px solid var(--brown-dark);
}

.approach-item h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--text-black);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Final CTA Section */
.final-cta {
    background: var(--brown-dark);
    color: var(--text-black);
    padding: 5rem 5%;
    text-align: center;
}

.final-cta h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--cream);
    color: var(--text-black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid var(--text-black);
    margin: 0 10px;
}

.cta-button:hover {
    background: var(--brown-medium);
    color: var(--cream);
    transform: translateY(-2px);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid var(--text-black);
    margin: 0 10px;
}

.cta-button-secondary:hover {
    background: var(--cream);
    color: var(--text-black);
}

.back-to-top {
    display: inline-block;
    margin: 20px auto;
    padding: 10px 20px;
    background: var(--brown-medium);
    color: var(--text-black);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--brown-dark);
    color: var(--cream);
}

/* Footer */
footer {
    background: var(--brown-medium);
    color: var(--text-black);
    padding: 2rem 5%;
    text-align: center;
    border-top: 3px solid var(--brown-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 5% 3rem;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .content-section {
        padding: 3rem 5%;
    }

    .services-section {
        padding: 3rem 5%;
    }

    .final-cta {
        padding: 3rem 5%;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    body {
        font-size: 16px;
    }

    main {
        padding: 15px;
    }

    #home {
        padding: 10px;
    }

    .writes {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .final-cta h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-button, .cta-button-secondary {
        display: block;
        margin: 10px auto;
    }

    nav {
        font-size: 0.9em;
    }

    ul {
        padding-left: 20px;
    }
}