/*
 * Apprenticeship Page Specific Styles
 * This extends the base styles.css from the main site
 */

/* Background colors & palette */
:root {
    --primary: #4a7c59;     /* Forest Green */
    --primary-light: #6a9979;
    --primary-dark: #2a5c39;
    --secondary: #c97c5d;   /* Terracotta */
    --secondary-light: #e99c7d;
    --secondary-dark: #a95c3d;
    --accent: #f3b61f;      /* Golden Yellow */
    --light: #f8f9f0;       /* Off-white */
    --dark: #1a2f22;        /* Deep Forest */
    --gray: #454545;        /* Charcoal */
    --light-gray: #e4e6dd;  /* Light Stone */
}

/*
 * Fix for header spacing and positioning
 */
body{
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 1000 !important;
}

/* Adjust navigation to prevent overlapping with content */
#mainNav {
    /*padding-top: 1rem;
    padding-bottom: 1rem;*/
    height: auto;
    background-color: rgba(20,20,20,0.8);
    color:white;
}

#mainNav .nav-link{
    padding:0rem 1rem;
}
.nav-link:link{
    color:var(--primary);
}

/* Ensure content sections don't stack incorrectly */
section {
    position: relative;
    overflow: hidden;
}

/* For mobile screens, adjust padding to prevent header from being too large */
@media (max-width: 768px) {
    .apprenticeship-masthead {
        padding: 10rem 0;
        min-height: 20rem;
    }

    .apprenticeship-masthead h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .apprenticeship-masthead h2 {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
  #mainNav.navbar-shrink .nav-link {
    color: var(--primary);
    padding: 0.5rem 1rem 0.5rem;
    border-bottom: 0.25rem solid transparent;
  }
  #mainNav.navbar-shrink .nav-link:hover {
    color: var(--primary);
  }
  #mainNav.navbar-shrink .nav-link:active {
    color: var(--primary);
  }
  #mainNav.navbar-shrink .nav-link.active {
    color: var(--primary);
    outline: none;
    border-bottom: 0.25rem solid #64a19d;
  }
}

/* Ensure sections have proper spacing between them */
section:not(:first-of-type) {
    margin-top: 0;
}

/* Fix any overflow issues with images */
img.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Ensure project cards maintain proper dimensions */
.project-card {
    height: 100%;
}

/* Improve pricing cards layout */
.pricing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    flex-grow: 1;
}

/* Add smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Fix for scrolling to anchors with fixed header */
html {
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Hero Section */
.apprenticeship-masthead {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%), url("../assets/img/bg-masthead-apprenticeship-2-green.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.apprenticeship-masthead h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.15rem;
    background: linear-gradient(rgba(243, 182, 31, 1), rgba(31, 231, 243, 0.8));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.apprenticeship-masthead h2 {
    max-width: 30rem;
    font-size: 1.2rem;
    margin: 0 auto;
    color: var(--light);
}

@media (min-width: 768px) {
    .apprenticeship-masthead h1 {
        font-size: 4.5rem;
        line-height: 4.5rem;
    }
    .apprenticeship-masthead h2 {
        max-width: 40rem;
        font-size: 1.5rem;
    }
}

/* Navigation & Sticky Elements */
.navbar {
    transition: background-color 0.3s ease-in-out;
}

.navbar.navbar-scrolled {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.apply-button {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    color: var(--light);
    background-color: var(--primary);
    transition: all 0.3s ease-in-out;
}

.apply-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Problem Statement Section */
.problem-section {
    background-color: var(--dark);
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 1rem;
    color: var(--light);
}

/* About Section */
.about-section {
    padding: 10rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%), url("../assets/img/bg-masthead-apprenticeship-1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-section p {
  margin-bottom: 1rem;
}

.skill-pillar {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.skill-pillar:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.skill-pillar i {
    color: var(--accent);
}

.skill-pillar h3 {
    color: var(--light);
}

.skill-pillar p {
    color: var(--light-gray);
}

/* Curriculum Section */
.curriculum-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

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

.curriculum-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.curriculum-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.curriculum-card ul {
    list-style-type: none;
    padding-left: 0;
}

.curriculum-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.curriculum-card ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Experience Section */
.experience-section {
    background-color: white;
}

.experience-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.experience-content h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.experience-list li {
    margin-bottom: 0.5rem;
}

.experience-list li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.schedule-card {
    background-color: var(--light-gray);
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.schedule-card:hover {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.schedule-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.schedule-card ul {
    list-style-type: none;
    padding-left: 0;
}

.schedule-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.schedule-card ul li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Projects Section */
.projects-section {
    background-color: var(--dark);
}

.project-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1.5rem;
    color: white;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Mentor Section */
.mentor-section {
    background-color: white;
}

.mentor-image {
    text-align: center;
}

.mentor-image img {
    width: 75%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mentor-bio h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.mentor-bio .lead {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.mentor-skills {
    margin-top: 1.5rem;
}

.mentor-skills .badge {
    background-color: var(--primary-light);
    color: white;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
    border-radius: 2rem;
}

/* Pricing Options */
.options-section {
    background-color: var(--light-gray);
}

.pricing-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    background-color: var(--primary-light);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.featured-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    transform: translateY(-50%);
    border-radius: 0 0 0 0.5rem;
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-period {
    font-size: 1rem;
}

.pricing-features {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-features ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.pricing-features ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features ul li i {
    position: absolute;
    left: 0;
}

.pricing-features ul li i.fa-check {
    color: var(--primary);
}

.pricing-features ul li i.fa-times {
    color: #dc3545;
}

.pricing-housing {
    padding: 0 2rem 1rem;
    background-color: var(--light-gray);
}

.pricing-housing ul {
    list-style-type: none;
    padding-left: 0;
}

.pricing-housing ul li {
    margin-bottom: 0.5rem;
}

.pricing-cta {
    padding: 2rem;
    text-align: center;
}

.custom-options {
    margin-top: 3rem;
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(74, 124, 89, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(74, 124, 89, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a7c59'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

/* Application Process */
.apply-section {
    background-color: var(--dark);
    color: white;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.process-step p {
    color: var(--light-gray);
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.form-control {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--light-gray);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 124, 89, 0.25);
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--light-gray);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.social a:hover {
    background-color: var(--primary);
    color: white;
}

.btn{
    font-size:100% !important;
    font-weight: 600 !important;
}

/* General Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
        margin: 1rem 0;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

/* Animation elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {}


/*
 * Enhanced farm and permaculture focused styling
 * Add these styles to the apprenticeship.css file
 */



.apprenticeship-masthead h1 {
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);*/
    color: var(--accent);
}

/* Nature icons throughout */
.curriculum-icon i,
.skill-pillar i,
.experience-list i {
    color: var(--accent);
}

/* Plant-inspired decorative elements */
.curriculum-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    width: 30px;
    height: 30px;
    /*background: url('../assets/img/leaf-icon.svg') no-repeat;*/
    background-size: contain;
    opacity: 0.15;
    transform: rotate(45deg);
}

.experience-section {
    position: relative;
}

.experience-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    /*background: url('../assets/img/plant-pattern.svg') no-repeat;*/
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
}

/* Soil-textured background for sections */
.curriculum-section {
    background-color: var(--light);
    background-image: url('../assets/img/soil-texture.jpg');
    background-blend-mode: overlay;
    background-size: 200px;
}

/* Enhanced focus on farm life */
.schedule-card {
    border-left: 4px solid var(--primary);
}

/* Farm gallery enhancements */
.gallery-section {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.gallery-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /*background: url('../assets/img/leaf-pattern.svg') no-repeat;*/
    background-position: right bottom;
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

/* Project cards with plant-inspired styling */
.project-card {
    border-radius: 0 2rem 0 2rem;
    overflow: hidden;
}

.project-content {
    border-radius: 0 0 0 2rem;
}

/* Highlighting permaculture elements */
.permaculture-highlight {
    background-color: rgba(74, 124, 89, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin-bottom: 2rem;
}

.permaculture-highlight h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Enhanced buttons with organic feel */
.btn-primary,
.btn-outline-primary {
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease-in-out;
}

/* Custom accordion styling with leaf indicators */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a7c59'%3E%3Cpath d='M21.9 6.5c-1.4 1.4-2.8 2.9-4.1 4.3-1.4 1.4-2.8 2.9-4.1 4.3-.2.3-.6.5-1.1.5-.4 0-.8-.2-1.1-.5-1.3-1.4-2.7-2.9-4.1-4.3-1.4-1.4-2.7-2.9-4.1-4.3-.6-.6-.6-1.5 0-2.1.6-.6 1.5-.6 2.1 0l7.2 7.5 7.2-7.5c.6-.6 1.5-.6 2.1 0 .5.6.5 1.5 0 2.1z'/%3E%3C/svg%3E");
    width: 1.25rem;
    height: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a7c59'%3E%3Cpath d='M21.9 17.5c-1.4-1.4-2.8-2.9-4.1-4.3-1.4-1.4-2.8-2.9-4.1-4.3-.2-.3-.6-.5-1.1-.5-.4 0-.8.2-1.1.5-1.3 1.4-2.7 2.9-4.1 4.3-1.4 1.4-2.7 2.9-4.1 4.3-.6.6-.6 1.5 0 2.1.6.6 1.5.6 2.1 0l7.2-7.5 7.2 7.5c.6.6 1.5.6 2.1 0 .5-.6.5-1.5 0-2.1z'/%3E%3C/svg%3E");
}

/* Seasonal color indicators */
.season-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.season-spring {
    background-color: #e2f5d3;
    color: #3c7d3c;
}

.season-summer {
    background-color: #ffefd3;
    color: #d18215;
}

.season-fall {
    background-color: #ffe0cc;
    color: #c7532c;
}

.season-winter {
    background-color: #e6f0ff;
    color: #3a5c9c;
}

/* Enhanced stats that look like garden labels */
.stat-card {
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
    border-bottom: 4px solid var(--accent);
}

.stat-card::after {
    content: "";
    position: absolute;
    left: calc(50% - 7px);
    bottom: -14px;
    width: 14px;
    height: 10px;
    background-color: var(--accent);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}