/* === Global Color Variables === */
:root {
    --color-bg-main: #f5f5f5;
    --color-bg-hero-btn: #3bb54a;
    --color-bg-hero-btn-hover: #e0e0e0;
    --color-bg-box: #ffe0b2;
    --color-bg-box-hover: #ffd699;
    --color-bg-addon: #e0e7ef;
    --color-bg-addon-hover: #cfd8dc;
    --color-bg-charity: #dcedc8;
    --color-bg-charity-hover: #c5e1a5;

    --color-text-main: #222;
    --color-text-hero-btn: #fff;
    --color-text-hero-btn-hover: #222;
    --color-text-link: #222;
    --color-text-link-hover: #3bb54a;
    --color-text-service: #df7b4a;
    --color-text-charity-hover: #222;

    --color-border-box-h3: #df7b4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', monospace;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    padding-top: 80px;
}

section {
    padding: 60px 20px;
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
}

.hero-content {
    padding: 20px;
    
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content img{
    max-width: 60%;
    height: auto;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: var(--color-text-hero-btn);
    background-color: var(--color-bg-hero-btn);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.6s ease;
}

.hero-button:hover {
    background-color: var(--color-bg-hero-btn-hover);
    color: var(--color-text-hero-btn-hover);
}

a{
    color: var(--color-text-link);
    transition: 0.3s ease;
}

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

footer {
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

footer img{
    max-width: 15%;
    height: auto;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.about-section img {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {

    .hero-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px 10px;
        background-position: center;
        min-height: 60vh;
    }

    .hero-content img {
        max-width: 80%;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 10px;
    }

    .service-box {
        width: 90vw;
        max-width: 98vw;
        height: 220px;
    }

    .service-text {
        font-size: 1.3rem;
        top: 8px;
        left: 8px;
    }

    footer img {
        max-width: 40%;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-section img, .about-section p {
        max-width: 100%;
    }

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

    footer img {
        max-width: 30%;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .hero-section {
        padding: 10px 2px;
        min-height: 40vh;
    }

    .hero-content img {
        max-width: 95%;
    }

    .service-box {
        width: 98vw;
        height: 160px;
    }

    .service-text {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-content img {
        max-width: 80%;
    }
    .hero-content{
        height: 50vh;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding-top: 100px;
    }
}

#different {
    padding: 60px 20px;
    text-align: center;
}

.different-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.different-boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.box {
    background-color: var(--color-bg-box);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    margin: 20px;
    transition: 0.3s ease;
}

.box:hover{
    background-color: var(--color-bg-box-hover);
    cursor: default;
}

.box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.box h3::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-border-box-h3);
    transition: width 0.3s;
}

.box:hover h3::after {
    width: 100%;
}

.box p {
    font-size: 1rem;
    line-height: 1.6;
}

#contact-info p{
    font-size: 1.7rem;
}

.collection-section{
    max-width: 100%;
}

.collection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.collection-item {
    flex: 1 1 calc(25% - 40px);
    max-width: 15%;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s ease;
}

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

.collection-item:hover {
    transform: translateY(-10px);
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: var(--color-text-hero-btn);
    background-color: var(--color-bg-hero-btn);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.6s ease;
}

.contact-button:hover {
    background-color: var(--color-bg-hero-btn-hover);
    color: var(--color-text-hero-btn-hover);
}

#contact {
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.charity-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.charity-box {
    background-color: var(--color-bg-charity);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    margin: 20px;
    transition: 0.3s ease;
    text-align: center;
}

.charity-box:hover {
    background-color: var(--color-bg-charity-hover);
    color: var(--color-text-charity-hover);
}

.charity-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.charity-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.charity-box p {
    font-size: 1rem;
    line-height: 1.6;
}

.charity-box a{
    text-decoration: none;
    
}

@media (max-width: 768px) {
    .collection-item {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .collection-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.addon-section {
    padding: 60px 20px;
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

.addon-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.addon-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.addon-box {
    background-color: var(--color-bg-addon);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    transition: 0.3s ease;
}

.addon-box:hover {
    background-color: var(--color-bg-addon-hover);
}

.addon-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.addon-box p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.addon-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.addon-content.reverse {
    flex-direction: row-reverse;
}

.addon-content.reverse .addon-text {
    text-align: right;
}

.addon-text {
    flex: 1;
    text-align: left;
}

.addon-image {
    flex: 1;
}

.addon-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .addon-content {
        flex-direction: column;
    }
    .addon-content.reverse {
        flex-direction: column;
    }
    .addon-text {
        text-align: center;
    }
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.service-box {
    position: relative;
    width: 500px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-text {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--color-text-service);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.service-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-logo:hover {
    opacity: 1;
}

/* Mobile adjustments for lighter backgrounds */
@media (max-width: 768px) {
    .box,
    .addon-box,
    .charity-box,
    .collection-item {
        background-color: #ffe0b2;
        /* Slightly darker for contrast */
    }
    .service-box {
        background-color: #ffe0b2;
    }
}

@media (max-width: 480px) {
    .box,
    .addon-box,
    .charity-box,
    .collection-item,
    .service-box {
        background-color: #ffd699;
    }
}
