:root {
    --primary-color: #e63946;
    --secondary-color: #2b2d42;
    --light-gray: #edf2f4;
    --dark-gray: #1a1a1a;
    --text-color: #ffffff;
    --petition-color: #2a9d8f;
    --volunteer-color: #703494; /* Google Forms purple */
    --link-color: #4cc9f0;
    --link-hover-color: #72efdd;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-top: 50px; /* Space for fixed ticker banner */
    background-color: var(--dark-gray);
    color: var(--light-gray);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Stock Ticker Banner */
.ticker-banner {
    background: linear-gradient(90deg, #ff0000, #ff6600, #ff0000);
    background-size: 200% 100%;
    animation: ticker-gradient 3s ease-in-out infinite;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ticker-banner a {
    color: inherit;
    text-decoration: underline;
}

.ticker-content {
    display: inline-block;
    animation: ticker-scroll 80s linear infinite;
    padding: 8px 0;
}

.ticker-text {
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-right: 100px;
    display: inline-block;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes ticker-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.header {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.header-bottom {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.header-text {
    flex: 1;
}

.header-text p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0;
}

/* Home logo for sub-pages */
.home-logo {
    position: absolute;
    top: 20px;
    left: 1rem;
    width: 32px;
    height: 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 1;
    display: block;
}

.home-logo::after {
    content: "Home";
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.home-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.home-logo svg {
    width: 100%;
    height: 100%;
    fill: var(--text-color) !important;
}

.home-logo svg path {
    fill: var(--text-color) !important;
}

.gofundme-container {
    flex: 0 0 400px;
    max-width: 400px;
}

/* GoFundMe widget styling */
.gofundme-container [data-view-id="pg_widget"],
.gofundme-container #gfm-campaign-widget {
    background-color: #000 !important;
}

.gofundme-container iframe {
    background-color: #000 !important;
}


/* Button group for 2-column layout */
.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.button-group .button {
    text-align: center;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.main-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    min-width: 160px;
    min-height: 60px;
    box-sizing: border-box;
}

.nav-button:hover {
    background-color: #e02446;
    transform: translateY(-2px);
}

.nav-button.petition {
    background-color: var(--petition-color);
    flex-direction: column;
    gap: 0.2rem;
}

.nav-button.petition:hover {
    background-color: #2ec4b6;
}

.nav-button.facebook {
    background-color: #1877f2;
}

.nav-button.facebook:hover {
    background-color: #166fe5;
}

.nav-button.current-page {
    background-color: var(--secondary-color);
    border: 2px solid var(--text-color);
}

.nav-button.current-page:hover {
    background-color: var(--secondary-color);
    transform: none;
}
.header p a {
    color: var(--text-color) !important;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}
.header p a:hover {
    color: var(--text-color) !important;
    text-decoration: underline;
}

/* Global link styles */
a {
    color: var(--link-color);
    transition: color 0.2s ease;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.section, .main-actions-section {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.main-actions-section h2, .section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.main-actions-section h2 {
    color: var(--light-gray);
}
.flyer-download-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    z-index: 10;
}
.flyer-download-icon:hover {
    background-color: #e02446;
    transform: translateY(-2px);
}
.flyer-download-icon .flyer-text {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.flyer-download-icon .tooltip {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.flyer-download-icon:hover .tooltip {
    opacity: 1;
}
.flyer-download-icon .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(0, 0, 0, 0.9);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.actions-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.button {
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.button img {
    height: 24px;
    width: auto;
}
.button:hover {
    background-color: #e02446;
    transform: translateY(-2px);
}
.action-button {
    flex: 0 1 calc(50% - 0.5rem) !important;
    min-width: 200px;
    min-height: 60px;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
}
.action-button.petition {
    flex-direction: column;
    gap: 0.2rem;
}
.action-button.volunteer {
    flex-direction: row;
    gap: 0.5rem;
}
.action-button.petition, .button.gmail {
    background-color: var(--petition-color);
}
.action-button.petition:hover, .button.gmail:hover {
    background-color: #2ec4b6;
}
.action-button.volunteer {
    background-color: var(--petition-color);
}
.action-button.volunteer:hover {
    background-color: #2ec4b6;
}
.action-button.facebook {
    background-color: #1877f2;
}
.action-button.facebook:hover {
    background-color: #166fe5;
}
.action-button.banner-button {
    background-color: #f77f00;
}
.action-button.banner-button:hover {
    background-color: #ff8c1a;
}
.action-button img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.petition-count {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}
.verified-icon {
    width: 0.8em;
    height: 0.8em;
    color: #007bff;
}
.button.secondary {
     background-color: #8d99ae;
}
.button.secondary:hover {
    background-color: #a2adbf;
}
.urgent-notice {
    background-color: #ffc107;
    color: #000;
    text-align: center;
}
.urgent-notice h2 {
    color: #000;
    border-bottom-color: #000;
}
.urgent-notice p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}
.email-buttons-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.email-button {
    flex: 0 1 auto;
    max-width: 450px;
    min-width: 250px;
}
.urgent-notice p a {
    color: #2b2d42;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px dotted #2b2d42;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
.urgent-notice p a:hover {
    color: #d90429;
    border-bottom-color: #d90429;
}
.urgent-content {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}
.urgent-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}
.urgent-text-content {
    flex: 1;
}
.urgent-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}
.google-form-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}
.google-form-placeholder h3 {
    color: #000;
    margin-top: 0;
    font-size: 1.5rem;
}
.google-form-placeholder p {
    color: #000;
    margin: 0.5rem 0;
}
.form-embed-area {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: 1rem;
}
.form-embed-area p {
    font-style: italic;
    color: #666;
}
textarea {
    width: 100%;
    height: 250px;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    border: 2px solid #8d99ae;
    border-radius: 5px;
    padding: 10px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
.copy-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.contact-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}
.contact-table th, .contact-table td {
    padding: 12px 15px;
    border: 1px solid #4a4e69;
    text-align: left;
}
.contact-table th {
    background-color: #4a4e69;
    font-weight: 700;
}
.contact-table td .button {
    padding: 8px 15px;
    font-size: 1rem;
}
footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    color: #8d99ae;
    position: relative;
}
.version-tag {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #6c757d;
    opacity: 0.7;
}
/* Style for a highlighted table row */
.highlight-row {
    background-color: #ffc107; /* The same yellow as the urgent notice box */
    color: #000; /* Black text for high contrast and readability */
    font-weight: 700; /* Makes the text bold */
}

/* Ensures any bolded text inside the row is also black */
.highlight-row strong {
    color: #000;
}

/* Sub-page specific styles */
.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.merch-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.merch-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.download-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: var(--light-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.download-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.download-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.download-info small {
    color: #8d99ae;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.help-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.help-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.social-share {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: unset;
}

/* Meeting updates styles */
.update-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.update-header h3 {
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.update-date {
    color: #8d99ae;
    font-size: 0.9rem;
    white-space: nowrap;
}

.update-content {
    line-height: 1.6;
}

.update-links {
    margin-top: 1.5rem;
}

.meeting-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.meeting-header h3 {
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.meeting-date {
    color: #8d99ae;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.meeting-details {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.meeting-details p {
    margin-bottom: 0.5rem;
}

.meeting-links {
    margin-top: 1.5rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.guideline-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guideline-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.guideline-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.guideline-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Video page styles */
.featured-video {
    margin-top: 1.5rem;
}

.video-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.video-placeholder h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.video-embed {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.video-embed iframe {
    border-radius: 8px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.video-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-header h3 {
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.video-date {
    color: #8d99ae;
    font-size: 0.9rem;
    white-space: nowrap;
}

.video-content {
    line-height: 1.6;
}

.testimonial-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.testimonial-item, .news-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-header, .news-header {
    margin-bottom: 1rem;
}

.testimonial-header h3, .news-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.instructions {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.instructions ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.instructions li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Mobile Friendliness */
@media (max-width: 768px) {
    .header {
        padding: 2rem 1rem;
    }
    .header-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .header h1 {
        font-size: 2.5rem;
    }
    .header-text p {
        font-size: 1.2rem;
    }
    .gofundme-container {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .button-group {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .home-logo::after {
        display: none;
    }
    .main-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 1.5rem;
        max-width: 100%;
    }
    .nav-button {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 50px;
    }
    .main-actions-section h2, .section h2 {
        font-size: 2rem;
    }
    .main-actions-section h2 {
        padding-top: 0.6rem;
    }
    .contact-table th, .contact-table td {
        padding: 8px;
    }
    .button, .action-button, .email-button {
        width: 100%;
        flex: 1 1 100% !important; /* Forces full width in flex container on mobile */
        box-sizing: border-box;
        min-width: unset;
    }
    .copy-container {
        flex-direction: column;
    }
    .urgent-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .urgent-left, .urgent-right {
        flex: none;
    }
    .flyer-download-icon {
        top: 0.5rem;
        right: 0.5rem;
        padding: 6px 12px;
        border-radius: 16px;
    }
    .flyer-download-icon .flyer-text {
        font-size: 0.75rem;
    }
    .flyer-download-icon svg {
        width: 20px;
        height: 20px;
    }
    .flyer-download-icon .tooltip {
        display: none;
    }
    
    /* Modal responsive styles for mobile */
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: none;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
    }
    
    .phone-link {
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    .shop-link {
        padding: 10px 20px;
        font-size: 1.1rem;
    }    
    
    .modal-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 1.5rem;
    }
    
    /* Sub-page mobile styles */
    .merchandise-grid, .download-grid, .help-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guidelines-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-grid, .testimonial-grid, .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .update-header, .meeting-header, .video-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .update-date, .meeting-date, .video-date {
        white-space: normal;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .social-share {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        max-width: 200px;
    }
}
/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background-color: var(--secondary-color);
    margin: 15% auto;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease;
    box-sizing: border-box;
}
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.modal-content h2 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 2rem;
    text-align: center;
}
.modal-content p {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}
.modal-contact {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}
.phone-link {
    display: inline-block;
    color: var(--text-color);
    background-color: var(--petition-color);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.phone-link:hover {
    background-color: #2ec4b6;
    transform: translateY(-2px);
}
.shop-link {
    display: inline-block;
    color: #283015;
    background-color: #DBFF00;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.shop-link:hover {
    background-color: #e0ff1a;
    transform: translateY(-2px);
    color: #283015;
    text-decoration-color: #283015;
}
.modal-close {
    color: var(--light-gray);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:hover,
.modal-close:focus {
    color: var(--primary-color);
}

/* Gallery Container */
.gallery-wrapper {
    position: relative;
    max-width: 100%;
    height: 300px; /* Adjust height as needed */
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Individual Slides */
.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-slide img:hover {
    transform: scale(1.02);
}

/* Dots Indicator (Optional visual aid) */
.gallery-indicators {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #fff;
}

/* Lightbox (Modal) Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    animation-name: zoom;
    animation-duration: 0.3s;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
/* Navigation Arrows (Gallery) */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3); /* Semi-transparent background */
    z-index: 10;
}

/* Position the "next" button to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Lightbox Specific Navigation */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    font-size: 40px; /* Larger arrows for lightbox */
    padding: 20px;
    color: white;
    z-index: 10001; /* Above image */
    background-color: transparent; /* Clean look for lightbox */
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Ensure Lightbox image doesn't block arrows */
.lightbox-content {
    /* ... existing styles ... */
    position: relative; 
    z-index: 10000;
}