/* --- CSS VARIABLES (EARTH TONE PALETTE) --- */
:root {
    --color-cream: #FDFBF7;
    --color-cream-dark: #F4EFE6;
    --color-sand: #E6D5C3;
    --color-terracotta: #D98A74;
    --color-terracotta-dark: #C87A63;
    --color-text-main: #4A3F35;
    --color-text-light: #8A7F75;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow-soft: 0 20px 40px rgba(74, 63, 53, 0.06);
    --shadow-hover: 0 25px 50px rgba(74, 63, 53, 0.12);
    --radius-large: 2.5rem;
    --radius-arch: 10rem 10rem 2.5rem 2.5rem; /* Bentuk organik (lengkungan atas) */
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-py {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(217, 138, 116, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-terracotta-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(217, 138, 116, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-sand);
}

.btn-outline:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 213, 195, 0.3);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-terracotta);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--color-text-main);
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .nav-links { display: flex; align-items: center; }
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-terracotta);
    transition: var(--transition);
}

.nav-link:hover { color: var(--color-terracotta); }
.nav-link:hover::after { width: 100%; }

/* --- HERO SECTION --- */
.hero {
    padding-top: 10rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 6rem; }
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracotta);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-subtitle::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--color-terracotta);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: 300;
}

/* Image with Organic Arch Shape */
.hero-image-wrapper {
    position: relative;
    padding-bottom: 2rem;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-arch);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.hero-shape-bg {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    background-color: var(--color-sand);
    border-radius: var(--radius-arch);
    z-index: 1;
}

/* --- ABOUT / FILOSOFI --- */
.about {
    background-color: var(--color-white);
    border-radius: var(--radius-large);
    margin: 0 1rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 1024px) {
    .about { margin: 0 3rem; }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-large);
}

.about-content {
    padding-right: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* --- SERVICES CARDS --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-large);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(230, 213, 195, 0.2);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-sand);
}

.service-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--color-cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--color-terracotta);
}

.service-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --- ASYMMETRIC GALLERY GRID --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 250px;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
    .gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
    .gallery-item:nth-child(3) { grid-column: span 5; grid-row: span 2; }
    .gallery-item:nth-child(4) { grid-column: span 7; grid-row: span 1; }
}

/* --- TESTIMONIAL / CTA --- */
.cta-section {
    background-color: var(--color-sand);
    border-radius: var(--radius-large);
    margin: 0 1rem;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta-section { margin: 0 3rem; padding: 8rem 2rem; }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Decorative shapes for CTA */
.shape-circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    filter: blur(40px);
    z-index: 1;
}
.shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -150px; right: -150px; }

/* --- FOOTER --- */
.footer {
    padding: 5rem 0 2rem;
    background-color: var(--color-cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--color-text-light);
    max-width: 300px;
    font-weight: 300;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--color-text-light);
    font-weight: 300;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-terracotta);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-sand);
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 300;
}