/*
Theme Name: GDAstro Final Production
Author: GDAstro
Version: 1.0
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #F4F3EE;
    color: #3C2B1F;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.header,
.footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 36px;
    background: #B1ADA1;
    color: white;
    flex-wrap: wrap;
}

.header div,
.footer div,
.header strong,
.footer strong,
.header a,
.footer a {
    color: white !important;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    display: flex;
    align-items: center;
}

.logo-image img {
    height: 72px;
    width: auto;
    object-fit: contain;
    border: none;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.consultation {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    max-width: 700px;
}

.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.26);
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.phone-link {
    cursor: pointer;
    text-decoration: underline;
    color: white;
}

.phone-tooltip {
    position: fixed;
    background: white;
    border: 2px solid #C15F3C;
    padding: 10px;
    z-index: 1000;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.phone-tooltip a {
    padding: 8px 14px;
    background: #C15F3C;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 540px;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 6%;
    gap: 24px;
}

.slide.no-image {
    justify-content: center;
}

.sage-slide .content {
    color: inherit;
}

.sage-img {
    width: 34%;
    height: 75vh;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.slide.no-image .content {
    width: 70%;
    text-align: center;
}

.slide img {
    width: 34%;
    height: 75vh;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.content {
    width: 30%;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* For slides that include an image, remove extra padding so content matches image height */
.slide:not(.no-image) .content {
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content h2 {
    color: #C15F3C;
    margin-bottom: 18px;
    font-size: 28px;
}

.content p {
    line-height: 1.75;
    font-size: 16px;
}

.dots {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 26px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background: #888;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background: #C15F3C;
}

@media (max-width: 1024px) {
    .slide img {
        width: 44%;
    }

    .content {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .header,
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 16px;
        gap: 16px;
    }

    .header > div,
    .footer > div {
        width: 100%;
        max-width: 720px;
    }

    .logo-wrapper {
        justify-content: center;
    }

    .logo-image img {
        height: 54px;
    }

    .logo {
        font-size: 22px;
    }

    .consultation {
        font-size: 13px;
        max-width: 100%;
        text-align: center;
        word-break: break-word;
        white-space: normal;
    }

    .header-link {
        width: 100%;
        max-width: 380px;
    }

    .slider {
        min-height: auto;
        padding: 14px 0 28px;
    }

    .slide {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding: 18px 16px;
        gap: 18px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 24px;
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.09);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .slide img {
        width: 100%;
        max-width: 100%;
        max-height: 320px;
        height: auto;
        object-fit: cover;
        border-radius: 18px;
    }

    .slide img + .content,
    .content + img {
        margin-top: 18px;
    }

    .content {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        padding: 0;
        text-align: left;
    }

    .content h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .slide .content p,
    .slide .content ul {
        text-align: left !important;
        padding-left: 0 !important;
    }

    .slide .content ul {
        padding-left: 20px !important;
        margin-top: 16px;
    }

    .sage-slide .content {
        text-align: center !important;
        padding: 24px 18px;
        background: rgba(255, 255, 255, 0.94);
        color: #3C2B1F !important;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    }

    .sage-slide .content h2,
    .sage-slide .content p {
        color: #3C2B1F !important;
    }

    .about-page-content {
        padding: 24px 16px !important;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .about-page-content h1,
    .about-page-content p {
        text-align: center !important;
        width: 100%;
        max-width: 100%;
    }

    .dots {
        position: relative;
        bottom: auto;
        margin-top: 18px;
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .phone-tooltip {
        width: auto !important;
        flex-direction: column;
        gap: 8px;
    }

    .phone-tooltip a {
        padding: 8px 12px;
        font-size: 13px;
    }
}
