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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #ACFFAD;
    color: #FF0000;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navigation */
.navbar {
    background-color: #ACFFAD;
    padding: 1rem 2rem;
    border-bottom: 3px solid #FF0000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #FF0000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FF0000;
}

.logo-text {
    color: #ACFFAD;
    font-size: 9px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: #FF0000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.7;
}

.flag-icon {
    height: 1rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s;
    display: block;
}

.social-icons a img {
    height: 30px;
    width: auto;
    display: block;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: space-between;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ACFFAD;
    border: 2px solid #FF0000;
    list-style: none;
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #FF0000;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero Section (Homepage) */
.hero-section {
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #FF0000;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #FF0000;
}

.hero-text strong {
    font-weight: bold;
}

.seen-on {
    margin-top: 2rem;
}

.seen-on h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.media-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.logo-item {
    padding: 0.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-image {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 3px solid #FF0000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.photo-credit {
    position: absolute;
    bottom: 8px;
    right: 20px;
    font-size: 0.7rem;
    color: #FF0000;
    padding: 4px 8px;
    border-radius: 3px;
}

/* Page Content */
.page-content {
    padding: 2rem 2rem;
    min-height: calc(100vh - 200px);
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.3);
    border: 3px solid #FF0000;
    padding: 3rem;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #FF0000;
}

/* About Page */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text-container {
    display: flex;
    flex-direction: column;
}

.about-text-container .page-title {
    margin-bottom: 2rem;
}

.about-text-container p {
    font-size: 1rem;
    line-height: 1.8;
}

.about-text-container a {
    color: #FF0000;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.about-text-container a:hover {
    color: #FF4444;
}

.about-image-container {
    position: relative;
}

.about-img {
    width: 100%;
    max-height: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Work With Me - Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    text-decoration: none;
    display: block;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
    max-width: 400px;
    margin: 0 auto;
}

.service-card:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.service-image img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    display: block;
    margin: 0 auto 1rem auto;
    object-fit: cover;
}

.service-image .image-placeholder {
    height: 300px;
    margin-bottom: 1rem;
}

.service-card h2 {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #FF0000;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.column {
    font-size: 1rem;
}

.column h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.column p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Workshop List */
.workshop-list {
    list-style-position: inside;
    margin: 1rem 0;
}

.workshop-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding-top: 0;
}

.testimonials h3 {
    margin-top: 0;
}

.testimonials blockquote {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-left: 4px solid #FF0000;
}

.testimonials blockquote:first-of-type {
    margin-top: 0;
}

.testimonials cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
}

/* Advocacy Content */
.advocacy-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
}

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

/* Content Creation */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-text-container {
    display: flex;
    flex-direction: column;
}

.content-text-container .page-title {
    margin-bottom: 2rem;
}

.content-text-container p {
    font-size: 1rem;
    line-height: 1.8;
}

.content-text-container a {
    color: #FF0000;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.content-text-container a:hover {
    color: #FF4444;
}

.content-image-container {
    position: relative;
}

.content-img {
    width: 100%;
    max-height: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Press */
.press-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.press-text-container {
    display: flex;
    flex-direction: column;
}

.press-text-container .page-title {
    margin-bottom: 2rem;
}

.press-text-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.press-image-container {
    position: relative;
}

.press-img {
    width: 100%;
    max-height: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Resources Page */
.resources-content {
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 2rem auto;
}

.resource-item {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border: 2px solid #FF0000;
}

.resource-item h3 {
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #FF0000;
    color: #ACFFAD;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
}

.download-btn:hover {
    transform: translateY(-3px);
    background-color: #FF4444;
}

.coming-soon {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Press Page */
.press-image {
    height: 400px;
}

.press-image-container {
    position: relative;
}

.press-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.press-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.press-list a {
    color: #FF0000;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
    flex: 1;
}

.press-list a:hover {
    color: #FF4444;
}

.language-flag {
    height: 1rem;
    width: auto;
    display: inline-block;
    flex-shrink: 0;
}

.press-links {
    margin-top: 2rem;
}

/* Blog Page */
.blog-content {
    text-align: center;
}

.blog-link {
    color: #FF0000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-link:hover {
    color: #FF4444;
}

.blog-posts {
    margin-top: 3rem;
}

/* Articles & Stories Page */
.article-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 2rem 0;
}

.article-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-list a {
    color: #FF0000;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-list a:hover {
    color: #FF4444;
}

.story-tag {
    font-size: 0.85rem;
    font-weight: normal;
    opacity: 0.8;
}

/* Contact Page */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper {
    margin-top: 1rem;
}

.contact-form {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #FF0000;
    background-color: rgba(255, 255, 255, 0.5);
    color: #FF0000;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.submit-btn {
    padding: 1rem 3rem;
    background-color: #FF0000;
    color: #ACFFAD;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background-color: #FF4444;
}

.contact-email {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #FF0000;
}

.email-link {
    color: #FF0000;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

/* Accessibility Toggle Button */
.accessibility-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 0;
}

.accessibility-btn:hover {
    transform: translateY(-3px);
}

.accessibility-icon {
    width: 40px;
    height: 40px;
    display: block;
}

/* Black text mode for accessibility */
body.black-text-mode {
    color: #000000;
}

body.black-text-mode .hero-title,
body.black-text-mode .page-title,
body.black-text-mode .hero-text,
body.black-text-mode .column,
body.black-text-mode .column h3,
body.black-text-mode .column p,
body.black-text-mode .service-card h2,
body.black-text-mode .about-text-container p,
body.black-text-mode .content-text-container p,
body.black-text-mode .press-text-container h2,
body.black-text-mode .advocacy-content p,
body.black-text-mode .workshop-list li,
body.black-text-mode .testimonials cite,
body.black-text-mode .story-tag,
body.black-text-mode .form-group label,
body.black-text-mode .intro-text,
body.black-text-mode .resource-item h3,
body.black-text-mode .coming-soon,
body.black-text-mode .seen-on h3,
body.black-text-mode .photo-credit {
    color: #000000;
}

body.black-text-mode .nav-menu a,
body.black-text-mode .press-list a,
body.black-text-mode .article-list a,
body.black-text-mode .blog-link,
body.black-text-mode .email-link,
body.black-text-mode .about-text-container a,
body.black-text-mode .content-text-container a {
    color: #000000;
}

body.black-text-mode .nav-menu a:hover,
body.black-text-mode .nav-menu a.active,
body.black-text-mode .press-list a:hover,
body.black-text-mode .article-list a:hover,
body.black-text-mode .blog-link:hover,
body.black-text-mode .about-text-container a:hover,
body.black-text-mode .content-text-container a:hover {
    color: #333333;
}

body.black-text-mode .form-group input,
body.black-text-mode .form-group textarea {
    color: #000000;
}

/* Footer */
footer {
    background-color: #FF0000;
    color: #ACFFAD;
    text-align: center;
    padding: 0.3rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #FF0000;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 0, 0, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #FF0000;
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-8px);
}

.hamburger-line:nth-child(2) {
    transform: translateY(0);
}

.hamburger-line:nth-child(3) {
    transform: translateY(8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(0);
}

/* Responsive Design */
@media (max-width: 1300px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-layout,
    .content-layout,
    .press-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation for tablets and mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ACFFAD;
        border: 0 solid #FF0000;
        border-top: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, border-width 0.3s ease;
        z-index: 1000;
    }

    .nav-wrapper.active {
        max-height: 800px;
        border-width: 3px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    /* Mobile dropdown - always visible and indented */
    .dropdown-arrow {
        display: none;
    }

    .dropdown-menu {
        display: block;
        position: static;
        border: none;
        padding: 0;
        background-color: transparent;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    }

    .dropdown-menu a {
        padding-left: 2rem;
        font-size: 0.9rem;
        background-color: rgba(255, 0, 0, 0.05);
    }

    .social-icons {
        justify-content: center;
        padding: 1rem;
        border-top: 2px solid #FF0000;
        flex-wrap: wrap;
    }

    .social-icons a img {
        height: 32px;
    }

    /* Hero section */
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

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

    .media-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .logo-item img {
        max-height: 40px;
    }

    /* Content containers */
    .content-container {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Form elements - better touch targets */
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .download-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        display: block;
        text-align: center;
    }

    /* Testimonials */
    .testimonials blockquote {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Workshop list */
    .workshop-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo-image {
        height: 60px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    /* Hero section */
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .seen-on h3 {
        font-size: 1rem;
    }

    .media-logos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .logo-item {
        padding: 0.8rem;
    }

    /* Page content */
    .page-content {
        padding: 1.5rem 1rem;
    }

    .content-container {
        padding: 1.2rem;
        border-width: 2px;
    }

    .page-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    /* Text content */
    .about-text p,
    .column p,
    .advocacy-content p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .column h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem 0;
    }

    /* Service cards */
    .service-card h2 {
        font-size: 1.3rem;
    }

    /* Resources */
    .intro-text {
        font-size: 1rem;
    }

    .resource-item {
        padding: 1.5rem;
    }

    .resource-item h3 {
        font-size: 1.2rem;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    /* Testimonials */
    .testimonials blockquote {
        padding: 1rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .testimonials cite {
        font-size: 0.85rem;
    }

    /* Workshop list */
    .workshop-list li {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    /* Social icons in mobile menu */
    .social-icons a img {
        height: 28px;
    }

    /* Footer */
    footer {
        padding: 0.5rem;
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }
}
