/* Color Palette & Variables - Elegant MUA Theme */
:root {
    --bg-cream: #FDFBF7;
    /* Very light warm cream */
    --bg-blush: #FFF5F5;
    /* Very soft blush pink */
    --bg-white: #FFFFFF;
    --text-dark: #4A3B32;
    /* Deep taupe/brown for softer contrast than black */
    --text-light: #8A7B72;
    /* Medium taupe */
    --accent-gold: #D4AF37;
    /* Elegant muted gold */
    --accent-gold-hover: #b5952f;
    --taupe-dark: #8C7A6B;
    /* Muted taupe background for urgency section */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-md {
    max-width: 800px;
    margin: 0 auto;
}

.max-w-sm {
    max-width: 400px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.text-white {
    color: var(--bg-white);
}

.bg-cream {
    background-color: var(--bg-cream);
}

.bg-blush {
    background-color: var(--bg-blush);
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-taupe {
    background-color: var(--taupe-dark);
    color: var(--bg-white);
}

.mb-sm {
    margin-bottom: 15px;
}

.mb-md {
    margin-bottom: 30px;
}

.mb-lg {
    margin-bottom: 50px;
}

.mt-md {
    margin-top: 30px;
}

.mt-lg {
    margin-top: 50px;
}

.pt-sm {
    padding-top: 20px;
}

.pt-md {
    padding-top: 40px;
}

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

.rounded {
    border-radius: 12px;
}

/* Softer corners for elegant feel */
.shadow-soft {
    box-shadow: 0 15px 40px rgba(74, 59, 50, 0.08);
}

.border-top {
    border-top: 1px solid rgba(74, 59, 50, 0.1);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
}

.bg-taupe h2 {
    color: var(--bg-white);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--bg-white);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--bg-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    font-style: italic;
}

.promo-title {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.body-text {
    font-size: 1rem;
    color: var(--text-light);
}

.bg-taupe .body-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.5px;
    border-radius: 30px;
    /* Pill shape for elegance */
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 59, 50, 0.05);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-nav {
    border: 1px solid var(--text-dark);
    padding: 8px 20px !important;
    border-radius: 20px;
}

.btn-nav:hover {
    background-color: var(--text-dark);
    color: var(--bg-white) !important;
}

/* Sections */
.section {
    padding: 90px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 120px 0;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('asset/paling atas.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(74, 59, 50, 0.3) 0%, rgba(74, 59, 50, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-services {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .pl-md {
        padding-left: 50px;
    }

    .pr-md {
        padding-right: 50px;
    }
}

/* Service Cards */
.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 10px 20px rgba(74, 59, 50, 0.08);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: linear-gradient(to top, rgba(74, 59, 50, 0.9), transparent);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Why Me - Editorial List */
.why-list {
    max-width: 800px;
    margin: 0 auto;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    text-align: left;
}

.why-item:last-child {
    border-bottom: none;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    min-width: 60px;
    opacity: 0.7;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Promo Box */
.promo-box {
    border: 1px solid var(--accent-gold);
    padding: 30px;
    border-radius: 12px;
    background-color: rgba(212, 175, 55, 0.05);
    text-align: center;
}

/* Carousel Testimonial */
.carousel-container {
    position: relative;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.carousel-btn {
    background-color: var(--bg-white);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(74, 59, 50, 0.1);
}

.carousel-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-white);
}

.carousel-btn:active {
    transform: scale(0.9);
}

.slider-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 20px;
}

.testi-card {
    scroll-snap-align: start;
    min-width: 100%;
    flex-shrink: 0;
    background-color: var(--bg-white);
    padding: 40px 35px 35px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    text-align: left;
    position: relative;
    box-shadow: 0 8px 25px rgba(74, 59, 50, 0.04);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    top: 15px;
    left: 25px;
}

.review-text {
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.stars {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.swipe-hint {
    display: none;
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .testi-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .why-item {
        gap: 20px;
    }

    .why-number {
        font-size: 2.2rem;
        min-width: 40px;
    }

    .swipe-hint {
        display: block;
    }
}

/* Footer */
.footer {
    padding-top: 80px;
    padding-bottom: 40px;
}

.copyright {
    font-size: 0.85rem;
    color: #b3a8a1;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .nav-content {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 5px;
    }

    .nav-links {
        display: flex;
        gap: 15px;
        width: 100%;
        justify-content: center;
    }

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

    .section {
        padding: 70px 0;
    }

    .hero {
        height: auto;
        padding-top: 150px;
        padding-bottom: 80px;
    }
}