.gruppo-regular {
    font-family: "Gruppo", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
:root {
    /* Hello Angels Purple Palette */
    --angel-core-purple: #7D2EFF;        /* Primary brand purple */
    --lavender-light: #B897FF;           /* Backgrounds, hover states */
    --deep-halo-violet: #4B00C9;         /* Accent for borders, text shadows */
    --dream-lilac: #CBB8FF;              /* Secondary background, cards */
    --soft-orchid-mist: #E4D7FF;         /* Section backgrounds or gradients */
    
    /* Complementary Colors */
    --halo-gold: #FFCC66;                /* Buttons, call-to-action highlights - lighter web safe gold */
    --wing-charcoal: #2D2D2D;            /* Headings, icon outlines */
    --heaven-white: #FFFFFF;             /* Background and text contrast */
    
    /* Legacy variable mappings for compatibility */
    --dark-grey: #2D2D2D;
    --light-grey: #a5a5a5;
    --white: #FFFFFF;
    --gold: #FFCC66;
    --lightgold: #B897FF;
    --purple: #7D2EFF;
    --deep-purple: #4B00C9;
    --lightpurple: #B897FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip link for keyboard navigation accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--deep-halo-violet);
    color: var(--heaven-white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: bold;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Visually hidden class for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid var(--halo-gold);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--halo-gold);
    outline-offset: 2px;
}

@keyframes rockBackAndForth {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(30deg);
    }
    75% {
        transform: rotate(-30deg);
    }
}

body {
    font-family: Arial, sans-serif;
    color: var(--wing-charcoal);
    padding-top: 250px; /* Increased to account for larger header */
    font-family: Gruppo, Garamond, 'Ysabeau Office', Verdana, Arial, Helvetica, sans-serif;
}

.wrap {
    margin: 0 auto;
    max-width: 1170px;
}

header {
    color: var(--deep-halo-violet);
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.logo-container {
    max-width: 200px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.logo-container img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 8px solid var(--deep-halo-violet);
    transition: all 0.3s ease;
}

header.scrolled .logo-container img {
    content: url('logo/halologo.jpg');
    border-width: 3px;
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.header-social-icons {
    display: none;
    gap: 1rem;
    margin-left: auto;
}

.header-social-icons img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
    border-radius: 50%;
    border: 2px solid var(--angel-core-purple);
    padding: 2px;
}

.header-social-icons img:hover {
    transform: scale(1.1);
}

header.scrolled {
    padding: 0.5rem 1rem;
    justify-content: flex-start;
    /* background-color:rgb(237 206 141 / 90%) */
    border-bottom:2mm ridge rgba(255, 204, 102, .7);
}

header.scrolled .logo-container {
    max-width: 45px;
}

header.scrolled h1 {
    font-size: 1.4rem;
    margin-left: 1rem;
    font-weight: bold;
}

header.scrolled .header-social-icons {
    display: flex;
}

h1 {
    font-family: "Gruppo";
    font-size: 2.5rem;
    margin: 0;
    transition: all 0.3s ease;
}

h2 {
    /* color: var(--angel-core-purple); */
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(75, 0, 201, 0.2);
}

section {
    padding: 3rem 1rem;
}

#about {
    background: linear-gradient(180deg, var(--dream-lilac), var(--soft-orchid-mist));
    color: var(--wing-charcoal);
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4rem;
}

#mission-stmt {
    font-weight: bold;
    color: dimgray
}

#facebook-feed {
    background-color: var(--white);
    text-align: center;
}

#facebook-feed iframe {
    max-width: 100%;
    margin: 0 auto;
}

#monetary {
    background-color: var(--halo-gold);
    color: var(--wing-charcoal);
}

#monetary h2 {
    color: var(--wing-charcoal);
    text-shadow: none;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.payment-method {
    background-color: var(--deep-halo-violet);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    border: 2px solid var(--lavender-light);
    box-shadow: 0 4px 6px rgba(75, 0, 201, 0.3);
    letter-spacing: 0.15rem;
}

.payment-method h3 {
    margin-bottom: 1rem;
    color: var(--heaven-white);
    font-weight: 400;
    font-size: 1.8rem;
}

.payment-method a {
    color: var(--heaven-white);
    text-decoration: none;
    font-weight: 600;
}

.payment-method a:hover {
    text-decoration: underline;
}

#social-media {
    background: linear-gradient(135deg, var(--angel-core-purple), var(--lavender-light));
    color: var(--heaven-white);
    padding: 1.5rem 1rem; /* Decreased height */
    border-bottom: 4px solid var(--halo-gold);
}
#social-media h2 {
    color: var(--heaven-white);
    text-shadow: 2px 2px 4px rgba(75, 0, 201, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.social-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    background-color: var(--heaven-white);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--soft-orchid-mist);
    box-shadow: 0 2px 4px rgba(125, 46, 255, 0.2);
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link:hover .social-icon {
    animation: none;
    transform: rotate(0deg);
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    animation: rockBackAndForth 2s ease-in-out infinite;
}

.social-icon:nth-child(2) {
    animation-delay: 0.5s;
}

#contact {
    background: linear-gradient(180deg, #F5F0FF, var(--soft-orchid-mist));
    color: var(--wing-charcoal);
}

#contact h2 {
    color: var(--wing-charcoal);
    text-shadow: none;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info a {
    color: var(--deep-halo-violet);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('logo/contact_logos.png');
    background-repeat: no-repeat;
    background-size: auto 30px;
    vertical-align: middle;
}

.phone-icon {
    background-position: 0 0;
}

.email-icon {
    background-position: -30px 0;
}

.location-icon {
    background-position: -74px 0;
}

footer {
    background-color: var(--wing-charcoal);
    color: var(--heaven-white);
    text-align: center;
    padding: 1rem;
    border-top: 3px solid var(--angel-core-purple);
}

footer a {
    color: var(--halo-gold);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding-top: 250px; /* Increased for mobile layout */
    }

    h1 {
        font-size: 2rem;
    }
    
    #about p {
        font-size: 1.2rem;
    }

    header {
        padding: 1rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1px;
    }

    header.scrolled {
        flex-direction: row;
        gap: 1px;
    }

    .logo-container {
        margin: 0 auto 1rem;
    }

    header.scrolled .logo-container {
        margin: 0;
    }

    .header-social-icons {
        margin: 0.5rem 0;
    }

    header.scrolled .header-social-icons {
        margin-left: auto;
        margin-right: 1rem;
    }

    .payment-methods {
        flex-direction: column;
        align-items: center;
    }

    .payment-method {
        letter-spacing: 0.15rem;
        width: 100%;
        max-width: 300px;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-icon {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 1.8rem;
    }

    header.scrolled h1 {
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 0.5rem;
    }

    .logo-container {
        max-width: 150px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }
    .payment-method {
        letter-spacing: 0.05rem;
    }
}
