/* Homepage Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    color: #282C35;
    min-height: 100vh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1440px;
    padding: 0 28px;
    margin: 0 auto;
}

.primary-header {
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(40, 44, 53, 0.08);
    box-shadow: 0 1px 0 rgba(40, 44, 53, 0.05);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 36px;
}

.brand-text {
    font-size: 24px;
    font-weight: 600;
    color: #282C35;
    text-decoration: none;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    background-color: #FFFFFF;
    border: 1px solid #D7D9DD;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(40, 44, 53, 0.08);
}

.search-input {
    width: 220px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #282C35;
    padding: 8px 12px;
}

.search-input::placeholder {
    color: #A1A4AA;
}

.search-btn {
    background-color: #FFBD3C;
    color: #282C35;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: #ffca60;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #6F737C;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #282C35;
}

.nav-link-active {
    color: #282C35;
    font-weight: 600;
}

.custom-offer-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #282C35;
    background-color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    color: #282C35;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-offer-btn:hover {
    background-color: #282C35;
    color: #FFFFFF;
}

.custom-offer-btn img {
    display: block;
}

.custom-offer-btn:hover img {
    filter: brightness(0) invert(1);
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    box-shadow: 0 8px 20px rgba(40, 44, 53, 0.18);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero */
.hero {
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-copy {
    width: 100%;
}

.hero-heading {
    font-size: 30px;
    font-weight: 600;
    color: #282C35;
}

.hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-image-wrapper {
    flex: 1;
    max-width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 40px rgba(40, 44, 53, 0.18);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-arrow,
.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(40, 44, 53, 0.12);
    background-color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(40, 44, 53, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateY(var(--translate-y, 0));
}

.hero-arrow img,
.carousel-arrow img {
    width: 18px;
    height: 18px;
}

.hero-arrow--prev img,
.carousel-arrow--prev img {
    transform: rotate(180deg);
}

.hero-arrow:hover,
.carousel-arrow:hover {
    transform: translateY(var(--translate-y, 0)) scale(1.05);
    box-shadow: 0 14px 30px rgba(40, 44, 53, 0.16);
}

.carousel-arrow--disabled,
.carousel-arrow[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: 0 10px 24px rgba(40, 44, 53, 0.12);
}

.carousel-arrow--disabled:hover,
.carousel-arrow[disabled]:hover {
    transform: translateY(var(--translate-y, 0));
    box-shadow: 0 10px 24px rgba(40, 44, 53, 0.12);
}

.service-showcase {
    padding: 90px 0 70px;
    background-color: #FFFFFF;
}

.service-showcase--alt {
    background-color: #F8F9FC;
}

.service-showcase__header {
    margin-bottom: 36px;
}

.service-showcase__title {
    font-size: 30px;
    font-weight: 500;
    color: #282C35;
}

.service-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-carousel .carousel-arrow {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
}

.service-carousel .carousel-track {
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.service-track {
    padding-bottom: 8px;
}

.service-card {
    flex: 0 0 392px;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(40, 44, 53, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    scroll-snap-align: start;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(40, 44, 53, 0.15);
}

.service-card__thumb {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.service-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card__content {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-card__title {
    font-size: 20px;
    font-weight: 500;
    color: #282C35;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.service-card__price-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card__price-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.service-card__label {
    font-size: 15px;
    color: #6F737C;
}

.service-card__value {
    font-size: 15px;
    font-weight: 600;
    color: #282C35;
}

.global-section {
    padding: 90px 0;
}

.global-section__inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.global-section__illustration img {
    max-width: 100%;
    height: auto;
    display: block;
}

.global-section__content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.global-section__title {
    font-size: 30px;
    font-weight: 600;
    color: #282C35;
}

.global-section__description {
    font-size: 20px;
    color: #4C4F56;
    line-height: 1.6;
}

.promo-carousel {
    padding: 60px 0 90px;
    background-color: #FFFFFF;
}

.promo-carousel__viewport {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.promo-track {
    gap: 36px;
}

.promo-card {
    position: relative;
    flex: 0 0 430px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 28px 48px rgba(40, 44, 53, 0.12);
    scroll-snap-align: start;
}

.promo-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 24, 33, 0) 40%, rgba(20, 24, 33, 0.78) 100%);
    pointer-events: none;
}

.promo-card__title {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.5;
}

.promo-carousel__viewport .carousel-arrow {
    position: absolute;
    top: 50%;
    --translate-y: -50%;
}

.promo-carousel__viewport .carousel-arrow--prev {
    left: 16px;
}

.promo-carousel__viewport .carousel-arrow--next {
    right: 16px;
}

/* Import Google Fonts for login modal */
@import url('https://fonts.googleapis.com/css2?family=RocknRoll+One&family=Roboto:wght@400;500&display=swap');

/* Login Modal Styles */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    width: 90%;
    max-width: 1000px;
    height: 600px;
    overflow: hidden;
}

.modal-left {
    flex: 1;
    background: #222137;
    position: relative;
}

.modal-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.modal-right {
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form {
    width: 100%;
    max-width: 408px;
}

.login-form .logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.login-form .logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-form .title {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 32px;
    color: #282C35;
    text-align: center;
    margin-bottom: 4px;
}

.login-form .subtitle {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 16px;
    color: #777777;
    text-align: center;
    margin-bottom: 40px;
}

.login-form .input-group {
    position: relative;
    margin-bottom: 30px;
}

.login-form .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.login-form .input-field {
    width: 100%;
    height: 68px;
    padding: 0 20px 0 50px;
    border: 2px solid rgba(131, 131, 131, 0.8);
    border-radius: 10px;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    color: #000000;
    transition: border-color 0.3s ease;
}

.login-form .input-field:focus {
    outline: none;
    border-color: #169300;
}

.login-form .input-field::placeholder {
    color: #A1A1A1;
}

.login-form .form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.login-form .forgot-password {
    font-size: 14px;
    color: #FFBD3C;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.login-form .forgot-password:hover {
    text-decoration: underline;
}

.login-form .sign-in-button {
    width: 100%;
    height: 68px;
    background: #FF0000;
    border: none;
    border-radius: 10px;
    font-family: 'RocknRoll One', sans-serif;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
}

.login-form .sign-in-button:hover {
    background: #E50000;
}

.login-form .signup-link {
    text-align: center;
    font-size: 14px;
    color: #FFBD3C;
    font-family: 'Roboto', sans-serif;
}

.login-form .signup-link a {
    color: #FFBD3C;
    text-decoration: none;
    font-weight: 500;
}

.login-form .signup-link a:hover {
    text-decoration: underline;
}

/* Responsive for homepage */
@media (max-width: 1200px) {
    .header-inner {
        padding: 20px 28px;
    }

    .service-card {
        flex-basis: 330px;
    }

    .promo-card {
        flex-basis: 360px;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 18px;
    }

    .header-search {
        flex: 1;
    }

    .service-showcase__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .global-section__inner {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .global-section__content {
        align-items: center;
    }

    .promo-carousel__viewport {
        padding: 0 64px;
    }

    .modal-content {
        flex-direction: column;
        width: 95%;
        max-width: 420px;
        height: auto;
    }

    .modal-left {
        height: 200px;
    }

    .modal-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        display: none;
    }

    .search-input {
        width: 100%;
    }

    .hero {
        margin-top: 136px;
    }

    .hero-heading {
        font-size: 26px;
    }

    .service-card {
        flex-basis: 280px;
    }

    .promo-carousel__viewport {
        padding: 0 48px;
    }

    .service-showcase__controls {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .header-search {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search .search-btn {
        width: 100%;
    }

    .service-showcase {
        padding: 70px 0 60px;
    }

    .carousel-track {
        gap: 20px;
    }

    .service-card {
        flex-basis: 240px;
    }

    .promo-card {
        flex-basis: 280px;
    }

    .promo-carousel__viewport {
        padding: 0 36px;
    }

    .promo-card__title {
        font-size: 16px;
    }

    .hero-heading {
        font-size: 24px;
    }
}
.service-carousel .carousel-arrow {
    margin: 0 8px;
}
