/* ==============================
   CSS Variables (Color Palette)
   ============================== */
:root {
    --palette-mustard: #f5c374;
    --palette-sand: #e49723;
    --palette-gentle-dark: #5C7F6D;
    --palette-green-light: #86ba88;
    --palette-green-dark: #446655;
    --palette-coral: #f07470;
    --palette-bg: #fdfcfb;
}

/* ==============================
   Reset & Base
   ============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Assistant", "Heebo", sans-serif;
    scroll-behavior: smooth;
    background-color: var(--palette-bg);
    background-image: url("./images/bg_2.jpg");
    background-size: 800px;
    background-position: center;
    color: #1f2937;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
}

ul {
    list-style-type: circle;
    margin-inline-start: 1rem;
    margin-inline-end: 1rem;
}

ol {
    margin-inline-start: 1rem;
    margin-inline-end: 1rem;
}

strong {
    font-weight: 700;
}

/* ==============================
   Layout Utilities
   ============================== */
.container,
.hero-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}


/* ==============================
   Header / Navigation
   ============================== */
.site-header {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    border-bottom: 1px solid rgba(245, 195, 116, 0.2);
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--palette-green-dark);
    letter-spacing: -0.025em;
    display: flex;
    gap: 0.5rem;
}

.site-logo .logo-divider {
    color: var(--palette-gentle-dark);
    font-weight: 300;
}

.site-logo .subtitle {
    color: var(--palette-gentle-dark);
    font-weight: 400;
}

.nav-links {
    display: none;
    gap: 2rem;
    font-weight: 500;
}

.nav-link {
    position: relative;
    color: #4b5563;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--palette-green-dark);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    right: 0;
    background-color: var(--palette-sand);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    color: var(--palette-green-dark);
}

.mobile-menu-btn:focus {
    outline: none;
}

/* Mobile Navigation Drawer */
.nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: white;
    z-index: 70;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.nav-drawer.open {
    transform: translateX(0);
}

.drawer-close-btn {
    align-self: flex-start;
    color: var(--palette-green-dark);
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    border-radius: 0.75rem;
    transition: background-color 0.2s, color 0.2s;
}

.drawer-link:hover {
    background-color: rgba(245, 195, 116, 0.15);
    color: var(--palette-green-dark);
}

.icon-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-md {
    width: 2rem;
    height: 2rem;
}

.icon-lg {
    width: 1.75rem;
    height: 1.75rem;
}

/* Icon coloring via CSS filters (since <img> can't use currentColor) */
.whatsapp-float .icon-sm,
.btn-whatsapp .icon-sm,
.btn-phone .icon-lg,
.contact-btn .icon-md,
.contact-btn .icon-lg {
    filter: brightness(0) invert(1);
}

.mobile-menu-btn .icon-sm,
.drawer-close-btn .icon-sm,
.service-icon.dark-green img {
    filter: invert(30%) sepia(15%) saturate(1000%) hue-rotate(100deg) brightness(90%);
}

.service-icon.mustard img,
.service-icon.sand img,
.chevron-icon {
    filter: invert(72%) sepia(30%) saturate(600%) hue-rotate(350deg) brightness(95%);
}

.service-icon.green img {
    filter: invert(65%) sepia(20%) saturate(600%) hue-rotate(90deg) brightness(95%);
}

.service-icon.coral img {
    filter: invert(55%) sepia(50%) saturate(1000%) hue-rotate(330deg) brightness(100%);
}

/* ==============================
   Main Content
   ============================== */
main {
    padding-top: 4rem;
}

/* ==============================
   Hero Section
   ============================== */
.hero-gradient {
    background: linear-gradient(135deg, #fdfcfb 0%, #f5c374 100%);
    opacity: 0.9;
    border-radius: 0 0 128px 128px;
}

.hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.alon-splitter {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: relative;
    z-index: 10;
}

.alon-side {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-info {
    flex-grow: 1;
}

.hero-image {
    aspect-ratio: 1/1;
    background-image: url("./images/1.jpg");
    background-size: cover;
    background-position: left;
    flex-shrink: 1;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: start;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--palette-green-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-wrap: balance;
}

.hero-title-top {
    font-weight: 500;
}

.hero-title-bottom {
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #44403c;
    margin-bottom: 2rem;
    max-width: 32rem;
    text-wrap: balance;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 9999px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-whatsapp {
    background-color: var(--palette-green-light);
    color: white;
    padding: 1rem 2rem;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
    background-color: var(--palette-green-dark);
}

.btn-phone {
    background-color: var(--palette-coral);
    color: white;
    padding: 1rem 2rem;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-phone:hover {
    opacity: 0.9;
}

/* ==============================
   Services Section
   ============================== */
.services-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--palette-green-dark);
    margin-bottom: 1rem;
}

.section-divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--palette-sand);
    margin: 0 auto;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
    font-style: italic;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 1.5rem;
    cursor: pointer;
    text-align: start;
    border: 2px solid rgba(245, 195, 116, 0.2);
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(225, 174, 125, 0.2);
    border-color: var(--palette-mustard);
    background-color: white;
}

.service-card:hover .service-icon {
    opacity: 0.8;
}

.service-card.active {
    background-color: white;
    border-color: var(--palette-sand);
    box-shadow: 0 10px 15px -3px rgba(225, 174, 125, 0.2);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.service-icon.mustard {
    background-color: rgba(245, 195, 116, 0.2);
}

.service-card:hover .service-icon.mustard {
    background-color: rgba(245, 195, 116, 0.4);
}

.service-icon.green {
    background-color: rgba(134, 186, 136, 0.2);
}

.service-card:hover .service-icon.green {
    background-color: rgba(134, 186, 136, 0.4);
}

.service-icon.coral {
    background-color: rgba(240, 116, 112, 0.2);
}

.service-card:hover .service-icon.coral {
    background-color: rgba(240, 116, 112, 0.4);
}

.service-icon.sand {
    background-color: rgba(225, 174, 125, 0.2);
}

.service-card:hover .service-icon.sand {
    background-color: rgba(225, 174, 125, 0.4);
}

.service-icon.dark-green {
    background-color: rgba(68, 102, 85, 0.1);
}

.service-card:hover .service-icon.dark-green {
    background-color: rgba(68, 102, 85, 0.2);
}

.service-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--palette-green-dark);
    line-height: 1.25;
}

.service-desc-area {
    margin-top: 2rem;
    background-color: var(--palette-bg);
    border-radius: 2.5rem;
    padding: 2.5rem;
    border: 2px solid rgba(245, 195, 116, 0.3);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.service-desc-text {
    font-size: 1.25rem;
    color: #57534e;
    text-align: center;
    line-height: 1.75;
    text-wrap: balance;
}

/* ==============================
   About Section
   ============================== */
.about-section {
    padding: 6rem 0;
    background-color: white;
    border-radius: 4rem;
}

.about-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.about-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.about-image-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--palette-bg);
    transform: rotate(2deg);
}

.about-image-frame img {
    width: 100%;
    height: auto;
}

.about-content {
    width: 100%;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--palette-green-dark);
    margin-bottom: 1.5rem;
    border-bottom: 4px solid var(--palette-sand);
    display: inline-block;
}

.about-text {
    font-size: 1.25rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-text-sm {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-guides {
    padding: 0 4rem;
    align-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 16px;
    list-style: none;
}

.about-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    color: white;
    background: var(--palette-green-light);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

.about-boxes::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 200, 0.2),
            transparent);
    transition: transform 0.6s;
}

.about-boxes:hover::before {
    transform: translateX(200%);
}

/* ==============================
   Contact Section
   ============================== */
.contact-section {
    padding: 6rem 0;
}

.contact-inner {
    max-width: 56rem;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--palette-green-dark);
    border-radius: 3.125rem;
    padding: 2.5rem;
    color: white;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.contact-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background-color: var(--palette-sand);
    opacity: 0.2;
    border-radius: 50%;
    margin-right: -4rem;
    margin-top: -4rem;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    transition: transform 0.3s;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.contact-btn-whatsapp {
    background-color: var(--palette-green-light);
}

.contact-btn-phone {
    background-color: var(--palette-coral);
}

.contact-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    opacity: 0.85;
}

.contact-location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2.5rem;
    color: var(--palette-sand);
    font-weight: 500;
    font-size: 1.125rem;
    text-align: s;
}

/* ==============================
   Articles Section
   ============================== */
.articles-section {
    padding-bottom: 6rem;
}

.hidden-section {
    display: none;
}

.articles-header {
    margin-bottom: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.articles-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--palette-green-dark);
    margin-bottom: 1rem;
}

.articles-subtitle {
    color: #57534e;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 1.5rem;
}

.articles-list {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Accordion */
.accordion-item {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(245, 195, 116, 0.2);
    overflow: hidden;
}

.accordion-btn {
    width: 100%;
    text-align: right;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-btn:hover {
    background-color: var(--palette-bg);
}

.accordion-btn-text {
    flex: 1;
}

.accordion-btn-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--palette-green-dark);
}

.accordion-btn-subtitle {
    color: var(--palette-sand);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.chevron-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--palette-sand);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.pin-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--palette-sand);
}

.pin-icon svg {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 2rem;
    padding-right: 2rem;
    transition:
        max-height 0.5s ease-out,
        padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 3500px;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
}

.accordion-body {
    color: #374151;
    line-height: 1.75;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body h4 {
    font-weight: 700;
    color: var(--palette-green-dark);
    margin-bottom: 0.5rem;
}

.accordion-body ul {
    list-style: disc inside;
    margin-bottom: 1rem;
}

.accordion-body li {
    margin-bottom: 0.25rem;
}

.tip-box {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
}

.tip-box-good {
    background-color: rgba(134, 186, 136, 0.1);
    border-right: 4px solid var(--palette-green-light);
}

.tip-box-bad {
    background-color: rgba(186, 134, 134, 0.1);
    border-right: 4px solid var(--palette-coral);
}

.tip-box h4 {
    margin-bottom: 0.5rem;
}

.tip-box ul {
    list-style: disc inside;
}

.tip-box li {
    margin-bottom: 0.25rem;
}

.article-indent-list {
    margin-right: 1rem;
}

.article-indent-list li {
    margin-bottom: 0.5rem;
}

.back-home-btn {
    display: block;
    margin: 4rem auto 0;
    color: var(--palette-green-dark);
    font-weight: 700;
    border: 2px solid var(--palette-sand);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.back-home-btn:hover {
    background-color: var(--palette-sand);
    color: white;
}

/* ==============================
   Footer
   ============================== */
.site-footer {
    background-color: var(--palette-green-dark);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.footer-title {
    color: var(--palette-sand);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-copyright {
    opacity: 0.7;
}

/* ==============================
   WhatsApp Floating Button
   ============================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--palette-green-light);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(68, 102, 85, 0.3);
    z-index: 100;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background-color: var(--palette-green-dark);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite ease-in-out;
}

/* ==============================
   Responsive (sm: 640px+)
   ============================== */
@media (min-width: 640px) {
    .hero-container {
        padding: 0;
    }

    .hero-image {
        aspect-ratio: auto;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==============================
   Responsive (md: 768px+)
   ============================== */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-drawer,
    .nav-overlay {
        display: none;
    }

    .hero-section {
        height: 60vh;
    }

    .alon-splitter {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    .alon-side {
        justify-content: center;
    }

    .hero-inner {
        flex-direction: row;
        gap: 1.5rem;
    }

    .hero-text {
        max-width: 400px;
        padding: 0;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .about-layout {
        flex-direction: row;
        align-items: center;
    }

    .about-image-wrapper {
        width: 40%;
    }

    .about-content {
        width: 60%;
    }

    .contact-card {
        padding: 4rem;
    }

    .articles-title {
        font-size: 3rem;
    }
}

/* ==============================
   Responsive (lg: 1024px+)
   ============================== */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card-centered-1 {
        grid-column-start: 1;
        margin-left: auto;
        width: 100%;
        max-width: 24rem;
    }

    .service-card-centered-2 {
        grid-column-start: 2;
        width: 100%;
        max-width: 24rem;
    }
}