/* --- RESET & TIPOGRAFI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #faf8f7; 
    color: #33282e;
    padding-top: 80px; /* Kompensasi untuk navbar fixed 80px */
}

a {
    text-decoration: none;
}

/* --- BACKGROUND GRADIENT HERO --- */
.hero-gradient-bg {
    /* Pink di atas, memudar ke krem di bawah (sesuai desain) */
    background: linear-gradient(180deg, #F1C6CB 0%, #F8E6E6 45%, #FBF5F1 100%);
    padding-bottom: 0;
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 70px 8% 90px;
}

.hero-text {
    flex: 1;
    max-width: 540px;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #2b2326;
    margin-bottom: 22px;
}

.hero-text h1 span {
    color: #7E4655; 
}

.hero-text p {
    font-size: 1.05rem;
    color: #665b61;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.btn-large {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.05rem;
    background-color: #7E4655;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-large:hover {
    background-color: #623642;
}

.hero-image {
    position: relative;
    flex: 0 1 440px; /* lebar foto maksimal 440px seperti di Figma */
    margin-right: 2%;
}

/* Hiasan blok pink lembut di belakang foto */
.hero-image::before {
    content: "";
    position: absolute;
    inset: 28px -28px -28px 28px;
    border-radius: 28px;
    background: rgba(126, 70, 85, 0.12);
}

.hero-image img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;      /* foto selalu portrait, tidak melar */
    object-fit: cover;        /* foto dipotong rapi, bukan dipaksa gepeng */
    object-position: center top;
    border-radius: 24px;
    border: 4px solid #ffffff;
    background: #e9d3d7;
    box-shadow: 0 20px 40px rgba(126, 70, 85, 0.18);
}

/* --- SECTION HEADER UMUM --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.overline {
    display: block;
    color: #9A6372; 
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #2b2326;
    line-height: 1.3;
    margin-bottom: 15px;
}

.section-header p {
    color: #665b61;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- FITUR SECTION --- */
.features-section {
    padding: 80px 8%;
    background-color: #ffffff; /* di desain bagian ini putih */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #FBF7F4;
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid #F3E5E8;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(126, 70, 85, 0.1);
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: #F3E5E8;
    color: #7E4655; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.feature-tag {
    font-size: 0.75rem;
    color: #9A6372; 
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #2b2326;
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-card p {
    font-size: 0.9rem;
    color: #665b61;
    line-height: 1.6;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    padding: 80px 8% 90px;
    background: linear-gradient(180deg, #F1D3D6 0%, #FAF5F2 45%, #FBF8F4 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 22px; /* foto berada DI DALAM kartu, ada jarak putih */
    box-shadow: 0 12px 30px rgba(94, 52, 64, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(94, 52, 64, 0.18);
}

.portfolio-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.03;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    background: #f0e2e4;
}

.portfolio-info {
    padding: 18px 2px 4px;
}

.portfolio-tag {
    font-size: 0.95rem;
    color: #7E4655;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    color: #2b2326;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #faf8f7;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: #2b2326;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-section p {
    color: #665b61;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-filled {
    background-color: #7E4655;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-buttons .btn-outline {
    border: 1px solid #7E4655;
    color: #7E4655;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-buttons .btn-filled:hover { background-color: #623642; }
.cta-buttons .btn-outline:hover { background-color: #f0e6e9; }

/* --- FOOTER --- */
.footer {
    background-color: #22161d;
    color: #fff;
    padding: 70px 8% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-logo {
    height: 40px;
    /* Membuat logo berwarna otomatis menjadi putih */
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #a39ca0;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.9rem;
    transition: 0.3s;
    text-decoration: none; /* Memastikan ikon tidak bergaris bawah */
}

.socials a:hover {
    background-color: #7E4655; 
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-links ul {
    list-style: none; /* Menghapus titik (bullet) bawaan browser */
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #a39ca0; /* Mengembalikan teks ke warna abu-abu elegan */
    font-size: 0.9rem;
    transition: 0.3s;
    text-decoration: none; /* Menghilangkan garis bawah/warna biru bawaan */
}

.footer-links ul li a:hover {
    color: #fff; /* Efek menyala saat di-hover */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #3c2f36;
    padding-top: 25px;
    color: #8c8286;
    font-size: 0.8rem;
}

/* --- RESPONSIVE MOBILE UNTUK FOOTER --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- TAMBAHAN --- */
html { scroll-behavior: smooth; }
.cta-buttons { flex-wrap: wrap; }

/* --- RESPONSIF HP & TABLET --- */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding: 50px 6% 70px; gap: 50px; }
    .hero-text { max-width: 640px; }
    .hero-text p { max-width: 100%; }
    .hero-image { flex: none; width: min(380px, 100%); margin-right: 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) { /* navbar HP lebih tinggi (2 baris) */
    .features-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-grid { max-width: 380px; }
    .section-header h2, .cta-section h2 { font-size: 1.7rem; }
    .hero-image::before { inset: 18px -14px -18px 14px; }
}