:root {
    --primary-color: #5B5B5B;
    --secondary-color: #ba1d7c;
    --light-color: #fff;
    --dark-color: #5B5B5B;
    --text-color: #5B5B5B;
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
}

section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 50px;
    position: relative;
}

.section-heading:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5B5B5B;
    border-color: #5B5B5B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 91, 91, 0.1);
}

#mainNav {
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
    background-color: rgba(91, 91, 91, 0.5);
}

#mainNav .navbar-brand {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--light-color);
    font-size: 1.5rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: #ba1d7c;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active {
    color: #fff;
}

#mainNav.navbar-scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(91, 91, 91, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
}

#mainNav.navbar-scrolled .navbar-brand,
#mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link {
    color: var(--light-color);
}

.herostudio-section,
.heroetiket-section,
.heroindex-section {
    height: 100vh;
    min-height: 650px;
    color: var(--light-color);
    display: flex;
    align-items: center;
}

.herostudio-section {
    background: linear-gradient(rgba(91, 91, 91, 0.6), rgba(91, 91, 91, 0.6)), url('../images/studio.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.heroetiket-section {
    background: linear-gradient(rgba(91, 91, 91, 0.6), rgba(91, 91, 91, 0.6)), url('../images/etiket.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.heroindex-section {
    background: linear-gradient(rgba(91, 91, 91, 0.6), rgba(91, 91, 91, 0.6)), url('../images/index.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@supports (-webkit-overflow-scrolling: touch) {
    .herostudio-section,
    .heroetiket-section,
    .heroindex-section {
        background-attachment: scroll;
    }
}

@supports not (-webkit-overflow-scrolling: touch) {
    .herostudio-section,
    .heroetiket-section,
    .heroindex-section {
        background-attachment: fixed;
    }
}

.herostudio-section h1,
.heroetiket-section h1,
.heroindex-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(91, 91, 91, 0.3);
}

.herostudio-section p.lead,
.heroetiket-section p.lead,
.heroindex-section p.lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(91, 91, 91, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item img {
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.portfolio-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(91, 91, 91, 0.05);
    margin: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(91, 91, 91, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #fff;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--primary-color);
}

.slick-dots li.slick-active button:before {
    color: var(--secondary-color);
}

footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
}

footer h5 {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
    display: inline-block;
}

footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #fff;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .herostudio-section h1, .heroetiket-section h1, .heroindex-section h1 {
        font-size: 2.8rem;
    }

    .herostudio-section p.lead, .heroetiket-section p.lead, .heroindex-section p.lead {
        font-size: 1.2rem;
    }

    #mainNav .navbar-brand {
        color: var(--light-color);
    }

    #mainNav .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.2);
        border: none;
        padding: 10px;
        color: var(--light-color);
    }

    #mainNav .navbar-collapse {
        background-color: var(--primary-color);
        border-radius: 5px;
        padding: 15px;
        margin-top: 10px;
    }

    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 0.5rem 0.75rem;
    }

    .about-section .text-end,
    .about-section .text-lg-end {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .herostudio-section, .heroetiket-section, .heroindex-section {
        min-height: 500px;
    }

    .herostudio-section h1, .heroetiket-section h1, .heroindex-section h1 {
        font-size: 2.2rem;
    }

    .herostudio-section p.lead, .heroetiket-section p.lead, .heroindex-section p.lead {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .about-section img {
        margin-bottom: 30px;
    }

    .about-section .btn {
        width: 100%;
        text-align: center;
    }

    .page-section h2 {
        font-size: 1.5rem;
    }

    .service-card .card-body {
        padding: 20px;
    }

    .portfolio-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    footer .col-md-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        margin: 10px 0;
        padding: 20px;
    }

    .heroindex-section img.navbar-brand,
    .heroetiket-section img.navbar-brand,
    .herostudio-section img.navbar-brand {
        width: 200px;
        height: auto;
    }

    .heroindex-section h1,
    .heroetiket-section h1,
    .herostudio-section h1 {
        font-size: 1.6rem;
    }

    .heroindex-section .btn-lg,
    .heroetiket-section .btn-lg,
    .herostudio-section .btn-lg {
        font-size: 0.9rem;
        padding: 8px 20px;
        margin-top: 8px !important;
    }

    .stats-section .col-6 {
        margin-bottom: 20px;
    }

    .stats-section .fa-2x {
        font-size: 1.5rem;
    }

    .about-section .btn {
        display: inline-block;
        margin-bottom: 8px;
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    footer .row.g-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 2rem;
    }

    footer h5 {
        font-size: 1rem;
    }

    footer address li {
        font-size: 0.85rem;
    }

    .portfolio-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .portfolio-item .portfolio-overlay {
        opacity: 1;
        background: rgba(44, 62, 80, 0.5);
    }
}

.service-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(91, 91, 91, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(91, 91, 91, 0.15);
}

.service-card .card-img-top {
    border-radius: 5px 5px 0 0;
    object-fit: cover;
}

.service-card .card-body {
    padding: 25px;
}

.service-card .card-title a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.service-card .card-title a:hover {
    color: var(--secondary-color);
}

.service-card .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card .btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-size: 0.85rem;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.service-card .btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.about-section img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(91, 91, 91, 0.1);
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-section p {
    color: #666;
    line-height: 1.8;
}

.about-section .list-unstyled li {
    color: #555;
    padding: 5px 0;
    font-size: 0.95rem;
}

.about-section .list-unstyled li i {
    color: var(--secondary-color);
}

.about-section .btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.about-section .btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.about-section .btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.about-section .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.stats-section {
    color: var(--primary-color);
}

.stats-section .fa-2x {
    color: var(--secondary-color);
}

.stats-section h3 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-section p {
    color: #888;
    font-size: 0.85rem;
}

.page-section h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.page-section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px 0 0;
}

.page-section h2.text-center:after {
    margin: 15px auto 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-link,
footer a,
.social-icons a,
.card-title a,
.btn,
.portfolio-item a {
    min-height: auto;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .card-img-top {
        height: 260px;
    }
}

.container,
.container-fluid {
    overflow-x: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

address {
    font-style: normal;
}

footer .col-md-6.col-lg-3 {
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    footer .col-md-6.col-lg-3 {
        margin-bottom: 0;
    }
}

.contact-map a {
    word-break: break-word;
    font-size: 0.9rem;
}

.slick-slider {
    touch-action: pan-y;
}

.slick-list {
    overflow: hidden;
}


@supports (padding: env(safe-area-inset-bottom)) {
    footer {
        padding-bottom: calc(3rem + env(safe-area-inset-bottom));
    }
}

.card-body .d-flex .fa-2x {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .card-body .d-flex .fa-2x {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

.card-body .d-flex p {
    font-size: 0.9rem;
}

@media (max-width: 400px) {
    .heroindex-section,
    .heroetiket-section,
    .herostudio-section {
        min-height: 420px;
    }
}
